You can create schedules for the backup of cluster groups using Tanzu Mission Control.
Prerequisites
Make sure you have the appropriate permissions.
- To schedule data protection backups for cluster groups, you must be associated with the clustergroup.admin role in the cluster.
Procedure
- Log in to the Tanzu Mission Control console, and then navigate to the Cluster Group details page to create the backup schedule.
- Click the Data Protection tab.
- Click Create Backup Schedule in the Scheduling section of the page.
The Create Backup Schedule page appears. This page shows the current backup configuration status of clusters in the group and lets you configure the schedule to include or exclude clusters.
- In section one of the page select the clusters you want to schedule. You can select all clusters in the group, clusters based on names, or clusters based on Tanzu Mission Control labels.
- Click Refresh to preview the settings, then click Next.
- In section two of the page, configure the Kubernetes resources to back up.
You can choose to back up the entire cluster, selected namespaces, or specify by label.
- Click Next.
- Specify the volume backup method and click Next.
- Specify where to store the backup and click Next.
- Configure the backup schedule and click Next.
- Specify the backup retention period.
- Enter a name for the backup schedule and click Create
Results
The cluster group backup schedule is created and ready to run as configured. You can navigate to the cluster group data protection tab or to an individual cluster data protection tab to verify the status of backup schedules and a list of backups.