dalenguyen / firestore-import-export

An application that can help you to backup and restore from Cloud Firestore | Firebase
https://www.npmjs.com/package/firestore-export-import
401 stars 109 forks source link

the function will terminate if one of the subcollection is empty #25

Closed chow2324 closed 5 years ago

chow2324 commented 5 years ago

I am trying to export the firestore database with subcollection, but the program will terminate if one of the subcollection is empty.

For example, my database structure is like : users//userinfo

but some users didn't have a userinfo yet, and the function will end at this point

is there anyway to solve it?

dalenguyen commented 5 years ago

Hi @michealchow, please try this package: https://github.com/dalenguyen/firestore-backup-restore