1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-20 04:58:26 +00:00

gcloud: Wed Dec 6 10:10:36 UTC 2023

This commit is contained in:
Automated 2023-12-06 10:10:36 +00:00
parent d3074f94bb
commit f36750d203
469 changed files with 9617 additions and 1400 deletions

View file

@ -14,11 +14,25 @@ EXAMPLES
--source-backup=projects/PROJECT_ID/locations/LOCATION_ID/\
backups/BACKUP_ID --destination-database=DATABASE_ID
To restore a database from a database snapshot.
$ gcloud alpha firestore databases restore \
--source-database=SOURCE_DB \
--snapshot-time=2023-05-26T10:20:00.00Z \
--destination-database=DATABASE_ID
REQUIRED FLAGS
--destination-database=DESTINATION_DATABASE
Destination database to restore to. Destination database will be
created in the same location as the source backup.
This value should be 4-63 characters. Valid characters are
/[a-z][0-9]-/ with first character a letter and the last a letter or a
number. Must not be UUID-like
/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/.
Using "(default)" database ID is also allowed.
For example, to restore to database testdb:
$ gcloud alpha firestore databases restore \