-
I'm currently using this library: https://www.npmjs.com/package/node-firestore-import-export All I want to do is to export my Firestore collection(which contains subcollections), do some data cleaning, and then import it back into Firestore. I'm looking for a simple solution. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @nonoumasy, yes this package does exactly that 😊 You can specify which collections you want to export, including nested subcollections (only if you want - it's configurable!). You can run it on the command line or use it programatically. The data is exported in NDJSON format. You can modify the data and import it right back into Firestore. I've used it to import and export many GBs of data and haven't come across any issues. Usage instructions can be found on the README. If anything is unclear, please feel free to reach out! |
Beta Was this translation helpful? Give feedback.
Hi @nonoumasy, yes this package does exactly that 😊
You can specify which collections you want to export, including nested subcollections (only if you want - it's configurable!).
You can run it on the command line or use it programatically.
The data is exported in NDJSON format. You can modify the data and import it right back into Firestore. I've used it to import and export many GBs of data and haven't come across any issues.
Usage instructions can be found on the README. If anything is unclear, please feel free to reach out!