diff --git a/content/rancher/v2.x/en/upgrades/rollbacks/single-node-rollbacks/_index.md b/content/rancher/v2.x/en/upgrades/rollbacks/single-node-rollbacks/_index.md index baee8b006ae..9ee76e037da 100644 --- a/content/rancher/v2.x/en/upgrades/rollbacks/single-node-rollbacks/_index.md +++ b/content/rancher/v2.x/en/upgrades/rollbacks/single-node-rollbacks/_index.md @@ -66,18 +66,18 @@ If you have issues upgrading Rancher, roll it back to its lastest known healthy 1. Run the following command to replace the data in the `rancher-data` container with the data in the backup tarball, replacing the [placeholder](#before-you-start). Don't forget to close the quotes. ``` - docker run --volumes-from rancher-data - -v $PWD:/backup alpine sh -c "rm /var/lib/rancher/* -rf + docker run --volumes-from rancher-data \ + -v $PWD:/backup alpine sh -c "rm /var/lib/rancher/* -rf \ && tar zxvf /backup/rancher-data-backup--.tar.gz" ``` 1. Start a new Rancher Server container with the `` tag [placeholder](#before-you-start) pointing to the data container. ``` - docker run -d --volumes-from rancher-data + docker run -d --volumes-from rancher-data \ --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher: ``` >**Note:** _Do not_ stop the rollback after initiating it, even if the rollback process seems longer than expected. Stopping the rollback may result in database issues during future upgrades. 1. Wait a few moments and then open Rancher in a web browser. Confirm that the rollback succeeded and that your data is restored. -**Result:** Rancher is rolled back to its version and data state prior to upgrade. \ No newline at end of file +**Result:** Rancher is rolled back to its version and data state prior to upgrade.