Hi,

This one should be simple, but it does not work. I'm trying to create a MySQL backup using RunBeforeJob and RunAfterJob. The report gives me that:

25-Feb 00:17 zeus-dir JobId 159: shell command: run BeforeJob "mysqldump --user=root --opt --all-databases > /var/lib/bareos/mysql_dump.sql" 25-Feb 00:17 zeus-dir JobId 159: BeforeJob: Usage: mysqldump [OPTIONS] database [tables] 25-Feb 00:17 zeus-dir JobId 159: BeforeJob: OR mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3...] 25-Feb 00:17 zeus-dir JobId 159: BeforeJob: OR mysqldump [OPTIONS] --all-databases [OPTIONS]

If I run the command manually, obviously, it works. The command syntax is perfect (no password for root is yet set, so it does not appear on the command line). What's wrong with it within bareos ?

Thanks,
--------------------------------------------------------------------------------

Christian Tardif

--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to