google-cloud-datastoregcloud

Google datastore : backups schedule


I'm trying to create a schedule backups for my database on datastore. I'm trying to use this command via gcloud

gcloud alpha firestore backups schedules create \
--database='DATABASE_ID' \
--recurrence=weekly \
--retention=RETENTION_PERIOD \
--day-of-week=DAY

But its not work on datastore. Is there any command that creates schedules backups for datastore?


Solution

  • I have found the solution:

    Here is an example:

    gcloud alpha firestore backups schedules create --project=<project-id> --database="<database-id>" --recurrence=weekly --retention=14w --day-of-week=SUN