Setting up backup policies
After you create a policy, you can assign them to applications so that application data is backed up in the specified frequency and stored in the defined storage, such as object storage or in place snapshot. You can set up backups for applications of the local cluster from the Applications page. To setup backup for applications of both hub and spoke clusters, go to Backed up applications page.
Set up policies from the Applications page
Before you begin
About this task
The high-level steps to set policies for applications are as follows:
- Go to the Applications page.
- Select one or more applications for which you want to assign a backup policy.
- Assign one or more policies for the selected applications, and click Assign. You can also initiate an immediate backup.
Procedure
Set up policies from Backed up applications page
Before you begin
As a prerequisite, you must have created policies.
- Ensure one or more policies exist.
- If you want the application VMs to be backed up and restored, then you need to ensure that the
following prerequisites are met:
- Bare Metal cluster is available
- OpenShift Virtualization feature is installed from the Operator Hub of OpenShift® Container Platform console.
Note: Support is available VMs based on Filesystem PVCs (PersistentVolume has thevolumeMode: Filesystemdefined). From 2.8 release, the Block mode volumes (volumeMode: Block) support is available as a technical preview.Recipes for VMs are not supported.
Ensure you are aware of the Backup & Restore service related issues before you protect your applications. For more information about issues and how to resolve them, see Troubleshooting Backup & Restore service issues.