Firebase and Firestore provide a great, fully managed platform for developers to quickly prototype and launch their products. Unfortunately, backups seem to be a neglected part of the platform with no easy to use controls to capture periodic snapshots of your database. While you’re unlikely to lose any data due to hardware failure, backups are still critical because of the other source of failures: developers.

Migrations go wrong, code has bugs. Even if you strive for perfection (and attain it!), will the next person to work on it be so dedicated? You need backups, and as there’s no button to do it in Firestore, we’re just going to have to do it ourselves. Fortunately, it can now be implemented fairly simply by using a combination of Firebase Functions (to initiate and automate the backups) and Google Cloud Storage (to store them).

#firebase #backup #firestore #web-development #app-development

How to back up Firestore easily and automatically
3.15 GEEK