Beruflich Dokumente
Kultur Dokumente
Understanding Backup
MySQL Enterprise Backup (MEB)
Backup Strategies
What’s New in MEB 3.9
Audits
Disasters
Is HA setup a backup ?
Is LVM a backup ?
Logical
– Mysqldump
– Mysqldbexport/import
Physical
Advantages
– Easy of use - simple commands allow you to easily backup and restore
– Good for small database or tables – minimum impact on backup and
restore performance
– Flexibility – logical backup allows you to choose what you want to backup
and not backup. Change the scripts to restore partially etc.
– Readability - Good assurance that database files are not corrupt - all the
data is read and it is read using standard SQL queries.
Disadvantages
– Not an online solution - write operations are locked while performing the
backup, thereby blocking use of the database.
– Poor performance for larger databases – backup and especially restore
times are very slow for larger databases.
– Not consistent – database won’t necessarily be restored to a consistent
state.
– No incremental backup – all backups are full backups, can be time
consuming and require more storage.
Advantages
– Performance –faster for backups and faster for restore
– Flexible – support for incremental backups, partial backups, backup
compression, point in time recovery and more.
– Archival Backups – suitable archival format for historical purposes
– Scalable – performance is near linear for larger databases.
– Consistent – delivers consistent point in time recovery
Backup 2
0
Category 1 Category 2 Category 3 Category 4
Full Backup
Incremental Backup – File based
and Redo log only
Compressed Backup
Backup to Single File/Image
Backup to tape
Partial Backup
Copyback
New! copyback-and-apply-log
Validate
Avg IOWAIT%
Avg. SYS%
Compressed Image
Avg USER% Compress
Image
Backup
Avg CPU%
Time (mm:ss)
0 20 40 60 80 100 120
Linux 2.6.32-220.2.1.el6.x86_64 OEL6.2/64 32 GB, 8 x 3000 MHz (8), 2X2 TB 2X1TB Disk, 1
Integrates with
MEB
Allows setup of
automatic backup
schedules
Allows some
options
Keeps information
about backups
Helps in recovery
Archive
Backup
Recover • Archive full
Incremental backups more
Recover Backup than 1 week old
to tape.
log to Full • 3 days to 1 week • Delete backups
Backup more than 6
months old
• For past 3 days