1. Knowledge Base
  2. Zmanda Recovery Manager (ZRM)

How to repair a Zmanda Management Console (ZMC) database for ZRM

This article is for Zmanda Recovery Manager For MySQL (ZRM) v. 3.3

Info Description:


Should the ZMC database for ZRM need repair, please run the below command as the mysql or root user.

Note: This procedure should be performed only when no backup or restore or media management operation is in progress. ZMC will not be available during this procedure.
 

/opt/zmanda/zrm/apache2/htdocs/zmanda-zrm/ZMC/scripts/zmc-db-repair.sh

A backup of the database files before repair will be kept at /opt/zmanda/zrm/logs/zmcdb-<date>.tar.gz should you need to revert to pre-repaired files for any reason.