1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-12 07:58:28 +00:00
gcloud-help/gcloud/firestore/backups/schedules/update
2024-05-30 09:26:18 +00:00

58 lines
1.9 KiB
Text

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