mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Apr 23 10:54:24 UTC 2025
This commit is contained in:
parent
b589c4c4ad
commit
4d8dd33b3e
138 changed files with 4506 additions and 597 deletions
|
|
@ -30,6 +30,9 @@ COMMANDS
|
|||
list
|
||||
List Backups.
|
||||
|
||||
update
|
||||
Update the specified Backup.
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
|
|
|
|||
112
gcloud/backup-dr/backups/update
Normal file
112
gcloud/backup-dr/backups/update
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
NAME
|
||||
gcloud backup-dr backups update - update the specified Backup
|
||||
|
||||
SYNOPSIS
|
||||
gcloud backup-dr backups update
|
||||
(BACKUP : --backup-vault=BACKUP_VAULT
|
||||
--data-source=DATA_SOURCE --location=LOCATION)
|
||||
--enforced-retention-end-time=ENFORCED_RETENTION_END_TIME [--async]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Update the specified Backup.
|
||||
|
||||
EXAMPLES
|
||||
To update the enforced retention of a backup sample-backup in backup vault
|
||||
sample-vault, data source sample-ds, project sample-project and location
|
||||
us-central1, run:
|
||||
|
||||
$ gcloud backup-dr backups update sample-backup \
|
||||
--backup-vault=sample-vault --data-source=sample-ds \
|
||||
--project=sample-project --location=us-central1 \
|
||||
--enforced-retention-end-time="2025-02-14T01:10:20Z"
|
||||
|
||||
To update the expire time of a backup sample-backup in backup vault
|
||||
sample-vault, data source sample-ds, project sample-project and location
|
||||
us-central1, run:
|
||||
|
||||
$ gcloud backup-dr backups update sample-backup \
|
||||
--backup-vault=sample-vault --data-source=sample-ds \
|
||||
--project=sample-project --location=us-central1 \
|
||||
--expire-time="2025-02-14T01:10:20Z"
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Backup resource - Name of the backup to update. 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 project attribute:
|
||||
◆ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on 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 name attribute:
|
||||
▸ provide the argument backup on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--backup-vault=BACKUP_VAULT
|
||||
The ID of the Backup Vault.
|
||||
|
||||
To set the backup-vault attribute:
|
||||
▸ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --backup-vault on the command line.
|
||||
|
||||
--data-source=DATA_SOURCE
|
||||
The ID of the Data Source.
|
||||
|
||||
To set the data-source attribute:
|
||||
▸ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --data-source on the command line.
|
||||
|
||||
--location=LOCATION
|
||||
The location of the Backup.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument backup on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--enforced-retention-end-time=ENFORCED_RETENTION_END_TIME
|
||||
Backups cannot be deleted until this time or later. This period can be
|
||||
extended, but not shortened. It should be specified in the format of
|
||||
"YYYY-MM-DD".
|
||||
|
||||
◆ For backup configured with a backup appliance, there are additional
|
||||
restrictions: 1. Enforced retention cannot be extended past the
|
||||
expiry time. 2. Enforced retention can only be updated for finalized
|
||||
backups.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete. The default is True. Enabled by default, use --no-async to
|
||||
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 help for details.
|
||||
|
||||
BRIEF
|
||||
Updates a specific backup
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud alpha backup-dr backups update
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue