Craig,

on the line with the script for make_catalog_backup, do NOT put a space 
between the flag and value.  I.E.
    /etc/bacula/make_catalog_backup -ubacula -ppassword

Your Catalog entry in your bacula-dir.conf looks correct.

Sincerely,
Scott

Craig White wrote:
> I get this error when trying to run my BackupCatalog job
>
> 07-Jun 16:19 SRV1: BeforeJob: run command
> "/etc/bacula/make_catalog_backup -u bacula"
> 07-Jun 16:19 SRV1: BeforeJob: mysqldump: option '-u' requires an
> argument
>
> but the database is bacula, the user is bacula and the password is
> bacula and I can do it from command line...
>
> /usr/bin/mysqldump -u bacula -pbacula bacula -r /var/bacula/bacula.sql
>
> works fine
>
> and of course in bacula-dir.conf...
>
> # Generic catalog service
> Catalog {
>   Name = MyCatalog
>   dbname = bacula; user = bacula; password = "bacula"
> }
>
> what am I missing?
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to