Extract data from Firebase to MongoDB?

2,555 views
Skip to first unread message

Stéphane Maarek

unread,
Oct 23, 2014, 12:05:17 PM10/23/14
to fireba...@googlegroups.com
Hi,

I am currently a Loopback user, hosted on my own AWS EC2 server.
I design my own APIs but it's quite tedious so I wanted to give Firebase a shot

Before I start any development work, I have a question: can I extract data from Firebase and put it in my local MongoDB?
Basically, (hopefully not), but if I choose to go back to Loopback, I do not want to lose all the data that I created.

Oppositely, as I am doing a migration, is it possible for me to import data from mongodb into firebase? and maybe created my data model from there on firebase?

Thanks for your help,
Stephane

Michael Wulf

unread,
Oct 23, 2014, 1:06:35 PM10/23/14
to fireba...@googlegroups.com
Stéphane,

Great to meet you. Thanks for having a look at Firebase.

Since your Firebase data is just JSON with a couple caveats, this should all be perfectly reasonable. Mongo can easily be coaxed into JSON, and Firebase is already JSON. 

Unlike Mongo, Firebase data will not experience any fidelity loss if you use exportVal or the export function in your account dashboard.

Cheers,
Kato


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Leo Liber

unread,
Sep 4, 2016, 12:01:02 AM9/4/16
to Firebase Google Group
Hi,

I know it's been a while but I faced the same issue and wrote a short piece on how to solve it:

Reply all
Reply to author
Forward
0 new messages