This page provides instructions about how to create a backup policy.
Considerations
- Each backup policy must retain a minimum of two daily backups.
Create a new backup policy
Use the following instructions to create a backup policy using the Google Cloud console or Google Cloud CLI.
Console
-
Go to NetApp Volumespage in the Google Cloud console.
-
Under Policies, click Backup policies.
-
In the Backup policiespage, click Create.
-
In the Namefield, enter a name for the backup policy. The name must be unique to the project.
-
Optional: in the Descriptionfield, enter a description for the backup policy.
-
Click the Regiondrop-down, select the region of the backup vault storing your backups. Your choice is permanent.
-
Using the Daily, Weekly, and Monthlytabs, configure your backup schedule:
For each interval (daily, weekly, and monthly), use the Backups to keepfield to enter the amount of backups you want to keep.
-
Optional: under the Labelssection, click Add labelto enter relevant labels for reporting and querying purposes.
-
Click Create.
gcloud
gcloud netapp backup-policies create BACKUP_POLICY \ --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 \ --labels = foo = bar
Replace the following information:
-
BACKUP_POLICY: 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. -
TRUE_OR_FALSE: mark asTRUEto enable backups orFALSEto disable backups. -
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.
For more options, see Google Cloud SDK documentation for NetApp Volumes .

