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.

Prerequisites

Verify that you have the SSH fingerprint of the backup file server. Only an SHA256 hashed ECDSA key is accepted as a fingerprint. See Find the SSH Fingerprint of a Remote Server.

Procedure

  1. From your browser, log in to an NSX Manager at https://nsx-manager-ip-address.
  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