hardiksondagar / firebase-backup

Export and backup your Firebase data with Node.js. All backups are saved to the local filesystem.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firebase Backup

Firebase data backup using node and store in json file.

Running Locally

Make sure you have Node.js installed.

git clone https://github.com/hardiksondagar/firebase-backup # or clone your own fork
cd firebase-backup

You must set FIREBASE_URL and FIREBASE_SECRET in index.js.

mkdir backup
npm install
npm start

Deploy on unix to run as service

Set path of index.js in firebase-backup.conf ( line #18 )

cp firebase-backup.conf /etc/init/firebase-backup.conf
service firebase-backup start

Check log

tail -f /var/log/firebase-backup.log

Credits

About

Export and backup your Firebase data with Node.js. All backups are saved to the local filesystem.


Languages

Language:JavaScript 100.0%