13.1.2.2. Procedure – Restoring a ZMS database backup

The following steps describe how to restore an earlier ZMS database.

Warning

Restoring an earlier database will delete the current database, including the configuration of every host, as well as any certificates stored in the PKI system. Any modification and configuration change performed since the backup was created will be lost.

  1. Copy the database backup archive file to the ZMS host.

  2. As root, issue the /usr/share/zms/zms-restore.sh <backup-file-to-restore> command.

  3. Follow the on-screen instructions of the script.

  4. Login to ZMS using ZMC. If ZMS has been reinstalled, use the username and password provided during the reinstallation.

  5. If the restored database has to be upgraded, ZMC displays a list of the components to be upgraded. Click Convert.

  6. Select PKI > Distribute Certificates. Note that key distribution will fail on every host except on the ZMS host. This is normal.

  7. Upload the configuration of the ZMS host.

  8. Restart at least the Management Server component on the ZMS host. This will terminate the ZMC session.

  9. Relogin with ZMC and check the restored configuration.

  10. Upload and restart any component as needed. It may also be needed to redistribute the certificates.