firestore-backup-restore
firestore-backup-restore copied to clipboard
Re-parent a collection and all its sub collections
Amazing project! I'm trying to figure out if this project supports this use case:
Export a collection group, e.g. types/{type}/networks/{network}
And import it at a new path, e.g. networks/{network}
Including all sub-collections under types/{type}/networks/{network}. Any guidance would be appreciated 🙏🏻
If you use the backupFromDoc it will return all the subcollections of specific documents like your use case is asking for.