NSX Backup

NSX Backup:

  • One of the key considerations during the NSX deployment is proper planning of backing up the NSX manager.
  • Proper & regular backing up of NSX Manager is critical to ensure to the NSX can be recovered due to any failure or un foreseen issues.
  • NSX Manager backup is critical as backing up any other components in SDDC environment.
  • As a best practice of deploying SDDC, one needs to ensure that proper backup procedure & process is in place.

The NSX backup contains the configurations of the below

  • Controllers
  • Logical switching
  • Routing entities
  • Security
  • Firewall Rules
  • Events & Audit logs

Virtual switches (vDS) are not part of NSX Manager backup.

 

Best Practices:

  • Before & after any NSX upgrade or vCenter upgrade
  • After any configuration changes related to NSX controllers, logical switches, logical routers, Edge Service Gateways, Security & Firewall policies.
  • Ensure that the vCenter Server including its database server are backed up along with the NSX backup schedule.

     

    • In case of any trouble or issue & when it is required to restore the entire environment, it is always recommended to restore the NSX backup along with the vCenter server backup including its database which has been taken at the same time.
  • Create a backup strategy policy to schedule the backup periodically along with the vCenter & its database.

NSX Manager Backup Method:

  1. Web Interface:  NSX Manager with FTP/SFTP
  2. REST API Method

The recommended way to take the NSX backup is via Web Interface using FTP/SFTP, since it is very simple & easy to configure.

Procedure – NSX Manager Backup:

  • NSX Manager backup is very simple & straight forward procedure.
  • The below VMware article explains the same & it is easy to setup.

 

Ref:

https://docs.vmware.com/en/VMware-NSX-for-vSphere/6.4/com.vmware.nsx.upgrade.doc/GUID-2A75A102-518D-4D6C-B23D-877C421B1536.html

Restoring NSX Manager Backup:

  • Restoring NSX Manager requires backup file to be loaded to the NSX Manager appliance.
  • VMware recommendation is to reinstall or setup a new NSX Manager appliance & then restore the backup file.

     

    Restoring NSX Manager is compatible between the NSX Manager of the same version. (The backup file version & the restoring NSX version should be the same)

  • Restoring the backup file to the existing NSX Manager appliance will also work but sometimes it will cause issue.

VMware also recommends having the details of the old NSX manager settings like the IP Address, Subnet Mask, Default Gateway settings in prior, which needs to be specified to the newly deployed NSX Manager Appliance.

Ref:

https://docs.vmware.com/en/VMware-NSX-for-vSphere/6.4/com.vmware.nsx.upgrade.doc/GUID-B22A6600-0E65-4765-AC4E-A9D20FC57D1D.html

There may be situations where the NSX Edges becomes inaccessible or failed due to some reasons.

In this case the NSX Edges can be easily restored by clicking Redeploy NSX Edge () in the vSphere Web Client.

It is not required to restore the complete NSX Manager backup.

Note: Individual backup of NSX Edge devices is not supported.