Re: [Bacula-users] BackupCatalog failes

2012-01-13 Thread Honia A
Sorry I forgot to add the error log: 13-Jan 14:51 babar-dir JobId 1651: shell command: run BeforeJob "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" 13-Jan 14:51 babar-dir JobId 1651: BeforeJob: sh: cannot create /var/lib/bacula/bacula.sql: Permission denied 13-Jan 14:51 babar-dir JobId

Re: [Bacula-users] BackupCatalog failes

2012-01-13 Thread Honia A
I am logged in with user honia then su to root. Sorry I didn't understand what you mean, how should I check for that user info? This is the full configuration I found in bacula-dir.conf Job { Name = "BackupCatalog" JobDefs = "DefaultJob" Level = Full FileSet="Catalog" Schedule = "Wee

[Bacula-users] BackupCatalog failes

2012-01-13 Thread Honia A
Hi all, I use Bacula to backup 5 servers. One of the server's called applecrisps is no longer in service but I haven't deleted it from the backup process yet. For the past weeks, I've noticed the BackupCatalog fails and not sure how I can find out what is wrong here. 1650 Full 0

Re: [Bacula-users] Bacula database is getting too long

2012-01-13 Thread Honia A
e.net > Subject: Re: [Bacula-users] Bacula database is getting too long > > Il 12/01/2012 21:03, Honia A ha scritto: > > 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 > &

Re: [Bacula-users] Bacula database is getting too long

2012-01-12 Thread Honia A
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/scrip

Re: [Bacula-users] Bacula database is getting too long

2012-01-12 Thread Honia A
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: Befo

Re: [Bacula-users] Bacula database is getting too long

2012-01-12 Thread Honia A
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

Re: [Bacula-users] Bacula database is getting too long

2012-01-11 Thread Honia A
rom: s...@vgersoft.com > To: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Bacula database is getting too long > > On Wed, 11 Jan 2012, Honia A wrote: > > > But when I checked the size of the database it's still really large: > > > > root@servernam

Re: [Bacula-users] Bacula database is getting too long

2012-01-11 Thread Honia A
[CODE] root@servername:/etc/init.d# du -sh /var/lib/mysql/bacula/ 814M/var/lib/mysql/bacula/ [/CODE] I just reset MySQL root password but can't really see user bacula's db password in bacula-dir.conf as it appears to be encrypted. I just followed the instruction found here: http://www.ba

Re: [Bacula-users] Bacula database is getting too long

2012-01-11 Thread Honia A
Hi Ben, I found bacula mysql password in bacula-dir.conf file but I think it's encrypted. So can't tell what the password is... Thanks for the instruction, I reset MySQL root password. Now, would you pelase let me know how I can retrieve bacula db password and also how to compact the size

[Bacula-users] Bacula database is getting too long

2012-01-11 Thread Honia A
Hi all, I have been using Bacula to backup several servers. Recently, the backupcatalog job takes so long to finish. I'm pretty sure it's related to the size of bacula.sql file. Code:ls root@servername:/var/lib/bacula# ls -l -rw--- 1 bacula bacula 208285783 2012-01-10 05:23 bacula.sqlI've