MySQL Backups Go Near-Continuous
MySQL Backups Go Near-Continuous
• RAID Attributes
– Software or Hardware RAID
– Available on Windows, Linux, Unix
– Some RAID levels protect against drive failure
• Good Data Protection?
Archiving None
– Examples:
MySQL Backup Applications
• Legacy Backup
– The Dump
– Binary Log Backups
– mysqlhotcopy
– Volume Snapshot Hot Backup
– InnoBase (Oracle) Backup
– Replication Slave Backup
• Legacy Backup with GUI
– ZRM, Bakbone, and others
• Alpha MySQL Online Backup API
• near-Continuous Data Protection
Everyone Loves Taking a Dump
mysqldump
Typical User / Complexity Developer, Accidental Admin, DBA Guru
Archive Type Disk
Supported Storage Engines All
Supported O/S All
Binlog Restore No
Zero Business Interruption No
Granular Restore No
Easy to Use Graphical UI No
Complete Server Protection No
Backup Type Full
Backup Window = Time to Read All Data
Server I/O and Load impact Heavy
Binlog Backups for Gurus
mysqldump, mysqlhotcopy
Typical User / Complexity DBA Guru
Archive Type Disk
Supported Storage Engines Most / All
Supported O/S All
Binlog Restore Yes
Zero Business Interruption Only during incremental
Granular Restore No
Easy to Use Graphical UI No
Complete Server Protection No
Backup Type Incremental
Backup Window = Time to Read All Data (when Full)
Server I/O and Load impact Heavy (when Full)
Not So Hot mysqlhotcopy
Holds table locks while copying MyISAM files
Zero Business Interruption Yes (Only InnoDB and Falcon for now)
Granular Restore No (No Table level restore)
Easy to Use Graphical UI No
Complete Server Protection No
Backup Type Full (incremental with binlog)
Backup Window Long
Server I/O and Load impact Heavy
MySQL near-Continuous Data Protection
• Online Backups for MyISAM and InnoDB
– Similar to Linux LVM Backup Method except LVM not
required!
– All block devices supported! Software RAID (MD), Multi-
Path, ISCSI, Windows Dynamic Disks, etc
– Low Level Volume Snapshots with Device Driver (Linux),
Volume Shadow Copy (Windows)
• Scheduled Synchronizations
– E.g. Every 15 minutes, Hourly, Daily, etc.