firebase-backup
v0.0.3
Published
A set of firebase functions to backup realtime db / firestore.
Downloads
14
Readme
firebase-backup
Firebase functions to backup realtime and firestore databases. Backup files are stored in firebase storage.
Usage
- Install in your functions directory:
cd ./functions npm install firebase-backup --save
- Register a new function in
functions/index.js
:const backup = require('firebase-backup') exports.backup = backup.realtimeDb()
To do
- [X] Support firestore
- [ ] Support other types of functions (pubsub, ...?)
- [ ] Option: only backup a subsection of the database (selector)
- [ ] Option: custom path for backup file
- [ ] Option: compress backup file