Skip to content

In refrence to https://github.com/firebase/snippets-node/tree/master/firestore/solution-scheduled-backups #287

@bhamipriya1

Description

@bhamipriya1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions