1.0.7 • Published 6 years ago

fire-restore v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

fire-restore

A backup and restore tool for firestore.

Instalation

npm install -g fire-restore

Usage

Backup

fire-restore -a ./serviceAccount.json -b -p /users -o ./bkp.json

Restore

fire-restore -a ./serviceAccount.json -r -p /users -o ./bkp.json

Flags

FlagDescriptionRequiredDefault
-aFirebase service account file pathY-
-bTells the script to run a backupY(on backup)-
-rTells the script to run a restoreY(on restore)-
-pSets the script to work on a specific path(collection or document)N/
-oSets the backup file pathY-

Known Issues

If you have really large collections or just huge amounts of data, maybe you might fall into some timeout problems... Other than that, it's looking pretty good. Feel free to open up an issue if you find any other problems or suggestions.

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago