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
Creating a backup policy using the NetBackup Command Line Interface
This topic provides information about using the command line interface to create a
policy.The NetBackup commands for policy creation are in the following directory:
Windows: install_path\Veritas\NetBackup\bin\admincmd
UNIX or Linux: /usr/openv/netbackup/bin/admincmd
To define a backup policy using the command line interface, run these commands on the NetBackup master server.
- Create a policy.
bppolicynew policy_name
For example: bppolicynew nutanix
- Set the policy attributes.
bpplinfo policy_name -set
To modify the policy type attributes, run the following command:
bpplinfo policy_name -modify [-v] [-M master_server,...] -pt policy_type
The policy_type value is Hypervisor.
To add a storage unit, run the following command:
bpplinfo policy_name -residence label - modify
For example: bpplinfo nutanix -modify -v -M my.master.server -pt Hypervisor -residence stu
To limit the number of simultaneous jobs per policy, run the following command:
bpplinfo policy_name [-policyjobs max_jobs]
For example: bpplinfo nutanix -policyjobs 50
- Create a policy schedule.
bpplsched policy_name [-v] [-M master_server,...] -add sched_label [-st sched_type] [-freq frequency]
For example: bpplsched nutanix -add Full -st FULL
Note:
If you enable Accelerator, include at least 2 full backup schedules:
- One full schedule with the Accelerator forced rescan option disabled
- Second full schedule with the Accelerator forced rescan enabled
Configure the forced rescan enabled schedule to run less frequently than the first full backup schedule.
For example, if the first full backup schedule runs weekly, run the second schedule (with the Accelerator forced rescan option enabled) every month. However, the best frequency for this schedule depends upon your environment.
To enable the Accelerator forced rescan option, set checksum_change_detection=1.
- Select the clients or virtual machines to back up.
bpplinclude policy_name -add 'Nutanix-AHV:/?filter=Displayname AnyOf '\"VM_hostname"\''
- Add a backup host using the following command:
bpplclients policy_name -add backup_host
- To enable the Accelerator feature:
Accelerator
bpplinfo policy_name -modify -use_accelerator 1 -residence STU_name -use_virtual_machine 6 -alt_client_name backup_hostname -snapshot_method "Hypervisor_snap" - snapshot_method_args "application_consistent=1,Virtual_machine_backup=1, nameuse=1,file_system_optimization=0,exclude_swap=0" -fi 1 -offhost_backup 1 -ct "Hypervisor" -active -application_discovery 1 -blkincr 1
Non-Accelerator
bpplinfo policy_name -modify -use_accelerator 0 -residence STU_name -use_virtual_machine 6 -alt_client_name backup_hostname -snapshot_method "Hypervisor_snap" - snapshot_method_args "application_consistent=1,Virtual_machine_backup=1, nameuse=1,file_system_optimization=0,exclude_swap=0" -fi 1 -offhost_backup 1 -ct "Hypervisor" -active -application_discovery 1
- Validate the policy.
bpclient -policy policy_name -validate
For example, bpclient -policy nutanix -validate
If the policy successfully validates, no output appears. Otherwise, the following error occurs: Error code 48: client hostname could not be found.
- Use the bpbackup command to start the backup.
- Use the bprestore command to start the restore.
For detailed information about the commands and additional options, refer to the NetBackup Command Reference Guide.