Beren Gamble wrote:
I've got this error when bacula tries to backup the catalog:

 RunBefore: /usr/bin/mysqldump: option '-u' requires an argument

Here's my job:

Job {
  Name = "BackupCatalog-Daily"
  Type = backup
  Level = Full
  Client = BACKUP1-fd
  FileSet="Catalog"
  Schedule = "DailyCycleAfterBackup"
  Storage = AIT50-ST1
  Pool = AIT50-ST1-Daily
  Messages = Standard
# This creates an ASCII copy of the catalog
  RunBeforeJob = "/etc/bacula/make_catalog_backup -u bacula"
# This deletes the copy of the catalog
  RunAfterJob  = "/etc/bacula/delete_catalog_backup"
  Write Bootstrap = "/var/bacula/BackupCatalog.bsr"
  Priority = 90                   # run after main backup
}


Any ideas?

Also, when I get this script working, can I use it to back up other mysql 
databases?

Cheers,

Beren


am starting with the easiest one .. you amde sure you did reload your configuration ?

also jobs already in queue don't get affected from reload

Florian


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to