chrism01 |
03-22-2012 11:39 PM |
In that case, we've proved there's nothing wrong with cron :)
So, use
Code:
which mysqldump
# gives on my system
/usr/bin/mysqldump
So (replacing the 'echo' cmds) your backup script would look like
Code:
#!/bin/bash
/usr/bin/mysqldump -u dbuser -pdbpass dbname > /tmp/dbname_backup.sql 2>&1
on my system, should give either the backup or the error msg into that file :)
|