Re: [Bacula-users] bscan a tape created with Bacula 10, using Bacula 9 ?
On 2019-08-02 1:38 p.m., MI wrote: I have a few tapes created with Bacula Enterprise v. 10.2.3, which I don't have anymore. Does someone know if Bacula 9.4 would be able to read these tapes, and if I could use the bscan of 9.4 to recreate the catalog from the tapes? Thanks, MI I can't really say, but I suggest that it is unlikely to hurt to try. I'm assuming you have the tape drive and you're not asking before deciding whether to purchase one. My limited experience is that Bacula doesn't change the formats in ways that destroy compatibility when versions change. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] label command frequently fails
On 2018-09-28 09:32 AM, Martin Simmons wrote: On Thu, 27 Sep 2018 20:57:35 -0400, Gary Dale said: On 2018-09-27 11:05 AM, Martin Simmons wrote: On Wed, 26 Sep 2018 23:38:39 -0400, Gary Dale said: On 2018-09-26 11:33 AM, Bill Arlofski wrote: On 09/26/2018 06:22 AM, Martin Simmons wrote: Try setdebug level=150 trace=1 Storage and look for a file matching *.trace (probably in the SD's WorkingDirectory). ...and you can also add options=t to have timestamps in the *.trace file. Best regards, Bill I was waiting for the label command to fail again. It didn't take long. The bconsole messages were the same. The trace doesn't tell me anything new. Hopefully you understand it better than I. Here's the output from the trace: #cat /var/lib/bacula/bacula-sd.trace bacula-sd: bnet.c:566-0 who=client host=192.168.1.17 port=9103 bacula-sd: dircmd.c:178-0 Got a DIR connection at 26-Sep-2018 23:30:25 bacula-sd: cram-md5.c:69-0 send: auth cram-md5 challenge <56845663.1538019025@bacula-sd> ssl=0 bacula-sd: cram-md5.c:133-0 cram-get received: auth cram-md5 <554803286.1538019025@bacula-dir> ssl=0 bacula-sd: cram-md5.c:157-0 sending resp to challenge: cH+vQ7+Fdw/6P7+9R7/jRA bacula-sd: dircmd.c:204-0 Message channel init completed. bacula-sd: dircmd.c:806-0 Found device FileStorage bacula-sd: dircmd.c:850-0 Found device FileStorage bacula-sd: block_util.c:143-0 New block len=64512 block=7f19c8001160 bacula-sd: acquire.c:673-0 Attach 0xc8001c78 to dev "FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:657-0 find_read_vol: read_vol_list empty. bacula-sd: vol_mgr.c:851-0 Vol=weekly-backup-pool-37 not in use. bacula-sd: vol_mgr.c:381-0 enter reserve_volume=weekly-backup-pool-37 drive="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:286-0 new Vol=weekly-backup-pool-37 slot=0 at 7f19c8011e88 dev="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:547-0 set in_use. vol=weekly-backup-pool-37 dev="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:581-0 Inc walk_start use_count=2 volname=weekly-backup-pool-37 bacula-sd: vol_mgr.c:220-0 List end new volume: weekly-backup-pool-37 in_use=1 swap=0 slot=0 on file device "FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:693-0 Clear in_use vol=weekly-backup-pool-37 slot=0 bacula-sd: vol_mgr.c:710-0 set not reserved vol=weekly-backup-pool-37 slot=0 writers=1 reserves=0 dev="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:740-0 Clear in_use vol=weekly-backup-pool-37 slot=0 bacula-sd: vol_mgr.c:746-0 Remove volume weekly-backup-pool-37 slot=0 dev="FileStorage" (/home/shares/backup) bacula-sd: mount.c:384-3298 Again dir_find_next_append... bacula-sd: mount.c:374-3298 No appendable volume. Calling wait_for_device bacula-sd: wait.c:270-3298 Enter wait_for_device. busy=1 dcrvol= devvol= bacula-sd: mount.c:384-3298 Again dir_find_next_append... bacula-sd: mount.c:374-3298 No appendable volume. Calling wait_for_device bacula-sd: wait.c:270-3298 Enter wait_for_device. busy=1 dcrvol= devvol= bacula-sd: mount.c:384-3298 Again dir_find_next_append... bacula-sd: mount.c:374-3298 No appendable volume. Calling wait_for_device bacula-sd: wait.c:270-3298 Enter wait_for_device. busy=1 dcrvol= devvol= Is it still printing 3934 Device ""FileStorage" (/home/shares/backup)" is being initialized. when the label command fails? If so, then the output of the "status storage" command might give more information. __Martin That message always prints just before the label command fails. It makes no sense to me because what is there to initialize? It's a folder on a disk (/home/shares/backup). That message means the FileStorage device is trying to "initialize", i.e. find a volume. I just got an example of another one: Connecting to Storage daemon File at molar.dentaloffice.rossland.dental:9103 ... Sending label command for Volume "weekly-backup-pool-40" Slot 0 ... 3908 Error reserving volume: vol_mgr.c:419 Cannot free Volume "weekly-backup-pool-37", because it is reserved by someone else. Label command failed for Volume weekly-backup-pool-40. You can't label a new volume while a running job is actively writing to another volume. Maybe that is also the cause of the original problem? In general, you have to either label volumes when nothing is running or label one when Bacula asks you to. __Martin That makes sense. Unfortunately Bacula doesn't seem to want to ask me. It just sits there waiting for a volume that it won't let me label... I've left myself logged in and running bconsole to see if that helps. Hopefully it will issue the message to the console and wait for me to label a new volume. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] label command frequently fails
On 2018-09-28 06:13 AM, Kern Sibbald wrote: Hello, It should not take "I need a lot of new volumes to handle what amounts to a full backup of 160G of data" unless you are artificially restricting volume size. Unless I misunderstood what you wrote, you should not have 40 volumes to store 160G of data. One would be sufficient. In fact having so many volumes is a big disadvantage particularly from a performance stand point (Bacula is not very efficient when handling volume sets). Best regards, Kern Of course I restrict the volume size. That's normal for Bacula. The 40 volumes are for all the previous backups as well. The issue is that because I moved 160G of data from one machine to another, Bacula treats it as new data that needs a complete backup. That's why I need a large number of additional volumes. Presumably the older backups will eventually be purged so the number of volumes can be reduced over time. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] label command frequently fails
On 2018-09-27 11:05 AM, Martin Simmons wrote: On Wed, 26 Sep 2018 23:38:39 -0400, Gary Dale said: On 2018-09-26 11:33 AM, Bill Arlofski wrote: On 09/26/2018 06:22 AM, Martin Simmons wrote: Try setdebug level=150 trace=1 Storage and look for a file matching *.trace (probably in the SD's WorkingDirectory). ...and you can also add options=t to have timestamps in the *.trace file. Best regards, Bill I was waiting for the label command to fail again. It didn't take long. The bconsole messages were the same. The trace doesn't tell me anything new. Hopefully you understand it better than I. Here's the output from the trace: #cat /var/lib/bacula/bacula-sd.trace bacula-sd: bnet.c:566-0 who=client host=192.168.1.17 port=9103 bacula-sd: dircmd.c:178-0 Got a DIR connection at 26-Sep-2018 23:30:25 bacula-sd: cram-md5.c:69-0 send: auth cram-md5 challenge <56845663.1538019025@bacula-sd> ssl=0 bacula-sd: cram-md5.c:133-0 cram-get received: auth cram-md5 <554803286.1538019025@bacula-dir> ssl=0 bacula-sd: cram-md5.c:157-0 sending resp to challenge: cH+vQ7+Fdw/6P7+9R7/jRA bacula-sd: dircmd.c:204-0 Message channel init completed. bacula-sd: dircmd.c:806-0 Found device FileStorage bacula-sd: dircmd.c:850-0 Found device FileStorage bacula-sd: block_util.c:143-0 New block len=64512 block=7f19c8001160 bacula-sd: acquire.c:673-0 Attach 0xc8001c78 to dev "FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:657-0 find_read_vol: read_vol_list empty. bacula-sd: vol_mgr.c:851-0 Vol=weekly-backup-pool-37 not in use. bacula-sd: vol_mgr.c:381-0 enter reserve_volume=weekly-backup-pool-37 drive="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:286-0 new Vol=weekly-backup-pool-37 slot=0 at 7f19c8011e88 dev="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:547-0 set in_use. vol=weekly-backup-pool-37 dev="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:581-0 Inc walk_start use_count=2 volname=weekly-backup-pool-37 bacula-sd: vol_mgr.c:220-0 List end new volume: weekly-backup-pool-37 in_use=1 swap=0 slot=0 on file device "FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:693-0 Clear in_use vol=weekly-backup-pool-37 slot=0 bacula-sd: vol_mgr.c:710-0 set not reserved vol=weekly-backup-pool-37 slot=0 writers=1 reserves=0 dev="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:740-0 Clear in_use vol=weekly-backup-pool-37 slot=0 bacula-sd: vol_mgr.c:746-0 Remove volume weekly-backup-pool-37 slot=0 dev="FileStorage" (/home/shares/backup) bacula-sd: mount.c:384-3298 Again dir_find_next_append... bacula-sd: mount.c:374-3298 No appendable volume. Calling wait_for_device bacula-sd: wait.c:270-3298 Enter wait_for_device. busy=1 dcrvol= devvol= bacula-sd: mount.c:384-3298 Again dir_find_next_append... bacula-sd: mount.c:374-3298 No appendable volume. Calling wait_for_device bacula-sd: wait.c:270-3298 Enter wait_for_device. busy=1 dcrvol= devvol= bacula-sd: mount.c:384-3298 Again dir_find_next_append... bacula-sd: mount.c:374-3298 No appendable volume. Calling wait_for_device bacula-sd: wait.c:270-3298 Enter wait_for_device. busy=1 dcrvol= devvol= Is it still printing 3934 Device ""FileStorage" (/home/shares/backup)" is being initialized. when the label command fails? If so, then the output of the "status storage" command might give more information. __Martin That message always prints just before the label command fails. It makes no sense to me because what is there to initialize? It's a folder on a disk (/home/shares/backup). I just got an example of another one: Connecting to Storage daemon File at molar.dentaloffice.rossland.dental:9103 ... Sending label command for Volume "weekly-backup-pool-40" Slot 0 ... 3908 Error reserving volume: vol_mgr.c:419 Cannot free Volume "weekly-backup-pool-37", because it is reserved by someone else. Label command failed for Volume weekly-backup-pool-40. Do not forget to mount the drive!!! You have messages. Looking at the messages I find: 27-Sep 20:34 bacula-sd JobId 3302: Elapsed time=00:00:24, Transfer rate=68.80 M Bytes/second 27-Sep 20:34 bacula-sd JobId 3302: Sending spooled attrs to the Director. Despooling 34,365 bytes ... 27-Sep 20:34 bacula-dir JobId 3302: Bacula bacula-dir 7.4.4 (202Sep16): Build OS: x86_64-pc-linux-gnu debian 9.0 JobId: 3302 Job: BackupServer.2018-09-27_20.34.14_04 Backup Level: Incremental, since=2018-09-25 23:47:15 Client: "server-fd" 5.2.10 (28Jun12) Microsoft Windows 7 Professional Service Pack 1 (build 7601), 64-bit,Cross-compile,Win32 FileSet: "ServerFileSet" 2018-09-18 23:05:00 Pool: "DailyBackupPool" (From Job IncPool override) Catalog: "MyCatalog" (From Client resource) Storage:
Re: [Bacula-users] label command frequently fails
On 2018-09-27 05:10 AM, Jérôme Blion wrote: Le 27/09/2018 à 05:38, Gary Dale a écrit : On 2018-09-26 11:33 AM, Bill Arlofski wrote: On 09/26/2018 06:22 AM, Martin Simmons wrote: Try setdebug level=150 trace=1 Storage and look for a file matching *.trace (probably in the SD's WorkingDirectory). ...and you can also add options=t to have timestamps in the *.trace file. Best regards, Bill I was waiting for the label command to fail again. It didn't take long. The bconsole messages were the same. The trace doesn't tell me anything new. Hopefully you understand it better than I. Here's the output from the trace: #cat /var/lib/bacula/bacula-sd.trace bacula-sd: bnet.c:566-0 who=client host=192.168.1.17 port=9103 bacula-sd: dircmd.c:178-0 Got a DIR connection at 26-Sep-2018 23:30:25 bacula-sd: cram-md5.c:69-0 send: auth cram-md5 challenge <56845663.1538019025@bacula-sd> ssl=0 bacula-sd: cram-md5.c:133-0 cram-get received: auth cram-md5 <554803286.1538019025@bacula-dir> ssl=0 bacula-sd: cram-md5.c:157-0 sending resp to challenge: cH+vQ7+Fdw/6P7+9R7/jRA bacula-sd: dircmd.c:204-0 Message channel init completed. bacula-sd: dircmd.c:806-0 Found device FileStorage bacula-sd: dircmd.c:850-0 Found device FileStorage bacula-sd: block_util.c:143-0 New block len=64512 block=7f19c8001160 bacula-sd: acquire.c:673-0 Attach 0xc8001c78 to dev "FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:657-0 find_read_vol: read_vol_list empty. bacula-sd: vol_mgr.c:851-0 Vol=weekly-backup-pool-37 not in use. bacula-sd: vol_mgr.c:381-0 enter reserve_volume=weekly-backup-pool-37 drive="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:286-0 new Vol=weekly-backup-pool-37 slot=0 at 7f19c8011e88 dev="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:547-0 set in_use. vol=weekly-backup-pool-37 dev="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:581-0 Inc walk_start use_count=2 volname=weekly-backup-pool-37 bacula-sd: vol_mgr.c:220-0 List end new volume: weekly-backup-pool-37 in_use=1 swap=0 slot=0 on file device "FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:693-0 Clear in_use vol=weekly-backup-pool-37 slot=0 bacula-sd: vol_mgr.c:710-0 set not reserved vol=weekly-backup-pool-37 slot=0 writers=1 reserves=0 dev="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:740-0 Clear in_use vol=weekly-backup-pool-37 slot=0 bacula-sd: vol_mgr.c:746-0 Remove volume weekly-backup-pool-37 slot=0 dev="FileStorage" (/home/shares/backup) bacula-sd: mount.c:384-3298 Again dir_find_next_append... bacula-sd: mount.c:374-3298 No appendable volume. Calling wait_for_device bacula-sd: wait.c:270-3298 Enter wait_for_device. busy=1 dcrvol= devvol= bacula-sd: mount.c:384-3298 Again dir_find_next_append... bacula-sd: mount.c:374-3298 No appendable volume. Calling wait_for_device bacula-sd: wait.c:270-3298 Enter wait_for_device. busy=1 dcrvol= devvol= bacula-sd: mount.c:384-3298 Again dir_find_next_append... bacula-sd: mount.c:374-3298 No appendable volume. Calling wait_for_device bacula-sd: wait.c:270-3298 Enter wait_for_device. busy=1 dcrvol= devvol= Hello, Did you add the volume before trying to label it? Could you provide us commands you used? For a disk volume, you only need to use the label command. It creates a file with that label that is 219 bytes initially then expands up to the maximum volume size during use. As jobs get pruned, the volume will also shrink... ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] label command frequently fails
On 2018-09-26 11:33 AM, Bill Arlofski wrote: On 09/26/2018 06:22 AM, Martin Simmons wrote: Try setdebug level=150 trace=1 Storage and look for a file matching *.trace (probably in the SD's WorkingDirectory). ...and you can also add options=t to have timestamps in the *.trace file. Best regards, Bill I was waiting for the label command to fail again. It didn't take long. The bconsole messages were the same. The trace doesn't tell me anything new. Hopefully you understand it better than I. Here's the output from the trace: #cat /var/lib/bacula/bacula-sd.trace bacula-sd: bnet.c:566-0 who=client host=192.168.1.17 port=9103 bacula-sd: dircmd.c:178-0 Got a DIR connection at 26-Sep-2018 23:30:25 bacula-sd: cram-md5.c:69-0 send: auth cram-md5 challenge <56845663.1538019025@bacula-sd> ssl=0 bacula-sd: cram-md5.c:133-0 cram-get received: auth cram-md5 <554803286.1538019025@bacula-dir> ssl=0 bacula-sd: cram-md5.c:157-0 sending resp to challenge: cH+vQ7+Fdw/6P7+9R7/jRA bacula-sd: dircmd.c:204-0 Message channel init completed. bacula-sd: dircmd.c:806-0 Found device FileStorage bacula-sd: dircmd.c:850-0 Found device FileStorage bacula-sd: block_util.c:143-0 New block len=64512 block=7f19c8001160 bacula-sd: acquire.c:673-0 Attach 0xc8001c78 to dev "FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:657-0 find_read_vol: read_vol_list empty. bacula-sd: vol_mgr.c:851-0 Vol=weekly-backup-pool-37 not in use. bacula-sd: vol_mgr.c:381-0 enter reserve_volume=weekly-backup-pool-37 drive="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:286-0 new Vol=weekly-backup-pool-37 slot=0 at 7f19c8011e88 dev="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:547-0 set in_use. vol=weekly-backup-pool-37 dev="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:581-0 Inc walk_start use_count=2 volname=weekly-backup-pool-37 bacula-sd: vol_mgr.c:220-0 List end new volume: weekly-backup-pool-37 in_use=1 swap=0 slot=0 on file device "FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:693-0 Clear in_use vol=weekly-backup-pool-37 slot=0 bacula-sd: vol_mgr.c:710-0 set not reserved vol=weekly-backup-pool-37 slot=0 writers=1 reserves=0 dev="FileStorage" (/home/shares/backup) bacula-sd: vol_mgr.c:740-0 Clear in_use vol=weekly-backup-pool-37 slot=0 bacula-sd: vol_mgr.c:746-0 Remove volume weekly-backup-pool-37 slot=0 dev="FileStorage" (/home/shares/backup) bacula-sd: mount.c:384-3298 Again dir_find_next_append... bacula-sd: mount.c:374-3298 No appendable volume. Calling wait_for_device bacula-sd: wait.c:270-3298 Enter wait_for_device. busy=1 dcrvol= devvol= bacula-sd: mount.c:384-3298 Again dir_find_next_append... bacula-sd: mount.c:374-3298 No appendable volume. Calling wait_for_device bacula-sd: wait.c:270-3298 Enter wait_for_device. busy=1 dcrvol= devvol= bacula-sd: mount.c:384-3298 Again dir_find_next_append... bacula-sd: mount.c:374-3298 No appendable volume. Calling wait_for_device bacula-sd: wait.c:270-3298 Enter wait_for_device. busy=1 dcrvol= devvol= ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] pruning / purging obsolete files
I've been getting this message every minute for a while: 25-Sep 23:36 bacula-dir JobId 3284: Pruning oldest volume "weekly-backup-pool-03" 25-Sep 23:36 bacula-dir JobId 3284: Found no Job associated with the Volume "weekly-backup-pool-03" to prune (repeated at 23:37, 23:38, etc.) I note the volume's date stamp is past the retention period yet it still shows up as being the maximum size for a volume. I have the job and volume retention all set for 6 months in bacula-dir.conf. Manually pruning via "prune expired volume" didn't seem to do anything. I then tried running "purge volume action=truncate allpools storage=File" but that didn't change anything. It actually reported that there was nothing to purge. Any ideas on how to get the volume to be reused or at least to stop occupying space? ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] label command frequently fails
On 2018-09-20 06:09 AM, Kern Sibbald wrote: Hello, The output produced by Bacula seems unusually short. Normally Bacula displays a reason for the failure. I recommend trying your label command again, but turn on debug with something link setdebug level=150 Storage prior to doing the label command. It should give you a more detailed reason for the failure. It gives me the exact same output. It took the setdebug command but continues to complain when I try to label a new volume. After a reboot I was able to label a volume however. After a while I lose that ability once more. Meanwhile I am currently getting messages every minute to the effect: 25-Sep 23:36 bacula-dir JobId 3284: Pruning oldest volume "weekly-backup-pool-03" 25-Sep 23:36 bacula-dir JobId 3284: Found no Job associated with the Volume "weekly-backup-pool-03" to prune (repeated at 23:37, 23:38, etc.) This is possibly unrelated but I don't think it should be happening either. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] label command frequently fails
On 2018-09-19 05:35 PM, Jérôme Blion wrote: Le 19/09/2018 à 21:40, Gary Dale a écrit : I'm running bacula 7.4.4 on a Debian/Stretch AMD64 server. When I try to create a new disk volume for my steadily increasing amount of data needing to be backed up, it usually fails after I create the first new volume. There is lots of free space on the disk, so it's not that. Eventually I might be able to create another new volume (possibly because of an intervening reboot) but in the meanwhile I only have the one new volume (25G) which is about 1/10 the size of a full backup... Here's an example of what I see in bconsole when executing the label command: Sending label command for Volume "weekly-backup-pool-30" Slot 0 ... 3934 Device ""FileStorage" (/home/shares/backup)" is being initialized. Label command failed for Volume weekly-backup-pool-30. Do not forget to mount the drive!!! Any ideas on what is happening and how to fix it? Thanks. Hello, why don't you let bacula create volumes when needed ? Because I didn't start with them that way and bacula doesn't like you to change volume labels once assigned. It wants to create new volumes with a 4-digit serial number ending. I've been using 2-digits. The manual recommends using python scripts for this which I don't want to get into to save myself what should be a few minutes every few months. Moreover, it isn't guaranteed to resolve the problem I'm having. If bacula can't label a volume manually through bconsole, why should I expect it to do so automatically? I'd still also need to monitor the number of volumes / amount of disk space bacula is taking so it might not actually save me any time. It just gives me a different thing to worry about. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] label command frequently fails
I'm running bacula 7.4.4 on a Debian/Stretch AMD64 server. When I try to create a new disk volume for my steadily increasing amount of data needing to be backed up, it usually fails after I create the first new volume. There is lots of free space on the disk, so it's not that. Eventually I might be able to create another new volume (possibly because of an intervening reboot) but in the meanwhile I only have the one new volume (25G) which is about 1/10 the size of a full backup... Here's an example of what I see in bconsole when executing the label command: Sending label command for Volume "weekly-backup-pool-30" Slot 0 ... 3934 Device ""FileStorage" (/home/shares/backup)" is being initialized. Label command failed for Volume weekly-backup-pool-30. Do not forget to mount the drive!!! Any ideas on what is happening and how to fix it? Thanks. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula
Bacula-fd and -sd run as services. Did you try service bacula-fd start ? On 15/07/16 09:47 AM, endothes wrote: > Good morning everyone. I am having a lot of difficulties installing bacula. > version 7.0.5 on ubuntu > > I've installed Mysql server, I've installed bacula, but I can't get Bconsole > to work. I'm stuck and any advice would be appreciated as to why Bconsole > won't start. > > I've included pictures of all my config files along with an error as to why I > think Bconsole wont start. > > http://imgur.com/a/MTxt8 > > +-- > |This was sent by trothenb...@stmatthews.edu via Backup Central. > |Forward SPAM to ab...@backupcentral.com. > +-- > > > > -- > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula Windows backup CENTOS Servers
On 08/07/16 05:24 PM, marylandkid1961 wrote: > Hello, > > I currently use the command line version for CENTOS 7 backing up one CENTOS > server to another, and we have a Windows 7 machine in the network. Can the > Windows version of bacula schedule backups from one CENTOS machine to another? > > I’d like to use the Windows version instead. > > Thank you > The free version of Bacula only includes a windows client. It doesn't do backups. I don't know if the Windows version has a server function but the idea of running something as important as backups on a Windows machine doesn't appeal to me. -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Struggling with full disk
On 06/07/16 04:29 PM, Wanderlei Huttel wrote: Hello I don't know how big is your storage, but you have configured something like 100 disks of 4TB (= 4000gb) You define capacity of your pool configuring (Maximum Volume Bytes x Maximum Volumes) Is interesting to set smaller volumes because if you have some volume error you will loose less data. If you consider one hard disk of 1TB with a Full Backup daily of 100GB and you want 30 days retention, you will not reach it, because 30 x 100GB = 3.000gb or 3TB, so you only will reach 10 days retention (10 * 100GB) = 1TB That's if each backup is a full backup. Generally you don't do one that often. A full weekly backup with daily incremental backups would require far less storage. You're right about keeping volumes small to reduce the loss due to a corrupted volume. When you're dealing with terabytes of data, it's hard to guarantee perfect reliability. -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Struggling with full disk
On 06/07/16 10:55 AM, cdn wrote: > Hey, > I am pretty new in bacula, but started a solution to backup my server via > internet through a vpn tunnel. Everything works well, but I am struggling > with my disk space: > > I am using a RAID 5 for saving my backups. In my bacula-dir.conf the > following pool is definied: > > Pool { >Name = File >Pool Type = Backup >Recycle = yes # Bacula can automatically recycle > Volumes >AutoPrune = yes # Prune expired volumes >Volume Retention = 30 days # one year >Maximum Volume Bytes = 4000G # Limit Volume size to something > reasonable >Maximum Volumes = 100 # Limit number of Volumes in Pool > } > > But after a while the disk running out of space. Why bacula will not delete > old files? > > Client conf: > > Client { >Name = srv-fd >Address = >FDPort = >Catalog = MyCatalog >Password = "" # password for FileDaemon 2 >File Retention = 30 days# 30 days >Job Retention = 2 months# six months >AutoPrune = yes # Prune expired Jobs/Files > } > > Thanks for your help! > I note that you are allocating 4T as the maximum volume size and allowing up to 100 volumes. Do you have 400T of space on your backup device? If not, reduce the sizes to something reasonable. -- Attend Shape: An AT Tech Expo July 15-16. Meet us at AT Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows UEFI Version 5.2.10
On 17/07/15 08:58 AM, paul22 wrote: Hello, I would need your help on the Windows Binaries (Version 5.2.10). Is it compatible with Windows 7, 8.1, 2012 R2 64-bit UEFI, since I can’t do my backups. Finally, to be clearer for the Windows Binaries 7 64 Bit UEFI installed but couldn’t do backups, for Windows 8.1 and 2012 R2 64-bit UEFI Windows Binaries remains blocked during installation. Thank you your help. I'm not sure what you mean about UEFI compatibility. I'm running the 5.2.10 binaries on Windows 7/Pro 64bit without any problem. I'm not an expert on UEFI but I don't see how that even comes into it. If the binaries installed OK, then you shouldn't have a problem. If you are having a problem, check the passwords and ports to make sure that they match between the client and server and that the ports are open (not blocked by Windows firewall). Can you communicate between client and server through bconsole on either machine? -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] how do I fix status=200 error on make_catalog_backup.pl?
I'm running Debian/Jessie on an AMD64 box. My new Bacula configuration is currently working on all the parts that I modified for my environment (which servers and files to backup), but the catalog backup, which I barely touched, is failing. I get: 09-Jul 12:46 bacula-dir JobId 97: shell command: run BeforeJob /etc/bacula/scripts/make_catalog_backup.pl MyCatalog 09-Jul 12:46 bacula-dir JobId 97: Error: Runscript: BeforeJob returned non-zero status=200. ERR=Permission denied 09-Jul 12:46 bacula-dir JobId 97: Error: Bacula bacula-dir 5.2.6 (21Feb12): The script in question is owned by bacula:bacula and everyone has read+exectute permissions. Web searches haven't yielded any solutions. Any ideas? TIA. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] how do I fix status=200 error on make_catalog_backup.pl?
On 09/07/15 03:15 PM, Bill Arlofski wrote: On 07/09/2015 12:58 PM, Gary Dale wrote: I'm running Debian/Jessie on an AMD64 box. My new Bacula configuration is currently working on all the parts that I modified for my environment (which servers and files to backup), but the catalog backup, which I barely touched, is failing. I get: 09-Jul 12:46 bacula-dir JobId 97: shell command: run BeforeJob /etc/bacula/scripts/make_catalog_backup.pl MyCatalog 09-Jul 12:46 bacula-dir JobId 97: Error: Runscript: BeforeJob returned non-zero status=200. ERR=Permission denied 09-Jul 12:46 bacula-dir JobId 97: Error: Bacula bacula-dir 5.2.6 (21Feb12): The script in question is owned by bacula:bacula and everyone has read+exectute permissions. Web searches haven't yielded any solutions. Any ideas? Hi Gary, Any chance /etc/ is mounted on its own partition and that partition is mounted noexec ?? See what the mount command shows. No. It's part of the / partition. Also, you may as well paste the output of: # find /etc/bacula -ls maybe a directory above /etc/bacula/scripts is chmod 0700, or other, preventing traversal into the directory to access/run the script? Bill root@molar:/etc/bacula# find /etc/bacula -ls 9204094 drwxr-xr-x 3 root root 4096 Jul 9 12:45 /etc/bacula 921094 12 -rw-r- 1 bacula bacula 10399 Jul 9 12:45 /etc/bacula/bacula-dir.conf 9210864 -rw-r- 1 bacula bacula167 Jul 9 12:45 /etc/bacula/bconsole.conf 9210004 drw-r- 2 bacula bacula 4096 Jun 28 12:06 /etc/bacula/scripts 9210344 -rw-r--r-- 1 bacula bacula 1506 Sep 8 2014 /etc/bacula/scripts/mtx-changer.conf 921035 12 -rwxr-xr-x 1 bacula bacula 10954 Sep 8 2014 /etc/bacula/scripts/disk-changer 9210204 -rw-r--r-- 1 bacula bacula341 Sep 8 2014 /etc/bacula/scripts/btraceback.gdb 921032 20 -rwxr-xr-x 1 bacula bacula 16948 Sep 8 2014 /etc/bacula/scripts/dvd-handler 9210288 -rwxr-xr-x 1 bacula bacula 4182 Sep 8 2014 /etc/bacula/scripts/make_catalog_backup.pl 9210254 -rw-r--r-- 1 bacula bacula256 Sep 8 2014 /etc/bacula/scripts/query.sql 9210294 -rwxr-xr-x 1 bacula bacula125 Oct 5 2013 /etc/bacula/scripts/make_catalog_backup_awk 921033 12 -rwxr-xr-x 1 bacula bacula 8360 Sep 8 2014 /etc/bacula/scripts/mtx-changer 9210274 -rwxr-xr-x 1 bacula bacula 2503 Sep 8 2014 /etc/bacula/scripts/make_catalog_backup 9210744 -rwxr-xr-x 1 bacula bacula104 Jun 28 12:06 /etc/bacula/scripts/delete_catalog_backup 9210764 -rw-r- 1 bacula bacula548 Jul 9 12:45 /etc/bacula/tray-monitor.conf 9210758 -rw-r- 1 bacula bacula 5896 Jul 9 12:45 /etc/bacula/bacula-sd.conf 9211744 -rw-r- 1 bacula bacula 1053 Jul 9 12:45 /etc/bacula/bacula-fd.conf 9211774 -rw--- 1 bacula bacula442 Jul 8 04:45 /etc/bacula/common_default_passwords 9202524 -rw-r- 1 bacula bacula279 Jul 2 15:33 /etc/bacula/shares.bsr -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] how do I fix status=200 error on make_catalog_backup.pl?
On 09/07/15 03:20 PM, Bill Arlofski wrote: Gary, one other thought... take a look at the script. It calls the psql or mysql client depending on your db... make sure those are installed correctly, and it is not a permission problem with them (doubtful, but worth a look) Bill Again, I can manually run the script and it produces the expected output file. However when I run the job from bconsole it fails. The output file still has the time stamp from when I ran the script from the command prompt. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] how do I fix status=200 error on make_catalog_backup.pl?
On 09/07/15 05:02 PM, Gary Dale wrote: On 09/07/15 01:33 PM, Ana Emília M. Arruda wrote: Hello Gary, Have you checked if your /etc/bacula/scripts/make_catalog_backup.pl http://make_catalog_backup.pl/ has execute permissions? Best regards, Ana As I said in the original post, all the scripts have at least read+execute permissions. BTW: I can execute the script from the command line (as root anyway) and it does create a bacula.sql file in the /var/lib/bacula folder. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] how do I fix status=200 error on make_catalog_backup.pl?
On 09/07/15 01:33 PM, Ana Emília M. Arruda wrote: Hello Gary, Have you checked if your /etc/bacula/scripts/make_catalog_backup.pl http://make_catalog_backup.pl/ has execute permissions? Best regards, Ana As I said in the original post, all the scripts have at least read+execute permissions. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] how do I fix status=200 error on make_catalog_backup.pl?
On 09/07/15 01:27 PM, Jeff Kalchik wrote: For all scripts, not just particular to Bacula, always check the courtesy loader line (first line in the script.) Make sure that it's a valid executable and that the specified user can run it. Based on the name, it looks like a Perl script, run 'which perl' to find out where your Perl interpreter/compiler is and that it matches the backup script. Jeff (who's been intending to run Bacula again after not running it for a couple of years) Kalchik The script starts with #!/usr/bin/env perl, which is probably right or every debian/jessie bacula user would be screaming. Perl is v5.20. Again this is probably good since Jessie is the stable version of debian. It's what the bacula scripts would be tested against. I'm not getting any errors re. not being able to create a catalog entry during the backups. It's just backing up the catalog that seems to be failing. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] how do I fix status=200 error on make_catalog_backup.pl?
On 09/07/15 05:35 PM, Bill Arlofski wrote: On 07/09/2015 05:25 PM, Gary Dale wrote: On 09/07/15 03:15 PM, Bill Arlofski wrote: On 07/09/2015 12:58 PM, Gary Dale wrote: I'm running Debian/Jessie on an AMD64 box. My new Bacula configuration is currently working on all the parts that I modified for my environment (which servers and files to backup), but the catalog backup, which I barely touched, is failing. I get: 09-Jul 12:46 bacula-dir JobId 97: shell command: run BeforeJob /etc/bacula/scripts/make_catalog_backup.pl MyCatalog 09-Jul 12:46 bacula-dir JobId 97: Error: Runscript: BeforeJob returned non-zero status=200. ERR=Permission denied 09-Jul 12:46 bacula-dir JobId 97: Error: Bacula bacula-dir 5.2.6 (21Feb12): The script in question is owned by bacula:bacula and everyone has read+exectute permissions. Web searches haven't yielded any solutions. Any ideas? Hi Gary, Any chance /etc/ is mounted on its own partition and that partition is mounted noexec ?? See what the mount command shows. No. It's part of the / partition. Also, you may as well paste the output of: # find /etc/bacula -ls maybe a directory above /etc/bacula/scripts is chmod 0700, or other, preventing traversal into the directory to access/run the script? Bill root@molar:/etc/bacula# find /etc/bacula -ls ... 9210004 drw-r- 2 bacula bacula 4096 Jun 28 12:06 /etc/bacula/scripts And there it is! I am assuming the Director is running as user bacula. Your /etc/bacula/scripts directory is rw bacula. A directory needs the x (exceute) bit to allow a user or group to traverse into it. Do a: # chmod 750 /etc/bacula/scripts and I think you will be all set. Bill You're right. Thanks Bill. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bextract recovery of files after bare-metal restore
I'm finishing up rebuilding a server and just need to get a few files back from a backup. I've got bacula going to the point that I can test the configuration files and not see any errors. However I haven't created any new pools yet. I want to make sure I don't touch the current backup volumes until I get these files back. I'm getting this when I try to run bextract: root@molar:/etc/bacula# bextract -i /home/copy/restore-shares -V* /home/shares/backup /home/shares/shared bextract: butil.c:287 Using device: /home/shares/backup for reading. 02-Jul 14:11 bextract JobId 0: Warning: acquire.c:239 Read open device FileStorage (/home/shares/backup) Volume * failed: ERR=dev.c:568 Could not open: /home/shares/backup/*, ERR=No such file or directory Mount Volume * on device FileStorage (/home/shares/backup) and press return when ready: The restore-shares include simply lists /home/shares/shared as the directory to restore. The FileStorage device is: root@molar:/etc/bacula# ls -l /home/shares/backup/ total 451951036 -rw--- 1 root root 25769801872 Jun 29 02:13 weekly-backup-0 -rw--- 1 root root 25769797526 Jun 29 02:26 weekly-backup-1 -rw--- 1 root root 25769789916 Jun 29 02:39 weekly-backup-2 -rw--- 1 root root 9405549524 Jun 29 02:44 weekly-backup-3 -rw--- 1 root root 25769797224 Jun 29 02:57 weekly-backup-4 -rw--- 1 root root 25769772682 Jun 29 03:10 weekly-backup-5 -rw--- 1 root root 25769749112 Jun 29 03:23 weekly-backup-6 -rw--- 1 root root 25769801958 Jun 29 03:36 weekly-backup-7 -rw--- 1 root root 25769758006 Jun 29 03:49 weekly-backup-8 -rw--- 1 root root 25769801408 Jun 29 04:02 weekly-backup-9 -rw--- 1 root root 25769753609 Jun 29 04:15 weekly-backup-A -rw--- 1 root root 25769786076 Jun 29 04:29 weekly-backup-B -rw--- 1 root root 25769800197 Jun 29 04:42 weekly-backup-C -rw--- 1 root root 25769776712 Jun 29 04:55 weekly-backup-D -rw--- 1 root root 25769779608 Jun 29 05:08 weekly-backup-E -rw--- 1 root root 25769752381 Jun 29 05:21 weekly-backup-F -rw--- 1 root root 25769769756 Jun 29 05:35 weekly-backup-G -rw--- 1 root root 25769792835 Jun 29 05:48 weekly-backup-H -rw--- 1 root root 15305916416 Jun 29 05:56 weekly-backup-I Any ideas on what I'm doing wrong? -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bextract recovery of files after bare-metal restore
On 02/07/15 02:49 PM, Bill Arlofski wrote: On 07/02/2015 02:17 PM, Gary Dale wrote: I'm finishing up rebuilding a server and just need to get a few files back from a backup. I've got bacula going to the point that I can test the configuration files and not see any errors. However I haven't created any new pools yet. I want to make sure I don't touch the current backup volumes until I get these files back. I'm getting this when I try to run bextract: root@molar:/etc/bacula# bextract -i /home/copy/restore-shares -V* /home/shares/backup /home/shares/shared bextract: butil.c:287 Using device: /home/shares/backup for reading. 02-Jul 14:11 bextract JobId 0: Warning: acquire.c:239 Read open device FileStorage (/home/shares/backup) Volume * failed: ERR=dev.c:568 Could not open: /home/shares/backup/*, ERR=No such file or directory Mount Volume * on device FileStorage (/home/shares/backup) and press return when ready: Hi Gary, The bextract -V option does not take wildcards. You will need to do: -V vol_001|vol_002|vol_003 and so on for the volumes you want to extract from. Hope this helps. Bill Thanks Bill. According to the fine manual: And finally, if you feel that specifying a Volume name is a bit complicated with a bootstrap file, you can use the *-V* option (on all programs except *bcopy*) to specify one or more Volume names separated by the vertical bar (|). For example, ./bls -V Vol001 /dev/nst0 You may also specify an asterisk (*) to indicate that the program should accept any volume. For example: ./bls -V* /dev/nst0 I guess that is not quite accurate. You're right that it does seem to be taking the actual volume names. When I ran it against a single volume, it restored some files, so I created a .bsr file and it's doing the full restore. Again, Thanks. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] is there a way to rename an active volume?
Not a big deal, but somehow I've ended up with a file storage volume that has a different naming convention from others in the pool. The naming convention was daily-backup- + a single-digit volume number. The amount of data keeps growing so I need to add new volumes from time to time. Somehow the last time I ended up with one with the wrong name. I don't actually need to rename it. Migrating to another volume in the same pool would also work, as would telling bacula to stop using it for new backups, so that it would eventually be empty. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] [SOLVED] Re: suddenly not connecting to client
On 28/08/14 09:34 PM, John Stoffel wrote: Gary == Gary Dale garyd...@torfree.net writes: Gary For some reason my Bacula server isn't connecting to a Windows 7 client. Gary I've been having some problems with the client computer but they seem to Gary be settled now except for this one. I've disabled the Windows firewall Gary to try to resolve the problem, but that didn't work. Gary I'm seeing this in the bconsole messages: GaryNon-fatal FD errors:2 GarySD Errors: 0 GaryFD termination status: Error GarySD termination status: Waiting on FD GaryTermination: Gary I also got this message at one point: Gary 27-Aug 11:15 server-fd JobId 2793: Error: Gary /home/kern/bacula/k/bacula/src/lib/bsock.c:203 gethostbyname() for host Gary server name.domain namel failed: ERR=Authoritative answer for host Gary not found. It looks like you have a DNS problem on the server. What is your domain name and can you do: nslookup server.some.domain and have it return correct results. Check that in your configuration file(s) that you aren't using 'client' on the server end, but 'server.some.domain' on the client end, or visa-versa. It might be just a simple oversight. Also, compare it with a working client to see what's different. Maybe you can see the difference when you compare the configs side by side, line by line. Gary I can ping the server and the client by name from both Gary ends. I've verified that the password is still correct. When I Gary activate the tray monitor on the client, it shows the last Gary several jobs. When I run bconsole on the client, it connects OK Gary and I can run the backup job, but it again fails with the FD Gary error (above). It would help if you could show the actual commands and log file entries. Also look at /etc/* config files (since you're probably on a unix/linux system for the server) and make sure DNS in /etc/resolv.conf is setup properly. Showing how you run a job on working windows 7 client compared to this broken one would also be good. John Thanks John. I finally got the time to sit down and figure it out. The server.domain lookup was OK but the client machine couldn't ping server.domain, just server so the connection was only working in one direction. For some reason this machine needed a c:\windows\system32\drivers\etc\hosts file to make the connection to the server. Without it, it could ping the server by name but not by the full name. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] suddenly not connecting to client
For some reason my Bacula server isn't connecting to a Windows 7 client. I've been having some problems with the client computer but they seem to be settled now except for this one. I've disabled the Windows firewall to try to resolve the problem, but that didn't work. I'm seeing this in the bconsole messages: Non-fatal FD errors:2 SD Errors: 0 FD termination status: Error SD termination status: Waiting on FD Termination: I also got this message at one point: 27-Aug 11:15 server-fd JobId 2793: Error: /home/kern/bacula/k/bacula/src/lib/bsock.c:203 gethostbyname() for host server name.domain namel failed: ERR=Authoritative answer for host not found. I can ping the server and the client by name from both ends. I've verified that the password is still correct. When I activate the tray monitor on the client, it shows the last several jobs. When I run bconsole on the client, it connects OK and I can run the backup job, but it again fails with the FD error (above). Any ideas? -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] problem connecting to Windows 7 client
Below is the log I get e-mailed after the job finishes. The client machine being backed up is called server for reasons that made sense at one time. The Bacula server is running on molar. I can connect from molar to server using bconsole on both molar and server. Two other backup jobs are completing normally. According to bconsole status however server is not being backed up. Any ideas on what the messages are trying to tell me and how to fix it? 25-Jun 23:05 molar-dir JobId 2600: Start Backup JobId 2600, Job=BackupServer.2014-06-25_23.05.00_18 25-Jun 23:05 molar-dir JobId 2600: Using Device FileStorage 25-Jun 23:05 server-fd JobId 2600: DIR and FD clocks differ by 5 seconds, FD automatically compensating. 25-Jun 23:06 server-fd JobId 2600: Warning: /home/kern/bacula/k/bacula/src/lib/bsock.c:127 Could not connect to Storage daemon on molar.dental:9103. ERR=The operation completed successfully. Retrying ... 25-Jun 23:22 server-fd JobId 2600: Warning: /home/kern/bacula/k/bacula/src/lib/bsock.c:127 Could not connect to Storage daemon on molar.dental:9103. ERR=The operation completed successfully. Retrying ... 25-Jun 23:35 server-fd JobId 2600: Fatal error: /home/kern/bacula/k/bacula/src/lib/bsock.c:133 Unable to connect to Storage daemon on molar.dental:9103. ERR=The operation completed successfully. 25-Jun 23:35 server-fd JobId 2600: Fatal error: Failed to connect to Storage daemon: molar.dental:9103 25-Jun 23:35 molar-dir JobId 2600: Fatal error: Bad response to Storage command: wanted 2000 OK storage , got 2902 Bad storage 25-Jun 23:35 molar-dir JobId 2600: Error: Bacula molar-dir 5.2.6 (21Feb12): Build OS: x86_64-pc-linux-gnu debian 7.0 JobId: 2600 Job:BackupServer.2014-06-25_23.05.00_18 Backup Level: Incremental, since=2014-06-14 23:05:09 Client: server-fd 5.2.6 (21Feb12) Microsoft Windows 7 Professional Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64 FileSet:server-files 2012-04-09 17:41:13 Pool: DailyFile (From Job resource) Catalog:MyCatalog (From Client resource) Storage:File (From Job resource) Scheduled time: 25-Jun-2014 23:05:00 Start time: 25-Jun-2014 23:05:06 End time: 25-Jun-2014 23:35:14 Elapsed time: 30 mins 8 secs Priority: 10 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 (0 B) SD Bytes Written: 0 (0 B) Rate: 0.0 KB/s Software Compression: None VSS:no Encryption: no Accurate: no Volume name(s): Volume Session Id: 54 Volume Session Time:1402364809 Last Volume Bytes: 5,598,793,197 (5.598 GB) Non-fatal FD errors:2 SD Errors: 0 FD termination status: Error SD termination status: Waiting on FD Termination:*** Backup Error *** -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problem connecting to Windows 7 client
On 26/06/14 10:51 AM, John Drescher wrote: On Thu, Jun 26, 2014 at 10:15 AM, Gary Dale garyd...@torfree.net wrote: Below is the log I get e-mailed after the job finishes. The client machine being backed up is called server for reasons that made sense at one time. The Bacula server is running on molar. I can connect from molar to server using bconsole on both molar and server. Two other backup jobs are completing normally. According to bconsole status however server is not being backed up. Any ideas on what the messages are trying to tell me and how to fix it? On the windows client can you ping molar.dental. Make sure that the client can resolve this to an ipaddress. John Thanks. It was resolving molar.dental but to a public address somewhere. I added the local address to hosts and the ping worked correctly. I'm running the backup job now and it seems to be working. -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Offsite Backup
On 12/11/13 09:20 AM, Willi Fehler wrote: Hello, we want to copy the data of our main Bacula-Server to a addiontal Server outside of our main datacenter in case the datacenter is down and we still want to able to restore files. Both Servers are running Debian 6.0 and MySQL as . At the moment Bacula is only installed on the Server inside our datacenter. Which possibilities do I have? Use rsync to keep the files in /etc/bacula/ and my backup directory up2date and create a mysqldump and restore it every night on the offsite backup server? Regards - Willi Since you want to be able to restore files using the additional server, I'd suggest rsync run after the backups to copy just the changed data. Make sure that the catalogue is included in the backups. Also, install bacula on the additional server to verify that you can actually restore files. -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] exclude day from schedule
On 02/08/13 12:25 PM, Martin Simmons wrote: On Fri, 02 Aug 2013 10:12:03 +0300, Süleyman Kuran said: Hi, I read the docs but couldn't find any info. Is it possible to exclude from schedule? My schedule is as follows: Schedule { Name = MultipleRUN Run = Level=Full Pool=Daily mon-sun at 3:17 Run = Level=Full Pool=Weekly sun at 9:05 Run = Level=Incremental Pool=Weekly mon-sat at 19:05 Run = Level=Full Pool=Monthly 1st sat at 2:05 Run = Level=Full Pool=Offsite 1st fri at 2:05 } This schedule looks strange to me, because incremental jobs are always relative to the last full job, but you are sending them all to the Weekly pool. On Monday it will be relative to the Pool=Daily full and on the 1st Friday it will be relative to the Pool=Offsite full. __Martin I thought incrementals were relative to the last backup job and differentials relative to the last full backup. He does a full on Sunday to the weekly pool and incrementals the rest of the week. Each incremental should have just the day's changes. What I find strange is that he's running the Offsite a day before the Monthly while the Weekly full is 31 hours after the Monthly. Given that the month doesn't always start on the same day of the week, the various backups could be done on different weeks (e.g. the first Saturday may be before or after the first Sunday). Another strange thing is that he's running both full and incremental backups each day, with two full backups on Sunday. I don't understand why anyone would do this. -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] exclude day from schedule
On 02/08/13 05:56 PM, Süleyman Kuran wrote: I export the Offsite media on Friday morning from the library and move it to another location. Because there is no monthly backup in the library I also schedule a job a day after the offsite backupin case I need to recover from a montly backup immediately. 1stsat is always 1 day after the 1st friday, or am i wrong? You are right that I have two full backups on sunday, it is a mistake. I should remove daily backup on sundays. The really strange thing is that you are running a full backup to the Daily pool at 3:17 each morning and an incremental each day except Sunday at 19:05 to the Weekly pool. Assuming normal business hours, that means you are doing an incremental followed by a full each day. Do you need two backups each day? The sample schedule looks pretty good and appears to do what you want: Schedule { Name = ScheduleTest Run = Full 1st sun at 23:05 Run = Differential 2nd-5th sun at 23:05 Run = Incremental mon-sat at 23:05 } In fact, you could even simplify it to running a full every Sunday and incrementals in between. Schedule { Name = ScheduleTest2 Run = Full sun at 23:05 Run = Incremental mon-sat at 23:05 } If you put the incrementals into a different pool from the full/differential then you keep the size of the pool you want offsite manageable. If you are backing up the catalogue (a common practise) along with the files, then you don't need to run a full backup to an Offsite pool. I just copy the Weekly pool to a removable drive/media each week after the weekly Full or Differential backup finishes. This can be done as a RunAfterJob script or as a cron job. Should you need to restore the pool, just copy it back to your disk drive. -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] What's wrong with my schedule?
On 31/07/13 07:14 AM, John Drescher wrote: Do you have attribute spooling enabled? John Not so far as I can tell. Why would I want to have it enabled? Normally you enable that to speed up database inserts since this causes the DB inserts to happen at the end of the job (in large transactions) instead of after every single file. However in this case I was concerned that your differential was started before the attribute inserts were finished. Remember that bacula compares what is in the DB to what it finds in the filesystem to determine what has changed from the full. John But that's not the problem. The problem is that Full backup is running. If the Full backup was following the schedule, the issue of the differential backing up the files wouldn't exist. -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] What's wrong with my schedule?
On 30/07/13 06:54 AM, Uwe Schuerkamp wrote: On Mon, Jul 29, 2013 at 11:54:16PM -0400, Gary Dale wrote: I'm running Version: 5.2.6 (21 February 2012) x86_64-pc-linux-gnu debian 7.0 This schedule seems to almost be working. Unfortunately, I'm getting a full backup every Sunday before the differential backup on the 2nd-5th Sundays. The daily incremental backups are working properly. I've restarted the director several times so I'm pretty sure it's re-read the conf file. Any idea on what I'm doing wrong? Schedule { Name = WeeklyCycle Run = Full 1st sun at 23:05 Run = Differential 2nd-5th sun at 23:05 Run = Incremental mon-sat at 23:05 } Hello Gary, I think we need more info on this one... how long are your retention times? Is it possible your fulls expire within a week or get overwritten so the differential gets somehow bumped to full status? What's the bacula log file entry when the unexpected full starts? Uwe The Client part of the two computers being backed up each contains: File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files The Full Differential backups get written to a Weekly backup (disk) pool, which is then copied to an external HD for offsite backup. Neither the Weekly or Daily pool is anywhere near full. Both have labelled empty volumes available. The report on the full backup of one machine is: 28-Jul 23:07 molar-dir JobId 1599: Start Backup JobId 1599, Job=BackupServer.2013-07-28_23.05.00_43 28-Jul 23:07 molar-dir JobId 1599: Using Device FileStorage 28-Jul 23:07 molar-sd JobId 1599: Volume weekly-backup-3 previously written, moving to end of data. 28-Jul 23:07 molar-sd JobId 1599: Ready to append to end of Volume weekly-backup-3 size=4432241076 28-Jul 23:07 server-fd JobId 1599: Generate VSS snapshots. Driver=Win64 VSS, Drive(s)=C 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Task Scheduler Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): VSS Metadata Store Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Performance Counters Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): SqlServerWriter, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): ASR Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): MSSearch Service Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): COM+ REGDB Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Registry Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Shadow Copy Optimization Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): WMI Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 molar-sd JobId 1599: Job write elapsed time = 00:09:51, Transfer rate = 32.61 M Bytes/second 28-Jul 23:17 molar-dir JobId 1599: Bacula molar-dir 5.2.6 (21Feb12): Build OS: x86_64-pc-linux-gnu debian 7.0 JobId: 1599 Job:BackupServer.2013-07-28_23.05.00_43 Backup Level: Full Client: server-fd 5.2.6 (21Feb12) Microsoft Windows 7 Professional Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64 FileSet:server-files 2012-04-09 17:41:13 Pool: WeeklyFile (From Job FullPool override) Catalog:MyCatalog (From Client resource) Storage:File (From Job resource) Scheduled time: 28-Jul-2013 23:05:00 Start time: 28-Jul-2013 23:07:15 End time: 28-Jul-2013 23:17:09 Elapsed time: 9 mins 54 secs Priority: 10 FD Files Written: 34,225 SD Files Written: 34,225 FD Bytes Written: 19,267,786,645 (19.26 GB) SD Bytes Written: 19,273,081,531 (19.27 GB) Rate: 32437.4 KB/s Software Compression: None VSS:yes Encryption: no Accurate: no Volume name(s): weekly-backup-3 Volume Session Id: 46 Volume Session Time:1373920803 Last Volume Bytes: 23,720,558,823 (23.72 GB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK 28-Jul 23:17 molar-dir JobId 1599: Begin pruning Jobs older than 6 months . 28-Jul 23:17 molar-dir JobId 1599: No Jobs found to prune. 28-Jul 23:17 molar-dir JobId 1599: Begin pruning Files. 28-Jul 23:17
Re: [Bacula-users] What's wrong with my schedule?
On 30/07/13 12:41 PM, John Drescher wrote: On Tue, Jul 30, 2013 at 12:27 PM, Gary Dalegaryd...@torfree.net wrote: On 30/07/13 06:54 AM, Uwe Schuerkamp wrote: On Mon, Jul 29, 2013 at 11:54:16PM -0400, Gary Dale wrote: I'm running Version: 5.2.6 (21 February 2012) x86_64-pc-linux-gnu debian 7.0 This schedule seems to almost be working. Unfortunately, I'm getting a full backup every Sunday before the differential backup on the 2nd-5th Sundays. The daily incremental backups are working properly. I've restarted the director several times so I'm pretty sure it's re-read the conf file. Any idea on what I'm doing wrong? Schedule { Name = WeeklyCycle Run = Full 1st sun at 23:05 Run = Differential 2nd-5th sun at 23:05 Run = Incremental mon-sat at 23:05 } Hello Gary, I think we need more info on this one... how long are your retention times? Is it possible your fulls expire within a week or get overwritten so the differential gets somehow bumped to full status? What's the bacula log file entry when the unexpected full starts? Uwe The Client part of the two computers being backed up each contains: File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files The Full Differential backups get written to a Weekly backup (disk) pool, which is then copied to an external HD for offsite backup. Neither the Weekly or Daily pool is anywhere near full. Both have labelled empty volumes available. The report on the full backup of one machine is: 28-Jul 23:07 molar-dir JobId 1599: Start Backup JobId 1599, Job=BackupServer.2013-07-28_23.05.00_43 28-Jul 23:07 molar-dir JobId 1599: Using Device FileStorage 28-Jul 23:07 molar-sd JobId 1599: Volume weekly-backup-3 previously written, moving to end of data. 28-Jul 23:07 molar-sd JobId 1599: Ready to append to end of Volume weekly-backup-3 size=4432241076 28-Jul 23:07 server-fd JobId 1599: Generate VSS snapshots. Driver=Win64 VSS, Drive(s)=C 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Task Scheduler Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): VSS Metadata Store Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Performance Counters Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): SqlServerWriter, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): ASR Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): MSSearch Service Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): COM+ REGDB Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Registry Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Shadow Copy Optimization Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): WMI Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 molar-sd JobId 1599: Job write elapsed time = 00:09:51, Transfer rate = 32.61 M Bytes/second 28-Jul 23:17 molar-dir JobId 1599: Bacula molar-dir 5.2.6 (21Feb12): Build OS: x86_64-pc-linux-gnu debian 7.0 JobId: 1599 Job:BackupServer.2013-07-28_23.05.00_43 Backup Level: Full Client: server-fd 5.2.6 (21Feb12) Microsoft Windows 7 Professional Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64 FileSet:server-files 2012-04-09 17:41:13 Pool: WeeklyFile (From Job FullPool override) Catalog:MyCatalog (From Client resource) Storage:File (From Job resource) Scheduled time: 28-Jul-2013 23:05:00 Start time: 28-Jul-2013 23:07:15 End time: 28-Jul-2013 23:17:09 Elapsed time: 9 mins 54 secs Priority: 10 FD Files Written: 34,225 SD Files Written: 34,225 FD Bytes Written: 19,267,786,645 (19.26 GB) SD Bytes Written: 19,273,081,531 (19.27 GB) Rate: 32437.4 KB/s Software Compression: None VSS:yes Encryption: no Accurate: no Volume name(s): weekly-backup-3 Volume Session Id: 46 Volume Session Time:1373920803 Last Volume Bytes: 23,720,558,823 (23.72 GB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: OK SD termination status: OK
Re: [Bacula-users] What's wrong with my schedule?
On 30/07/13 02:39 PM, John Drescher wrote: On Tue, Jul 30, 2013 at 2:10 PM, Gary Dalegaryd...@torfree.net wrote: On 30/07/13 12:41 PM, John Drescher wrote: On Tue, Jul 30, 2013 at 12:27 PM, Gary Dalegaryd...@torfree.net wrote: On 30/07/13 06:54 AM, Uwe Schuerkamp wrote: On Mon, Jul 29, 2013 at 11:54:16PM -0400, Gary Dale wrote: I'm running Version: 5.2.6 (21 February 2012) x86_64-pc-linux-gnu debian 7.0 This schedule seems to almost be working. Unfortunately, I'm getting a full backup every Sunday before the differential backup on the 2nd-5th Sundays. The daily incremental backups are working properly. I've restarted the director several times so I'm pretty sure it's re-read the conf file. Any idea on what I'm doing wrong? Schedule { Name = WeeklyCycle Run = Full 1st sun at 23:05 Run = Differential 2nd-5th sun at 23:05 Run = Incremental mon-sat at 23:05 } Hello Gary, I think we need more info on this one... how long are your retention times? Is it possible your fulls expire within a week or get overwritten so the differential gets somehow bumped to full status? What's the bacula log file entry when the unexpected full starts? Uwe The Client part of the two computers being backed up each contains: File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files The Full Differential backups get written to a Weekly backup (disk) pool, which is then copied to an external HD for offsite backup. Neither the Weekly or Daily pool is anywhere near full. Both have labelled empty volumes available. The report on the full backup of one machine is: 28-Jul 23:07 molar-dir JobId 1599: Start Backup JobId 1599, Job=BackupServer.2013-07-28_23.05.00_43 28-Jul 23:07 molar-dir JobId 1599: Using Device FileStorage 28-Jul 23:07 molar-sd JobId 1599: Volume weekly-backup-3 previously written, moving to end of data. 28-Jul 23:07 molar-sd JobId 1599: Ready to append to end of Volume weekly-backup-3 size=4432241076 28-Jul 23:07 server-fd JobId 1599: Generate VSS snapshots. Driver=Win64 VSS, Drive(s)=C 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Task Scheduler Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): VSS Metadata Store Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Performance Counters Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): SqlServerWriter, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): ASR Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): MSSearch Service Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): COM+ REGDB Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Registry Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Shadow Copy Optimization Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): WMI Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 molar-sd JobId 1599: Job write elapsed time = 00:09:51, Transfer rate = 32.61 M Bytes/second 28-Jul 23:17 molar-dir JobId 1599: Bacula molar-dir 5.2.6 (21Feb12): Build OS: x86_64-pc-linux-gnu debian 7.0 JobId: 1599 Job:BackupServer.2013-07-28_23.05.00_43 Backup Level: Full Client: server-fd 5.2.6 (21Feb12) Microsoft Windows 7 Professional Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64 FileSet:server-files 2012-04-09 17:41:13 Pool: WeeklyFile (From Job FullPool override) Catalog:MyCatalog (From Client resource) Storage:File (From Job resource) Scheduled time: 28-Jul-2013 23:05:00 Start time: 28-Jul-2013 23:07:15 End time: 28-Jul-2013 23:17:09 Elapsed time: 9 mins 54 secs Priority: 10 FD Files Written: 34,225 SD Files Written: 34,225 FD Bytes Written: 19,267,786,645 (19.26 GB) SD Bytes Written: 19,273,081,531 (19.27 GB) Rate: 32437.4 KB/s Software Compression: None VSS:yes Encryption: no Accurate: no Volume name(s): weekly-backup-3 Volume Session Id: 46 Volume Session Time:1373920803 Last Volume Bytes
Re: [Bacula-users] What's wrong with my schedule?
On 30/07/13 03:12 PM, Gary Dale wrote: On 30/07/13 02:39 PM, John Drescher wrote: On Tue, Jul 30, 2013 at 2:10 PM, Gary Dalegaryd...@torfree.net wrote: On 30/07/13 12:41 PM, John Drescher wrote: On Tue, Jul 30, 2013 at 12:27 PM, Gary Dalegaryd...@torfree.netwrote: On 30/07/13 06:54 AM, Uwe Schuerkamp wrote: On Mon, Jul 29, 2013 at 11:54:16PM -0400, Gary Dale wrote: I'm running Version: 5.2.6 (21 February 2012) x86_64-pc-linux-gnu debian 7.0 This schedule seems to almost be working. Unfortunately, I'm getting a full backup every Sunday before the differential backup on the 2nd-5th Sundays. The daily incremental backups are working properly. I've restarted the director several times so I'm pretty sure it's re-read the conf file. Any idea on what I'm doing wrong? Schedule { Name = WeeklyCycle Run = Full 1st sun at 23:05 Run = Differential 2nd-5th sun at 23:05 Run = Incremental mon-sat at 23:05 } Hello Gary, I think we need more info on this one... how long are your retention times? Is it possible your fulls expire within a week or get overwritten so the differential gets somehow bumped to full status? What's the bacula log file entry when the unexpected full starts? Uwe The Client part of the two computers being backed up each contains: File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files The FullDifferential backups get written to a Weekly backup (disk) pool, which is then copied to an external HD for offsite backup. Neither the Weekly or Daily pool is anywhere near full. Both have labelled empty volumes available. The report on the full backup of one machine is: 28-Jul 23:07 molar-dir JobId 1599: Start Backup JobId 1599, Job=BackupServer.2013-07-28_23.05.00_43 28-Jul 23:07 molar-dir JobId 1599: Using Device FileStorage 28-Jul 23:07 molar-sd JobId 1599: Volume weekly-backup-3 previously written, moving to end of data. 28-Jul 23:07 molar-sd JobId 1599: Ready to append to end of Volume weekly-backup-3 size=4432241076 28-Jul 23:07 server-fd JobId 1599: Generate VSS snapshots. Driver=Win64 VSS, Drive(s)=C 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Task Scheduler Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): VSS Metadata Store Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Performance Counters Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): SqlServerWriter, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): ASR Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): MSSearch Service Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): COM+ REGDB Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Registry Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): Shadow Copy Optimization Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 server-fd JobId 1599: VSS Writer (BackupComplete): WMI Writer, State: 0x1 (VSS_WS_STABLE) 28-Jul 23:17 molar-sd JobId 1599: Job write elapsed time = 00:09:51, Transfer rate = 32.61 M Bytes/second 28-Jul 23:17 molar-dir JobId 1599: Bacula molar-dir 5.2.6 (21Feb12): Build OS: x86_64-pc-linux-gnu debian 7.0 JobId: 1599 Job:BackupServer.2013-07-28_23.05.00_43 Backup Level: Full Client: server-fd 5.2.6 (21Feb12) Microsoft Windows 7 Professional Service Pack 1 (build 7601), 64-bit,Cross-compile,Win64 FileSet:server-files 2012-04-09 17:41:13 Pool: WeeklyFile (From Job FullPool override) Catalog:MyCatalog (From Client resource) Storage:File (From Job resource) Scheduled time: 28-Jul-2013 23:05:00 Start time: 28-Jul-2013 23:07:15 End time: 28-Jul-2013 23:17:09 Elapsed time: 9 mins 54 secs Priority: 10 FD Files Written: 34,225 SD Files Written: 34,225 FD Bytes Written: 19,267,786,645 (19.26 GB) SD Bytes Written: 19,273,081,531 (19.27 GB) Rate: 32437.4 KB/s Software Compression: None VSS:yes Encryption: no Accurate: no Volume name(s): weekly-backup-3 Volume Session Id: 46
[Bacula-users] What's wrong with my schedule?
I'm running Version: 5.2.6 (21 February 2012) x86_64-pc-linux-gnu debian 7.0 This schedule seems to almost be working. Unfortunately, I'm getting a full backup every Sunday before the differential backup on the 2nd-5th Sundays. The daily incremental backups are working properly. I've restarted the director several times so I'm pretty sure it's re-read the conf file. Any idea on what I'm doing wrong? Schedule { Name = WeeklyCycle Run = Full 1st sun at 23:05 Run = Differential 2nd-5th sun at 23:05 Run = Incremental mon-sat at 23:05 } -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] wake on lan in RunBeforeJob
On 28/06/13 03:35 PM, Wolfgang Routschka wrote: converted from rtf Hi, one question about starting a client for backup with bacula software and wake-on-lan. I have configure a bacula job for backup my windows client at night. To start my client I want to use wake on lan and I use the RunBeforeJob-option. Now the problem is bacula only start the option if the bacula-daemon is able to connect the client. Fatal error: bsock.c:138 Unable to connect to Client: win8 on x.x.x.x:9102. ERR=No route to host Is it possbile to start the RunBeforeJob-Option although the client is not to connected? After Running this job I can connect to the Client. Greetings Wolfgang The brute force technique is to put the wakeonlan call in crontab to run a few minutes before the backup job. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup of Windows 7 machine failing
On 26/06/13 03:52 AM, Alexander Pyhalov wrote: On 06/26/2013 07:34, Gary Dale wrote: INSERT INTO RestoreObject (ObjectName,PluginName,RestoreObject,ObjectLength,ObjectFullLength,ObjectIndex,ObjectType,ObjectCompression,FileIndex,JobId) VALUES ('job_metadata.xml','job','PABCAEEAQwBLAFUAUABfAEMATwBNAFAATwBOAEUATgBUAFMAIAB4AG0AbABuAHMAPQAiAHgALQBzAGMAaABlAG0AYQA6ACMAVgBzAHMAQwBvAG0AcABvAG4AZQBuAHQATQBlAHQAYQBkAGEAdABhACIAIAB2AGUAcgBzAGkAbwBuAD0AIgAxAC4AMgAiACAAYgBvAG8AdABhAGIAbABlAFMAeQBzAHQAZQBtAFMAdABhAHQAZQBCAGEAYwBrAHUAcAA9ACIAeQBlAHMAIgAgAHMAZQBsAGUAYwB0AEMAbwBtAHAAbwBuAGUAbgB0AHMAPQAiAHkAZQBzACIAIABiAGEAYwBrAHUAcABUAHkAcABlAD0AIgBpAG4AYwByAGUAbQBlAG4AdABhAGwAIgAgAHAAYQByAHQAaQBhAGwARgBpAGwAZQBTAHUAcABwAG8AcgB0AD0AIgBuAG8AIgAgAHMAbgBhAHAAcwBoAG8AdABTAGUAdABJAGQAPQAiADEAZQA4ADEAMQBiADEANwAtAGYANgBkADEALQA0ADYAMAA5AC0AYQA0AGYAYQAtAGQANwA3ADMANwBhADcANAAyAGUAYwA5ACIALwA+',462,462,1372216087,25,0,3250,1492) It is not a client issue. Upgrade DB script at least on Debian is incorrect: it creates table RestoreObject ( RestoreObjectId INTEGER, ObjectName TEXT DEFAULT '', RestoreObject TEXT DEFAULT '', PluginName TEXT DEFAULT '', ObjectLength INTEGER DEFAULT 0, ObjectFullLength INTEGER DEFAULT 0, ObjectIndex INTEGER DEFAULT 0, ObjectType INTEGER DEFAULT 0, FileIndex INTEGER UNSIGNED DEFAULT 0, !! ObejctCompression INTEGER DEFAULT 0, JobId INTEGER UNSIGNED REFERENCES Job NOT NULL, PRIMARY KEY(RestoreObjectId) ); Look at it: ObejctCompression, not ObjectCompression! Thanks Alexander. Since sqlite3 doesn't allow me to rename or drop columns, I just added one with the correct name and the backup is working again! -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup of Windows 7 machine failing
On 24/06/13 06:49 AM, Kern Sibbald wrote: Hello, You are trying to do something that is not supported by Bacula, which I think may be the source of your problem: that is you are running a FD (5.2.10) that is newer than your Director (5.2.6). I recommend either upgrading your Dir and SD to 5.2.10 or higher (current = 5.2.13) or downgrading your FD to 5.2.6 to correspond to the version of your Director. It looks like your catalog is not quite in sync with either the FD or your Director, because either the the RestoreObject table does not exist or it is an older version that is missing a column -- that sounds a bit strange to me, because I do not remember modifying the RestoreObject table, but then we have done so many changes to Bacula over the past year or so, it is hard for me to remember the finer details. Best regards, Kern Here's the latest error report after replacing FD 5.2.10 with 5.2.6 so they match the Bacula Director's version. It looks pretty much the same. 24-Jun 11:19 molar-dir JobId 1486: Start Backup JobId 1486, Job=BackupServer.2013-06-23_23.05.00_12 24-Jun 11:19 molar-dir JobId 1486: Using Device FileStorage 24-Jun 11:19 molar-sd JobId 1486: Volume backup-set1 previously written, moving to end of data. 24-Jun 11:19 molar-sd JobId 1486: Ready to append to end of Volume backup-set1 size=424375558615 24-Jun 11:19 server-fd JobId 1486: Generate VSS snapshots. Driver=Win64 VSS, Drive(s)=C 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): Task Scheduler Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): VSS Metadata Store Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 molar-dir JobId 1486: Fatal error: sql_create.c:1219 Create db Object record INSERT INTO RestoreObject (ObjectName,PluginName,RestoreObject,ObjectLength,ObjectFullLength,ObjectIndex,ObjectType,ObjectCompression,FileIndex,JobId) VALUES ('job_metadata.xml','job','PABCAEEAQwBLAFUAUABfAEMATwBNAFAATwBOAEUATgBUAFMAIAB4AG0AbABuAHMAPQAiAHgALQBzAGMAaABlAG0AYQA6ACMAVgBzAHMAQwBvAG0AcABvAG4AZQBuAHQATQBlAHQAYQBkAGEAdABhACIAIAB2AGUAcgBzAGkAbwBuAD0AIgAxAC4AMgAiACAAYgBvAG8AdABhAGIAbABlAFMAeQBzAHQAZQBtAFMAdABhAHQAZQBCAGEAYwBrAHUAcAA9ACIAeQBlAHMAIgAgAHMAZQBsAGUAYwB0AEMAbwBtAHAAbwBuAGUAbgB0AHMAPQAiAHkAZQBzACIAIABiAGEAYwBrAHUAcABUAHkAcABlAD0AIgBkAGkAZgBmAGUAcgBlAG4AdABpAGEAbAAiACAAcABhAHIAdABpAGEAbABGAGkAbABlAFMAdQBwAHAAbwByAHQAPQAiAG4AbwAiACAAcwBuAGEAcABzAGgAbwB0AFMAZQB0AEkAZAA9ACIAZgBjAGYAOAA2ADYAMQBjAC0AZAAzADYAOAAtADQAOAAwAGUALQA4AGEANgBmAC0AOAA0ADUAYQBhAGYANwA5ADQAMgBlADgAIgAvAD4',464,464,1372087380,25,0,3827,1486) failed. ERR=table RestoreObject has no column named ObjectCompressi n24-Jun 11:23 molar-dir JobId 1486: Fatal error: catreq.c:538 Restore object create error. sql_create.c:1219 Create db Object record INSERT INTO RestoreObject (ObjectName,PluginName,RestoreObject,ObjectLength,ObjectFullLength,ObjectIndex,ObjectType,ObjectCompression,FileIndex,JobId) VALUES ('job_metadata.xml','job','PABCAEEAQwBLAFUAUABfAEMATwBNAFAATwBOAEUATgBUAFMAIAB4AG0AbABuAHMAPQAiAHgALQBzAGMAaABlAG0AYQA6ACMAVgBzAHMAQwBvAG0AcABvAG4AZQBuAHQATQBlAHQAYQBkAGEAdABhACIAIAB2AGUAcgBzAGkAbwBuAD0AIgAxAC4AMgAiACAAYgBvAG8AdABhAGIAbABlAFMAeQBzAHQAZQBtAFMAdABhAHQAZQBCAGEAYwBrAHUAcAA9ACIAeQBlAHMAIgAgAHMAZQBsAGUAYwB0AEMAbwBtAHAAbwBuAGUAbgB0AHMAPQAiAHkAZQBzACIAIABiAGEAYwBrAHUAcABUAHkAcABlAD0AIgBkAGkAZgBmAGUAcgBlAG4AdABpAGEAbAAiACAAcABhAHIAdABpAGEAbABGAGkAbABlAFMAdQBwAHAAbwByAHQAPQAiAG4AbwAiACAAcwBuAGEAcABzAGgAbwB0AFMAZQB0AEkAZAA9ACIAZgBjAGYAOAA2ADYAMQBjAC0AZAAzADYAOAAtADQAOAAwAGUALQA4AGEANgBmAC0AOAA0ADUAYQBhAGYANwA5ADQAMgBlADgAIgAvAD4',464,464,1372087380,25,0,3827,1486) failed. ERR=table Restor Object has no column named ObjectCompression24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): Performance Counters Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): SqlServerWriter, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): ASR Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): Shadow Copy Optimization Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): COM+ REGDB Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): Registry Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): MSSearch Service Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): WMI Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): BITS Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 23:34 molar-dir JobId 1486: Fatal error: Network error with FD during Backup: ERR=Connection timed out 24-Jun 23:34 molar-dir JobId
Re: [Bacula-users] backup of Windows 7 machine failing
On 25/06/13 09:17 AM, Gary Dale wrote: On 24/06/13 06:49 AM, Kern Sibbald wrote: Hello, You are trying to do something that is not supported by Bacula, which I think may be the source of your problem: that is you are running a FD (5.2.10) that is newer than your Director (5.2.6). I recommend either upgrading your Dir and SD to 5.2.10 or higher (current = 5.2.13) or downgrading your FD to 5.2.6 to correspond to the version of your Director. It looks like your catalog is not quite in sync with either the FD or your Director, because either the the RestoreObject table does not exist or it is an older version that is missing a column -- that sounds a bit strange to me, because I do not remember modifying the RestoreObject table, but then we have done so many changes to Bacula over the past year or so, it is hard for me to remember the finer details. Best regards, Kern Here's the latest error report after replacing FD 5.2.10 with 5.2.6 so they match the Bacula Director's version. It looks pretty much the same. 24-Jun 11:19 molar-dir JobId 1486: Start Backup JobId 1486, Job=BackupServer.2013-06-23_23.05.00_12 24-Jun 11:19 molar-dir JobId 1486: Using Device FileStorage 24-Jun 11:19 molar-sd JobId 1486: Volume backup-set1 previously written, moving to end of data. 24-Jun 11:19 molar-sd JobId 1486: Ready to append to end of Volume backup-set1 size=424375558615 24-Jun 11:19 server-fd JobId 1486: Generate VSS snapshots. Driver=Win64 VSS, Drive(s)=C 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): Task Scheduler Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): VSS Metadata Store Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 molar-dir JobId 1486: Fatal error: sql_create.c:1219 Create db Object record INSERT INTO RestoreObject (ObjectName,PluginName,RestoreObject,ObjectLength,ObjectFullLength,ObjectIndex,ObjectType,ObjectCompression,FileIndex,JobId) VALUES ('job_metadata.xml','job','PABCAEEAQwBLAFUAUABfAEMATwBNAFAATwBOAEUATgBUAFMAIAB4AG0AbABuAHMAPQAiAHgALQBzAGMAaABlAG0AYQA6ACMAVgBzAHMAQwBvAG0AcABvAG4AZQBuAHQATQBlAHQAYQBkAGEAdABhACIAIAB2AGUAcgBzAGkAbwBuAD0AIgAxAC4AMgAiACAAYgBvAG8AdABhAGIAbABlAFMAeQBzAHQAZQBtAFMAdABhAHQAZQBCAGEAYwBrAHUAcAA9ACIAeQBlAHMAIgAgAHMAZQBsAGUAYwB0AEMAbwBtAHAAbwBuAGUAbgB0AHMAPQAiAHkAZQBzACIAIABiAGEAYwBrAHUAcABUAHkAcABlAD0AIgBkAGkAZgBmAGUAcgBlAG4AdABpAGEAbAAiACAAcABhAHIAdABpAGEAbABGAGkAbABlAFMAdQBwAHAAbwByAHQAPQAiAG4AbwAiACAAcwBuAGEAcABzAGgAbwB0AFMAZQB0AEkAZAA9ACIAZgBjAGYAOAA2ADYAMQBjAC0AZAAzADYAOAAtADQAOAAwAGUALQA4AGEANgBmAC0AOAA0ADUAYQBhAGYANwA5ADQAMgBlADgAIgAvAD4',464,464,1372087380,25,0,3827,1486) failed. ERR=table RestoreObject has no column named ObjectCompres si n24-Jun 11:23 molar-dir JobId 1486: Fatal error: catreq.c:538 Restore object create error. sql_create.c:1219 Create db Object record INSERT INTO RestoreObject (ObjectName,PluginName,RestoreObject,ObjectLength,ObjectFullLength,ObjectIndex,ObjectType,ObjectCompression,FileIndex,JobId) VALUES ('job_metadata.xml','job','PABCAEEAQwBLAFUAUABfAEMATwBNAFAATwBOAEUATgBUAFMAIAB4AG0AbABuAHMAPQAiAHgALQBzAGMAaABlAG0AYQA6ACMAVgBzAHMAQwBvAG0AcABvAG4AZQBuAHQATQBlAHQAYQBkAGEAdABhACIAIAB2AGUAcgBzAGkAbwBuAD0AIgAxAC4AMgAiACAAYgBvAG8AdABhAGIAbABlAFMAeQBzAHQAZQBtAFMAdABhAHQAZQBCAGEAYwBrAHUAcAA9ACIAeQBlAHMAIgAgAHMAZQBsAGUAYwB0AEMAbwBtAHAAbwBuAGUAbgB0AHMAPQAiAHkAZQBzACIAIABiAGEAYwBrAHUAcABUAHkAcABlAD0AIgBkAGkAZgBmAGUAcgBlAG4AdABpAGEAbAAiACAAcABhAHIAdABpAGEAbABGAGkAbABlAFMAdQBwAHAAbwByAHQAPQAiAG4AbwAiACAAcwBuAGEAcABzAGgAbwB0AFMAZQB0AEkAZAA9ACIAZgBjAGYAOAA2ADYAMQBjAC0AZAAzADYAOAAtADQAOAAwAGUALQA4AGEANgBmAC0AOAA0ADUAYQBhAGYANwA5ADQAMgBlADgAIgAvAD4',464,464,1372087380,25,0,3827,1486) failed. ERR=table Rest or Object has no column named ObjectCompression24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): Performance Counters Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): SqlServerWriter, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): ASR Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): Shadow Copy Optimization Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): COM+ REGDB Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): Registry Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): MSSearch Service Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): WMI Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 11:23 server-fd JobId 1486: VSS Writer (BackupComplete): BITS Writer, State: 0x1 (VSS_WS_STABLE) 24-Jun 23:34 molar-dir JobId 1486: Fatal error
[Bacula-users] backup of Windows 7 machine failing
The backups used to work until I had to do a fresh install of Windows 7. I copied the old .conf files on the Windows 7 machine into the new install and can run bconsole on the machine. I'm also backing up files from the machine hosting the bacula director and they are being backed up OK. Unfortunately, I'm at a loss on what is going wrong here and can't find anything through Google. The machine directing the backups is called molar while the machine I'm trying to backup files from is called server. molar-dir is the director, molar-sd is the storage director and server-fd is the remote file director. There's also a molar-fd running on the local machine (molar) that is not reporting any errors. Any ideas? Here's the e-mail I'm getting reporting the error. 21-Jun 23:05 molar-dir JobId 1480: Start Backup JobId 1480, Job=BackupServer.2013-06-21_23.05.01_04 21-Jun 23:05 molar-dir JobId 1480: Using Device FileStorage 21-Jun 23:04 server-fd JobId 1480: DIR and FD clocks differ by -23 seconds, FD automatically compensating. 21-Jun 23:05 molar-sd JobId 1480: Volume backup-set1 previously written, moving to end of data. 21-Jun 23:05 molar-sd JobId 1480: Ready to append to end of Volume backup-set1 size=419137241896 21-Jun 23:04 server-fd JobId 1480: Generate VSS snapshots. Driver=Win64 VSS, Drive(s)=C 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): Task Scheduler Writer, State: 0x1 (VSS_WS_STABLE) 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): VSS Metadata Store Writer, State: 0x1 (VSS_WS_STABLE) 21-Jun 23:08 molar-dir JobId 1480: Fatal error: sql_create.c:1219 Create db Object record INSERT INTO RestoreObject (ObjectName,PluginName,RestoreObject,ObjectLength,ObjectFullLength,ObjectIndex,ObjectType,ObjectCompression,FileIndex,JobId) VALUES ('job_metadata.xml','*all*','PABCAEEAQwBLAFUAUABfAEMATwBNAFAATwBOAEUATgBUAFMAIAB4AG0AbABuAHMAPQAiAHgALQBzAGMAaABlAG0AYQA6ACMAVgBzAHMAQwBvAG0AcABvAG4AZQBuAHQATQBlAHQAYQBkAGEAdABhACIAIAB2AGUAcgBzAGkAbwBuAD0AIgAxAC4AMgAiACAAYgBvAG8AdABhAGIAbABlAFMAeQBzAHQAZQBtAFMAdABhAHQAZQBCAGEAYwBrAHUAcAA9ACIAeQBlAHMAIgAgAHMAZQBsAGUAYwB0AEMAbwBtAHAAbwBuAGUAbgB0AHMAPQAiAHkAZQBzACIAIABiAGEAYwBrAHUAcABUAHkAcABlAD0AIgBpAG4AYwByAGUAbQBlAG4AdABhAGwAIgAgAHAAYQByAHQAaQBhAGwARgBpAGwAZQBTAHUAcABwAG8AcgB0AD0AIgBuAG8AIgAgAHMAbgBhAHAAcwBoAG8AdABTAGUAdABJAGQAPQAiAGUANABkADIANQAzADEANgAtADAAYgA1ADQALQA0AGQANQAxAC0AYQA1ADgAZgAtADIAYgAzADMAZAA5ADIAMgBmADMANQBkACIALwA+',462,462,1371870479,25,0,2897,1480) failed. ERR=table RestoreObject has no column named ObjectCompressio 21-Jun 23:08 molar-dir JobId 1480: Fatal error: catreq.c:538 Restore object create error. sql_create.c:1219 Create db Object record INSERT INTO RestoreObject (ObjectName,PluginName,RestoreObject,ObjectLength,ObjectFullLength,ObjectIndex,ObjectType,ObjectCompression,FileIndex,JobId) VALUES ('job_metadata.xml','*all*','PABCAEEAQwBLAFUAUABfAEMATwBNAFAATwBOAEUATgBUAFMAIAB4AG0AbABuAHMAPQAiAHgALQBzAGMAaABlAG0AYQA6ACMAVgBzAHMAQwBvAG0AcABvAG4AZQBuAHQATQBlAHQAYQBkAGEAdABhACIAIAB2AGUAcgBzAGkAbwBuAD0AIgAxAC4AMgAiACAAYgBvAG8AdABhAGIAbABlAFMAeQBzAHQAZQBtAFMAdABhAHQAZQBCAGEAYwBrAHUAcAA9ACIAeQBlAHMAIgAgAHMAZQBsAGUAYwB0AEMAbwBtAHAAbwBuAGUAbgB0AHMAPQAiAHkAZQBzACIAIABiAGEAYwBrAHUAcABUAHkAcABlAD0AIgBpAG4AYwByAGUAbQBlAG4AdABhAGwAIgAgAHAAYQByAHQAaQBhAGwARgBpAGwAZQBTAHUAcABwAG8AcgB0AD0AIgBuAG8AIgAgAHMAbgBhAHAAcwBoAG8AdABTAGUAdABJAGQAPQAiAGUANABkADIANQAzADEANgAtADAAYgA1ADQALQA0AGQANQAxAC0AYQA1ADgAZgAtADIAYgAzADMAZAA5ADIAMgBmADMANQBkACIALwA+',462,462,1371870479,25,0,2897,1480) failed. ERR=table RestoreO ject has no column named ObjectCompression21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): Performance Counters Writer, State: 0x1 (VSS_WS_STABLE) 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): SqlServerWriter, State: 0x1 (VSS_WS_STABLE) 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): ASR Writer, State: 0x1 (VSS_WS_STABLE) 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): Shadow Copy Optimization Writer, State: 0x1 (VSS_WS_STABLE) 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): BITS Writer, State: 0x1 (VSS_WS_STABLE) 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): WMI Writer, State: 0x1 (VSS_WS_STABLE) 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): MSSearch Service Writer, State: 0x1 (VSS_WS_STABLE) 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): COM+ REGDB Writer, State: 0x1 (VSS_WS_STABLE) 21-Jun 23:07 server-fd JobId 1480: VSS Writer (BackupComplete): Registry Writer, State: 0x1 (VSS_WS_STABLE) 21-Jun 23:08 molar-dir JobId 1480: Error: Bacula molar-dir 5.2.6 (21Feb12): Build OS: x86_64-pc-linux-gnu debian 7.0 JobId: 1480 Job:BackupServer.2013-06-21_23.05.01_04 Backup Level: Incremental,