gcloud beta netapp backup-vaults backups create

NAME
gcloud beta netapp backup-vaults backups create - create a Cloud NetApp Backup
SYNOPSIS
gcloud beta netapp backup-vaults backups create(BACKUP :--location=LOCATION)[--async][--backup-vault=BACKUP_VAULT][--description=DESCRIPTION][--labels=[KEY=VALUE,…]][--source-snapshot=SOURCE_SNAPSHOT][--source-volume=SOURCE_VOLUME][GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Create a Cloud NetApp Backup.
EXAMPLES
The following command creates a Backup named BACKUP attached to a Backup Vaultnamed BACKUP_VAULT, and a source volume named SOURCE_VOL asynchronously usingthe specified arguments:
gcloudbetanetappbackup-vaultsbackupscreateBACKUP--location=LOCATION--async--backup-vault=BACKUP_VAULT--source-volume=SOURCE_VOL
POSITIONAL ARGUMENTS
Backup resource - The Backup to create The arguments in this group can be usedto specify the attributes of this resource. (NOTE) Some attributes are not givenarguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentbackup on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

To set thebackup_vault attribute:

  • provide the argumentbackup on the command line with a fullyspecified name;
  • provide the argument--backup-vault on the command line.

This must be specified.

BACKUP
ID of the backup or fully qualified identifier for the backup.

To set thebackup attribute:

  • provide the argumentbackup on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
The location of the backup.

To set thelocation attribute:

  • provide the argumentbackup on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertynetapp/location.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
Backup vault resource - The Backup Vault that the Backup is stored in Thisrepresents a Cloud resource. (NOTE) Some attributes are not given arguments inthis group but can be set in other ways.

To set theproject attribute:

  • provide the argument--backup-vault on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

To set thelocation attribute:

  • provide the argument--backup-vault on the command line with afully specified name;
  • provide the argument--location on the command line;
  • set the propertynetapp/location.
--backup-vault=BACKUP_VAULT
ID of the backup_vault or fully qualified identifier for the backup_vault.

To set thebackup_vault attribute:

  • provide the argument--backup-vault on the command line.
--description=DESCRIPTION
A description of the Cloud NetApp Backup Vault
--labels=[KEY=VALUE,…]
List of label KEY=VALUE pairs to add.

Keys must start with a lowercase character and contain only hyphens(-), underscores (_), lowercase characters, andnumbers. Values must contain only hyphens (-), underscores(_), lowercase characters, and numbers.

Snapshot resource - The full name of the Source Snapshot that the Backup isbased on', Format:projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}This represents a Cloud resource. (NOTE) Some attributes are not given argumentsin this group but can be set in other ways.

To set theproject attribute:

  • provide the argument--source-snapshot on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

To set thelocation attribute:

  • provide the argument--source-snapshot on the command line with afully specified name;
  • set the propertynetapp/location.

To set thevolume attribute:

  • provide the argument--source-snapshot on the command line with afully specified name.
--source-snapshot=SOURCE_SNAPSHOT
ID of the snapshot or fully qualified identifier for the snapshot.

To set thesnapshot attribute:

  • provide the argument--source-snapshot on the command line.
Volume resource - The full name of the Source Volume that the Backup is basedon', Format:projects/{projects_id}/locations/{location}/volumes/{volume_id}This represents a Cloud resource. (NOTE) Some attributes are not given argumentsin this group but can be set in other ways.

To set theproject attribute:

  • provide the argument--source-volume on the command line with afully specified name;
  • provide the argument--volume on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

To set thelocation attribute:

  • provide the argument--source-volume on the command line with afully specified name;
  • provide the argument--volume on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertynetapp/location.
--source-volume=SOURCE_VOLUME
ID of the volume or fully qualified identifier for the volume.

To set thevolume attribute:

  • provide the argument--source-volume on the command line;
  • provide the argument--volume on the command line.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

NOTES
This command is currently in beta and might change without notice. This variantis also available:
gcloudnetappbackup-vaultsbackupscreate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-21 UTC.