Skip to main content

Google Cloud FireStore Database Utilities - Backup, Restore, Import, List

Project description

Google Cloud FireStore Database Utilities for following functions:

To Backup Collections

To Restore Collection

To Convert or Import a CSV File to Collection

To List All Collections


sudo pip3 install firedb

Usage Examples:

Initialize the FireStore Database

import firedb

db = firedb.db()



This will create a collection_name.json file as backup

db.backup(‘col1’, ‘col2’, ‘col3’)

This will create multiple jsons files - col1.json to col3.json as backup


This will create json backup files for all collections in the database.



This will create a collection with name “collection_name”

Convert or Import from CSV:


This will convert a CSV File to Collection.

Optional keyword argument name can be supplied to assign document name.

To List all Collections:


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for firedb, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size firedb-0.2-py3.7.egg (3.5 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size firedb-0.2.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page