Re: [Bacula-users] Bacula tapes marked FULL too early - VolBytes too low

2012-11-19 Thread Jacky Carimalo
Hello,
I have the same problem.
Bacula stopped filling a tape after 4 errors, as described below !
I would like to be able to tell it to continue ...
Any idea ?
Jacky

*query
Choose a query (1-20): 16 (List Volumes likely to need replacement from 
age or errors)
+---+++++
| volume| mounts | errors | writes | status |
+---+++++
...
| LTP113L1  |  1 |  4 |  1,624,793 | Full   |
| LTP102L1  |  1 |  4 |423,580 | Full   |
| LTP100L1  |  1 |  4 |409,571 | Full   |
| 000343L3  |  1 |  4 |  2,285,713 | Full   |
| 000336L3  |  1 |  4 |353,563 | Full   |
| 000310L3  |  1 |  4 |  4,806,780 | Full   |
| 000243L3  |  1 |  4 |954,490 | Full   |
| 000226L3  |  1 |  4 |  1,344,017 | Full   |
| 000111L3  |  1 |  4 |  2,657,316 | Full   |
| 92L3  |  1 |  4 |  1,734,479 | Full   |
...
| Vol_Catalog_0625  |  7 |  0 |  7,159,623 | Used   |
| Vol_Catalog_0396  |  7 |  0 |  7,247,063 | Used   |
| Vol_Catalog_0573  |  8 |  0 |  8,280,972 | Used   |
| Vol_Catalog_0513  |  8 |  0 |  8,211,348 | Used   |
| Vol_Catalog_0452  |  8 |  0 |  8,203,596 | Used   |
| Vol_Catalog_0787  | 18 |  0 | 15,925,029 | Used   |
| Vol_Catalog_0030  | 18 |  0 | 15,866,664 | Used   |
+---+++++
*

*list volumes pool=Pool_gromel_LTO
+-++---+-+-+--+--+-+--+---+---+-+
| mediaid | volumename | volstatus | enabled | volbytes| 
volfiles | volretention | recycle | slot | inchanger | mediatype | 
lastwritten |
+-++---+-+-+--+--+-+--+---+---+-+
|   6,340 | LTP102L1   | Full  |   1 |  27,325,928,448 |   
27 |   10,368,000 |   1 |1 | 1 | LTO-3 | 2012-11-16 
21:24:29 |
|   6,341 | 000310L3   | Full  |   1 | 310,094,926,848 |  
310 |   10,368,000 |   1 |2 | 1 | LTO-3 | 2012-11-17 
10:35:37 |
|   6,342 | 92L3   | Full  |   1 | 111,894,644,736 |  
111 |   10,368,000 |   1 |3 | 1 | LTO-3 | 2012-11-17 
15:46:52 |
|   6,343 | 000111L3   | Full  |   1 | 171,428,705,280 |  
171 |   10,368,000 |   1 |4 | 1 | LTO-3 | 2012-11-17 
23:20:41 |
|   6,344 | 000336L3   | Full  |   1 |  22,808,991,744 |   
22 |   10,368,000 |   1 |5 | 1 | LTO-3 | 2012-11-18 
00:36:29 |
|   6,345 | LTP100L1   | Full  |   1 |  26,422,179,840 |   
26 |   10,368,000 |   1 |6 | 1 | LTO-3 | 2012-11-18 
02:02:41 |
|   6,346 | 000226L3   | Full  |   1 |  86,705,160,192 |   
86 |   10,368,000 |   1 |7 | 1 | LTO-3 | 2012-11-18 
05:27:20 |
|   6,347 | 000243L3   | Full  |   1 |  61,575,994,368 |   
61 |   10,368,000 |   1 |8 | 1 | LTO-3 | 2012-11-18 
07:49:08 |
|   6,348 | 000343L3   | Full  |   1 | 147,455,852,544 |  
147 |   10,368,000 |   1 |9 | 1 | LTO-3 | 2012-11-18 
13:22:45 |
|   6,349 | LTP113L1   | Full  |   1 | 104,818,581,504 |  
104 |   10,368,000 |   1 |   10 | 1 | LTO-3 | 2012-11-18 
17:35:01 |
|   6,350 | 000345L3   | Used  |   1 |  25,754,738,688 |   
26 |   10,368,000 |   1 |   11 | 1 | LTO-3 | 2012-11-18 
18:28:33 |
|   6,351 | 000274L3   | Append|   1 |  64,512 |
0 |   10,368,000 |   1 |   12 | 1 | LTO-3 
| |
|   6,352 | 000352L3   | Append|   1 |  64,512 |
0 |   10,368,000 |   1 |   13 | 1 | LTO-3 
| |
|   6,353 | 95L3   | Append|   1 |  64,512 |
0 |   10,368,000 |   1 |   14 | 1 | LTO-3 
| |
|   6,354 | 000170L3   | Append|   1 |  64,512 |
0 |   10,368,000 |   1 |   15 | 1 | LTO-3 
| |
|   6,355 | 99L3   | Append|   1 |  64,512 |
0 |   10,368,000 |   1 |   16 | 1 | LTO-3 
| |
|   6,356 | 000367L3   | Append|   1 |  64,512 |
0 |   10,368,000 |   1 |   17 | 1 | LTO-3 
| |
|   6,357 | 000240L3   | Append|   1 |  64,512 |
0 |   

Re: [Bacula-users] Bacula tapes marked FULL too early - VolBytes too low

2012-11-19 Thread Alan Brown
On 19/11/12 11:04, Jacky Carimalo wrote:
 Hello,
 I have the same problem.
 Bacula stopped filling a tape after 4 errors, as described below !
 I would like to be able to tell it to continue ...

update Volume={name} VolStatus=append





--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Use modify time, not access time

2012-11-19 Thread Martin Simmons
 On Sat, 17 Nov 2012 11:12:19 +1100, Gary R Schmidt said:
 
 Thinking about it - if you mv a directory somewhere, and then mv it 
 back, you have, effectively, created a new directory tree.
 
 Without looking at the source code, if I was writing the scanner, at 
 *this* point I would mark that directory tree to be backed up, even if 
 the name is the same you cannot know that the content is identical, for 
 all you know that three was deleted and re-created.
 
 Why bother walking a tree that is new, once you know it is new, you back 
 it up.

That won't work very well, because the ctime and mtime of a directory are also
modifed when you create a file in it.

__Martin

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula tapes marked FULL too early - VolBytes too low

2012-11-19 Thread Jacky Carimalo
Le 19/11/2012 12:00, Alan Brown a écrit :
 On 19/11/12 11:04, Jacky Carimalo wrote:
 Hello,
 I have the same problem.
 Bacula stopped filling a tape after 4 errors, as described below !
 I would like to be able to tell it to continue ...
 update Volume={name} VolStatus=append


I did :

update Volume={name} VolStatus=append

but it then marked the volume Used, and not enabled for backup on it 
again, keeping its first data.

Jacky

*messages
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Start Backup 
JobId 12075, 
Job=Backup_gromel1d.univ-nantes.prive_di_LTO.2012-11-19_15.42.45_04
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Volume used 
once. Marking Volume LTP102L1 as Used.
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Using Device 
OVL_LTO-3_Drive-1
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: No slot defined 
in catalog (slot=0) for Volume Vol_gromel_6393 on OVL_LTO-3_Drive-1 
(/dev/st1).
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Cartridge 
change or update slots may be required.
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Warning: 
mount.c:217 Open device OVL_LTO-3_Drive-1 (/dev/st1) Volume 
Vol_gromel_6393 failed: ERR=dev.c:513 Unable to open device 
OVL_LTO-3_Drive-1 (/dev/st1): ERR=Aucun medium trouvé

19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: No slot defined 
in catalog (slot=0) for Volume Vol_gromel_6393 on OVL_LTO-3_Drive-1 
(/dev/st1).
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Cartridge 
change or update slots may be required.
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Warning: 
mount.c:217 Open device OVL_LTO-3_Drive-1 (/dev/st1) Volume 
Vol_gromel_6393 failed: ERR=dev.c:513 Unable to open device 
OVL_LTO-3_Drive-1 (/dev/st1): ERR=Aucun medium trouvé

19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: No slot defined 
in catalog (slot=0) for Volume Vol_gromel_6393 on OVL_LTO-3_Drive-1 
(/dev/st1).
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Cartridge 
change or update slots may be required.
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Warning: 
mount.c:217 Open device OVL_LTO-3_Drive-1 (/dev/st1) Volume 
Vol_gromel_6393 failed: ERR=dev.c:513 Unable to open device 
OVL_LTO-3_Drive-1 (/dev/st1): ERR=Aucun medium trouvé

19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: No slot defined 
in catalog (slot=0) for Volume Vol_gromel_6393 on OVL_LTO-3_Drive-1 
(/dev/st1).
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Cartridge 
change or update slots may be required.
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Warning: 
mount.c:217 Open device OVL_LTO-3_Drive-1 (/dev/st1) Volume 
Vol_gromel_6393 failed: ERR=dev.c:513 Unable to open device 
OVL_LTO-3_Drive-1 (/dev/st1): ERR=Aucun medium trouvé

19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: No slot defined 
in catalog (slot=0) for Volume Vol_gromel_6393 on OVL_LTO-3_Drive-1 
(/dev/st1).
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Cartridge 
change or update slots may be required.
19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Warning: 
mount.c:217 Open device OVL_LTO-3_Drive-1 (/dev/st1) Volume 
Vol_gromel_6393 failed: ERR=dev.c:513 Unable to open device 
OVL_LTO-3_Drive-1 (/dev/st1): ERR=Aucun medium trouvé

19-nov. 15:42 bacula.u11.univ-nantes.prive- JobId 12075: Please mount 
Volume Vol_gromel_6393 or label a new one for:
 Job: Backup_gromel1d.univ-nantes.prive_di_LTO.2012-11-19_15.42.45_04
 Storage:  OVL_LTO-3_Drive-1 (/dev/st1)
 Pool: Pool_gromel_LTO
 Media type:   LTO-3


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula tapes marked FULL too early - VolBytes too low

2012-11-19 Thread Alan Brown
On 19/11/12 15:46, Jacky Carimalo wrote:

 update Volume={name} VolStatus=append

 but it then marked the volume Used, and not enabled for backup on it
 again, keeping its first data.

Bacula has decided the volume has been open too long.

This is set with Volume Use Duration and has no default.

It is easier to use a new tape than to mess around with tape settings on 
a live system.





--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Webacula cannot execute bconsole

2012-11-19 Thread Ryan Jantz

  
  
Hello,
I've been banging
around on this for a couple days, searching the web with no
solution yet. I'm hoping someone can help.

I installed Bacula

5.0.0 on CentOS 6.3 and it works fine. I installed Webacula
5.5.1 and
am getting the following error when logging in:
ERROR:
There was a problem executing bconsole.
See below.

ERROR
Command:
/usr/sbin/bconsole

-n -c
/etc/bacula/bconsole.conf
output:
Connecting

to Director
localhost:9101

I
am able to run the
above command
in terminal as
  root and the
  apache user
  without any
  errors. The apache
  user is a
  member of the
  bacula group.
  The bacula
  groups permissions

  are:
  r-- on
  /etc/bacula/bconsle.conf
  r-x on
  /usr/sbin/bconsole
  
  I
  also set apache as the owner of /etc/bacula/bconsole.conf

  and /usr/sbin/bconsole, with
  no change in bahavior.
  
  Related

  lines in
  Webacula's config.ini:
  bacula.sudo =
  ""
  bacula.bconsole =
"/usr/sbin/bconsole"
  bacula.bconsolecmd

  = " -n -c
  /etc/bacula/bconsole.conf"
  
  Any ideas?
  
  Thanks
  
  


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Webacula cannot execute bconsole

2012-11-19 Thread John Drescher
On Mon, Nov 19, 2012 at 12:14 PM, Ryan Jantz rja...@scifit.com wrote:
 Hello,
 I've been banging around on this for a couple days, searching the web with
 no solution yet. I'm hoping someone can help.

 I installed Bacula 5.0.0 on CentOS 6.3 and it works fine. I installed
 Webacula 5.5.1 and am getting the following error when logging in:
 ERROR: There was a problem executing bconsole. See below.

 ERROR
 Command:
 /usr/sbin/bconsole -n -c /etc/bacula/bconsole.conf
 output:
 Connecting to Director localhost:9101


Is bacula listening on localhost ? It probably should not be since
that could prevent bacula from being a network backup program..

John

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] how to debug TLS verification issues?

2012-11-19 Thread Landon J Fuller

On Nov 10, 2012, at 10:10 AM, Felix Schwarz felix.schw...@oss.schwarz.eu 
wrote:

 Hi,
 
 I'm trying to debug a TLS verification issue:
 
 Somehow my console can't query the SD status. If I start the sd with '-d100' I
 only see this output:
 SSL routines:SSL3_GET_CLIENT_CERTIFICATE:no certificate returned
 authenticate.c:190-0 Unable to authenticate Director at client.

This means that the SD was expecting a client certificate to be provided by the 
console, but the console is not providing a certificate (no certificate 
returned). I believe you can disable this by turning TLS Verify Peer off, if 
you just want to use password authentication. Otherwise, make sure you have a 
TLS Certificate and TLS Key specified in your console configuration.

-landonf



--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Webacula cannot execute bconsole

2012-11-19 Thread Ryan Jantz

  
  
Yes, bconsole is looking
for the director using "localhost". All Bacula components and Webacula are running
on the same server. I replaced localhost with the servers
hostname, same results. 

Bacula
itself seems to be working fine. Prior
to installing Webacula I confirmed I was
able to backup and restore
local volumes as well as data
on remote clients.

Thanks
Ryan
  

  
On 11/19/2012 11:30 AM, John Drescher
  wrote:


  On Mon, Nov 19, 2012 at 12:14 PM, Ryan Jantz rja...@scifit.com wrote:

  
Hello,
I've been banging around on this for a couple days, searching the web with
no solution yet. I'm hoping someone can help.

I installed Bacula 5.0.0 on CentOS 6.3 and it works fine. I installed
Webacula 5.5.1 and am getting the following error when logging in:
ERROR: There was a problem executing bconsole. See below.

ERROR
Command:
/usr/sbin/bconsole -n -c /etc/bacula/bconsole.conf
output:
Connecting to Director localhost:9101


  
  
Is bacula listening on localhost ? It probably should not be since
that could prevent bacula from being a network backup program..

John




  


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula fails Copy Job instead of asking operator for media

2012-11-19 Thread Bill Arlofski
The setup uses Bacula, vchanger, udev, autofs, and cryptsetup on Linux  to
perform auto-mounting of encrypted, removable SATA drives for off-site backups.

Several backup jobs were running simultaneously and Bacula had asked in the
middle of the running jobs for new media. The SATA drive was removed, a new
one inserted, Update slots command was run and Bacula carried on with the
backup jobs.

However, when Bacula got to the lower priority Copy jobs that were queued, the
initial SATA drive where some of the Backup Jobs were written to was no longer
in the eSATA caddy and instead of Bacula asking the operator to insert volume
c0_0004_0047 it failed the jobs.


Below is the job log of one of the copy jobs:

This is Bacula v5.2.12 on Linux

I'd consider this to be a bug, and would be happy to post a bug report unless
someone convinces me otherwise. :)


Thanks!

--[snip]--
18-Nov 03:00 speedy-dir JobId 17956: The following 1 JobId was chosen to be
copied: 17931
18-Nov 03:00 speedy-dir JobId 17956: Copying using JobId=17931
Job=Zimbra.2012-11-17_02.45.00_47
18-Nov 03:00 speedy-dir JobId 17956: Bootstrap records written to
/var/lib/bacula/speedy-dir.restore.37.bsr
19-Nov 17:12 speedy-dir JobId 17956: Start Copying JobId 17956,
Job=CopyZimbra.2012-11-18_03.00.00_11
19-Nov 17:12 speedy-dir JobId 17956: Using Device FileStorage
19-Nov 17:12 speedy-sd JobId 17956: No slot defined in catalog (slot=0) for
Volume c0_0004_0047 on eSATA-0 (/var/lib/bacula/vchanger/c0/0/drive0).
19-Nov 17:12 speedy-sd JobId 17956: Cartridge change or update slots may be
required.
19-Nov 17:12 speedy-sd JobId 17956: 3307 Issuing autochanger unload slot 9,
drive 0 command.
19-Nov 17:12 speedy-sd JobId 17956: Warning: acquire.c:280 Read acquire: Wrong
Volume mounted on device eSATA-0 (/var/lib/bacula/vchanger/c0/0/drive0):
Wanted c0_0004_0047 have c0_0006_0009
19-Nov 17:12 speedy-sd JobId 17956: 3304 Issuing autochanger load slot 116,
drive 0 command.
19-Nov 17:12 speedy-sd JobId 17956: Fatal error: 3992 Bad autochanger load
slot 116, drive 0: ERR=Unknown error during program execvp.
Results=failed to convert slot 116 to valid volume file name

19-Nov 17:12 speedy-sd JobId 17956: Elapsed time=375934:12:26, Transfer rate=0
 Bytes/second
19-Nov 17:12 speedy-dir JobId 17956: Error: Bacula speedy-dir 5.2.12 (12Sep12):
  Build OS:   x86_64-pc-linux-gnu gentoo
  Prev Backup JobId:  17931
  Prev Backup Job:Zimbra.2012-11-17_02.45.00_47
  New Backup JobId:   17957
  Current JobId:  17956
  Current Job:CopyZimbra.2012-11-18_03.00.00_11
  Backup Level:   Full
  Client: speedy-fd
  FileSet:None 2009-10-28 14:32:57
  Read Pool:  Offsite-eSATA (From Job resource)
  Read Storage:   c0 (From Pool resource)
  Write Pool: FileTapes-MustHave (From Job Pool's NextPool 
resource)
  Write Storage:  File (From Storage from Pool's NextPool resource)
  Catalog:MyCatalog (From Client resource)
  Start time: 19-Nov-2012 17:12:23
  End time:   19-Nov-2012 17:12:26
  Elapsed time:   3 secs
  Priority:   15
  SD Files Written:   0
  SD Bytes Written:   0 (0 B)
  Rate:   0.0 KB/s
  Volume name(s):
  Volume Session Id:  291
  Volume Session Time:1351625652
  Last Volume Bytes:  0 (0 B)
  SD Errors:  1
  SD termination status:  Error
  Termination:*** Copying Error ***
--[snip]--

--
Bill Arlofski
Reverse Polarity, LLC

I did not write anything below this line and explicitly do not support, nor
endorse any products or services advertised. ;)

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users