Files
ops/docs/RESTORE.md
Spencer c93dcb5daf Add initial infrastructure and backup scripts for Gitea and homelab deployment
- Create README.md with project layout and quick start instructions
- Implement backup scripts for Gitea, including database and repository exports
- Add systemd service and timer for automated Gitea backups
- Develop bootstrap scripts for homelab and VPS setup
- Document architecture and restore procedures
- Configure Caddy reverse proxy and Docker Compose for service management
- Establish secrets management guidelines
2026-03-04 14:42:46 -05:00

26 lines
756 B
Markdown

# Restore Runbook
## VPS Restore
1. Provision host and SSH access.
2. Ensure `ops.bundle` exists at `/srv/backups/ops/latest/ops.bundle` (or set `OPS_BUNDLE_PATH`).
3. Run `bootstrap/vps.sh`.
4. Confirm VPN up and Caddy healthy.
5. Validate DNS + TLS endpoints.
## Homelab Restore
1. Provision host and SSH access.
2. Ensure `ops.bundle` exists at `/srv/backups/ops/latest/ops.bundle` (or set `OPS_BUNDLE_PATH`).
3. Run `bootstrap/homelab.sh`.
4. Restore data under `/srv/data/*` and `/srv/backups/*` as needed.
5. Start stacks with `docker compose up -d` per stack.
6. Run health checks and verify service endpoints.
## Data Priorities
- Gitea app data + DB dump
- Repo mirror exports
- Proxy config and certificates
- Encrypted secret source files