1.2 KiB
1.2 KiB
Migration Rollback Plan
If Things Go Wrong
Immediate Rollback (During Migration)
If service fails on new VPS:
- DO NOT stop TX1 service
- Revert DNS in Cloudflare (instant)
- TX1 service continues working
- Debug VPS issue offline
Maximum Downtime: DNS TTL (5 minutes)
Service-Specific Rollback
Gitea Rollback
# On Cloudflare
git.firefrostgaming.com A record → 38.68.14.26 (TX1)
# On TX1
systemctl start gitea
Uptime Kuma Rollback
# On Cloudflare
status.firefrostgaming.com A record → 38.68.14.26 (TX1)
# On TX1
systemctl start uptime-kuma
MkDocs Rollback
# On Cloudflare
docs.firefrostgaming.com A record → 38.68.14.26 (TX1)
# On TX1
systemctl start mkdocs
Data Recovery
If Backup Needed
All backups stored in /root/migration-backups/ on TX1:
gitea-backup.tar.gz+gitea-dump.sqlkuma-backup.tar.gzmkdocs-source.tar.gz
Retention: 7 days after successful migration
Lessons Learned Log
What went wrong:
Root cause:
How we fixed it:
How to prevent next time:
Remember: Don't panic. TX1 services are still running. DNS changes are instant.