Create a backup

This page provides instructions for how to create a backup using Google Cloud NetApp Volumes.

Considerations

  • NetApp Volumes supports a maximum of 1,000 backups per volume.

  • All backups must be assigned to a backup vault.

  • NetApp Volumes lets you create scheduled backups by assigning a backup policy to a volume, or you can create manual backups of a volume using the Google Cloud console, Google Cloud CLI, or API.

Create a manual backup

There are two ways to create a manual backup of an existing volume:

  • Volume-centric workflow

  • Backup-centric workflow

Volume-centric workflow

  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, select the volume you want to create a backup for to expand its details.

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

  5. Click Create backup.

  6. In the Backup name field, enter a name for the backup. The name you choose must be unique to the region, contain lowercase letters, numbers, and hyphens. The name cannot be changed after the backup has been created.

  7. Optional: in the Description field, enter a description for the backup.

  8. Under Backup source, choose a source to backup your data from:

    • Volume's current state: back up from the current state of a volume.

    • Existing snapshot: back up from an existing snapshot.

      Use the Snapshot drop-down menu to select a previously created snapshot. If no snapshots have been taken on the volume, the volume's current state radio button is selected by default.

  9. Under Backup location, use the Backup vault drop-down menu to select a location to store your backups.

  10. Optional: Under the Labels section, click Add label to enter labels for reporting and querying purposes.

  11. Click Create.

Backup-centric workflow

Console

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

    Go to NetApp Volumes

  2. Under Data protection, click Backups.

  3. In the Backups page, click Create.

  4. In the Backup name field, enter a name for your backup. The name must be unique to the region, contain lowercase letters, numbers, hyphens, and start with a letter. Your choice is permanent.

  5. Optional: In the Description field, enter a description for the backup.

  6. Under Volume details, click Select volume to select a volume to be backed up.

  7. From the volumes list, select the volume you want to back up and click Select.

  8. Under Backup source, select a source for your backups:

    • Volume's current state: back up from the current state of a volume.

    • Existing snapshot: back up from an existing snapshot.

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

  10. Optional: under Labels, click Add label to enter labels for reporting and querying purposes.

  11. Click Create.

gcloud

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

Run the following command to create a backup:

  gcloud netapp backup-vaults backups create BACKUP_NAME 
--location=LOCATION
--backup-vault=BACKUP_VAULT
--description=DESCRIPTION
--source-volume=SOURCE_VOLUME
--source-snapshot=SOURCE_SNAPSHOT
--labels=foo=bar

Replace the following information:

  • BACKUP_NAME: the name of your new backup.

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

  • BACKUP_VAULT: the name of the backup vault.

  • DESCRIPTION: the description for the backup.

  • SOURCE_VOLUME: the resource name of the volume to back up.

  • SOURCE_SNAPSHOT: the resource name of the snapshot you want to use to create the backup. This flag is optional.

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

What's next

Create a new volume from an existing backup.