Hello,

On 11.11.2005 20:08, Michael Galloway wrote:

my backup catalog job seems to not run the runbefore/runafter scripts to make an sql dump. this is bacula 1.38.0 with postgres db. the scripts run if i run them from a shell and the scripts are listed in bconsole if i run show jobs. the job description in bacula-dir.conf is:
...
*messages
11-Nov 13:56 lance-dir: Start Backup JobId 11, 
Job=BackupCatalog.2005-11-11_13.56.01
11-Nov 13:56 lance-dir: Created new Volume "Default-0008" in catalog.
11-Nov 13:56 lance-sd: Labeled new Volume "Default-0008" on device 
"FileStorage" (/backups/local).
11-Nov 13:56 lance-sd: Wrote label to prelabeled Volume "Default-0008" on device 
"FileStorage" (/backups/local)
11-Nov 13:56 rockhopper-fd:      Could not stat /bacula/working/bacula.sql: 
ERR=No such file or directory

This looks rather straightforward. Verify that the bacula user has all necessary permissions to see and to run the script in question.

Use su to become the bacula user. Then try an ls -l on the path name you set up. Next, try to run the script with the necessary parameters, and see what happens.

If thos works, make sure that your run before script actually does something by simply adding some echo lines into it. Finally, verify that the output from the database dump goes to the file you have in your fileset.

Arno

--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to