Course
Backups & Disaster Recovery
The 3-2-1 rule done right, restore testing nobody does, RTO/RPO math, immutable backups, and what recovering at 3 AM actually looks like.
Keep reading
Related articles from the SudoSecurity blog.
Self-Hosting Prometheus and Grafana: Infrastructure Monitoring That Actually Works
Build a production-grade monitoring stack with Prometheus and Grafana from scratch. Covers architecture, Docker Compose deployment, Node Exporter, alerting with Alertmanager, PromQL from basics to advanced, pre-built dashboards, and everything SudoSecurity uses to monitor its own infrastructure.
Zero Trust Everything: The Complete Guide to Self-Hosting Teleport for Secure Infrastructure Access
SudoSecurity runs Teleport internally for everything — admin panel access, secure database connections, Kubernetes, and zero-trust philosophy across our entire team. This is the complete technical guide to installing, configuring, and running your own self-hosted Teleport cluster from scratch.
Running a Minecraft Network: Four JVMs, One Box, and the Settings That Lie to You
Four servers on one host means four JVMs each sizing its thread pools for a machine it does not own. The measured cost of that, the systemd ordering that guarantees nothing, and the throttle that switches itself back on when your forwarding breaks.
Building a Minecraft Network: Four Servers Pretending to Be One Place
A proxy, a lobby, an SMP and a PvP arena is four JVMs that know nothing about each other. What actually has to be shared, why your permissions don't follow players, and the two LuckPerms defaults that silently share nothing at all.
Reviews
Enrolled members can rate this course.
No reviews yet.
The Ground Rules
Why restores are the deliverable, how failure domains size the 3-2-1 rule, and the two numbers that drive every backup decision.
- 01A Backup Is Not a RestoreA green backup job means a process exited 0; only a completed restore proves a backup exists.14mOpen
- 02The 3-2-1 Rule, Done RightThree copies, two media, one offsite — extended into 3-2-1-1-0 by immutability and verified restores.14mOpen
- 03RPO and RTO Are Numbers, Not VibesRPO sizes your backup schedule and RTO sizes your restore path; both are derived from mechanism, not declared.16mOpen
How Backups Actually Work
Consistency levels, backup modes, the tools that match each engine, and the key-custody problem client-side encryption creates.
- 01Full, Incremental, and the Snapshot TrapDifferential vs incremental restore fan-out, content-defined dedup, and why a same-pool snapshot is not a backup.16mOpen
- 02Crash-Consistent vs. Application-ConsistentA file copy of a live data directory is worse than a crash; engines only self-repair when the snapshot is atomic.18mOpen
- 03The Tools: restic, borg, and Friendsrestic and borg for files, pgBackRest and mariabackup for databases, Litestream for SQLite — matched to engine and restore target.18mOpen
- 04Encrypt Backups Like They'll Be StolenClient-side encryption moves the trust boundary to the repo key, which becomes the artifact that decides whether restores are possible.14mOpen
Surviving the Real Threats
Ransomware's backup-first attack order, what offsite really means as a failure domain, and the inventory nobody writes down.
- 01Ransomware Deletes Your Backups FirstAttackers hunt shadow copies and Veeam before encrypting; immutability is the only property that survives credentialed compromise.16mOpen
- 02What 'Offsite' Actually MeansOffsite is a different failure domain — a second region in the same account is one IAM policy away from empty.14mOpen
- 03You Can't Restore What You Never Backed UpIaC rebuilds compute, not state; the backup inventory comes from a rebuild drill on a blank VM, not from memory.14mOpen
Restores at 3 AM
Restore verification drills, the ordered runbook with PITR and DNS traps, and what the first hour of a real incident looks like.
- 01The Restore Test Nobody RunsGitLab's five backup mechanisms all failed at once because none had ever been restored; drills turn hypotheses into facts.15mOpen
- 02The Restore RunbookDependencies first, PITR to the minute before the damage, a verification gate, then traffic — DNS TTL lowered long before the fire.18mOpen
- 03Disaster Recovery at 3 AMDeclare, freeze, classify, evict if hostile, restore, verify, reopen — in that order.14mOpen