This MindTouch Deki has expired; please contact your system administrator. Visit for activation information.
Zmanda Documentation > User Defined Reports

User Defined Reports

User defined reports can be obtained using mysql-zrm-reporter utility. Following command produces report containing MySQL server host name, MySQL version and Backup time.

# mysql-zrm-reporter --fields host,mysql-version,backup-time
          backup_set  host                 mysql_version       backup_time
             Daily   localhost             5.0.24-standard-lo  00:05:05
            Weekly     4.0.24-standard-lo  00:22:06

All backup parameter field names can be passed as parameters to fields argument to display select set of fields.

These parameters are listed below Individual field's display can be controlled by format parameters specified below. Reports as a whole, can be formatted in HTML or TEXT formats.

User defined reports are also automatically generated when backup takes place. Email notification can be sent about the report. HTML reports can be configured to be available as RSS feed.

Backup parameters

Name of the Backup set
Date and time stamp of when the backup was done.
Backup level (full or incremental). Full backup is 0. Incremental backup is level 1.
The location of backup directory on the machine where ZRM for MySQL is running.
Retention time for the backup image.
Version of the MySQL server used to backup the backup set. When MySQL server is being upgraded to a newer version, this field can be used to check the MySQL version of the backup images.
Compression program used for backup data compression.
Encryption program used for backup data encryption.
Comments about the backup set or the backup run

Tables/Databases that were backed up

Host name of the MySQL server.
List of databases that have raw backups - backups done using the mysqlhotcopy command. If the raw-tables field is present, all the tables listed in raw-tables belong to the database in this parameter.
List of databases backed up using LVM snapshots.
List of tables backed up using the mysqlhotcopy command. All the tables listed in this parameter belong to the database in the raw-databases field. This parameter will have valid values only if --tables parameter was specified for the backup run in the mysql-zrm.conf configuration file.
List of tables backed up using LVM snapshots. All the tables listed in this parameter belong to the database in the raw-tables-snapshot field.
List of databases backed up using mysqldump(1)
List of tables belonging to "logical-databases" backed up using mysqldump(1)
Names of replication files that were backed up - namely and
Names of SQL_LOAD* files that were backed up
Names of Binary log files that are part of incremental backup.

Status and performance of backup run

Time taken by the backup run. The time includes the time for compression and encryption if these features were used during backup run. Format is HH:MM:SS
During backups, the mysql-zrm utility holds the read lock on the database(s) or the table(s) that being backed up. The option reports that time.Format is HH:MM:SS.
The time taken to flush database pages from memory to disk. All modified database pages written from memory to the disk during backup for some backup methods. Format is HH:MM:SS.
Size of backup image in MB.
Gives the size of backup data after compression and encryption
Status of the backup run. The values can be Backup Failed, Backup done with errors, and Backup succeeded.
  • Backup Failed means there was a fatal error and backup was not completed.
  • Backup done with errors means there were errors during backup, not all tables/databases in the backup set were not backed up. To find out which databases or tables were backed up successfully, see mysql-zrm log file.
  • Backup succeeded means the backup was successful.
Powered by MindTouch Deki v.8.08.2