NetBackup™ for OpenStack Administrator's Guide
- Introduction
- Deploying NetBackup for OpenStack
- Requirements
- NetBackup for OpenStack network considerations
- Preparing the installation
- Spinning up the NetBackup for OpenStack VM
- Installing NetBackup for OpenStack Components
- Installing on RHOSP
- Prepare for deployment
- Updating the overcloud roles data file to include NetBackup for OpenStack services
- Verifying the deployment
- Additional Steps on NetBackup for OpenStack Appliance
- Installing on Ansible OpenStack Ussuri
- Installing on Kolla Ussuri
- Pushing NetBackup for OpenStack images to the local registry
- Installing on RHOSP
- Configuring NetBackup for OpenStack
- Post Installation Health-Check
- Uninstalling NetBackup for OpenStack
- Uninstalling from RHOSP
- Uninstalling from Ansible OpenStack
- Uninstalling from Kolla Openstack
- Uninstalling from RHOSP
- Install nbosjm CLI client
- Configuring NetBackup OpenStack Appliance
- Configuring NetBackup Master Server
- NetBackup for OpenStack policies
- Performing backups and restores of OpenStack
- About restores
- Required restore.json for CLI
- Configuring and starting a file search in Horizon
- Performing Backup Administration tasks
- NBOS Backup Admin Area
- Policy Attributes
- Policy Quotas
- Managing Trusts
- Policy import and migration
- Disaster Recovery
- Example runbook for disaster recovery using NFS
- Disaster recovery of a single policy
- Copy the policy directories to the configured NFS Volume
- Make the Mount-Paths available
- Reassign the policy
- Restore the policy
- Clean up
- Disaster recovery of a complete cloud
- Reconfigure the Target NetBackup for OpenStack installation
- Make the Mount-Paths available
- Reassign the policy
- Restore the policy
- Reconfigure the Target NetBackup for OpenStack installation back to the original one
- Clean up
- Troubleshooting
- General Troubleshooting Tips
- Health check of NetBackup for OpenStack
- Important log files
Create policy attributes
To create policy attributes in Horizon follow these steps:
Log on to Horizon using an administrator user.
Navigate to Admin > NBOS Backup Admin > NetBackupOpenStack > Policy Attributes.
Click
.Provide the policy attribute name and the description on the Details tab.
In
field, specify the number of hours to repeat the backup.Select
and enter the value.Number of snapshots to keep
Number of days to retain snapshots
Select one of the options for Full Backup Interval.
Always
Number of Snapshots
Click
.
nbosjm policy-create --policy-attribute-fields <key=key-name> [--display-description <display_description>] [--metadata <key=key-name>] [--display-name <display-name>]
--policy-attribute-fields <key=key-name> Specify the following key-value pairs for policy attribute fields. Specify option multiple times to include multiple keys.
interval Specify the number of hours to repeat the backup.
Allowed values: 1 to 24
Default value: 1
retention_policy_type Specify the snapshot retention type.
Allowed values: Number of Snapshots to Keep or Number of days to retain Snapshots
Default value: Number of Snapshots to Keep
retention_policy_value Specify the number of snapshots or days to retain the snapshots.
Allowed values: 1 to 365
Default value: 30
fullbackup_interval Specify the number of incremental backups after which to take the full backup.
Allowed values: 0 to 999. Specify 0 to always take the full backup.
Default value: 5
For example,
nbosjm policy-create - policy-attribute-fields interval="1 hr" - policy-attribute-fields retention_policy_type="Number of Snapshots to Keep" - policy-attribute-attribute-fields retention_policy_value="30" - policy-attribute-fields fullbackup_interval="2"
--display-description <display_description> Optional policy description. (Default=No description)
--metadata <key=keyname> Specify key-value pairs to include in the policy type metadata. Specify option multiple times to include multiple keys.
--display-name <display-name> Specify the name for the policy.