gcloud netapp backup-vaults backups create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud netapp backup-vaults backups create - create a Cloud NetApp Backup
- SYNOPSIS
gcloud 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
- 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:
gcloudnetappbackup-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 the
projectattribute:- provide the argument
backupon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
To set the
backup_vaultattribute:- provide the argument
backupon the command line with a fullyspecified name; - provide the argument
--backup-vaulton the command line.
This must be specified.
BACKUP- ID of the backup or fully qualified identifier for the backup.
To set the
backupattribute:- provide the argument
backupon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The location of the backup.
To set the
locationattribute:- provide the argument
backupon the command line with a fullyspecified name; - provide the argument
--locationon the command line; - set the property
netapp/location.
- provide the argument
- provide the argument
- 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.
- 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 the
projectattribute:- provide the argument
--backup-vaulton the command line with afully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
To set the
locationattribute:- provide the argument
--backup-vaulton the command line with afully specified name; - provide the argument
--locationon the command line; - set the property
netapp/location.
- provide the argument
--backup-vault=BACKUP_VAULT- ID of the backup_vault or fully qualified identifier for the backup_vault.
To set the
backup_vaultattribute:- provide the argument
--backup-vaulton the command line.
- provide the argument
--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 the
projectattribute:- provide the argument
--source-snapshoton the command line with afully specified name; - provide the argument
--projecton the command line; - set the property
core/project.
To set the
locationattribute:- provide the argument
--source-snapshoton the command line with afully specified name; - set the property
netapp/location.
To set the
volumeattribute:- provide the argument
--source-snapshoton the command line with afully specified name.
- provide the argument
--source-snapshot=SOURCE_SNAPSHOT- ID of the snapshot or fully qualified identifier for the snapshot.
To set the
snapshotattribute:- provide the argument
--source-snapshoton the command line.
- provide the argument
- 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 the
projectattribute:- provide the argument
--source-volumeon the command line with afully specified name; - provide the argument
--volumeon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
To set the
locationattribute:- provide the argument
--source-volumeon the command line with afully specified name; - provide the argument
--volumeon the command line with a fullyspecified name; - provide the argument
--locationon the command line; - set the property
netapp/location.
- provide the argument
--source-volume=SOURCE_VOLUME- ID of the volume or fully qualified identifier for the volume.
To set the
volumeattribute:- provide the argument
--source-volumeon the command line; - provide the argument
--volumeon the command line.
- provide the argument
- 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 helpfor details. - NOTES
- This variant is also available:
gcloudbetanetappbackup-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.