Use the following instructions to create a volume using the Google Cloud console or Google Cloud CLI.
Create a new backup policy
Go to NetApp Volumes page in the Google Cloud console.
Under Policies, click Backup policies.
In the Backup policies page, click Create.
In the Name field, enter a name for the backup policy. The name must be unique to the project.
Optional: in the Description field, enter a description for the backup policy.
Click the Region drop-down, select the region of the backup vault storing your backups. Your choice is permanent.
Using the Daily, Weekly, and Monthly tabs, configure your snapshot schedule:
For each interval (daily, weekly, and monthly), use the Backups to keep field to enter the amount of backups you want to keep.
Optional: under the Labels section, click Add label to enter relevant labels for reporting and querying purposes.
gcloud beta 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:
: 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 as
TRUEto enable backups or
FALSEto 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, run the following command:
gcloud netapp volumes describe -help