Use Tanzu Mission Control to create backups of specified data resources in your cluster.

Using Tanzu Mission Control, you can back up an entire cluster or a subset of the data resources it contains. For more information, see Data Protection in VMware Tanzu Mission Control Concepts.

Prerequisites

To perform a backup, you must first create a target location, as described in Create a Target Location for Data Protection and associate it with the cluster group that contains your cluster.

You must also prepare the cluster, as described in Enable Data Protection for a Cluster.

Make sure you have the appropriate permissions.
  • To perform a backup, you must be associated with the cluster.admin role in the cluster.

Procedure

  1. Log in to the Tanzu Mission Control console, and then navigate to the cluster detail page for the cluster that you want to back up.
  2. Click the Data Protection tab.
  3. On the Data Protection tab, under Backups, click the Create Backup button.
    You can also initiate a backup by clicking the Create Backup link in the Data Protection box on the Overview tab of the cluster detail page.
  4. Specify the scope of the backup, and then click Next.
    • the entire cluster
    • selected namespaces
    • resources identified by a label selector
  5. You can optionally choose to exclude specific resources.
    1. Click Advanced options.
    2. Enter the name of the resource you want to exclude, and then click Add.
      Repeat this step to exclude multiple resources.
  6. Choose a target location, and then click Next.
    When All locations is selected, the dropdown list shows all target locations that have been defined for your organization. Select Currently available locations to show only the target locations that are immediately accessible from Tanzu Mission Control, and not those that might be temporarily unaccessible.
  7. Specify the schedule for the backup, and then click Next.
    You can choose Now to queue the backup immediately upon completion of this workflow, or choose one of the recurring schedule formats and provide a targeted start time. You can also choose Custom, and provide a cron expression to specify the schedule for your backup.
  8. Specify how long to retain the backup, and then click Next.
    You can specify any number of days, up to 365.
  9. Provide a name for the backup.
    The name that you provide can consist of lowercase letters, numbers, and hyphens.
  10. Click Backup.

Results

When you click Backup, Tanzu Mission Control schedules the process of backing up the resources you have specified, and then returns you to the cluster detail page, which shows you the status of the backup operation.