Manage your backup policies

This page provides instructions for how to manage your volumes' backup policies.

Google Cloud NetApp Volumes supports the following management features:

  • Edit backup policy: edit existing backup policies, including changing descriptions, backup schedules, and labels.

  • Assign volume: assign eligible volumes to existing backup policies.

  • Create similar backup policy: a convenient way to copy a policy to a different region.

  • Resume: resume a paused backup policy to re-activate the configured backup schedule configurations and all automatic backup schedules.

  • Pause: pause a backup policy to temporarily disable the backup policy's automatic backup schedule.

  • Delete: delete a backup policy. Before you can delete a backup policy, you need to unassign all volumes.

  • Unassign volume: Unassign volumes associated with a backup policy to stop scheduled backups for the volumes.

Considerations

  • Pausing a backup policy stops backups for all associated volumes.

  • Resuming a backup policy reactivates scheduled backups for all associated volumes.

  • To delete a backup policy, you must unassign all associated volumes.

View backup policy details

  1. Go to NetApp Volumes page in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Policies, click Backup policies.

  3. Click the backup policy you want to see details for.

    The backup policies page opens. You can view the following details:

    • Resource type: displays which NetApp Volumes feature you're viewing details for.

    • State: the current status of your backup policy.

    • Resource state: the state of your backup policy.

    • Description: the description you provided for the backup policy.

    • Name: the name of your backup policy.

    • Region: the location of your backup policy.

    • Created: the date and time your backup policy was created.

    • Labels: lists labels associated with your volume.

    • Backup schedule: displays the appointed backup schedule of your backup policy.

    • Associated volumes: lists the volumes you associated with the backup policy.

      • Status: the backup policy status, including whether it is enabled or disabled.

      • Name: the name of the backup policy.

      • Backup policy allowed: displays whether the backup policy is allowed on the volume or disallowed.

      • Location: location of your volume.

      • Utilization: displays how much space has been consumed by the volume.

      • Labels: the list of labels associated with the backup policy.

      • Show more menu: actions you can perform on the volume including unassigning the volume or viewing more details.

Edit an existing backup policy

Use the following instructions to edit an existing backup policy using either the Google Cloud console or Google Cloud CLI:

Console

  1. Go to the NetApp Volumes page in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Policies, click Backup policies.

  3. In the Backup policies page, click the backup policy you want to edit.

  4. Select the volume you want to change backup policy details for.

  5. In the backup policy's details page, click Edit.

  6. In the Edit backup policy page, make the following changes to your backup policy:

    • Description: use the Description field update the description of the backup policy.

    • Backup schedule: use the Backup schedule tabs to update the number of daily, weekly, and monthly backups to retain.

    • Labels: use the Labels section and click Add label to edit existing labels or create new labels.

  7. Click Save.

gcloud

Update a backup policy:

  gcloud netapp backup-policies update BACKUP_POLICY_NAME \
   --location=LOCATION \
   --description=DESCRIPTION \
   --enabled=TRUE_OR_FALSE \
   --daily-backup-limit=DAILY_BACKUP_LIMIT \
   --weekly-backup-limit=WEEKLY_BACKUP_LIMIT \
   --monthly-backup-limit=MONTHLY_BACKUP_LIMIT \
   --update-labels=foo=bar \
   --remove-labels=foo=bar

Replace the following information:

  • BACKUP_POLICY_NAME: the name of the backup policy.

  • LOCATION: the location in which you want to create the backup policy.

  • DESCRIPTION: the description for the backup policy.

  • ENABLED: lets the backup policy update as directed.

  • DAILY_BACKUP_LIMIT: the number of daily backups in the backup policy.

  • WEEKLY_BACKUP_LIMIT: the number of weekly backups in the backup policy.

  • MONTHLY_BACKUP_LIMIT: the number of monthly backups in the backup policy.

Assign a volume to an existing backup policy

  1. Go to the NetApp Volumes page in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Storage, click Volumes.

  3. In the Volumes page, select the volume you want to create a backup for.

  4. In the volume details page, click the Backups tab.

  5. Click Assign backup policy.

  6. Using the Backup policy drop-down menu, choose the backup policy you want to assign to the volume.

  7. Using the Backup vault drop-down menu, choose the backup vault you want to store your backups in.

  8. Click Assign.

Assign a backup policy for a new volume

  1. Go to NetApp Volumes page in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Storage, click Volumes.

  3. In the Volumes page, click Create.

  4. Select the Allow scheduled snapshots checkbox.

  5. Using the Hourly, Daily, Weekly, or Monthly, tabs, select a schedule for automated snapshots.

  6. Under Backup configuration, check the Allow scheduled backups checkbox.

  7. Use the Backup policy drop-down menu to select an existing backup policy or create a new backup policy.

  8. Under Backup location, use the Backup vault drop-down menu to select a backup location.

  9. Optional: under the Labels section, click Add label to add relevant labels.

  10. Click Create.

Unassign a backup policy from a volume

  1. Go to the NetApp Volumes page in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Storage, click Volumes.

  3. In the Volumes page, select the volume you want to change backup policy details for.

  4. In the volume details page, click the Backups tab.

  5. Select Manage backup policy.

  6. Click Unassign backup policy.

    A message appears confirming that you are unassigning the backup policy for the specific volume. To confirm, click Unassign.

Pause backup policy for volume

  1. Go to the NetApp Volumes page in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Storage, click Volumes.

  3. In the Volumes page, select the volume you want to change backup policy details for.

  4. In the volume details page, click the Backups tab.

  5. Select Manage backup policy.

  6. Clear the Allow scheduled backups checkbox.

    The policy pauses for the volume.

  7. Click Save.

Resume a paused backup policy

  1. Go to the NetApp Volumes page in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Policies, click Backup policies.

  3. In the Backup policies page, select the paused backup policy you want to resume.

  4. Click Resume.

Delete a backup policy

You can delete a backup policy if the policy has no associated volumes. Use the following instructions to delete a backup policy using either the Google Cloud console or Google Cloud CLI.

Console

  1. Go to NetApp Volumes in the Google Cloud console.

    Go to NetApp Volumes

  2. Under Policies, click Backup policies.

  3. In the Backup policies page, select the backup policy you want to delete.

  4. In the backup policy details page, click Delete.

    A message appears that prompts you to confirm deletion.

  5. In the Backup policy name field, enter the name of the backup policy you want to delete.

  6. Click Delete.

gcloud

Delete a backup policy:

  gcloud netapp backup-policies delete BACKUP_POLICY_NAME \
   --location=LOCATION

Replace the following information:

  • BACKUP_POLICY_NAME: the name of the backup policy.

  • LOCATION: the location from which you want to delete the policy.

What's next

Read about volume replication.