The backup and restore helper script compares the desired state after the backups have been restored with the most recent fabric state captured by the script, and provides instructions for making the fabric state match the desired state after restoring the backup.

Prerequisites

  • Verify that you have downloaded the backup and restore helper script.

  • Verify that you have downloaded the latest inventory backup from the SFTP server.

Procedure

  1. Log in to the machine to which the backup and restore helper script was downloaded or copied.
  2. Run the backup and restore helper script, using the -d option to specify which checkpoint (inventory) file to use.

    Provide the following information:

    -m

    NSX Manager IP address

    -u

    NSX Manager username

    -p

    NSX Manager password

    -d

    checkpoint (latest inventory backup) file name

    $ python backup_restore_helper.py -m 192.168.110.201 -u admin -p <password> -d backups/backup_restore_checkpoint_20160318_013354.json
  3. Follow the instructions in the backup_restore_helper.py script output to update the fabric state to match the desired state.