Restoring a database backup on Windows

In case of data loss or data corruption, you can use the restore feature to restore Unified Manager to the previous stable state with minimal loss. You can restore the Unified Manager database to a local Windows system or a remote Windows system by using the restore command.

Before you begin

About this task

The restore feature is platform-specific and version-specific. You can restore a Unified Manager backup only on the same version of Unified Manager, and only a Windows backup file can be restored on a Windows platform.

Steps

  1. Log in to the Unified Manager console as an administrator: um cli login -u maint_username
  2. At the command prompt, restore the backup: um backup restore -f \ProgramData\NetApp\OnCommandAppData\ocum\backup\backup_file_name
    Example
    um backup restore -f \ProgramData\NetApp\OnCommandAppData\ocum\backup\UM_7.1.N151118.2300_backup_windows_11-20-2016-02-51.7z
    If the folder names contain space, you must include the absolute path or relative path of the backup file in double quotation marks.
    After the restore operation is complete, you can log in to Unified Manager.