mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Thu May 30 09:26:18 UTC 2024
This commit is contained in:
parent
e617a432f4
commit
595ac8640a
232 changed files with 10919 additions and 274 deletions
58
gcloud/firestore/backups/schedules/update
Normal file
58
gcloud/firestore/backups/schedules/update
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
NAME
|
||||
gcloud firestore backups schedules update - updates a Cloud Firestore
|
||||
backup schedule
|
||||
|
||||
SYNOPSIS
|
||||
gcloud firestore backups schedules update --backup-schedule=BACKUP_SCHEDULE
|
||||
--database=DATABASE [--retention=RETENTION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
EXAMPLES
|
||||
To update backup schedule 'cf9f748a-7980-4703-b1a1-d1ffff591db0' under
|
||||
database testdb to 7 days retention.
|
||||
|
||||
$ gcloud firestore backups schedules update --database='testdb' \
|
||||
--backup-schedule='cf9f748a-7980-4703-b1a1-d1ffff591db0' \
|
||||
--retention='7d'
|
||||
|
||||
REQUIRED FLAGS
|
||||
--backup-schedule=BACKUP_SCHEDULE
|
||||
The backup schedule to operate on.
|
||||
|
||||
For example, to operate on backup schedule
|
||||
091a49a0-223f-4c98-8c69-a284abbdb26b:
|
||||
|
||||
$ gcloud firestore backups schedules update \
|
||||
--backup-schedule='091a49a0-223f-4c98-8c69-a284abbdb26b'
|
||||
|
||||
--database=DATABASE
|
||||
The database to operate on.
|
||||
|
||||
For example, to operate on database foo:
|
||||
|
||||
$ gcloud firestore backups schedules update --database='foo'
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--retention=RETENTION
|
||||
The rention of the backup. At what relative time in the future,
|
||||
compared to the creation time of the backup should the backup be
|
||||
deleted, i.e. keep backups for 7 days.
|
||||
|
||||
For example, to set retention as 7 days.
|
||||
|
||||
$ gcloud firestore backups schedules update --retention=7d
|
||||
|
||||
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
|
||||
These variants are also available:
|
||||
|
||||
$ gcloud alpha firestore backups schedules update
|
||||
|
||||
$ gcloud beta firestore backups schedules update
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue