Firebase data backup using node and store in json file.
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
Set path of index.js in firebase-backup.conf
( line #18 )
cp firebase-backup.conf /etc/init/firebase-backup.conf
service firebase-backup start
tail -f /var/log/firebase-backup.log
- sergiopantoja/firebase-backup-node
- Keto's answer on stackoverflow