Firebase Backup CLI that makes backing up and restoring Firebase services a breeze.
This Node.js modules helps you backing up and restoring your Firebase services such as Firebase Firestore or Authentication in a breeze.
If you do it without being careful, you might end up with high Firebase bills, data loss or other painful experiences.
We do not take any responsibility for any damage the use of this module might do to your data or your billing records.
That being said, the application is meant to simplify the process of backing up and restoring Firebase data and if used wisely should not pose any risk to your Firebase projects. Just be careful :)
- Make sure you have Node.js installed on your system (the newer, the better).
- Make sure that all projects you use this tool with have billing enabled (Blaze Plan+).
- Install fireback globally:
npm i -g fireback
// or
yarn global add fireback
-
Create a file called
fireback.config.mjs
in the folder where your firebase.json is located. -
Configure
fireback.config.mjs
:
export default {
// Projects you want to backup from / restore to
projects: ["test1-project", "test2-project", "test3-project"]
};
To run the CLI tool, simply enter fireback
in your CLI where your fireback.config.mjs
is located.
fireback
The following screen should appear: