MySQL Forums
Forum List  »  Backup

Which way is best to do backups?
Posted by: Chris Barnes
Date: January 06, 2011 12:54PM

There is a debate in my office on the best way to backup our MySql databases (plural - all of them).

(1) Create a script which use MysqlHotCopy, then tars & bz2 the directory, then scp it over to our backup machine. This is what we are currently doing.

(2) use RSnapshot (which we already use for other files). Rsnapshot uses mysqldump.



Issues we're having:
* Restoring the files created by hotcopy has proven to be "problematic" (admitedly, it could be because I don't know how to do it properly).

* mysqldump would have issues with file locking (we run our backups at 1:00am, so the likelyhood of database updates during the dump is very small). It *seems* that restoring from mysqldump is easier.

Options: ReplyQuote


Subject
Views
Written By
Posted
Which way is best to do backups?
3092
January 06, 2011 12:54PM
1421
January 06, 2011 12:57PM
1694
January 07, 2011 11:40PM
1499
January 31, 2011 08:16AM
1515
January 31, 2011 10:16AM
1456
February 09, 2011 02:31PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.