firebase / firebase/snippets-node
In refrence to https://github.com/firebase/snippets-node/tree/master/firestore/solution-scheduled-backups
- Dominant language
- JavaScript
- Stars
- 395
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
Hi Samstern,
I tried to use your repository for the firestore backup using cron.yml. It is creating the bucket but writing 0 bytes.
I have a question about this line:
const url = `https://firestore.googleapis.com/v1beta1/projects/${projectId}/databases/(default):exportDocuments`;
I have hardcoded like this: const url = 'https://firestore.googleapis.com/v1beta1/projects/cp-gaa-dev-dragonfly-arc/databases/(default):exportDocuments'
Please let me know what I am doing wrong.
Thanks
BC
Contributor guide
Research direction
Start with the firestore/solution-scheduled-backups example, especially cron.yml and the exportDocuments URL shown in the report. Reproduce the backup against the stated project configuration and inspect why the created bucket contains 0 bytes. Done means identifying the cause and documenting or correcting the example so a Firestore export produces usable backup data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100