DEV Community

Discussion on: Why Firestore Encourages Bad Security

Collapse
 
bscott profile image
Brian Scott

My other fear is if I needed to move away from Firestore for any reason. Is that even possible as far as ease of mIgration to say MongoDB or FaunaDB..

Thread Thread
 
jaredpotter profile image
Jared Potter

Yes, you can write a node script w/ firebase admin to iterate over all documents in each collection and then call the appropriate mongoDB/faunaDB libraries to insert the records.

Although I'm not as familiar with it, you could also look into trying to extract the data from a Firestore backup file.