Scheduled Backups and a Disaster-Recovery Drill with Velero
Advanced · 60 minutes · 5 tasks, checked automatically · 100 points
In this advanced lab you will install Velero with a local MinIO S3-compatible backend, deploy a stateful workload, configure a scheduled backup policy, simulate a disaster by deleting the workload, and perform a full restore to validate your disaster-recovery runbook. All work is performed inside a kind cluster with no cloud dependencies.
What you’ll learn
- Deploy MinIO as an in-cluster S3-compatible object store and install Velero configured to use it as a backup location
- Deploy a stateful demo application with a PersistentVolumeClaim, create a manual backup and a scheduled backup CronJob via Velero
- Execute a disaster-recovery drill: delete the workload namespace and restore it from the Velero backup, verifying data integrity
How this lab works
- Start the lab: One click starts a real Kubernetes cluster on your computer (kind), with kubectl ready in a toolbox terminal.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads your live cluster and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Cluster: A real Kubernetes cluster on your computer (kind)
- Kubernetes: 1.34.8
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- A kind cluster created in the Kubernetes Playground
Topics: velero, backup, restore, disaster-recovery, minio, s3, storage, pvc, scheduling
Create a free account to start this lab.