MySQL Forums
Forum List  »  InnoDB

Backup of running MySql
Posted by: Ben Clewett
Date: June 23, 2008 02:14AM

Dear MySql,

I have a slave which is used only to keep a backup of a 100% InnoDB system. It accept no connections.

Currently I stop the process, backup the file system and start the process.

I'm trying to speed this up, by taking a live LVM snapshot when MySql is running, and wonder if members could comment whether this is safe:

mysql> STOP SLAVE;
mysql> FLUSH TABLES;

(Take LVM snapshot)

mysql> START SLAVE;

Any comments, improvements, warnings etc, very welcome!

Ben

Options: ReplyQuote


Subject
Views
Written By
Posted
Backup of running MySql
2886
June 23, 2008 02:14AM
1169
June 23, 2008 04:32PM
1538
June 25, 2008 05:55AM


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.