- 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
756 B
756 B
Restore Runbook
VPS Restore
- Provision host and SSH access.
- Ensure
ops.bundleexists at/srv/backups/ops/latest/ops.bundle(or setOPS_BUNDLE_PATH). - Run
bootstrap/vps.sh. - Confirm VPN up and Caddy healthy.
- Validate DNS + TLS endpoints.
Homelab Restore
- Provision host and SSH access.
- Ensure
ops.bundleexists at/srv/backups/ops/latest/ops.bundle(or setOPS_BUNDLE_PATH). - Run
bootstrap/homelab.sh. - Restore data under
/srv/data/*and/srv/backups/*as needed. - Start stacks with
docker compose up -dper stack. - 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