Forum Moderators: mack
[dev.mysql.com...]
log onto shell and visit the location of mysql usualy /var/lib/mysql/
type tar -cpzf mysqltodaysdate.tar.gz *
this will create a current backup. Then should you need to restore simply type...
tar -xzf mysqldateofarchive.tar.gz
If you do not have shell phpmyadmin might be an option. It enables you do download a backup to your local machine from the web. However phpmyadmin does not allow you to do this for large databases.
Mack.
<fixed up typo>
[edited by: mack at 11:30 am (utc) on Sep. 30, 2004]
That'll dump your database to the file outputfile.txt. If you ever need a restore all you have to do is:
mysq -u yourmysqluserid -p<outputfile.txt
Nice and easy, and the outputfile.txt is readable and editable. You don't want to do this for a large database though.