"Hot Backups" of your MySQL Database on Linux
Would you like to take consistent snapshot backups of your entire
database without a SAN or external software, and without slowing
or locking your database for the duration?
RedHat? Enterprise
Linux (and Centos Linux) install an LVM by default.
LVM, Logical Volume Manager is a layer that sits on top of any
file system (default ext3).
You can tell if you're already running on an LVM, by checking
your file system with "df -h" — an entry like
"/dev/mapper/VolGroup01-LogVol00" shows that your disk is mapped
through the LVM.
LVM brings you features such as the ability to grow and shrink
volumes, add hard disks without migrating data, RAID0, and for
the purpose of this article: file system SNAPSHOTS.
FLUSH TABLES WITH READ LOCK; \! lvcreate --size 100m --snapshot --name snap …[Read more]