ds/

directory
v0.0.0-...-f6cb899 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: BSD-3-Clause

README

Datastore backups

This is the application used to back up Cloud Datastore entities to Cloud Storage.

See: https://cloud.google.com/datastore/docs/schedule-export

Backups are made to gs://skia-backups/ds/YYYY/MM/DD/HH

Restoring from a backup can be done via the gcloud command line tool. See https://cloud.google.com/datastore/docs/export-import-entities

Locations

The bucket has to live in the same project as the datastore data.

The buckets are:

  • gs://skia-datastore-backups for skia-public
  • gs://skia-datastore-backups-skia-buildbots for google.com:skia-buildbots
  • gs://skia-datastore-backups-skia-corp for skia-corp

To see all the running backups run the following on the skia-public cluster:

kubectl get pods -lappgroup=datastore-backup

Directories

Path Synopsis
go
backup
Common code for backing up datastore entities.
Common code for backing up datastore entities.
datastore-backup-k
Trigger backups of Cloud Datastore entities to Cloud Storage using the datastore v1beta1 API.
Trigger backups of Cloud Datastore entities to Cloud Storage using the datastore v1beta1 API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL