Back up and restore a cloud volume

Last reviewed 2023-03-14 UTC

Protecting your data is an important aspect of data management. Cloud Volumes Service has the ability to send volumes of the CVS service type to Google Cloud Object Storage for long-term backup and archive. This data management feature complements volume snapshots, which provide access for development or test use cases that require short-term recovery. For more information, see Pricing.

You can only back up and restore volumes of the CVS service type. The service supports up to 10 concurrent backup or restore operations, and your client I/O may slow down during these operations. For better performance, you can use a larger pool size that supports greater throughput.

For examples that demonstrate how to use the API to program the automatic creation of backups, list backups, and restore from a backup, see Cloud Volumes APIs.

Back up a cloud volume

Use the following instructions to back up a cloud volume:

  1. In the Google Cloud console, go to the Backups page.

    Go to the Backups page

  2. Click Create.

  3. On the Create backup page, complete the following fields:

    • Name: Enter a unique name that describes the backup.
    • Region: Specify the region where the volume you want to back up resides. If this is a CVS service type region, also select the zone.
    • Volume: Select the volume that you want to back up.
  4. Click Create.

Restore a cloud volume from a backup

Use the following instructions to restore a cloud volume from a backup:

  1. In the Google Cloud console, go to the Backups page.

    Go to the Backups page

  2. Select the volume to restore.

  3. Next to the volume that you want to restore, click More, and then click Restore.

    After you click Restore, you are redirected to the Create file system page.

  4. Select an existing storage pool or create a new storage pool as a destination for volume restoration. Only pools in the same location are offered for restoration.

  5. Verify whether the Storage pool available capacity value is large enough to accommodate the volume to restore. If it isn't, increase the size of the storage pool.

  6. Enter a name for the volume.

  7. In the Allocated capacity field, enter the size of the volume to create.

    The field is prepopulated with the size of the source volume.

  8. Choose the Protocol type and set volume and protocol-specific options.

  9. Click Save.

  10. Go to the Volumes page to see the new volume.

What's next