An experimental utility to export and import Google Cloud Firestore databases.
3.8K
An experimental utility to export and import Google Cloud Firestore databases.
See the blog post at https://christianalexander.com/2018/07/18/firestore-backup-restore/
FirestoreRestoremake./FirestoreRestoreAll commands must be run with the GOOGLE_APPLICATION_CREDENTIALS environment variable set to the path where the JSON key is located. See Google documentation for more details.
FirestoreRestore -backup -wait -p <GOOGLE PROJECT ID> -b <BUCKET NAME> -n <BACKUP NAME>
If -n is not specified, the backup will be named after the current time.
FirestoreRestore -wait -p <GOOGLE PROJECT ID> -b <BUCKET NAME> -n <BACKUP NAME>
The -n value should be a path relative to the root of the bucket, such as backups/abcd
Content type
Image
Digest
Size
2.6 MB
Last updated
about 8 years ago
docker pull christianalexander/firestorerestore