Create a backup vault

This page provides instructions for how to create a backup vault.

Create a backup vault

Use the following instructions to create a backup vault using the Google Cloud console or Google Cloud CLI:

Console

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

    Go to NetApp Volumes

  2. Under Data protection, click Backup vaults.

  3. In the Backup vaultspage, click Create.

  4. In the Namefield, enter a name for the backup vault. Your backup vault name must be unique to the region, use lowercase letters, numbers, hyphens, and start with a letter. Your choice is permanent.

  5. Optional: in the Descriptionfield, enter a description for the backup vault.

  6. Use the Regiondrop-down menu to select a location for the backup vault. Make sure that the location you choose is the same region where the volumes you want to back up are located.

  7. Under Type, select one of the following:

    • Select In-regionto store backups in the same region as the volume.

    • Select Cross-regionto specify a different region for storing the backups. From the Destination regiondrop-down menu, select your destination region.

      To view details about the types, click Compare the backup vault types.

  8. Optional: under Prevent backup deletion, complete the following steps:

    1. Select the Enable minimum enforced retentioncheckbox.

    2. Enter the minimum number of days the backups in the vault are retained in the Minimum enforced retention daysfield. The value must be between 2 to 5475 days. This value can only be increased, but can't be decreased.

    3. Under Types of backups to retain, select the backup types you want to retain from the following. You must select at least one backup type.

      • Daily

      • Weekly

      • Monthly

      • Manual

  9. Optional: under the Labelssections, click Add labelto enter relevant labels for reporting and querying purposes.

  10. Click Create.

gcloud

Create an in-region backup vault:

gcloud  
netapp  
backup-vaults  
create  
 BACKUP_VAULT 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--backup-vault-type = 
IN_REGION  
 \ 
  
--description = 
 DESCRIPTION 
  
 \ 
  
--labels = 
 foo 
 = 
bar

Create a cross-region backup vault:

gcloud  
beta  
netapp  
backup-vaults  
create  
 BACKUP-VAULT 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--backup-vault-type = 
CROSS_REGION  
 \ 
  
--backup-region = 
 REMOTE_LOCATION 
  
 \ 
  
--description = 
 DESCRIPTION 
  
 \ 
  
--labels = 
 foo 
 = 
bar

Create a backup vault with deletion prevention:

gcloud  
beta  
netapp  
backup-vaults  
create  
 BACKUP-VAULT 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--backup-region = 
 REMOTE_LOCATION 
  
 \ 
  
--backup-retention-policy = 
 \ 
  
backup-minimum-enforced-retention-days = 
 DAYS 
,  
 \ 
  
daily-backup-immutable = 
 FALSE 
,  
 \ 
  
weekly-backup-immutable = 
 TRUE 
,  
 \ 
  
monthly-backup-immutable = 
 FALSE 
,  
 \ 
  
manual-backup-immutable = 
 FALSE 
,  
 \ 
  
--description = 
 DESCRIPTION 
  
 \ 
  
--labels = 
 foo 
 = 
bar

Replace the following information:

  • BACKUP-VAULT : the name of the backup vault.

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

  • REMOTE_LOCATION : the location of the cross-region destination backup vault.

  • BACKUP_RETENTION_POLICY : a parameter block describing the details of the configuration:

    • Backup-minimum-enforced-retention-days: number of days to retain the specified backup types.

    • Available backup types are: daily-backup-immutable, weekly-backup-immutable, monthly-backup-immutable, and manual-backup-immutable. To enable the retention period for a specific type, set its value to true. Note that at least one backup type must have its retention period enabled. When you enable a backup type, you can't disable it.

  • DESCRIPTION : the description for the backup vault.

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

What's next

Create a backup policy .

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