Netbackup, Nutanix AHV

Veritas Netbackup with Nutanix AHV – Restore

Veritas Netbackup with Nutanix AHV – Introduction
Veritas Netbackup with Nutanix AHV – Backup
Veritas Netbackup with Nutanix AHV – Restore (This post)

To continue my previous post here I will show how to restore Nutanix AHV VM,

The below is outline of process of the restore process:

  1. Mount Nutanix container to backup host.
  2. Create a .restore folder on container.
  3. Restore AHV VM disk to .restore folder.
  4. Run nbaapi_ahv_vm_restore
  5. Verify restored VM on Prism Console.

Lets try restore now:

  1. Login to backup client using your choice of SSH client and create a mount point to mount Nutanix Container.
  2. mkdir /nfs1

    Here i had create a mount point as nfs1 at root.

  3. Mount the Nutanix container at /nfs1 directory.
  4. mount -t nfs /nfs1

    change to /nfs1 and list files to verify

  5. Create .restore folder and verify
  6. mkdir .restore

    List to verify its been created.

  7.  ls -ld .?*

    FutureTEC Connect_FT-MGMT_2017-12-18_10

  8. Now go to Backup, Archive and Restore in Netbackup Console and browse for the backed up VM.  Source client will be the VM name and destination client will be the backup host.FutureTEC Connect_FT-MGMT_2017-12-18_11
  9. Select disk image file, metadata file on contents lists and click Restore to select destination folder as .restore directory on the mount point where you have mounted Nutanix Container on backup host. NOTE: the disk image file should be restored on root of to .restored directory.FutureTEC Connect_FT-MGMT_2017-12-18_13
  10. Monitor and wait for the restore to complete from Activity Monitor. the restore process will restore two files metadata.json and disk image file.
  11. In order to restore the VM onto the Nutanix cluster we need to run  nbaapi_ahv_vm_restore whihc is located at /usr/openv/netbackup/goodies.
  12. There are three scenarios to restore based on that we need to update the metadata file.
    1. When original VM is NOT existing or we are restoring the VM to another Nutanix cluster, use the original metadata file.
    2. Restore the VM where the original VM exists and it should be impacted, update the metadata file.
    3. Restore to same cluster or another cluster with different container, update the metadata file. The details are specified in Veritas Netbackup AHV Administrator’s Guide here
  13. Run the command as below to restore the VM according to scenarios above with metadata file.
    /usr/opnev/netbackup/goodies/nbaapi_ahv_vm_restore --metadata_file_path /nfs1/.restore/metadata.json --username  --password  --cluster_name

    This command is going to use Nutanix API to create VM using the restore disk image and specification using metadata.json file

  14. If you are restoring as different VM you have option to use native Prism capabilities without using the above command. Create a new VM and add disk using ADSF file with required specifications without impacting original VM.FutureTEC Connect_FT-MGMT_2017-12-18_14
  15. Power On your restored VM to verify.

Conclusion : Although the overall process is not simple but it great effort to have protecting your Veritas Netbackup investment and adapting Nutanix AHV. Hope Veritas team is going to add more simplicity to the overall process and keep updating for full integration with Nutanix. After having discussion with Veritas Netbackup product team I am very much optimistic with their openness to feedback and wish them to stay ahead in the Backup and Recovery.


2 thoughts on “Veritas Netbackup with Nutanix AHV – Restore

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s