steadyequipment / node-firestore-backup

Google Firebase Firestore backup tool
190 stars 51 forks source link

Backup fails for subcollections unless document exists for parent document #43

Open Venryx opened 6 years ago

Venryx commented 6 years ago

See details here: https://github.com/willhlaw/node-firestore-backup-restore/issues/40#issue-345114374

It's the same issue with both this library and the derivative one above. Basically, subcollections are ignored if there is not a document at the container path. (so subcollection items at "versions/v1/tasks/..." aren't backed up unless a "placeholder" document is created at "versions/v1")