LAYER 1: SNAPSHOTS
Hourly SHA-256 hashed copies. 48-hour retention. Auto-restore on deletion.
LAYER 2: GIT VERSION CONTROL
Every change committed. Full history. Rollback any file to any point.
LAYER 3: SACRED REGISTRY
16 files marked untouchable. Min size enforcement. Structure validation.
LAYER 4: PRE-DEPLOY CHECK
Size shrink detection. HTML structure validation. JSON parse check.
LAYER 5: HEALTH HEARTBEAT
Every 15 min: URLs respond, timers active, PostgreSQL up, disk space OK.
LAYER 6: DAILY BACKUP
Full /opt/nexus/ backup daily. 30-day retention. Survives VM destruction.