Skip to content
Development
Skill

/backup-dr

Back up and restore Kubernetes workloads with Velero, and prove recovery works. Covers Velero on EKS via Flux (IRSA, S3 backup location, EBS snapshots), schedules and retention, what a backup does not contain, restore drills that restore a namespace into an isolated copy and

From plugin
platform-skills
7252 skills2 agents

Claude Code

$ npx -y skills add nitinjain999/platform-skills --skill backup-dr --agent claude-code

SKILL.md

backup-dr.SKILL.md
name: backup-dr
description: Back up and restore Kubernetes workloads with Velero, and prove recovery works. Covers Velero on EKS via Flux (IRSA, S3 backup location, EBS snapshots), schedules and retention, what a backup does not contain, restore drills that restore a namespace into an isolated copy and measure recovery time, cross-cluster disaster recovery with a read-only backup location, and GameDay pairing with chaos experiments. Use when asked to "set up cluster backups", "test our restore", "what's our recovery time", "restore a deleted namespace", or "plan DR to another cluster". Breaking things on purpose → /platform-skills:chaos. Upgrade rollback by blue/green → /platform-skills:cluster-upgrade.
argument-hint: "[install|schedule|drill|restore|dr|debug] [namespace or cluster]"
title: "Backup and DR Command"
sidebar_label: "backup-dr"
custom_edit_url: null

A backup is only as good as the last time it was restored. Set up Velero, then prove each namespace comes back and measure how long it takes.

Read `references/backup-dr.md` before responding. It holds what Velero does and does not capture (and how GitOps changes that), configuration decisions, the restore drill, cross-cluster DR, rollback and troubleshooting. The working files are in `examples/backup-dr`.

**This skill is interactive by default.** With no arguments, ask what must be recoverable (namespaces, volumes, the whole cluster), the recovery point and recovery time objectives, and whether the target is the same cluster or a new one, then run `schedule` or `dr`. Never run a restore, delete a namespace, or patch a backup location yourself: produce the commands and let the user run them.

Mode dispatch

| Mode | What it does | |---|---| | `install` | The protected backup bucket from `examples/backup-dr/bucket` (versioning, noncurrent-version retention, a bucket policy that lets only break-glass roles delete versions or lift the protection), then Velero via Flux from `examples/backup-dr` with IRSA and the scoped IAM policy | | `schedule` | Schedules and retention derived from the recovery point objective; which namespaces need more frequent backups | | `drill` | Run and interpret `restore-drill.sh`; compare the measured time with the recovery time objective | | `restore` | Restore a namespace or specific resources, including into a different namespace | | `dr` | Recovery into a new cluster: Flux bootstrap first, read-only backup location, then application namespaces | | `debug` | Failed or partial backups and restores, from `velero backup/restore describe --details` and logs |

Output format

Every mode ends with:

  • **Changes or commands**, exact
  • **Blast radius**, in one line
  • **Validation**, as commands (a drill counts)
  • **Rollback**
Read more
@nitinjain999
Ships withplatform-skills

A production-grade field handbook for platform, DevOps, SRE, and cloud engineers covering Kubernetes, Flux CD, Terraform, GitHub Actions, AWS, OPA/Rego, KEDA, Karpenter, supply chain security, Falco, observability, and more.

7252 skills2 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
72
Star history of nitinjain999/platform-skills on GitHub, a chart by star-history.com

Other skills on platform-skills.

aws

aws

Structured guidance for AWS CloudFront distributions, WAF web ACLs, Lambda@Edge, CloudFront Functions, Firewall Manager…

azure

azure

Azure identity (Workload Identity, OIDC, Entra ID), resource tagging, AKS platform patterns, RBAC scoping, and…

chaos

chaos

Design, run, and debug Chaos Engineering experiments on Kubernetes using Litmus Chaos v3 and Chaos Mesh v2. Covers fault…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills4w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc4w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2w252k
@facebook@facebookInstall Skill

Questions about backup-dr.

Which coding agents can use backup-dr?
backup-dr installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.