Pedro, On Thursday 06 December 2007 16:29, pedro noticioso wrote: > Hi there. > > I compiled 2.2.5 with a few patches before 2.2.6 came > out, and modified very little of the sample config and > let it alone. > > I just noticed that, the catalog is not being saved, > here is the info I see... > > > * > 06-Dec 16:15 respaldo-dir JobId 98: BeforeJob: run > command "/etc/bacula/make_catalog_backup bacula bacula > a011127" > 06-Dec 16:15 respaldo-dir JobId 98: Start Backup JobId > 98, Job=BackupCatalog.2007-12-06_16.14.13 > 06-Dec 16:15 respaldo-dir JobId 98: Using Device > "FileStorage" > 06-Dec 16:15 respaldo-sd JobId 98: Volume > "Default-0027" previously written, moving to end of > data. > 06-Dec 16:15 respaldo-sd JobId 98: Ready to append to > end of Volume "Default-0027" size=4273210667 > 06-Dec 16:07 respaldo-fd JobId 98: Could not stat > /var/lib/bacula/bacula.sql: ERR=No existe el fichero o > el directorio > 06-Dec 16:15 respaldo-sd JobId 98: Job write elapsed > time = 00:00:01, Transfer rate = 0 bytes/second > 06-Dec 16:15 respaldo-dir JobId 98: Bacula > respaldo-dir 2.2.5 (09Oct07): 06-Dec-2007 16:15:04 > Build OS: i686-pc-linux-gnu debian 4.0 > JobId: 98 > Job: > BackupCatalog.2007-12-06_16.14.13 > Backup Level: Full > Client: "respaldo-fd" 2.2.5 > (09Oct07) i686-pc-linux-gnu,debian,4.0 > FileSet: "Catalog" 2007-11-09 > 02:11:52 > Pool: "Default" (From Job > resource) > Storage: "File" (From Job resource) > Scheduled time: 06-Dec-2007 16:14:57 > Start time: 06-Dec-2007 16:15:04 > End time: 06-Dec-2007 16:15:04 > 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 > Volume name(s): Default-0027 > Volume Session Id: 9 > Volume Session Time: 1196809799 > Last Volume Bytes: 4,273,211,069 (4.273 GB) > Non-fatal FD errors: 1 > SD Errors: 0 > FD termination status: OK > SD termination status: OK > Termination: Backup OK -- with warnings > > 06-Dec 16:15 respaldo-dir JobId 98: Begin pruning > Jobs. > 06-Dec 16:15 respaldo-dir JobId 98: No Jobs found to > prune. > 06-Dec 16:15 respaldo-dir JobId 98: Begin pruning > Files. > 06-Dec 16:15 respaldo-dir JobId 98: No Files found to > prune. > 06-Dec 16:15 respaldo-dir JobId 98: End auto prune. > 06-Dec 16:15 respaldo-dir JobId 98: AfterJob: run > command "/etc/bacula/delete_catalog_backup" > > > *list jobs > > | 98 | BackupCatalog | 2007-12-06 16:15:04 | B | > > F | 0 | 0 | T | > > > any ideas? ill appreciate it, thanks! >
Please do not "hijack" an existing thread. If you wish to ask an unrelated question start a new thread. That being said, There are three possibilities: 1) The "BeforeJob: run command "/etc/bacula/make_catalog_backup bacula bacula a011127"" is failing. Try to run this command from the command line and see what happens. Note any errors. You haven't said what operating system or version or Bacula version you are using, so I'm going to assume *NIX (Linux, Unix, etc.) and say that make_catalog_backup is simply a shell script. Take a look at it and see if there are any problems. 2) The BeforeJob run command is running successfully but leaving the resultant file, bacula.sql, in some other directory than /var/lib/bacula. 3) There is a problem with the access permissions associated with the file /var/lib/bacula/bacula.sql or the directory /var/lib/bacula which prevents bacula-sd from accessing the file. Does the file exist? What are the permissions of the file and directory? Cheers! cmr -- Debian 'Etch' - Registered Linux User #241964 -------- "More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users