Thread
:
automated database backup?
View Single Post
#
13
(
permalink
)
08-08-2010, 05:52 PM
cpace32
Member
Join Date: Aug 2010
Posts: 69
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.
cpace32
View Public Profile
Visit cpace32's homepage!
Find all posts by cpace32