{"id":11,"date":"2026-11-28T10:17:00","date_gmt":"2026-11-28T10:17:00","guid":{"rendered":"https:\/\/wp.sys.ap.it\/2026\/11\/rolling-back\/"},"modified":"2026-11-28T10:17:00","modified_gmt":"2026-11-28T10:17:00","slug":"rolling-back","status":"publish","type":"post","link":"https:\/\/wptest-prova-pianc.sys.ap.it\/?p=11","title":{"rendered":"Rolling back"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Deployer keeps the last releases on disk. When one goes live and turns out to be wrong, <code>sudo cipi deploy &lt;app&gt; --rollback<\/code> moves <code>current<\/code> back to the previous release.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Try it: deploy twice, note the release number in the badge, roll back, reload. The uploads and the database are untouched \u2014 they were never in the release.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A deploy that fails leaves the site as it was. A deploy that succeeds and is wrong is one command away from the previous one.<\/p>\n","protected":false},"author":0,"featured_media":8,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[4,5],"class_list":["post-11","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-deploys","tag-cipi","tag-demo"],"_links":{"self":[{"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11"}],"version-history":[{"count":0,"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=\/wp\/v2\/media\/8"}],"wp:attachment":[{"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wptest-prova-pianc.sys.ap.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}