Alan Brown wrote: > 10-Jun 00:27 msslas-dir: RunBefore: /usr/bin/mysqldump: option requires > an argument -- u
> RunBeforeJob = "/etc/bacula/make_catalog_backup -u bacula" > /usr/bin/mysqldump -u $2 -f --opt $1 >$1.sql Your RunBeforeJob line is incorrect. The script expects the first argument, $1, to be the name of the database, and the second argument, $2 to be the user to connect as. You are running the following, which is probably not what you intend: /usr/bin/mysqldump -u bacula -f --opt -u > -u.sql -- Russell Howe [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users