Restoring a backup results in restoring the state of the network at the time of the backup, restoring the configurations maintained by the NSX Manager, and reconciling any changes, such as adding or deleting nodes, that were made to the fabric since the backup was taken.

Note: Restoring a backup on the same NSX Manager appliance where the backup was taken is not supported.

Prerequisites

Procedure

  1. From a browser, log in to the freshly installed NSX Manager.
  2. Select System > Utilities from the navigation panel.
  3. Click the Restore tab.
  4. Click Edit to configure the backup file server.
  5. Enter the IP address or host name.
  6. Change the port number if required.
    The default is 22.
  7. Enter the user name and password to log in to the server.
  8. In the Destination Directory field, enter the absolute directory path where the backups are stored.
  9. Enter the passphrase that was used to encrypt the backup data.
  10. Enter the SSH fingerprint of the server that stores the backups.
  11. Click Save.
  12. Select a backup.
  13. Click Restore.
    The status of the restore operation is displayed. If you have deleted or added fabric nodes or transport nodes since the backup, you will be prompted to take certain actions, for example, log in to a node and run a script.

    After the restore operation is completed, the Restore Complete screen is displayed, showing the result of the restore, the timestamp of the backup file, and the start and end time of the restore operation. If the restore failed, the screen will display the step where the failure occurred, for example, Current Step: Restoring Cluster (DB) or Current Step: Restoring Node. If either cluster restore or node restore failed, the error might be transient. In that case, there is no need to click Retry. You can restart or reboot the manager and the restore will continue.

    You can also determine that there was a cluster restore or node restore failure by running the following CLI command to view the system log file and searching for the strings Cluster restore failed and Node restore failed.
        get log-file syslog
    To restart the manager, run the following CLI command:
        restart service manager
    To reboot the manager, run the following CLI command:
        reboot

Results

Note: If you added a compute manager after the backup, after the restore, if you try to add the compute manager again, you will get an error message indicating that registration failed. You can resolve the error and successfully add the compute manager. For more information, see Add a Compute Manager, step 5. If you want to remove the information about NSX-T Data Center that is stored in a vCenter Server, follow the steps in Remove NSX-T Data Center Extension from vCenter Server.