Deployer keeps the last releases on disk. When one goes live and turns out to be wrong, sudo cipi deploy <app> --rollback moves current back to the previous release.
Try it: deploy twice, note the release number in the badge, roll back, reload. The uploads and the database are untouched — they were never in the release.

Leave a Reply