Recovery Procedures
Restoration patterns for services and data.
General Recovery Flow
- Identify impact (which services/data are affected).
- Stop the impacted service to prevent further writes.
- Restore from the most recent backup.
- Verify service health and data integrity.
- Document the incident and root cause.
Database Recovery (PostgreSQL)
# Stop dependent services first
ssh ravenhelm@100.115.101.81 "docker stop norns-agent"
# Restart database if needed
ssh ravenhelm@100.115.101.81 "docker restart postgres"
Use the PostgreSQL restore procedure from backups when required.
File Recovery
Backups are stored under ~/ravenhelm/backups. Follow the restore instructions in the Operations runbook.