From 7b9d8442a22e5148517f511e238ef0e113d60514 Mon Sep 17 00:00:00 2001 From: Andrew Greenwood Date: Tue, 10 Sep 2019 19:02:03 -0600 Subject: [PATCH 1/4] Command should use placeholder vs rancher-data I think? --- .../v2.x/en/upgrades/upgrades/single-node-upgrade/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3bba237ec1a..16e306f82da 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 @@ -14,7 +14,7 @@ During upgrade, you'll enter a series of commands, filling placeholders with dat ``` -docker run --volumes-from rancher-data -v $PWD:/backup busybox tar zcvf /backup/rancher-data-backup--.tar.gz /var/lib/rancher +docker run --volumes-from -v $PWD:/backup busybox tar zcvf /backup/rancher-data-backup--.tar.gz /var/lib/rancher ``` In this command, `-` is the version number and date of creation for a backup of Rancher. From 4655f0a8699b44fc0fe272faec598982f42576b4 Mon Sep 17 00:00:00 2001 From: Andrew Greenwood Date: Tue, 10 Sep 2019 19:09:49 -0600 Subject: [PATCH 2/4] Simplify the example I was confused with the initial example.. suggest simplifying it so the placeholder doesn't require scrolling to the left to find. --- .../v2.x/en/upgrades/upgrades/single-node-upgrade/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 16e306f82da..feefc68367d 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 @@ -14,7 +14,7 @@ During upgrade, you'll enter a series of commands, filling placeholders with dat ``` -docker run --volumes-from -v $PWD:/backup busybox tar zcvf /backup/rancher-data-backup--.tar.gz /var/lib/rancher +docker stop ``` In this command, `-` is the version number and date of creation for a backup of Rancher. From 18a42a01352b5bb96b966e102667d37475a7eb45 Mon Sep 17 00:00:00 2001 From: Andrew Greenwood Date: Tue, 10 Sep 2019 19:12:28 -0600 Subject: [PATCH 3/4] Emphasis on example --- .../v2.x/en/upgrades/upgrades/single-node-upgrade/_index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 feefc68367d..21850d55a70 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 @@ -10,8 +10,9 @@ To upgrade Rancher Server 2.x when a new version is released, create a data cont ## Before You Start -During upgrade, 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: +During upgrade, 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: ``` docker stop From c6e62f0c00175f857f64832aa0b6df2ac765f8a4 Mon Sep 17 00:00:00 2001 From: Andrew Greenwood Date: Thu, 12 Sep 2019 20:41:07 -0600 Subject: [PATCH 4/4] Update explanation --- .../v2.x/en/upgrades/upgrades/single-node-upgrade/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 21850d55a70..52882472573 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 @@ -18,7 +18,7 @@ Here's an **example** of a command with a placeholder: docker stop ``` -In this command, `-` is the version number and date of creation for a backup of Rancher. +In this command, `` is the name of your Rancher container. 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](#completing-the-upgrade).