public marks

PUBLIC MARKS from falko with tags replication & backup

May 2007

How To Back Up MySQL Databases Without Interrupting MySQL | HowtoForge - Linux Howtos and Tutorials

by 1 other (via)
This article describes how you can back up MySQL databases without interrupting the MySQL service. Normally, when you want to create a MySQL backup, you either have to stop MySQL or issue a read lock on your MySQL tables in order to get a correct backup; if you do not do it this way, you can end up with an inconsistent backup. To get consistent backups without interrupting MySQL, I use a little trick: I replicate my MySQL database to a second MySQL server, and on the second MySQL server I use a cron job that creates regular backups of the replicated database.

October 2006

MySQL Master Master Replication | HowtoForge - Linux Howtos and Tutorials

by 3 others
This tutorial describes how to set up MySQL master-master replication. We need to replicate MySQL servers to achieve high-availability (HA). In my case I need two masters that are synchronized with each other so that if one of them drops down, other could take over and no data is lost. Similarly when the first one goes up again, it will still be used as slave for the live one.