If you Enable Data Protection for a Service Instance, Data Management for VMware Tanzu automatically initiates a daily backup of the instance and saves it to local and cloud storage.

In addition to the automated backups, Data Management for VMware Tanzu also allows you to back up a data-protected Service Instance manually, on-demand.

The backup window that you configure for a Service Instance determines at what time Data Management for VMware Tanzu initiates the daily backup, and how long backups are retained on local and cloud storage.

When a Service Instance is created with data protection enabled, the first backup of the instance takes place immediately after it is provisioned. When data protection is enabled for a Service Instance after provisioning, the first backup of the instance takes place immediately after enabling protection. The first backup is a full backup - it contains all service data in the instance. Subsequent backups of the same instance are incremental, and include only the data that has changed since the most recent backup.

The amount of time that it will take DMS to back up a database Service Instance depends on its size and whether the backup is full or incremental.

About Backup Chains and Backup Status

The Local Backup Days that you specify when you Enable Data Protection identifies the length of a backup cycle. If you choose 7 days (the minimum value), the first backup is a full backup followed by 6 days of incremental backups. On the 8th day, the cycle resets; Data Management for VMware Tanzu takes a second full backup which will then be followed by 6 days of incremental backups.

Each full backup followed by N days of incremental backups until the next full backup forms a backup chain. Each incremental backup in a chain is dependent on the previous incremental backup, and ultimately dependent on the most recent full backup.

All backups in the current backup chain represent the most current state of the service data. Data Management for VMware Tanzu considers these backups to be ACTIVE, and does not permit you to delete them. Older, completed backup chains have an AVAILABLE status. While you are permitted to delete backups with AVAILABLE status, it is not recommended.

About Backup Properties

You can specify the backup window and retention policies for a Service Instance when you create the instance. If you chose not to Enable Data Protection at creation, you have the option to enable automated daily backup and specify the schedule and retention policies any time after instance provisioning.

Backup window and retention properties include:

Property Name Description
Daily Backup Time The time of day to back up the database.
Local Backup Days The number of days to retain a backup on local storage.
Remote Backup Days The number of days to retain a backup on cloud/remote storage.

When protection is enabled, the default values for these properties differ depending on which operation you invoked to create the Service Instance (create, clone, restore).

Enabling Automated Backups After Instance Provisioning

If Enable Data Protection was disabled when you created a Service Instance, you can choose to enable it at any time after provisioning.

Note: Once you enable automated backups for a Service Instance, you cannot disable them. You also cannot change the daily backup time or the local and remote retention periods.

Procedure

Perform the following procedure to enable automated daily backups for a Service Instance:

  1. Select Databases from the left navigation pane.

    This action displays the Database view, a table that lists the provisioned database instances.

  2. Examine the databases listed in the table, identify the database whose backup policies you wish to update, and navigate to that table row.

  3. Click the database Instance Name.

    The database information Details tab displays.

  4. Select the Backup tab.

    This action displays backup information for the instance, including the backup policy, and the daily backup time, backup retention periods, and backup files when data protection is enabled.

  5. Locate the Backup Policy, and click EDIT.

    The Protect Database dialog displays.

  6. Enter the daily backup time, and the number of days to retain local and remote backups.

  7. Click PROTECT.

    Data Management for VMware Tanzu generates a management operation of type PROTECT_DB, and automatically takes a full local and cloud backup of the Service Instance.

  8. Monitor the progress of the task in the Operations tab or in the Database Operations view:

    1. Locate the PROTECT_DB operation type and click it.
    2. Select the State History tab to view the subtasks of the operation and their status.
    3. If the operation fails, select the Error Info tab to examine the returned error information.
  9. You can similarly monitor and examine the BACKUP_DB operation details.

Initiating an On-Demand Backup

You can manually initiate a backup of a Service Instance at any time after instance provisioning. An on-demand backup may either be a full backup or an incremental backup, depending on when in the local backup cycle you initiate the backup.

A Backup file generated when you manually initiate a backup is bound to the same retention policies as a backup file generated from an automated backup.

Prerequisites

On-demand backup is available only for a Service Instance that has Enable Data Protection set to on.

Procedure

Perform the following procedure to initiate an on-demand backup of a Service Instance:

  1. Select Databases from the left navigation pane.

    This action displays the Database view, a table that lists the provisioned database instances.

  2. Examine the databases listed in the table, identify the database that you want to back up now, and navigate to that table row.

  3. Click the database Instance Name.

    The database information Details tab displays.

  4. Select the Backup tab.

    This action displays backup information for the instance, including the backup policy, and the daily backup time, backup retention periods, and backup files when data protection is enabled.

  5. Locate the Backup Files section of the pane, and click BACKUP NOW in the upper right corner.

    The Backup Database form displays.

  6. Enter the file name of the Backup Instance and click BACKUP.

    Data Management for VMware Tanzu generates a management operation of type BACKUP_DB, and takes an incremental local and cloud backup of the Service Instance.

  7. Monitor the progress of the task in the Operations tab or in the Database Operations view:

    1. Locate the BACKUP_DB operation type and click it.
    2. Select the State History tab to view the subtasks of the operation and their status.
    3. If the operation fails, select the Error Info tab to examine the returned error information.
  8. If the operation completes successfully, there is an entry in the Backup Files table for the Backup Instance file name. This backup has an ACTIVE Status.

Deleting a Backup File

You can manually delete a backup file at any time. When you delete a backup file, Data Management for VMware Tanzu deletes the file from both local and cloud storage.

You can delete any backup file with an AVAILABLE status. You cannot delete a backup file that has an ACTIVE status.

Note: Deleting a backup file is a permanent operation. You cannot recover a deleted backup.

Prerequisites

Ensure that the backup file that you want to delete is AVAILABLE.

Procedure

Perform the following procedure to delete a backup file for a Service Instance:

  1. Select Databases from the left navigation pane.

    This action displays the Database view, a table that lists the provisioned database instances.

  2. Examine the databases listed in the table, identify the database for which you want to manage the backup files, and navigate to that table row.

  3. Click the database Instance Name.

    The database information Details tab displays.

  4. Select the Backup tab.

    This action displays backup information for the instance, including the backup policy, and the daily backup time, backup retention periods, and backup files when data protection is enabled.

  5. Locate the Backup Files section of the pane.

  6. Examine the backups listed in the table, identify the backup file that you want to delete, and navigate to that table row.

  7. Click the three dots in the Actions colum, and select Delete from the pop-up menu.

    The Delete Backup dialog displays.

  8. If you are certain that you want to delete the backup, click CONFIRM.

    Data Management for VMware Tanzu generates a management operation of type DELETE_BACKUP.

  9. Monitor the progress of the task in the Operations tab or in the Database Operations view:

    1. Locate the DELETE_BACKUP operation type and click it.
    2. Select the State History tab to view the subtasks of the operation and their status.
    3. If the operation fails, select the Error Info tab to examine the returned error information.
  10. If the operation completes successfully, the row in the Backup Files table is removed.

check-circle-line exclamation-circle-line close-line
Scroll to top icon