During restore of your backup, you’ll enter a series of commands, filling placeholders with data from your environment. These placeholders are denoted with angled brackets and all capital letters (). Here’s an example of a command with a placeholder:
In this command, <RANCHER_CONTAINER_NAME>
and <RANCHER_VERSION>-<DATE>
are environment variables for your Rancher deployment.
Cross reference the image and reference table below to learn how to obtain this placeholder data. Write down or copy this information before starting the procedure below.
Terminal docker ps
Command, Displaying Where to Find <RANCHER_CONTAINER_TAG>
and <RANCHER_CONTAINER_NAME>
Restoring Backups
Using a that you created earlier, restore Rancher to its last known healthy state.
Stop the container currently running Rancher Server. Replace
<RANCHER_CONTAINER_NAME>
with the name of your Rancher container.Enter the following command to delete your current state data and replace it with your backup data, replacing the . Don’t forget to close the quotes.
Step Result: A series of commands should run.