Tarsier LabsTarsier Labs
🐡
Home
Categories
Tags
Bookmarks
About
Back to tags

disaster-recovery

0 articles

Detailed Explanation of Deployment Rollback Mechanism – Container Rollback and Database Recovery Shell Script Practice

Detailed Explanation of Deployment Rollback Mechanism – Container Rollback and Database Recovery Shell Script Practice

Based on a 151-line production-grade rollback script rollback.sh, this article explains three rollback modes in detail: container rollback (restarting the previous available image), database rollback (restoring backups with pg_restore), and the design approach for an interactive safety confirmation mechanism.

00
Operations and Deployment