MySQL Backup & Recovery
- 1. MySQL
fire9@me.com
Blog www.archnotes.net
Twitter fire9
- 21. LVM
A A
B B
C C B
D D
- 23. FLUSH TABLES
FLUSH TABLES WITH READ LOCK
Create the snapshop (lvcreate -s)
(SHOW MASTER/SLAVE STATUS)
UNLOCK TABLES
Mount snapshot, perform backup
Unmount and discard the snapshot (lvremove)