node-firestore-backup icon indicating copy to clipboard operation
node-firestore-backup copied to clipboard

Ability to export in single json file

Open filipandrei87 opened this issue 7 years ago • 2 comments
trafficstars

Is it possible to export all the data to a single json file instead of the folder-based structure?

filipandrei87 avatar Dec 14 '17 12:12 filipandrei87

It isn't yet but that's a neat suggestion, if you find it useful other might! Feel free to make a PR, this won't be a focus yet here.

yoiang avatar Dec 14 '17 22:12 yoiang

Here's a quickly hacked fork, changes export to be written to a single JSON file. Doesn't change the import behavior (which means that the data cannot be imported back for now).

https://github.com/michael-maltsev/node-firestore-backup-restore/tree/development

I might do a proper PR later with the single JSON feature as an option and import support.

michael-maltsev avatar Jun 13 '19 09:06 michael-maltsev