Click to See Complete Forum and Search --> : Crontab Jobs


LoneStarr
09-04-2002, 09:28 PM
I have been reading about crontab on a few threads. I want to set up a daily backup using mysqldump.

Does anyone know of a good reference where I can read about the whole process? I just need someone to point me in the right direction. I understand the crontab syntax to set up a script to run, I guess I am just confused as to what kind of script I should be writing, how it will be processed, etc.

Thanks!!!

dotwebbie
09-05-2002, 01:13 PM
after your crontab job settings, any reason why mysqldump -u username -ppasswordhere dbname > nameofsqlfile.sql
Won't work? Yes, that's correct, no space between -p and passwordhere.

LoneStarr
09-05-2002, 02:48 PM
Yes that did it. Thank you!

dotwebbie
09-05-2002, 02:59 PM
No problem. :) Glad I could help. :)