What is ZRM?
Zmanda Recovery Manager (ZRM) for MySQL is a comprehensive, certified, enterprise backup and recovery solution specifically designed for MySQL databases. With ZRM, MySQL DBAs can manage mission-critical, high-volume transaction processing environments with confidence. ZRM is certified by Sun/MySQL as the preferred backup solution.
How is ZRM Enterprise and Cluster Editions are different from Community?
Comparison of ZRM for MySQL Community, Enterprise and Cluster Editions
| |
Community Edition |
Enterprise and Cluster Editions |
| Which edition should I consider? |
A SysAdmin, DBA or MySQL developer who feels comfortable being supported only by Community. |
A SysAdmin, DBA or MySQL developer who wants enterprise-strength support and ease of use in production. |
| Is there a difference in functionality? |
Core functionality is the same for all editions. The development effort is focused on providing new functionality as quickly as possible. |
Core functionality is the same for all editions. Only Cluster Edition provides support for MySQL Cluster. The focus for Enterprise Edition is on stability, role-based security and ease of use in production environment via the Management Console. |
| What snapshots are supported for each edition? |
Linux LVM and Solaris ZFS snapshots |
Linux LVM, Solaris ZFS, Veritas VxFS, Windows VSS, and Network Appliance SnapManager. |
What is the Zmanda Recovery Manager (ZRM)?
|
Currently available only with Enterprise and Cluster Editions. |
The Zmanda Management Console (ZMC) is a web based service integrated with Zmanda Network. It provides management and visualization tools for defining all backup activities of a MySQL DBA:
- what to backup, e.g. all databases or just the selected tables
- where to store the backup images
- when to perform backups, e.g. schedule daily, weekly or monthly full and incremental backups
The Management Console provides extensive reporting. The unique Database Events Browser allows :
- browsing the contents of incremental backups
- searching for keywords in the backups, e.g. identifying the exact time of an important event such as dropping of a table
- selecting transaction date and time as recovery point |
| Where do I get this edition? |
Community Downloads. |
Available through a paid annual subscription to Zmanda Network. |
| What kind of support is provided? |
Support via forums, wiki, and mailing list. Additional resources (e.g. whitepapers, tutorials) are available to registered users of the Zmanda Network. |
Three levels of enterprise-strength technical support,
knowledgebase, certified software, functionality and security updates as well as optional professional services and training. |
| How much does it cost? |
No cost. |
Annual subscription with simple pricing. Support for snapshot requires additional subscription. |
| What kind of licensing does it have? |
GPL and LGPL |
Zmanda commercial license. |
What is ZMC?
The Zmanda Management Console (ZMC) is a browser based GUI for configuration, management and monitoring. It provides management and visualization tools for defining all backup and recovery activities of a MySQL DBA:
- what to backup, e.g. all databases or just the selected tables
- where to store the backup images
- when to perform backups, e.g. schedule daily, weekly or monthly full and incremental backups
- point-and-click recovery
- The Management Console provides extensive monitoring and reporting.
What is Visual Log Analyzer?
- Zmanda Recovery Manager for MySQL has a Database Events Viewer aka Visual Log Analyzer built-in. This lets you visually browse the MySQL binary logs used for incremental backup, and select exactly what point in time you wish to restore. Specifically, it allows:
- browsing the contents of incremental backups
- searching for keywords in the backups, e.g. identifying the exact time of an important event such as dropping of a table
- selecting transaction date and time as recovery point
What kind of backup reports are provided?
- There are several predefined reports:
- Backup report
- Backup application performance report
- Backup status report
- Backup methods report
- Backup retention policies report
- Backup performance report
- Incremental backup report
- Backup replication report
- Cluster backup report
- In addition to the pre-defined reports, you can create and save for future use highly-customized reports on more than 30 different backup and MySQL parameters.
- For in-depth overview of ZMC reports please review "Zmanda Recovery Manager Guide to MySQL Backup & Recovery" white paper available on Zmanda Network
What compression and encryption are provided with ZRM?
ZRM supports compression and encryption of the backup images, using any utility supported by the OS. For example you can use gzip for compression (which is the default). Any utility that reads from standard input (stdin) and writes to standard output (stdout) can be used.
Can ZRM use multiple streams in parallel to backup a database?
You can configure ZRM to backup in multiple streams by configuring tables in the database in different backup sets
Can I restore a single database if I configured to backup all databases?
Yes, you can restore a single database, but remember that other databases might be needed for referential integrity.
Can I backup a single table in a database?
Yes, ZRM allows backup and restore of a single table
Does ZRM allow deselecting corrupted records?
ZRM allows selective recovery of consecutive records. You can
exclude the corrupted records by recovering consecutive records up to the corrupted one and then running another recovery till the next corrupted record. This approach is acceptable if you have only a few corrupted records.
Can third-party snapshots be integrated with ZRM?
Yes, ZRM has very flexible plugable architecture that allows 3rd party snapshot plugins. See this
article for details
What is the performance of ZRM?
Different backup methods have different performance. Raw backups are 6-10 times faster than logical ones.
- For in-depth overview of backup performance review “Backup and recovery benchmarks for MySQL with ZRM” white paper available on Zmanda Network.
Can I postpone backup if MySQL is under heavy load?
Yes, you can deploy a special
plugin for postponing backups.
What is the dependency of InnoDb during backup process?
There is no dependency on storage engines, but we can take advantage on functionality provided with some engines, e.g. we can use mysqlhotcopy as a data extraction utility for MyISAM. Another example — using snapshots with InnoDB can provide truly hot backup of MySQL.
Having a combination of MyISAM and Innodb, do we need separate jobs for backups?
You don’t. ZRM is designed to handle variety of MySQL configurations and the same backup job can handle different engines.
If my 20 backups are successful and usually they are, I don’t want 20 emails. I only want an email if it “fails”
You may have to tailor the email being sent. This can be done with some scripting. We plan to improve this functionality in the next release of ZRM
When in a replicated environment, can you restore all replicated databases at the same time from one backup?
Yes. You should configure all databases in the same backup set.
Can I resume my backup after a failure instead of starting over?
If there is backup failure, ZRM uses a different backup method. ZRM uses a hierarchy of backup methods depending on configuration and storage engine in use. Currently we don’t have a built-in checkpoint mechanism to resume a particular failed backup run.
When ZRM is remote to MySQL, what gets installed on the DB - an agent? If so, how lightweight is it?
On MySQL server you need to install small footprint software that does data transfer to the ZRM server. This software runs only when needed (during backup run).
From a ZRM standpoint is there any difference backing up a MySQL DB on Linux vs. Windows?
For MySQL on Windows we use either logical or hot VSS snapshot backup. For MySQL on Linux we support logical, raw and variety of snapshots.
Does ZRM allow backup to tape?
- ZRM provides backup to disk. It could be any disk that is accessible by ZRM, e.g. local hard disk, network attached storage NAS, Fibre Channel RAID array, etc.
- Any enterprise media manager such as Amanda Enterprise, Veritas NetBackup or EMC/Legato Networker can make a tape copy of MySQL backup images.
Can I backup MySQL to Amazon S3?
- ZRM provides backup to disk. It could be any disk that is accessible by ZRM, e.g. local hard disk, network attached storage NAS, Fibre Channel RAID array, etc.
- Amanda Enterprise can move ZRM backup images to Amazon S3.
We run MySQL 24x7 and we can’t afford a read lock even for a second. What should we do for backup?
- We recommend to take advantage of MySQL replication.
- Stop replication for duration of backup off the slave
- Resume replication.