1.0 KiB
1.0 KiB
Restore Notes
Restoring Atay Makhzan can destroy or overwrite live data. Do not run restore actions without explicit owner approval.
Backup artifacts expected
A complete backup directory should contain:
gitea-dump-<timestamp>.zipgitea-postgres-<timestamp>.dumpdocker-compose.ymlapp.inimetadata.txtSHA256SUMS
Safer restore principle
Prefer restoring to a fresh VPS or staging directory first, then verifying repository data before touching production.
High-level restore sequence
- Provision VPS and install Docker/Nginx.
- Restore sanitized Compose configuration.
- Restore PostgreSQL dump into a fresh database.
- Restore Gitea data from Gitea dump according to the Gitea version documentation.
- Start containers.
- Verify API, web, SSH auth, and
git ls-remoteon known repositories. - Switch DNS/proxy only after verification.
Production warning
Do not remove /opt/gitea/gitea-data or /opt/gitea/postgres-data unless a verified backup exists and Saad explicitly approved the restore.