--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/0f4d2c61-3a49-4af6-a3c1-af5f1c72ce15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/0f4d2c61-3a49-4af6-a3c1-af5f1c72ce15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CAHBdbtDXM-4%3DvZMgU6jLFNvYsePP6OwD8XmhbT0D_R%2B%2BgyyS%2BA%40mail.gmail.com.
Hi Patryk,For the record, restoring a backup is not the only use case for importing large chunks of data so having Firebase support do it from an internal copy isn't a panacea. For example, I'd like to be able to download-transform-upload an entire datastore to fix some data structures or rotate encryption keys. While I've written code to do such transforms online it gets tricky to work around the various size and throughput limitations, so it would be much easier to run them offline and upload the results.Thanks,-- P.On Wed, Jul 25, 2018 at 9:41 AM, 'Patryk Lesiewicz' via Firebase Google Group <fireba...@googlegroups.com> wrote:
Hi Brad -I apologize for your bad experience with Firebase Database. We are aware of difficulties with importing large data into RTDB. Currently our recommended way is to contact Firebase Support and use our internal backup restore procedure that bypasses front doors and uploads data from our hourly snapshots directly into persistence layer.I found your support case and will follow up there to get you going ASAP.I will also review all support playbooks and update them to clarify the latest recommendations.Best regards,Patryk
On Tue, Jul 24, 2018 at 4:30 PM <br...@hatchlings.com> wrote:
I've wasted the past week of my life trying to ensure that we have an ability to restore from our Realtime Database automated backups in the event that we need to. Long story short: it looks like there is no good way to do this if your database is over 256MB. Ours is 12GB -- what is the point of having a backup if there is no way to restore it?--This saga all started because I wanted to setup a mirror of our database for one of our new developers to play with so he wasn't messing with production data. Trying to upload a backup via the console gives an error, "413 Request Entity Too Large".Looking at the restoring from backups support page, it says "If you are having trouble restoring a backup from a very large database, please reach out to our support team." So I messaged support... they are absolutely ZERO help. They pointed me back at the same support page that said to contact them and said "You'll have to upload your data by using the REST API by chunking it into smaller payloads that can fit within the limits (250MB)."They also mentioned the "streaming import library", a project that's been dead for 4 years and doesn't work at all (so much so that the link from `firebase-import` was removed).Judging by the docs and this thread, it looks like at one time there was a way for Firebase to do it manually.. if that's the case, someone needs to tell the people manning support so they don't send people like me down rabbit holes trying to get non-working "official" code to work that hasn't worked in years. (That would help for now but we want to be able to run queries for data not on production so if we want current data we will need to do this process on an ongoing basis).So since it was pretty clear I wasn't going to get any help beyond support repeating "chunk your data" I started looking into how to do that... there's really nothing out there that works for arbitrary data. If your backup is bigger than your system memory you need to stream it. And every library I've found requires you to manually tell it what "paths" you want to stream.So I've spent the last several days adapting one on my own to get something that mostly works. At least I think I'm close to getting something that will stream data chunks small enough to write to Firebase.Except it looks like I'm hitting Firebase's (new??) limits and writes are INCREDIBLY slow. It looks like it's going to take almost 24 hours to write this data.I'm losing sleep over what the heck we're going to do if we ever need to actually restore our production firebase from a backup. I had no idea for the past couple of years that there was no way to restore the automated backups! I expect a lot more from a service I'm paying so much money for.
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/0f4d2c61-3a49-4af6-a3c1-af5f1c72ce15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CAHBdbtDXM-4%3DvZMgU6jLFNvYsePP6OwD8XmhbT0D_R%2B%2BgyyS%2BA%40mail.gmail.com.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/CANF_M5zkgD4HZiUUakux3Y9-1zbWxOjXeMaoUR8xtH11KeMnUA%40mail.gmail.com.
I'm not sure if download-transform-upload approach is scalable enough for big data.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/b03e1555-b13d-4afa-a16d-6e8efcd3d0b2%40googlegroups.com.