Create enhanced backups

Enhanced backups are managed by Backup and DR Service. Backups are stored in a backup vault managed by Backup and DR, and backup plans manage the backup settings. This solution provides immutable backups that are independent of the source project. The backups can't be deleted without authorization or if the deletion violates a strict policy. For more information, see Backup and DR overview.

Before you begin

  • Ensure you have enabled the APIs for Filestore and Backup and DR Service. For the list of required roles and permissions, see Before you begin.

  • To create enhanced backups and allow scheduling you need a backup vault to store your enhanced backups and a backup plan with scheduling configuration.

Schedule an enhanced backup

You can schedule an enhanced backup for a Filestore instance by associating a backup plan with your instance. The backup plan has the schedule for backing up your data periodically.

Console

  1. In Google Cloud console, go to the Filestore Instances page.

    Go to Instances

  2. Select the instance you want to back up from the table.

  3. In the Backups tab, click Schedule backup.

  4. Click Next.

  5. In the Select backup plan step, click Select and choose the backup plan from the table.

  6. (Optional) To add the default backup plan to the list, check the Add a default backup plan checkbox. Adding the plan doesn't create the backup plan, it only adds the plan configuration to the list. The plan is created and attached to the instance after the backup schedule configuration is completed.

  7. Click Schedule backup.

gcloud

For instructions on how to create an enhanced on-demand backup using Google Cloud CLI, see Configure a scheduled backup.

Create an enhanced backup

Creating an enhanced, on-demand, backups is available only for instances with associated backup plans.

Console

  1. In Google Cloud console, go to the Filestore Instances page.

    Go to Instances

  2. In the Backups tab, click Create enhanced on-demand backup.

  3. Set the deletion rule:

  • Based on custom retention period: specify the number of days to pass before the backup is deleted. The value must be between 1 and 31.
  • Based on an existing backup rule: choose the backup rule from the list to define the backup deletion time.
  1. Click Create.

gcloud

For instructions on how to create an enhanced on-demand backup using Google Cloud CLI, see Create an enhanced backup.

View backup plan details

To view backup plan details, follow these steps:

Console

  1. In Google Cloud console, go to the Filestore Instances page.

    Go to Instances

  2. Click the instance ID and go to Backups tab.

  3. In the Enhanced (managed by Backup and DR) section, click Show details to view the details of the backup plan.

gcloud

To list the backup plans using Google Cloud CLI, follow the instructions in List backup plans.

Change a backup plan

To change a backup plan using Filestore, follow these steps:

Console

  1. In Google Cloud console, go to the Filestore Instances page.

    Go to Instances

  2. Click the instance ID and go to Backups tab.

  3. In the Enhanced (managed by Backup and DR) section, click to edit the already assigned backup plan.

  4. Select a new backup plan from the table.

  5. Click Apply and wait until new backup plan is assigned.

Backup and DR Service

You can change the backup plan associated with your Filestore instance using Backup and DR Service. For detailed instructions on switching a backup plan see Change the backup plan applied to a Filestore instance.

View backups

To view enhanced backups and their details, follow these steps:

Console

  1. In Google Cloud console, go to the Filestore Backups page.

    Go to Backups

  2. Click the Enhanced tab.

  3. Select the instance and backup vault from the list to display backups.

gcloud

To list enhanced backups using Google Cloud CLI, see the instructions in List scheduled backups.

What's next