April 2010
Intermediate to advanced
276 pages
6h 16m
English
mylvmbackup works by using the following procedure:
FLUSH TABLES: Forces MyISAM buffers to disk as far as possible, but it does not lock the tables.FLUSH TABLES WITH READ LOCK: Forces MyISAM buffers to disk that have been dirtied since the last FLUSH TABLES command. This time, all queries modifying the databases are locked.lvcreate -s: This creates a consistent snapshot.UNLOCK TABLES: This writes to the database resume.tar and compress the snapshot. If configured (not covered in this appendix), rsync this file to another location.Be aware that when holding an open snapshot, the "copy on write" architecture of LVM can cause significant performance degradation—one I/O ...
Read now
Unlock full access