From e1252cfab729a8334b986479e475fc5119686662 Mon Sep 17 00:00:00 2001 From: dnoland1 Date: Wed, 19 Dec 2018 20:58:59 -0800 Subject: [PATCH] Updated single node upgrade International friendly date format, "ls" instead of "dir" command. --- .../upgrades/single-node-upgrade/_index.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/content/rancher/v2.x/en/upgrades/upgrades/single-node-upgrade/_index.md b/content/rancher/v2.x/en/upgrades/upgrades/single-node-upgrade/_index.md index 76473ff51da..f8251a3c9e8 100644 --- a/content/rancher/v2.x/en/upgrades/upgrades/single-node-upgrade/_index.md +++ b/content/rancher/v2.x/en/upgrades/upgrades/single-node-upgrade/_index.md @@ -24,10 +24,10 @@ Cross reference the image and reference table below to learn how to obtain this | Placeholder | Example | Description | | -------------------------- | -------------------------- | --------------------------------------------------------- | -| `` | `v2.0.5` | The rancher/rancher image you pulled for initial install. | +| `` | `v2.1.3` | The rancher/rancher image you pulled for initial install. | | `` | `festive_mestorf` | The name of your Rancher container. | -| `` | `v2.0.5` | The version of Rancher that you're creating a backup for. | -| `` | `9-27-18` | The date that the data container or backup was created. | +| `` | `v2.1.3` | The version of Rancher that you're creating a backup for. | +| `` | `2018-12-19` | The date that the data container or backup was created. |
You can obtain `` and `` by logging into your Rancher Server by remote connection and entering the command to view the containers that are running: `docker ps`. You can also view containers that are stopped using a different command: `docker ps -a`. Use these commands for help anytime during while creating backups. @@ -63,15 +63,17 @@ During upgrade, you create a copy of the data from your current Rancher containe ``` - docker run --volumes-from rancher-data -v $PWD:/backup alpine tar zcvf /backup/rancher-data-backup--.tar.gz /var/lib/rancher + docker run --volumes-from rancher-data -v $PWD:/backup alpine tar zcvf /backup/rancher-data-backup--.tar.gz /var/lib/rancher ``` **Step Result:** When you enter this command, a series of commands should run. -1. Enter the `dir` command to confirm that the backup tarball was created. It will have a name similar to `rancher-data-backup--`. - - ![Backup Backup Tarball]({{< baseurl >}}/img/rancher/dir-backup-tarball.png) +1. Enter the `ls` command to confirm that the backup tarball was created. It will have a name similar to `rancher-data-backup--.tar.gz`. + ``` + [rancher@ip-10-0-0-50 ~]$ ls + rancher-data-backup-v2.1.3-20181219.tar.gz + ``` 1. Move your backup tarball to a safe location external from your Rancher Server.