View Single Post
  #13 (permalink)  
Old 08-08-2010, 05:52 PM
cpace32 cpace32 is offline
Member
 
Join Date: Aug 2010
Posts: 69
cpace32 is on a distinguished road
Look into using mysqldump, via cron. It should look something like this:

Code:
mysqldump -u root --password='your_password' --all-databases >/path/to/backups/mysql-`echo $DAY`.sql
This will backup your databases daily, saved by the day of the month.
Reply With Quote