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.

  • Destination volumes of a volume replication can't create scheduled backups. Scheduled backups can be created only on the source volume. Before running reverse and resume replication , you need to disable scheduled backups from the volume that becomes new destination volume. This disables the backups. Its recommended to configure the scheduled backups on the volume that becomes new source volume.

View backup policy details

Console

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

    Go to NetApp Volumes

  2. Click Backup policiesfrom the Policiesmenu.

  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.

gcloud

To view all the backup policies:

  
 gcloud 
  
 neta 
 pp 
  
 backup 
 - 
 policies 
  
 lis 
 t 

To lookup a specific backup policy:

  
gcloud  
netapp  
backup-policies  
describe  
 POLICY_NAME 
  
 \ 
  
--location = 
 LOCATION 
  

Replace the following information:

  • POLICY_NAME : the name of the backup policy.

  • LOCATION : the location of the backup policy.

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 Volumespage in the Google Cloud console.

    Go to NetApp Volumes

  2. Click Backup policiesfrom the Policiesmenu.

  3. In the Backup policiespage, 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 policypage, make the following changes to your backup policy:

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

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

    • Labels: use the Labelssection and click Add labelto 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

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

Console

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

    Go to NetApp Volumes

  2. Click Volumesfrom the Storagemenu.

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

  4. In the volume details page, click the Backupstab.

  5. Click Assign backup policy.

  6. Select the backup policy you want to assign to the volume from the Backup policymenu.

  7. Select the backup vault you want to store your backups in from the Backup vaultmenu.

  8. Click Assign.

gcloud

To assign a backup policy to a volume, add the backup policy to the volume configuration:

  
gcloud  
netapp  
volumes  
update  
 VOLUME_NAME 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--backup-config = 
backup-policies = 
 POLICY_RESOURCE_PATH 
,enable-scheduled-backups = 
 TRUE_OR_FALSE 

Replace the following information:

  • VOLUME_NAME : the name of the volume.

  • LOCATION : the location of the volume.

  • POLICY_RESOURCE_PATH : full resource path of the backup policy. Format as projects/ PROJECT_ID /locations/ POLICY_LOCATION /backupPolicies/ POLICY_NAME

Assign a backup policy for a new volume

Use the following instructions to assign a backup policy for a new volume using either the Google Cloud console or Google Cloud CLI:

Console

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

    Go to NetApp Volumes

  2. Click Volumesfrom the Storagemenu.

  3. In the Volumespage, click Create.

  4. Configure all volume settings as required.

  5. Check the Allow scheduled backupscheckbox from the Backup configurationsection.

  6. Use the Backup policymenu to select an existing backup policy or create a new backup policy .

  7. Use the Backup vaultmenu to select a backup location from the Backup locationsection.

  8. Optional: click Add labelto add relevant labels from the Labelssection.

  9. Click Create.

gcloud

If you want to configure backup as part of the volume creation, add the backup-config parameter to your volume creation command:

  
gcloud  
netapp  
volumes  
create  
 VOLUME_NAME 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--storage-pool = 
 STORAGE_POOL 
  
 \ 
  
--capacity = 
  1024 
 
  
 \ 
  
--share-name = 
 SHARE_NAME 
  
 \ 
  
--protocols = 
 PROTOCOL 
  
 \ 
  
--backup-config = 
backup-policies = 
 POLICY_RESOURCE_PATH 
,backup-vault = 
 VAULT_RESOURCE_PATH 
,enable-scheduled-backups = 
 TRUE_OR_FALSE 

Replace the following information:

  • VOLUME_NAME : the name of the volume.

  • LOCATION : the location of the volume.

  • STORAGE_POOL : the storage pool to create the volume in.

  • CAPACITY : the capacity of the volume.

  • SHARE_NAME : the NFS export path or SMB share name of the volume.

  • PROTOCOLS : the protocol for the volume.

  • VAULT_RESOURCE_PATH : full resource path of the backup vault. Format as projects/ PROJECT_ID /locations/ VAULT_LOCATION /backupVaults/ VAULT_NAME

  • POLICY_RESOURCE_PATH : full resource path of the backup policy. Format as projects/ PROJECT_ID /locations/ POLICY_LOCATION /backupPolicies/ POLICY_NAME

For more information, see Google Cloud SDK documentation for NetApp Volumes .

Unassign a backup policy from a volume

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

    Go to NetApp Volumes

  2. Click Volumesfrom the Storagemenu.

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

  4. In the volume details page, click the Backupstab.

  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

Use the following instructions to pause a backup policy for volume using either the Google Cloud console or Google Cloud CLI:

Console

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

    Go to NetApp Volumes

  2. Click Volumesfrom the Storagemenu.

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

  4. In the volume details page, click the Backupstab.

  5. Select Manage backup policy.

  6. Clear the Allow scheduled backupscheckbox.

    The policy pauses for the volume.

  7. Click Save.

gcloud

  
gcloud  
netapp  
volumes  
update  
 VOLUME_NAME 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--backup-config = 
enable-scheduled-backups = 
 FALSE 

Replace the following information:

  • VOLUME_NAME : the name of the volume.

  • LOCATION : the location of the volume.

Resume a paused backup policy

Use the following instructions to resume a paused backup policy using either the Google Cloud console or Google Cloud CLI:

Console

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

    Go to NetApp Volumes

  2. Click Backup policiesfrom the Policiesmenu.

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

  4. Click Resume.

gcloud

  
gcloud  
netapp  
volumes  
update  
 VOLUME_NAME 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--backup-config = 
enable-scheduled-backups = 
 TRUE 

Replace the following information:

  • VOLUME_NAME : the name of the volume.

  • LOCATION : the location of the volume.

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. Click Backup policiesfrom the Policiesmenu.

  3. In the Backup policiespage, 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 namefield, 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 .

Create a Mobile Website
View Site in Mobile | Classic
Share by: