Results 1 to 4 of 4
I have made a crontab task to make a copy of all the databases on my system.
It works fine when running it via SSH but gives a different output ...
- 10-17-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 2
Crontab and mysqldump
I have made a crontab task to make a copy of all the databases on my system.
It works fine when running it via SSH but gives a different output when running it via a crontab task. When i schedule it; it outputs the help information into a file rather then the SQL/databases them self
- 10-18-2007 #2Just Joined!
- Join Date
- Oct 2007
- Posts
- 37
What does the crontab entry look like and what do you have in the script to dump the data?
- 10-18-2007 #3Just Joined!
- Join Date
- Dec 2006
- Posts
- 5
Hi
I use automysqlbackup
search for it on sourceforge.net
its brilliant
- 10-19-2007 #4Just Joined!
- Join Date
- Oct 2007
- Posts
- 2
My Crontab command was :
mysqldump -u myusername -p mypassword --all-databases > ../root/btpbackup/07/october/db_export.sql
Chris.


Reply With Quote