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:

Mount Nutanix container to backup host.

Create a .restore folder on container.

Restore AHV VM disk to .restore folder.

Run nbaapi_ahv_vm_restore

Verify restored VM on Prism Console.

Lets try restore now:

Login to backup client using your choice of SSH client and create a mount point to mount Nutanix Container.

mkdir /nfs1

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

Mount the Nutanix container at /nfs1 directory.

mount -t nfs 172.16.157.10:/default-container-33163 /nfs1

change to /nfs1 and list files to verify

Create .restore folder and verify

mkdir .restore

List to verify its been created.

ls -ld .?*

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.

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.

Monitor and wait for the restore to complete from Activity Monitor. the restore process will restore two files metadata.json and disk image file.

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.

There are three scenarios to restore based on that we need to update the metadata file.

When original VM is NOT existing or we are restoring the VM to another Nutanix cluster, use the original metadata file.

Restore the VM where the original VM exists and it should be impacted, update the metadata file.

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

Run the command as below to restore the VM according to scenarios above with metadata file.

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

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.

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.