Recovery Architecture
1. Overview
Multi-layer recovery architecture for Domus Digitalis infrastructure implementing a defense-in-depth backup strategy that survives hardware failure, ransomware, and physical disasters.
2. 3-2-1 Backup Strategy
| Rule | Meaning | Implementation | Recovery Time |
|---|---|---|---|
3 copies |
At least 3 copies of data |
Hot (SSD) + Warm (NAS) + Cold (USB) |
N/A |
2 storage types |
Different media types |
SSD + HDD/NAS + Optical |
N/A |
1 offsite |
Geographic separation |
LUKS USB rotated offsite |
Hours to days |
+Archival |
1000+ year durability |
M-Disc in fireproof safe |
Days |
3. Backup Tiers
3.1. Tier 1: HOT (Primary)
| Location | Contents |
|---|---|
Workstation SSD |
|
Git repositories |
Encrypted |
Recovery: Instant - this is your working copy.
3.2. Tier 2: WARM (Automated)
| Data | NAS Path | Backup Command |
|---|---|---|
ISE configs |
|
|
WLC configs |
|
|
pfSense configs |
|
|
IOS switch configs |
|
|
KVM VM definitions |
|
|
Keycloak realms |
|
|
Workstation (Borg) |
|
|
Schedule: Daily infrastructure, weekly workstation.
4. Credential Chain
Recovery credentials must be restored in order:
| Priority | Credential | Unlocks |
|---|---|---|
1 |
age master.key |
ALL |
2 |
SSH private keys |
Access to all systems |
3 |
dsec secrets |
Service credentials (ISE, WLC, NAS, etc.) |
4 |
YubiKey |
Hardware-bound authentication |
|
Without the age key, ALL encrypted data is permanently unrecoverable. Always maintain multiple backups. |
5. Recovery Scenarios
| Scenario | Recovery Source | Time |
|---|---|---|
Lost workstation |
LUKS USB → age key → SSH → dsec |
1-2 hours |
Lost YubiKey |
Backup YubiKey or software fallback key |
30 min |
Corrupted LUKS header |
Header backup on LUKS USB |
15 min |
Lost age key |
M-Disc archival backup |
1 hour |
Infrastructure failure |
NAS backups via netapi |
1-4 hours |
6. Quick Commands
6.2. Run All Backups
netapi ise backup --upload-nas
netapi wlc backup --upload-nas
netapi pfsense backup --upload-nas
netapi ios backup --all --upload-nas
netapi kvm backup --all --upload-nas
7. Documentation Map
7.1. Strategy & Procedures
-
Backup Strategy - Comprehensive 3-2-1 implementation
-
Disaster Recovery - Step-by-step recovery procedures
-
Backup All Infrastructure - Daily backup runbook
7.2. Recovery Components
-
Borg Backup - Deduplicated workstation backups
-
Snapper Snapshots - Btrfs filesystem snapshots
-
Credential Chain - Recovery credential order
-
Secrets Recovery - dsec/age recovery
7.3. Storage & Media
-
Storage Layout - Partition and LUKS layout
-
LUKS Header Backup - Header backup procedures
-
M-Disc Archival - Long-term archival storage
7.4. Verification & Drills
-
Verification - Backup verification procedures
-
Recovery Drills - Annual test procedures
-
Recovery Scenarios - Scenario-based playbooks