- Download gcloud which can be found HERE
- Download Repo:
git clone https://github.com/ethanbonin/Firestore-Backup-Scheduler.git
- Run app:
npm run create
You'll then see a command propt as such:
Firestore PROJET_ID [Press Return when finished]: [YOUR_FIREBASE_PROJECT_ID]
It's that easy. Just verify the application was deployed successfully at go to these links: https://[YOUR_FIREBASE_PROJECT_ID].appspot.com/ You should see something like this:
Then to manually start an backup go to this link (if you want): https://[YOUR_FIREBASE_PROJECT_ID].appspot.com/cloud-firestore-export?outputUriPrefix=gs://[YOUR_FIREBASE_PROJECT_ID].appspot.com
When you are finished with the command prompt. It should do everything for you. Just go to your GOOGLE CLOUD STORAGE to verify that the backup was successfully made. You should see something like this in your bucket.
NOW ENJOY THOSE BACKUPS
Just fork the project then submit a pull request. Obviously, code can always be made better. So feel free to help if you have any ideas!