Veritas NetBackup™ for Nutanix Acropolis Hypervisor (AHV) Administrator's Guide
- Introduction to NetBackup for Acropolis Hypervisor (AHV)
- Prerequisites and things to consider before using the plug-in
- Downloading and installing the Nutanix plug-in
- Configuring NetBackup communication with AHV
- Configuring secure communication between the Nutanix Acropolis Hypervisor server and NetBackup host
- Adding a backup host to the NetBackup master server
- Configuring NetBackup policies for AHV
- Backup and recovery
- Back up the Nutanix AHV virtual machines
- Overview of the Nutanix AHV virtual machines recovery process
- Recovering a Nutanix AHV VM using the command line for Hypervisor policy
- Troubleshooting issues
- Appendix A. NetBackup commands to backup and restore Nutanix AHV virtual machines
- Appendix B. Protect Nutanix AHV virtual machines with BigData policy
Using the command line to recover Nutanix AHV virtual machines for Hypervisor policy
You can use the bprestore command to recover a backed-up Nutanix AHV VM.
To recover Nutanix AHV VM
- On the NetBackup master server, log on as an Administrator or root user based on Windows or UNIX system respectively.
- Run the following command on the NetBackup master server by providing appropriate values:
bprestore -S master_server -C client -R path_rename_file -t 47 -L path_progress_log -f filelist -disk_media_server disk_media_server -vmproxy backup_host -vmid -vmmacid -vmsn -vmpoweron -vmserver NutanixAHV_cluster -K
Where,
-S
Specifies the name or FQDN of the NetBackup master server.
-C
Specifies the Nutanix AHV VM name that you have backed up.
-R
Specifies the directory path to a rename file, which is used to recover a virtual machine.
-t 47
Specifies Hypervisor as the policy type.
-L progress_log
Specifies the name of whitelisted file path in which to write progress information.
-f
Specifies a file (listfile) that contains a list of files to be restored and can be used instead of the file names option (filenames). In listfile, list each file path must be on a separate line.
Currently we support a full VM restore. Enter
/
(forward slash) as the file entry.-disk_media_server
Name or the FQDN of the disk media server.
-vmproxy
Specifies the name or the FQDN of the backup host.
-vmpoweron
Turn on the VM after recovery.
-K
To not overwrite the existing virtual machine in the AHV cluster.
-vmid
Retain the VM UUID.
-vmmacid
Retain the MAC address of the VM.
-vmserver
FQDN or the IP address of the Nutanix AHV cluster where you want to recover the virtual machine. Use the same type that was used to add the Nutanix AHV credentials.
-vmsn
Remove the network interface that was set for the VM during the backup.
Example
bprestore -S FQDN.master.server.com -C FQDN.client.com -R <install_directory>\logs\user_ops\rename.txt -t 47 -L <install_directory>\logs\user_ops\a.log -f filelist -disk_media_server FQDN.disk.mediaserver.com -vmproxy FQDN.backup.host.com
Note:
For restoring incremental backup images, if a policy or date range is not specified, then bprestore starts with the most recent full backup image. The command then checks all the subsequent incremental and differential backup images. The most recent copy of a file is restored from these images.