gcloud beta firestore backups schedules update Stay organized with collections Save and categorize content based on your preferences.
- 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 databasetestdb to 7 days retention.
gcloudbetafirestorebackupsschedulesupdate--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:gcloudbetafirestorebackupsschedulesupdate--backup-schedule='091a49a0-223f-4c98-8c69-a284abbdb26b' --database=DATABASE- The database to operate on.
For example, to operate on database
foo:gcloudbetafirestorebackupsschedulesupdate--database='foo'
- OPTIONAL FLAGS
--retention=RETENTION- The rention of the backup. At what relative time in the future, compared to thecreation time of the backup should the backup be deleted, i.e. keep backups for7 days.
For example, to set retention as 7 days.
gcloudbetafirestorebackupsschedulesupdate--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 helpfor details. - NOTES
- This command is currently in beta and might change without notice. Thesevariants are also available:
gcloudfirestorebackupsschedulesupdategcloudalphafirestorebackupsschedulesupdate
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.