MWals / backup-firebase-firestore

A script to automatically backup all collections of a Google Firebase Firestore # database instance to json files. It will only perform read operations and handle document references rudimentarily.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firebase Firestore database backup

A Python script to automatically backup all collections of a Google Firebase Firestore database instance to json files. It will only perform read operations and handle document references rudimentarily.

Preparation

Download your service account file from your Firebase project settings. From your firebase config, get your database url.

pip install -r requirements.txt
python main.py

About

A script to automatically backup all collections of a Google Firebase Firestore # database instance to json files. It will only perform read operations and handle document references rudimentarily.


Languages

Language:Python 100.0%