Moin.

from the "make_catalog_backup" script:

# This script dumps your Bacula catalog in ASCII format
# It works for MySQL, SQLite, and PostgreSQL
#
#  $1 is the name of the database to be backed up and the name
#     of the output file (default = bacula).
#  $2 is the user name with which to access the database
#     (default = bacula).
#  $3 is the password with which to access the database or "" if no password
#     (default "")
#

Now compare that to the way you execute it.

Have a nice day,
 Michael

Florian Schnabel wrote:
> 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
> 


-- 
       GiS - Gesellschaft fuer integrierte Systemplanung mbH
+==================================================================+
  Michael Scherer   [EMAIL PROTECTED]  Tel: 06201-503-74
  Junkersstr.2      69469 Weinheim              Fax: 06201-503-66
+==================================================================+
It is often easier to not do something dumb
                                   than it is to do something smart.



-------------------------------------------------------
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