During the creation of your backup, you’ll enter a series of commands, replacing 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, <DATE> is a placeholder for the date that the data container and backup were created. 9-27-18 for example.

    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>

    Creating a Backup

    This procedure creates a backup that you can restore if Rancher encounters a disaster scenario.

    1. Using a remote Terminal connection, log into the node running your Rancher Server.

    2. Use the command below, replacing each placeholder, to create a data container from the Rancher container that you just stopped.

    3. Step Result: A stream of commands runs on the screen.

    4. Move your backup tarball to a safe location external to your Rancher Server. Then delete the rancher-data-<DATE> container from your Rancher Server.

    5. Restart Rancher Server. Replace with the name of your Rancher container: