Report
Hi! I'm working on a backup service and wondering if there anyone uses Firestore. How do you backup your data?
I assumed that Firestore would be doing that automatically? If that's not the case, I will need to look into that. Thanks for bringing this up.
They provide automatic backups for the Realtime Database, but not for Firestore.
I do from time to time, but it's not automated. There are api calls you can make that will put it straight into cloud store, after which you can also import it to bigquery.
We are using the firebase realtime database they do provide backups feature in the paid tier.
I see!
What about users, do you backup users data (if you use Firebase Auth)?
How do you backup data before running a migration?
We download users data using firebase-cli and upload it to s3. We haven't done any migration so far, if we have to do there is an option to do a manual backup in the firebase itself.
I see, thank you!
I'm using Firestore, and the short answer is today I don't π .
Haha, I have a nice quote for you "Yesterday was the best time to backup. The second-best is now."
I highly recommend starting with manual backups to your machine from time to time: https://firebase.google.com/docs/firestore/manage-data/export-import
Weird question, did you considered backing up the DB since you started your project?
Don't want to be 'that guy', but a backup from today is better than a backup from yesterday π€·
And yes - since they introduced export/import that's the easiest way I've found to do it.
Itβs a good quote, and one I do abide by in my day job! That said, my side project that uses Firestone is very small, with only a few users. Backups fell into the list of things that needed to be tackled if/when the app is ready to scale, but until then fell out of the scope for an MVP. So I hadnβt really explored an option to do so at this time.
Cool, I see! How you backup data on your day job? Do you use any service?
I use firestore but the side projects using it dont have enough mrr or contractual obligations to care. For future projects I'll just go up to the paid plan using backups
Got you! Just for a note, thereβs no automated backup for Firestore.