Public bug reported:

The example bacula-dir.conf shows the catalog backup job as this:

Job {
  Name = "BackupCatalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup -u<user> -p<password>"
  # This deletes the copy of the catalog
  RunAfterJob  = "/etc/bacula/scripts/delete_catalog_backup"
  Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
  Priority = 11                   # run after main backup
}

The "RunBeforeJob" line should be changed to this:

RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup <dbname> <user>
<password>"

No flags are needed, the first parameter is the database name (ie:
bacula), the second parameter is the mysql username (ie: bacula), the
third parameter is the password for the mysql user.

** Affects: bacula (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Catalog backup fails: incorrect parameters format for make_catalog_backup
https://launchpad.net/bugs/68725

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to