-
Couldn't load subscription status.
- Fork 3.9k
Description
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.