5 ms·
How to backup Firebase realtime database when the payload is too large (256MB)
- jahewson 4y agoThere seems to be a misunderstanding here, backups in cloud storage are a fraction of the cost of data in Firebase. I used to work with a 300GB Firebase instance and we never worried about backup costs.
- L1fescape 4y agoI clicked the link to the script at the bottom of the blog post thinking it would be a github link. It downloaded a file with the contents "Please provide your databaseURL." Seems like the script is being executed by the author's web server instead of returning the contents of the file. It was also a (hopefully) friendly reminder to myself to not click random links on the internet without checking where they go.
- BigBalli 4y agothanks for catching that! Fixed.
- lucasmullens 4y agoThis is a poorly written article with a broken link to the script. Also for some reason Cmd+C causes your selection to go away on this site?
- kotlin2 4y agoI think the backups end up stored in a GCS bucket in your account and can be removed manually or with an object lifecycle.
- leros 4y agoI think the author has a fundamental misunderstanding of how the built in backups work. The backup likely goes into Google Cloud Storage which is relatively cheap.
- BigBalli 4y agoThat is correct but personally I like to be able to decide the backup intervals and not have to create a whole script to connect to GCS.
- leros 4y agoAren't you spending a lot of money downloading the database through Realtime Database though? How does that compare to the cost of the built in backup?