How to Restore NSX Manager from Backup is an article that explains the process of restoring the NSX Manager from a valid backup.
Backup… Backup… Backup… this is an important subject that always we are talking about. In a practical way, few people really are careful about this. For the NSX-T environment, doing NSX Manager backup is mandatory in my opinion. So, if you do not make regular backups of your NSX Manager cluster, please, stop now and do it now!
There are a lot of Internet articles about how to configure NSX Manager backup. Also, we have an article that explains this too. Please, click read to access this article.
NSX provides a file-based backup mechanism for protecting the configuration and state maintained by the NSX Manager cluster. Edge Transport Nodes and host transport nodes are not backed up as virtual machines through this mechanism.
If the management plane is lost, a valid NSX Manager backup can be restored to a newly deployed Manager appliance. If Edge appliances were also lost during the disaster, they may need to be redeployed separately after the management plane has been recovered.
Important: VMware vSphere snapshots are not a supported backup or rollback mechanism for NSX Manager or Edge appliances. Use the supported NSX file-based backup and restore workflow instead.
When I would need to use the NSX Manager Restore process?
So, having a valid backup is an important thing, mainly if you have a production environment. As we said before, to back up the NSX Manager cluster is necessary to use the built-in application backup. It is like a File-Based backup and you can back up all data and configuration of your NSX Manager cluster.
Failures happen and to recover your NSX Manager cluster properly, you need to have a valid NSX Manager backup. That’s it!
However, by the fact that we have 3 NSX Managers Appliances in the NSX Manager cluster (3 appliances are VMware’s recommendations), in case of disaster, this backup certainly would save your life 🙂
About Our Environment
We have an NSX Manager cluster composed of 3 appliances. We have backup configured normally. But, the hard disk that I am using to run all NSX Manager appliances crashed and I cannot start any NSX Manager anymore =/
Disclaimer: So, for a production environment, you NEVER should keep all NSX Manager appliances running on the same hardware/server/ESXi host. There is a good practice to separate all NSX Manager appliances (a good idea is creating a DRS rule to separate all appliances – to avoid running together on the same ESXi node).
So, how can we recover our NSX Manager cluster? What steps are necessary to do? We will discuss it later providing more details.
Pre-Restore Requirements
Before deploying the replacement NSX Manager, collect the information associated with the backup you intend to restore.
The replacement appliance must satisfy the restore requirements of that backup. In particular, verify the exact NSX version and build, the original Manager IP address or published FQDN, the IP stack configuration, appliance type, backup repository, repository credentials, and backup passphrase.
Also make sure the original NSX administrator and root credentials are available. During the restore, configuration and credentials from the backup can replace values configured when the new appliance was deployed.
To group all, keep in mind the following list:
- Exact NSX version and build number
- Original Manager IP/FQDN used by the backup
- IPv4/IPv6/dual-stack configuration
- Correct NSX Manager vs Global Manager appliance type
- Backup repository address and path
- Backup repository credentials
- Backup encryption passphrase
- Original admin and root credentials
- DNS resolution, when Published FQDN is used
Steps to recover NSX Manager from Backup
Step 1 – Deploy One Fresh NSX Manager Appliance
Start by deploying one new NSX Manager appliance using the NSX version and build required by the selected backup.
Do not deploy all three replacement Managers at this stage. The backup is restored to a single newly deployed Manager first. Once that restore reaches the appropriate stage, additional Manager nodes are deployed to rebuild the cluster.
Important: The identity of the new appliance must match the identity associated with the backup. Depending on whether Published FQDN was enabled, NSX validates the IP address or FQDN recorded in the backup. If these values do not match, the Restore button may remain unavailable.
Step 2 – NSX Built-In Backup Configuration
After deploying the first NSX Manager, configure the Backup built-in application.
We should point to the previous backup repository when we have the valid NSX Manager backups. Here, we are using a TrueNAS server as a backup repository for our NSX Manager cluster:

If you still need to configure or validate the backup repository, see “How to Configure Backup on the NSX Manager“ before continuing with the restore.
Step 3 – Checking all NSX Valid Backups
After that, we can see all valid backups and choose one to do the restore process.
Tip: Under Backup History, look to the column “Appliance FQDN or IP Address”. This is the FQDN or IP Address that is used to make backups. So, our new NSX Manager Appliance deployed on the first step here must have this configuration:

Important: Before clicking RESTORE, confirm that the selected backup belongs to the environment being recovered and that its timestamp represents the recovery point you actually want.
Check the NSX version/build, appliance identity, backup timestamp, and repository information before proceeding. Do not rename or reorganize individual backup files manually on the SFTP repository because NSX expects a specific backup directory structure.
Step 4 – Starting the Restore
Select the backup and click on RESTORE.
Please, be careful with that. Keep calm and read this page with attention. After that, click on CONTINUE:

The recovery process has started:

Step 5 – Waiting the Recovery Process
Do not interrupt the restore because the NSX Manager UI becomes unavailable.
During a restore operation, the Manager may reboot and the GUI may become inaccessible multiple times. This can be expected behavior while services and configuration are being recovered.
Do not manually reboot or power off the appliance unless the restore workflow explicitly reports a failure or the applicable Broadcom procedure instructs you to do so.

Accessing the NSX Manager by SSH, we can see that the Overall Status is DEGRADED (it is pretty normal because the recovery process still running):

After some minutes, the Overall Status is STABLE and the GUI interface will probably be available:

Step 6 – Acess the NSX Manager through GUI
Credential note: After configuration from the backup is restored, the credentials from the original environment may become applicable again. Keep the original admin and root passwords available throughout the recovery process, together with the backup passphrase.

Access the Backup & Restore menu and click on “Show Details”:

In our case, as we had an NSX Manager cluster, we received this warning message.
To follow the recovery process, we need to deploy more two NSX Manager Appliances to create an NSX Manager cluster again:

After doing that, mark the option “I understand the message mentioned and wish to proceed” and click on RESUME:

The recovery process will continue:

Note: If you do not create the NSX Manager cluster as requested, you will receive a new warning:

Step 7 – Discovering Transport Nodes
At this point, the recovery process failed to discover both Transport Nodes below (IPs 192.168.200.241 and 192.168.200.242).
In this case, both are Edge Transport Nodes. In my case, I just powered on both Edge Transport Nodes VMs, marked the option “I understand the message mentioned above and wish to proceed” and clicked on RESUME to continue the process:

Note: In this lab, the Edge Transport Node virtual machines had not been lost. They only needed to be powered on so that the restored NSX Manager could rediscover and reconcile them.
This is not always the case. An NSX Manager backup protects NSX configuration and state; it does not contain the Edge appliance virtual machines themselves. If Edge VMs were also destroyed during the disaster, they must be redeployed or replaced as part of the recovery.
After some minutes, we can see all NSX Managers Appliances under the menu System –> Appliances:

Finally, the recovery process was finished successfully:

Validate the Recovered NSX Environment
Do not treat the successful restore message alone as the end of the recovery. Validate the management plane and the dataplane before returning the environment to normal operation:
get cluster status
If the Manager cluster is healthy but Host-to-Edge overlay connectivity is not, see “Troubleshooting NSX Overlay TEP Connectivity from ESXi and Edge Nodes“.
After the environment is stable and the recovered configuration has been validated, verify that the backup configuration is still working and run a fresh manual backup.
A successful restore proves that the previous recovery point was usable. A new backup establishes a fresh recovery point for the now-restored environment.
If the Restore Button Is Greyed Out
If the backup is visible but the Restore button cannot be selected, do not assume that the backup itself is damaged.
Verify the replacement appliance against the backup metadata. Common causes include an NSX version/build mismatch, IP/FQDN mismatch, Published FQDN differences, incompatible IPv4/IPv6 configuration, or deploying the wrong appliance type such as Global Manager instead of NSX Manager.
What a Successful NSX Restore Actually Recovers
Restoring NSX Manager is more than bringing the management UI back online. The objective is to recover the NSX configuration and management state, rebuild the Manager cluster, reconcile the surviving transport nodes, and validate that the dataplane is operating as expected.
In this lab, all three NSX Manager virtual machines were lost, but the external file-based backup allowed the management plane to be rebuilt from a newly deployed appliance. After the first Manager was restored, the remaining Manager nodes were redeployed and the surviving Edge Transport Nodes were reconciled with the recovered environment.
The most important lesson is that the restore procedure depends on preparation made before the failure: a valid external backup, the correct backup passphrase, exact NSX version information, appliance identity, credentials, and a recovery process that has been tested before a real disaster occurs.
External References
- Troubleshooting NSX Backup and Restore Operations Broadcom reference covering NSX backup and restore requirements, backup repository behavior, exact version and build matching, appliance identity, restore credentials, expected reboots, temporary GUI loss, and common recovery problems.
- One or More NSX Manager Appliances Do Not Boot Official disaster-recovery workflow for deploying a replacement Manager of the same version and build, restoring the backup, and rebuilding a three-node NSX Manager cluster.
- NSX Restore Button Greyed Out and Not Actionable Broadcom guidance for validating the replacement Manager against the backup, including version, IP or FQDN, Published FQDN, and IPv4/IPv6 requirements.
- NSX Restore Button Greyed Out on a Newly Deployed Manager Troubleshooting reference for restore validation failures caused by appliance type and configuration mismatches, including NSX Manager versus Global Manager deployments.
- Virtual Machine Snapshots Are Not Supported on NSX Manager and Edge Nodes Broadcom guidance explaining why vSphere snapshots are not a supported backup or rollback mechanism for NSX appliances and why file-based backup and restore should be used instead.
- NSX Edge Nodes in Failed or Unknown State After NSX Restore Broadcom reference explaining that NSX backups contain configuration and state but do not contain Edge VM binaries, and describing Edge recovery after a disaster.
- NSX Backup Restore Fails with Bad Passphrase Official troubleshooting guidance for restore failures caused by an incorrect backup encryption passphrase and the required redeployment workflow after a failed restore.
- NSX Manager Restore Fails After Backup Files Are Moved Broadcom documentation explaining the required NSX backup directory structure and why manually moving or reorganizing backup files can make a restore unusable.
