- NAME
-
- gcloud beta firestore backups schedules update - updates a Cloud Firestore backup schedule
- SYNOPSIS
-
-
gcloud beta 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 beta 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 beta 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 beta 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 beta 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 beta and might change without notice. These
variants are also available:
gcloud firestore backups schedules update
gcloud alpha firestore backups schedules update
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 2024-05-29 UTC.