Quote:
Today at 06:50 PM filburt1 said this in Post #4
1. Create a file like this in notepad (don't give it any extension):
Code:
#!
echo Dumping database to file...
mysqldump --opt -uusername-ppassword dbname > ~/dump.sql
echo Dump complete!
2. SSH into your host and type (where filename is whatever you named the file in step 1)
Code:
chmod +x ~/filename
3. Set the script to be a cron job. Ask your host on how to do this.
|
Is that CHMOD 0777 and can we make it automatically generate a name such as dump015215252.sql, etc
Thanks!