Veritas NetBackup™ for Nutanix Acropolis Hypervisor (AHV) Administrator's Guide
- Introduction to NetBackup for Acropolis Hypervisor (AHV)
- Prerequisites, notes, and restrictions
- Configuring NetBackup communication with AHV
- Configuring NetBackup policies for AHV
- Backup and recovery
- Back up the Nutanix AHV virtual machines
- Overview of the Nutanix AHV virtual machines recovery process
- Troubleshooting issues
- Appendix A. NetBackup commands to backup and restore Nutanix AHV virtual machines
Creating a BigData 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 BigData 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
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 BigData -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
- Select the clients or virtual machines to back up.
bpplclients policy_name [-M master_server,...] [-v] [-generation generation] [-reason "string"] -add host_name [-os os
Specify the virtual machine name. You can specify only one virtual machine at a time.
For example: bpplclients nutanix -add nutanixVM Linux or SUSE or Windows.
Note:
Currently, we do not validate operating system values.
- Add backup selections.
To add the parameters that are required for the backup selections, use the bpplinclude policy_name -add pathname or directive... command as shown:
bpplinclude policy_name -add Application_Type=Nutanix-AHV
bpplinclude policy_name -add Backup_Host=FQDN of the backup host
bpplinclude policy_name -add Application_Server=Fully Qualified Domain Name of the Nutanix Acropolis cluster
- Validate the policy.
bpclient -policy policy_name -validate
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.
See Creating a policy using the Backup Policy Configuration Wizard.
For detailed information about the commands and additional options, refer to the NetBackup Command Reference Guide.