Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

gke-backup-dr

Configure Backup for GKE backup plans, restore plans, and restores for stateful cluster workloads.

  • Part of google/skills
  • 7.8k installs
  • DevOps & Self-hosting · Storage and backup

When to use it

You have a stateful GKE cluster and need scheduled backups or a tested restore path, but no backup plan exists yet.

For example

You say

Use gke-backup-dr to set up a daily backup plan for the payments namespace in my GKE cluster, including volume data and secrets, then create a restore plan for a staging cluster.

You get
  • Backup plan command
  • Restore plan command
  • Conflict policy settings

How it works

  • Volume data and secrets are excluded unless you explicitly pass --include-volume-data and --include-secrets.
  • Restores default to safe conflict policies; overwriting or deleting live resources needs explicit confirmation.

Before installing

The backup-restore commands require the gcloud beta component (gcloud components install beta).