Skip to content

Firestore Backup examples #518

@IchordeDionysos

Description

@IchordeDionysos

It would be great to have an example of how to automate backups of Firestore using Cloud Functions.

I am currently in the position where I am trying to figure out how this would work with the Firestore REST API and came across lots of trouble so I think it would be great for anyone to get backups up and running as easy as possible.

In my opinion, in the sample should be easily configurable to change the storage bucket, the collections which should be included in the export and a custom naming for the bucket.
Also what would be great how to authenticate the request using (if possible the Admin SDK) or how to get a service account which does all the important stuff.

Also, a counterpart for importing a backup could be useful.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions