Skip to content

Releases: siarheidudko/firebase-engine

Release v1.2.2

31 May 21:18
Compare
Choose a tag to compare

Release v1.2.1

31 May 17:12
Compare
Choose a tag to compare

Release v1.1.2

31 May 12:31
Compare
Choose a tag to compare

Release v1.1.1

31 May 11:56
Compare
Choose a tag to compare

FirebaseEngine

30 May 23:37
Compare
Choose a tag to compare

Added the ability to transfer users with passwords

FirebaseEngine

30 May 10:42
Compare
Choose a tag to compare

firebase-engine

Engine to Backup, Clean, Restore. Work for Firebase.Firestore, Firebase.Storage, Firebase.Auth

npm
npm
NpmLicense
GitHub last commit
GitHub release

Install

	npm i firebase-engine -g

Launch parameters

Name Short name Description
operations o backup (b), restore (r) or clean (c). Default: backup
path p Path to service account JSON file
services s firestore (f), storage (s), auth (a), can be separated by commas. Default: all
backup b Path to backup or restore file. Default: ./{$PROJECT_ID + $TIMESTAMP}.backup
--nocompress -nc Do not use data compression

Use

With full names

	firebase-engine operations="clean, restore" path="./test.json" services="firestore, storage" backup="test.backup"

With short names

	firebase-engine o="b, c" p="./test.json" b="test.backup"

Open Source

See source docs

See source

Service Account Key

Get your service account key from IAM
Open google IAM

Or from the FIREBASE project
Open official firebase docs

WARNING (Password hashes of users)

Firebase API also returns the passwordSalt and passwordHash hashed by the Firebase Auth backend for password users if the user/service account used to generate the request OAuth access token has the firebaseauth.configs.getHashConfig permission. Otherwise the passwordHash and passwordSalt will not be set.
Open official firebase docs

LICENSE

Apache-2.0