The correct syntax is: make_catalog_backup.pl catalogname
where catalogname is the name given to your catalog in your director configuration file, >From the information you provided, the value for catalogname is MyCatalog (the bacula default) Try running: make_catalog_backup.pl MyCatalog The resulting SQL file will be created in /var/lib/bacula - unless you've configured it to be somewhere else. What was the reason for the /opt/apache-tomcat-5.5.28? Regards Geoff Steer On Fri, 2010-07-09 at 09:23 +0200, Parasit Hendersson wrote: > Hi, > I'm new here, and this is my first post here. > I try to tame Bacula, but I have a problem at the very beginning I have a > problem which I am unable to solve. > > 06-lip 18:16 waw-beryl-dir JobId 59: shell command: run BeforeJob > "/etc/bacula/scripts/make_catalog_backup.pl /opt/apache-tomcat-5.5.28" > 06-lip 18:16 waw-beryl-dir JobId 59: BeforeJob: Can't get catalog > information at /etc/bacula/scripts/make_catalog_backup.pl line 129. > 06-lip 18:16 waw-beryl-dir JobId 59: Error: Runscript: BeforeJob returned > non-zero status=2. ERR=Child exited with code 2 > 06-lip 18:16 waw-beryl-dir JobId 59: Error: Bacula waw-beryl-dir 5.0.2 > (28Apr10): 06-lip-2010 18:16:59 > Build OS: i686-pc-linux-gnu ubuntu 10.04 > JobId: 59 > Job: JbossBackup.2010-07-06_18.16.57_03 > Backup Level: Full > Client: "waw-beryl-fd" 5.0.2 (28Apr10) > i686-pc-linux-gnu,ubuntu,10.04 > FileSet: "Catalog" 2010-06-01 23:10:00 > Pool: "File" (From Job resource) > Catalog: "MyCatalog" (From Client resource) > Storage: "File" (From Job resource) > Scheduled time: 06-lip-2010 18:16:55 > Start time: 06-lip-2010 18:16:59 > End time: 06-lip-2010 18:16:59 > Elapsed time: 0 secs > Priority: 11 > 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: 0 > Volume Session Time: 0 > Last Volume Bytes: 0 (0 B) > Non-fatal FD errors: 1 > SD Errors: 0 > FD termination status: > SD termination status: > Termination: *** Backup Error *** > > > I found several references to this problem, but none of the solutions > given me no help. For example > http://dan.langille.org/2010/03/23/baccula-errors-with-500-backup-catalog/ > > Permissions on my disk: > > -rwxr-xr-x 1 bacula bacula 4106 2010-03-23 20:59 > /etc/bacula/scripts/make_catalog_backup.pl > > -rwxr-x--- 1 root bacula 239225 2010-07-01 11:27 /sbin/dbcheck > > > When i try run this scrip manually i got: > > r...@waw-beryl:/etc/bacula# su -m bacula -c > '/etc/bacula/scripts/make_catalog_backup.pl /opt/apache-tomcat-5.5.28' > Can't get catalog information at > /etc/bacula/scripts/make_catalog_backup.pl line 129. > > How solve this problem? > > BR > New Bacula user > Parasit Hendersson > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Bacula-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bacula-users -- ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
