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 a policy
To create a policy inside Horizon do the following steps:
- On the Horizon console, navigate to NBOS Backups > Policies.
- Click Create Policy.
- On the Details tab, Provide the policy name, description, and the policy type as Serial or Parallel.
- On the Policy Members tab, select the VMs to protect.
- On the Schedule tab, Click Enable Scheduler to schedule the backups.
In the schedule, provide the start date, end date, start time, and the number of hours the backup must repeat.
- Provide the Retention policy on the Policy Attributes tab.
- Choose the Full Backup Interval on the Policy Attributes tab.
- If required, select Pause VM on the Options tab.
- Click Create.
The created policy will be available after a few seconds and starts to take backups according to the provided schedule and policy.
nbosjm policy-create --instance <instance-id=instance-uuid> [--display-name <display-name>] [--display-description <display-description>] [--policy-type-id <policy-type-id>] [--source-platform <source-platform>] [--jobschedule <key=key-name>] [--metadata <key=key-name>] [--policy-attribute-id <policy_attribute_id>]
--display-name Optional policy name. (Default=None)
--display-description Optional policy description. (Default=None)
--policy-type-id Policy Type ID is required
--source-platform Policy source platform is required. Supported platform is "openstack"
--instance Specify an instance to include in the policy. Specify option multiple times to include multiple instances. Instance-id: Include the instance with this UUID.
--jobschedule Specify following key value pairs for job schedule. Specify option multiple times to include multiple keys. "start_date" : "06/05/2014" "end_date" : "07/15/2014" "start_time" : "2:30 PM" "interval" : "1 hr" "snapshots_to_retain" : "2"
--metadata Specify a key value pair to include in the policy type metadata. Specify option multiple times to include multiple keys. key=value
--policy-attribute-id ID of the policy attribute to assign to the policy.