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
***********************************************************************************
Mail FROM London Borough of Harrow:
Unencrypted electronic mail is not secure and may not be authentic, in whole or
in part. You are advised to check directly with the sender before acting upon
any e-mail received.
The information contained in this message and any attachments is confidential
and is intended for receipt by the above named addressee(s) only. If you have
otherwise encountered this message please notify its originator via +44(0)20
8863 5611 at LONDON BOROUGH OF HARROW. The unauthorised use, disclosure,
copying or alteration of this message is strictly forbidden. The views
expressed within this message are those of the individual sender and not
necessarily those of Harrow Council.
Mail TO London Borough of Harrow:
London Borough of Harrow monitors all electronic mail it receives for Policy
compliance and to protect its systems including anti-spam and anti-virus
measures.
Electronic mail does not guarantee delivery, nor notification of non-delivery.
It is suggested you contact your intended recipient(s) by other means should
confirmation of receipt be important.
***********************************************************************************
-------------------------------------------------------
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_idv37&alloc_id865&op=click
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users