firebase-firestore-backup
v1.0.7
Published
Backup utility for Firebase Firestore
Downloads
13
Readme
node-firebase-firestore-backup
Backup and restore documents from Firebase Firestore.
Install
npm i -g firebase-firestore-backup
Setup
serviceAccountKeyFile.json is downloaded from firebase console. The bucketName is the name of the Firebase Storage bucket you wish to upload your backups. You might need to create this manually.
Usage
After installation a binary firebase-firestore
is available.
Usage: firebase-firestore [options] [command]
Options:
-C, --credentials-file <file> The credentials file to use.
-B, --bucket-name <string> The name of the bucket to upload backups
-o, --only [collections...] Only use these collections. Trumps --except.
-e, --except [collections...] Don't use these collections.
-h, --help output usage information
Commands:
backup [options]
restore <backup.zip>
License
CC BY-SA
This project was brought to you by Makeable ApS