- NAME
-
- gcloud backup-dr backups delete - delete the specified Backup
- SYNOPSIS
-
-
gcloud backup-dr backups delete(BACKUP:--backup-vault=BACKUP_VAULT--data-source=DATA_SOURCE--location=LOCATION) [--async] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Delete the specified Backup.
- EXAMPLES
-
To delete a backup
sample-backupin backup vaultsample-vault, data sourcesample-ds, projectsample-projectand locationus-central1, run:gcloud backup-dr backups delete sample-backup --backup-vault=sample-vault --data-source=sample-ds --project=sample-project --location=us-central1 - POSITIONAL ARGUMENTS
-
-
Backup resource - Name of the backup to delete. The arguments in this group can
be used to specify the attributes of this resource. (NOTE) Some attributes are
not given arguments in this group but can be set in other ways.
To set the
projectattribute:-
provide the argument
backupon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
This must be specified.
BACKUP-
ID of the Backup or fully qualified identifier for the Backup.
To set the
nameattribute:-
provide the argument
backupon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--backup-vault=BACKUP_VAULT-
The ID of the Backup Vault.
To set the
backup-vaultattribute:-
provide the argument
backupon the command line with a fully specified name; -
provide the argument
--backup-vaulton the command line.
-
provide the argument
--data-source=DATA_SOURCE-
The ID of the Data Source.
To set the
data-sourceattribute:-
provide the argument
backupon the command line with a fully specified name; -
provide the argument
--data-sourceon the command line.
-
provide the argument
--location=LOCATION-
The location of the Backup.
To set the
locationattribute:-
provide the argument
backupon the command line with a fully specified name; -
provide the argument
--locationon the command line.
-
provide the argument
-
provide the argument
-
Backup resource - Name of the backup to delete. The arguments in this group can
be used to specify the attributes of this resource. (NOTE) Some attributes are
not given arguments in this group but can be set in other ways.
- FLAGS
-
--async-
Return immediately, without waiting for the operation in progress to complete.
The default is
True. Enabled by default, use--no-asyncto disable.
- 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. - BRIEF
- Deletes a specific backup
- NOTES
-
This variant is also available:
gcloud alpha backup-dr backups delete
gcloud backup-dr backups delete
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.