Skip to main content

Recovery Procedures

Restoration patterns for services and data.

General Recovery Flow

  1. Identify impact (which services/data are affected).
  2. Stop the impacted service to prevent further writes.
  3. Restore from the most recent backup.
  4. Verify service health and data integrity.
  5. 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.