How to backup NSX Manager using FileZilla Server

Recently, I’ve been doing some vRealize Operations Manager alarms/false positives review for a customer and noticed the “Scheduled backups are not enabled” alarm in vROps alarms dashboard.backup NSX manager 01

After some investigation, I discovered that the NSX manager is not being backed up on regular basis. This vROps alarm can easily be corrected by configuring NSX Manager to create backups and upload them to a FTP server. In my case I used the free FileZilla Server which can be downloaded here.

Install & Configure FileZilla Server

  1. Download FileZilla Server and run the installer.
  2. Install the software by accepting all default settings or change if necessary.
  3. Create a FTP root folder and a NSX Manager backup folder inside the FTP root folder.
  4. Open FileZilla Server and click on the Users button. Configure the following user:
    • Create a new user/password by clicking the Add button.backup NSX manager 04
    • Add the directories created in step 3 in the Shared Folders page.
    • Add an alias (for example /nsxmanager) for the NSX Manager backup folder and assign read/write rights on the folder for the user created earlier.backup NSX manager 05
    • Click OK to save the new user.
  5. All done. You can leave the FileZilla Server open as you will need it later.

Backup NSX Manager configuration

  1. Open NSX manager and go to Backup & Restore.
  2. Click Change button on the right of FTP server settings and enter the IP/Host name of your FTP server, username and password of the user created in step 4a, backup directory which is the alias configured in step 3, file prefix, and pass phrase which is the password of the user created in step 4.backup NSX manager 02
  3. Click OK to save the settings.
  4. Next, click the Change button next to Scheduling.
  5. Set the desired backup frequency, hour/minute of the day and click Schedule.backup NSX manager 03
  6. Backup NSX Manager configuration by clicking the Backup button.
  7. To monitor the progress, open FileZilla Server and see the log displayed in the main window. You can also check the FTP directory created in step 3 during the installation and configuration of FileZilla Server and see if the backup NSX manager files are being saved in that directory.

Cheers!

– Marek.Z

Be the first to comment

Leave a reply...