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

63 lines
2.2 KiB
Text

NAME
gcloud alpha firestore backups schedules update - updates a Cloud Firestore
backup schedule
SYNOPSIS
gcloud alpha 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 alpha 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 alpha 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 alpha 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 alpha 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
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. These variants are also available:
$ gcloud firestore backups schedules update
$ gcloud beta firestore backups schedules update