Results 1 to 2 of 2
I have a website running on VPS with Linux and MySQL. How can I create incremental backups? Preferably for both files and MySQL database. Can I have a backup created ...
- 10-16-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 1
Backup of files and MySQL db
I have a website running on VPS with Linux and MySQL. How can I create incremental backups? Preferably for both files and MySQL database. Can I have a backup created every x minutes and then have it FTP'ed to another server? How can I make sure that the backup is incremental?
Even if you could point me in the right direction, I would really appreciate it.
Right now I just have a full backup dumped to another server via FTP at set intervals.
Also, what about restoring the site from that incremental backup?
Thank you in advance for your help
- 10-19-2009 #2Just Joined!
- Join Date
- Jan 2008
- Posts
- 12
Hello,
There two ways you can perform thr incremental backup in MySql. First way is easy but the other one its little complex
1. Setup the MySql Replication for the incremental update.
2. The second thing is that enable binlogs in mysql it will create a file in which every query stores accept select. Write a simple script to fetch data from that file.
Regards,
Yasir


Reply With Quote