Skip to content

ericjiang97/firestore-backup-function

Repository files navigation

Firestore Backup - Firebase Function

Requirements

To run you will need Node 8, to use Node 8, recommend using Node Version Manager and run

nvm install 8
nvm use 8

Development

To develop this simply add a .firebaserc file with the projectId

{
  "projects": {
    "default": "MY-PROJECT-ID"
  }
}

Installing Dependencies

To install dependencies, simply run npm install or yarn inside the functions directory.

Customisation

You can customise the request

firebase functions:config:set backupservice.collections="users,emails"

LICENSE

This repo is licensed under MIT and is based off source code in a private repo by @ericjiang97

About

Google Cloud Function that Triggers Firestore Backups via the Firestore Admin (Beta) APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published