Re: [Bacula-users] differential backups with xfs/x86-64?
On 2012-01-11 19:45, Radosław Korzeniewski wrote: Did you try a level option of estimate command? * estimate job=MyJob level=Incremental doh! that indeed works, thanks a lot. i couldn't find the option with help in bconsole/bat novertheless, it's in the online manual and i seem to have missed it... fgmasdr IOhannes -- IEM - network operation center mailto:n...@iem.at -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula database is getting too long
On Wed, 11 Jan 2012 14:21:52 -0500, Honia A said: I'm backing up a handful number of Unix boxes, they all get backed up very quickly but we can't access them due to the BackupCatalog job being very slow. When I read online, I see people said it's because of the database size getting larger and larger. I cancel the backup catalog job and all the servers become accessible. This is the configuration for catalog: # This is the backup of the catalog FileSet { Name = Catalog Include { Options { signature = MD5 } File = /var/lib/bacula/bacula.sql } } All backups finish around 5 AM but all the servers remain inaccessible until 8:30 or so. The last job running is that backup job so I thought the process getting slower and slower everyday might have something to do with the size of th ebacula.sql file. The bacula.sql you showed in your first email was written at 05:23, so it seems unlikely that Bacula was doing anything at 8:30. Please post the log output from the BackupCatalog job. Also, can you describe exactly what you mean by inaccessible? __Martin -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula database is getting too long
Thanks for everyone's helpful responses. I was handed this backup server which has bacula installed and looks like there was no maintenance work ever done to it. The backupcatalog job is the one with error every morning: Error12-Jan-12 05:39 BackupCatalog I typed the command messages in bconsole to get the messages and pasted that below. Is there anywhere else I should be looking to get specifically the logs for backupcatalog? The mail server's name is Gauss and although I have it setup babar (name of the backup server where has bacula installed) to start at 20:05 every night, the mail server will not be accessible until 8:15 AM and by that I mean people at work cannot get their messages or send messages because the server is not responding. Thanks in advance for youe help, here's the output of messages: 11-Jan 20:11 babar-dir JobId 1637: Begin pruning Jobs older than 6 months . 11-Jan 20:11 babar-dir JobId 1637: Pruned 1 Job for client athena-fd from catalog. 11-Jan 20:11 babar-dir JobId 1637: Begin pruning Jobs. 11-Jan 20:11 babar-dir JobId 1637: No Files found to prune. 11-Jan 20:11 babar-dir JobId 1637: End auto prune. 11-Jan 20:11 babar-dir JobId 1638: Start Backup JobId 1638, Job=Gauss.2012-01-11_20.05.00_44 11-Jan 20:11 babar-dir JobId 1638: Using Device GaussFileStorage 11-Jan 20:18 gauss-fd JobId 1638: DIR and FD clocks differ by 395 seconds, FD automatically compensating. 11-Jan 20:11 babar-sd JobId 1638: Volume Gauss-0258 previously written, moving to end of data. 11-Jan 20:11 babar-sd JobId 1638: Ready to append to end of Volume Gauss-0258 size=187238097 11-Jan 20:40 babar-sd JobId 1638: User defined maximum volume capacity 4,500,000,000 exceeded on device GaussFileStorage (/home/backup/gauss). 11-Jan 20:40 babar-sd JobId 1638: End of medium on Volume Gauss-0258 Bytes=4,499,994,102 Blocks=69,755 at 11-Jan-2012 20:40. 11-Jan 20:40 babar-dir JobId 1638: There are no more Jobs associated with Volume Gauss-0259. Marking it purged. 11-Jan 20:40 babar-dir JobId 1638: All records pruned from Volume Gauss-0259; marking it Purged 11-Jan 20:40 babar-dir JobId 1638: Recycled volume Gauss-0259 11-Jan 20:40 babar-sd JobId 1638: Labeled new Volume Gauss-0259 on device GaussFileStorage (/home/backup/gauss). 11-Jan 20:40 babar-sd JobId 1638: Wrote label to prelabeled Volume Gauss-0259 on device GaussFileStorage (/home/backup/gauss) 11-Jan 20:40 babar-sd JobId 1638: New volume Gauss-0259 mounted on device GaussFileStorage (/home/backup/gauss) at 11-Jan-2012 20:40. 11-Jan 21:07 babar-sd JobId 1638: User defined maximum volume capacity 4,500,000,000 exceeded on device GaussFileStorage (/home/backup/gauss). 11-Jan 21:07 babar-sd JobId 1638: End of medium on Volume Gauss-0259 Bytes=4,499,970,069 Blocks=69,754 at 11-Jan-2012 21:07. 11-Jan 21:07 babar-dir JobId 1638: There are no more Jobs associated with Volume Gauss-0260. Marking it purged. 11-Jan 21:07 babar-dir JobId 1638: All records pruned from Volume Gauss-0260; marking it Purged 11-Jan 21:07 babar-dir JobId 1638: Recycled volume Gauss-0260 11-Jan 21:07 babar-sd JobId 1638: Labeled new Volume Gauss-0260 on device GaussFileStorage (/home/backup/gauss). 11-Jan 21:07 babar-sd JobId 1638: Wrote label to prelabeled Volume Gauss-0260 on device GaussFileStorage (/home/backup/gauss) 11-Jan 21:07 babar-sd JobId 1638: New volume Gauss-0260 mounted on device GaussFileStorage (/home/backup/gauss) at 11-Jan-2012 21:07. 11-Jan 21:33 babar-sd JobId 1638: User defined maximum volume capacity 4,500,000,000 exceeded on device GaussFileStorage (/home/backup/gauss). 11-Jan 21:33 babar-sd JobId 1638: End of medium on Volume Gauss-0260 Bytes=4,499,970,013 Blocks=69,754 at 11-Jan-2012 21:33. 11-Jan 21:33 babar-dir JobId 1638: There are no more Jobs associated with Volume Gauss-0261. Marking it purged. 11-Jan 21:33 babar-dir JobId 1638: All records pruned from Volume Gauss-0261; marking it Purged 11-Jan 21:33 babar-dir JobId 1638: Recycled volume Gauss-0261 11-Jan 21:33 babar-sd JobId 1638: Labeled new Volume Gauss-0261 on device GaussFileStorage (/home/backup/gauss). 11-Jan 21:33 babar-sd JobId 1638: Wrote label to prelabeled Volume Gauss-0261 on device GaussFileStorage (/home/backup/gauss) 11-Jan 21:33 babar-sd JobId 1638: New volume Gauss-0261 mounted on device GaussFileStorage (/home/backup/gauss) at 11-Jan-2012 21:33. 11-Jan 21:58 babar-sd JobId 1638: User defined maximum volume capacity 4,500,000,000 exceeded on device GaussFileStorage (/home/backup/gauss). 11-Jan 21:58 babar-sd JobId 1638: End of medium on Volume Gauss-0261 Bytes=4,499,970,051 Blocks=69,754 at 11-Jan-2012 21:58. 11-Jan 21:58 babar-dir JobId 1638: There are no more Jobs associated with Volume Gauss-0262. Marking it purged. 11-Jan 21:58 babar-dir JobId 1638: All records pruned from Volume Gauss-0262; marking it Purged 11-Jan 21:58 babar-dir JobId 1638: Recycled volume Gauss-0262 11-Jan 21:58 babar-sd JobId 1638: Recycled volume Gauss-0262 on device
Re: [Bacula-users] Bacula database is getting too long
2012/1/12 Honia A honia2...@hotmail.com: Thanks for everyone's helpful responses. I was handed this backup server which has bacula installed and looks like there was no maintenance work ever done to it. The backupcatalog job is the one with error every morning: Error 12-Jan-12 05:39 BackupCatalog I typed the command messages in bconsole to get the messages and pasted that below. Is there anywhere else I should be looking to get specifically the logs for backupcatalog? The mail server's name is Gauss and although I have it setup babar (name of the backup server where has bacula installed) to start at 20:05 every night, the mail server will not be accessible until 8:15 AM and by that I mean people at work cannot get their messages or send messages because the server is not responding. Thanks in advance for youe help, here's the output of messages: 11-Jan 20:11 babar-dir JobId 1637: Begin pruning Jobs older than 6 months . 11-Jan 20:11 babar-dir JobId 1637: Pruned 1 Job for client athena-fd from catalog. 11-Jan 20:11 babar-dir JobId 1637: Begin pruning Jobs. 11-Jan 20:11 babar-dir JobId 1637: No Files found to prune. 11-Jan 20:11 babar-dir JobId 1637: End auto prune. 11-Jan 20:11 babar-dir JobId 1638: Start Backup JobId 1638, Job=Gauss.2012-01-11_20.05.00_44 11-Jan 20:11 babar-dir JobId 1638: Using Device GaussFileStorage 11-Jan 20:18 gauss-fd JobId 1638: DIR and FD clocks differ by 395 seconds, FD automatically compensating. 11-Jan 20:11 babar-sd JobId 1638: Volume Gauss-0258 previously written, moving to end of data. 11-Jan 20:11 babar-sd JobId 1638: Ready to append to end of Volume Gauss-0258 size=187238097 11-Jan 20:40 babar-sd JobId 1638: User defined maximum volume capacity 4,500,000,000 exceeded on device GaussFileStorage (/home/backup/gauss). 11-Jan 20:40 babar-sd JobId 1638: End of medium on Volume Gauss-0258 Bytes=4,499,994,102 Blocks=69,755 at 11-Jan-2012 20:40. 11-Jan 20:40 babar-dir JobId 1638: There are no more Jobs associated with Volume Gauss-0259. Marking it purged. 11-Jan 20:40 babar-dir JobId 1638: All records pruned from Volume Gauss-0259; marking it Purged 11-Jan 20:40 babar-dir JobId 1638: Recycled volume Gauss-0259 11-Jan 20:40 babar-sd JobId 1638: Labeled new Volume Gauss-0259 on device GaussFileStorage (/home/backup/gauss). 11-Jan 20:40 babar-sd JobId 1638: Wrote label to prelabeled Volume Gauss-0259 on device GaussFileStorage (/home/backup/gauss) 11-Jan 20:40 babar-sd JobId 1638: New volume Gauss-0259 mounted on device GaussFileStorage (/home/backup/gauss) at 11-Jan-2012 20:40. 11-Jan 21:07 babar-sd JobId 1638: User defined maximum volume capacity 4,500,000,000 exceeded on device GaussFileStorage (/home/backup/gauss). 11-Jan 21:07 babar-sd JobId 1638: End of medium on Volume Gauss-0259 Bytes=4,499,970,069 Blocks=69,754 at 11-Jan-2012 21:07. 11-Jan 21:07 babar-dir JobId 1638: There are no more Jobs associated with Volume Gauss-0260. Marking it purged. 11-Jan 21:07 babar-dir JobId 1638: All records pruned from Volume Gauss-0260; marking it Purged 11-Jan 21:07 babar-dir JobId 1638: Recycled volume Gauss-0260 11-Jan 21:07 babar-sd JobId 1638: Labeled new Volume Gauss-0260 on device GaussFileStorage (/home/backup/gauss). 11-Jan 21:07 babar-sd JobId 1638: Wrote label to prelabeled Volume Gauss-0260 on device GaussFileStorage (/home/backup/gauss) 11-Jan 21:07 babar-sd JobId 1638: New volume Gauss-0260 mounted on device GaussFileStorage (/home/backup/gauss) at 11-Jan-2012 21:07. 11-Jan 21:33 babar-sd JobId 1638: User defined maximum volume capacity 4,500,000,000 exceeded on device GaussFileStorage (/home/backup/gauss). 11-Jan 21:33 babar-sd JobId 1638: End of medium on Volume Gauss-0260 Bytes=4,499,970,013 Blocks=69,754 at 11-Jan-2012 21:33. 11-Jan 21:33 babar-dir JobId 1638: There are no more Jobs associated with Volume Gauss-0261. Marking it purged. 11-Jan 21:33 babar-dir JobId 1638: All records pruned from Volume Gauss-0261; marking it Purged 11-Jan 21:33 babar-dir JobId 1638: Recycled volume Gauss-0261 11-Jan 21:33 babar-sd JobId 1638: Labeled new Volume Gauss-0261 on device GaussFileStorage (/home/backup/gauss). 11-Jan 21:33 babar-sd JobId 1638: Wrote label to prelabeled Volume Gauss-0261 on device GaussFileStorage (/home/backup/gauss) 11-Jan 21:33 babar-sd JobId 1638: New volume Gauss-0261 mounted on device GaussFileStorage (/home/backup/gauss) at 11-Jan-2012 21:33. 11-Jan 21:58 babar-sd JobId 1638: User defined maximum volume capacity 4,500,000,000 exceeded on device GaussFileStorage (/home/backup/gauss). 11-Jan 21:58 babar-sd JobId 1638: End of medium on Volume Gauss-0261 Bytes=4,499,970,051 Blocks=69,754 at 11-Jan-2012 21:58. 11-Jan 21:58 babar-dir JobId 1638: There are no more Jobs associated with Volume Gauss-0262. Marking it purged. 11-Jan 21:58 babar-dir JobId 1638: All records pruned from Volume Gauss-0262; marking it Purged 11-Jan 21:58 babar-dir JobId 1638: Recycled volume Gauss-0262
Re: [Bacula-users] Bacula database is getting too long
The backup catalog did not run because of a permission denied error on the /var/lib/bacula/ folder. 12-Jan 05:39 babar-dir JobId 1639: shell command: run BeforeJob /etc/bacula/scripts/make_catalog_backup.pl MyCatalog 12-Jan 05:39 babar-dir JobId 1639: BeforeJob: sh: cannot create /var/lib/bacula/bacula.sql: Permission denied 12-Jan 05:39 babar-dir JobId 1639: Error: Runscript: BeforeJob returned non-zero status=2. ERR=Child exited with code 2 12-Jan 05:39 babar-dir JobId 1639: Error: Bacula babar-dir 5.0.1 (24Feb10): -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Unsubscribe from teh bacula mailinglist
Hi all, As I feel I cannot make a vailid contribution to this mailinglist, I'd like to unsubscribe. I have searched but can't find a way to do so. Or does the good ol' unsubscribe in the subject field do the trick? Best regards, Peter van der Meulen -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Unsubscribe from teh bacula mailinglist
Excerpts from Peter van der Meulen's message of Thu Jan 12 10:07:45 -0500 2012: Hi Peter, As I feel I cannot make a vailid contribution to this mailinglist, I'd like to unsubscribe. I have searched but can't find a way to do so. Or does the good ol' unsubscribe in the subject field do the trick? From the mail headers: List-Id: Bacula user's email list for support and discussions bacula-users.lists.sourceforge.net List-Unsubscribe: https://lists.sourceforge.net/lists/listinfo/bacula-users, mailto:bacula-users-requ...@lists.sourceforge.net?subject=unsubscribe List-Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=bacula-us List-Post: mailto:bacula-users@lists.sourceforge.net List-Help: mailto:bacula-users-requ...@lists.sourceforge.net?subject=help List-Subscribe: https://lists.sourceforge.net/lists/listinfo/bacula-users, mailto:bacula-users-requ...@lists.sourceforge.net?subject=subscribe Nice to hear that you approach mailing lists with the idea of contributing though! Cheers. -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Unsubscribe from teh bacula mailinglist
On 01/12/12 10:07, Peter van der Meulen wrote: Hi all, As I feel I cannot make a vailid contribution to this mailinglist, I‘d like to unsubscribe. I have searched but can’t find a way to do so. Or does the good ol’ unsubscribe in the subject field do the trick? Are you getting useful information from it? If so, why unsubscribe? -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater It's not the years, it's the mileage. -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula database is getting too long
On Thu, 12 Jan 2012 09:29:47 -0500, Honia A said: The mail server's name is Gauss and although I have it setup babar (name of the backup server where has bacula installed) to start at 20:05 every night, the mail server will not be accessible until 8:15 AM and by that I mean people at work cannot get their messages or send messages because the server is not responding. This is very unlikely to be caused by Bacula. __Martin -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula database is getting too long
Excerpts from Martin Simmons's message of Thu Jan 12 10:25:02 -0500 2012: The mail server's name is Gauss and although I have it setup babar (name of the backup server where has bacula installed) to start at 20:05 every night, the mail server will not be accessible until 8:15 AM and by that I mean people at work cannot get their messages or send messages because the server is not responding. This is very unlikely to be caused by Bacula. Agreed, but if there are, say, network issues, bacula could exacerbate a problem that flies under the radar during normal operation. I'd be checking the network settings on every device from the NIC to the backup server and running some performance tools while bacula is not active to see if you experience the same degradation. HTH -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Unsubscribe from teh bacula mailinglist
Are you getting useful information from it? If so, why unsubscribe? Well.. I have very little time to have a look at all the messages I'm getting. So.. that's one of the reasons. Thanks all! -Original Message- From: Phil Stracchino [mailto:ala...@metrocast.net] Sent: Thursday, January 12, 2012 4:22 PM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Unsubscribe from teh bacula mailinglist On 01/12/12 10:07, Peter van der Meulen wrote: Hi all, As I feel I cannot make a vailid contribution to this mailinglist, I'd like to unsubscribe. I have searched but can't find a way to do so. Or does the good ol' unsubscribe in the subject field do the trick? Are you getting useful information from it? If so, why unsubscribe? -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater It's not the years, it's the mileage. -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula database is getting too long
Thanks everyone. The permission denied error below started to occur when I followed the instruction and cleaned up the bacula.sql file. 12-Jan 05:39 babar-dir JobId 1639: shell command: run BeforeJob /etc/bacula/scripts/make_catalog_backup.pl MyCatalog 12-Jan 05:39 babar-dir JobId 1639: BeforeJob: sh: cannot create /var/lib/bacula/bacula.sql: Permission denied 12-Jan 05:39 babar-dir JobId 1639: Error: Runscript: BeforeJob returned non-zero status=2. ERR=Child exited with code 2 12-Jan 05:39 babar-dir JobId 1639: Error: Bacula babar-dir 5.0.1 (24Feb10): 12-Jan-2012 05:39:13 These were the commands I ran to cleanup the database: mysqldump -f --opt bacula bacula.sql mysql bacula bacula.sql rm -f bacula.sql How can I test and find out what's wrong here? When I had shut down the backup server, everything was fine. Looks like something is holiding up the servers until 8 AM or so, just can't tell what that is. I'd appreciate your help, h From: bwal...@artsci.utoronto.ca To: bacula-users@lists.sourceforge.net Date: Thu, 12 Jan 2012 10:33:32 -0500 Subject: Re: [Bacula-users] Bacula database is getting too long Excerpts from Martin Simmons's message of Thu Jan 12 10:25:02 -0500 2012: The mail server's name is Gauss and although I have it setup babar (name of the backup server where has bacula installed) to start at 20:05 every night, the mail server will not be accessible until 8:15 AM and by that I mean people at work cannot get their messages or send messages because the server is not responding. This is very unlikely to be caused by Bacula. Agreed, but if there are, say, network issues, bacula could exacerbate a problem that flies under the radar during normal operation. I'd be checking the network settings on every device from the NIC to the backup server and running some performance tools while bacula is not active to see if you experience the same degradation. HTH -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] differential backups with xfs/x86-64?
On Wed, 11 Jan 2012 13:12:56 +0100, IEM said: i already included it in the director configuration. anyhow, here it is again: Sorry, I missed the attachment. snip FileSet { Name = _Net_data Include { Options { signature = MD5 wildfile=*.o wildfile=*.pd_linux_o wildfile=*~ wilddir=*/tmp wilddir=*/temp wilddir=*/Temp wilddir=*/TEMP wilddir=*/.svn wilddir=*/.imap wilddir=*/Maildir/.SPAM* wilddir=*/Trash wilddir=*/.Trash wilddir=*/RECYCLER wilddir=*/Temporary Internet Files wilddir=*/.DS_Store wilddir=*/.AppleDouble exclude=yes } File = /Net/data } Exclude { File = /Net/data/Benutzer.rsync } } /snip OK, no sign of accurate backup there. # stat /Net/data/Sound/ablinger/Altar/05KStudie2.wav File: `/Net/data/Sound/ablinger/Altar/05KStudie2.wav' Size: 53315180Blocks: 104136 IO Block: 4096 regular file Device: fe00h/65024dInode: 4133733 Links: 1 Access: (0744/-rwxr--r--) Uid: (10144/ablinger) Gid: ( 100/ users) Access: 2012-01-11 00:35:17.963002882 +0100 Modify: 2003-12-09 14:12:50.0 +0100 Change: 2011-10-04 21:35:44.745746088 +0200 so the times seem to be fine (the ctime is when i copied the old files to the new fileserver) That is very strange, because the Modify and Change times are both old. Without accurate backup, that is all that Bacula uses to detect changed files. Can you repeat the problem with a fileset containing just that file? __Martin -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula database is getting too long
12.1.2012 18:10, Honia A kirjoitti: Thanks everyone. The permission denied error below started to occur when I followed the instruction and cleaned up the bacula.sql file. 12-Jan 05:39 babar-dir JobId 1639: shell command: run BeforeJob /etc/bacula/scripts/make_catalog_backup.pl MyCatalog 12-Jan 05:39 babar-dir JobId 1639: BeforeJob: sh: cannot create /var/lib/bacula/bacula.sql: Permission denied 12-Jan 05:39 babar-dir JobId 1639: Error: Runscript: BeforeJob returned non-zero status=2. ERR=Child exited with code 2 12-Jan 05:39 babar-dir JobId 1639: Error: Bacula babar-dir 5.0.1 (24Feb10): 12-Jan-2012 05:39:13 These were the commands I ran to cleanup the database: mysqldump -f --opt bacula bacula.sql mysql bacula bacula.sql rm -f bacula.sql How can I test and find out what's wrong here? When I had shut down the backup server, everything was fine. Looks like something is holiding up the servers until 8 AM or so, just can't tell what that is. I'd appreciate your help, h* * The process running bacula-fd can't create your bacula.sql dump file. 12-Jan 05:39 babar-dir JobId 1639: BeforeJob: sh: cannot create /var/lib/bacula/bacula.sql: Permission denied Who owns the folder /var/lib/bacula? What kind of permissions are allowed there for the process running bacula-dir? Bacula-dir is run by user bacula normally. -- You're currently going through a difficult transition period called Life. signature.asc Description: OpenPGP digital signature -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula database is getting too long
After seeing your post I did some research and just ran this to change the ownership but didn't help: chown root:bacula /var/lib/bacula/bacula.sql The output is: drwx-- 2 baculabacula 4096 2012-01-12 14:37 bacula And -rw-r--r-- 1 root bacula 209927918 2012-01-12 13:45 bacula.sql root@servername:/var/lib/bacula# cd /etc/bacula/scripts root@servername:/etc/bacula/scripts# ls -l total 72 -rw-r--r-- 1 root root 296 2010-03-23 16:27 btraceback.gdb -rwxr-xr-x 1 root root 112 2010-03-23 16:27 delete_catalog_backup -rwxr-xr-x 1 root root 9012 2010-03-23 16:27 disk-changer -rwxr-xr-x 1 root root 16948 2010-03-23 16:27 dvd-handler -rwxr-xr-x 1 root root 2047 2010-03-23 16:27 make_catalog_backup -rw-r--r-- 1 root root 1646 2010-03-23 16:27 make_catalog_backup_awk -rwxr-xr-x 1 root root 4106 2010-03-23 16:27 make_catalog_backup.pl -rwxr-xr-x 1 root root 6899 2010-03-23 16:27 mtx-changer -rwxr-xr-x 1 root root 1506 2010-03-23 16:27 mtx-changer.conf -rw-r--r-- 1 root root 90 2010-03-23 16:27 query.sql Date: Thu, 12 Jan 2012 18:49:08 +0200 From: ja...@iki.fi To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Bacula database is getting too long 12.1.2012 18:10, Honia A kirjoitti: Thanks everyone. The permission denied error below started to occur when I followed the instruction and cleaned up the bacula.sql file. 12-Jan 05:39 babar-dir JobId 1639: shell command: run BeforeJob /etc/bacula/scripts/make_catalog_backup.pl MyCatalog 12-Jan 05:39 babar-dir JobId 1639: BeforeJob: sh: cannot create /var/lib/bacula/bacula.sql: Permission denied 12-Jan 05:39 babar-dir JobId 1639: Error: Runscript: BeforeJob returned non-zero status=2. ERR=Child exited with code 2 12-Jan 05:39 babar-dir JobId 1639: Error: Bacula babar-dir 5.0.1 (24Feb10): 12-Jan-2012 05:39:13 These were the commands I ran to cleanup the database: mysqldump -f --opt bacula bacula.sql mysql bacula bacula.sql rm -f bacula.sql How can I test and find out what's wrong here? When I had shut down the backup server, everything was fine. Looks like something is holiding up the servers until 8 AM or so, just can't tell what that is. I'd appreciate your help, h* * The process running bacula-fd can't create your bacula.sql dump file. 12-Jan 05:39 babar-dir JobId 1639: BeforeJob: sh: cannot create /var/lib/bacula/bacula.sql: Permission denied Who owns the folder /var/lib/bacula? What kind of permissions are allowed there for the process running bacula-dir? Bacula-dir is run by user bacula normally. -- You're currently going through a difficult transition period called Life. -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Suggestions.
What's the proper place to make suggestions for bacula? -- Erik -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users