From 6451964879b0a932c5f83feaf2e747340c4e344f Mon Sep 17 00:00:00 2001 From: Denise Schannon Date: Tue, 12 Feb 2019 14:40:00 -0800 Subject: [PATCH] add new lines in backups --- .../restorations/single-node-restoration/_index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/rancher/v2.x/en/backups/restorations/single-node-restoration/_index.md b/content/rancher/v2.x/en/backups/restorations/single-node-restoration/_index.md index 0a09c1c0684..aacc1ea7d7c 100644 --- a/content/rancher/v2.x/en/backups/restorations/single-node-restoration/_index.md +++ b/content/rancher/v2.x/en/backups/restorations/single-node-restoration/_index.md @@ -13,8 +13,8 @@ If you encounter a disaster scenario, you can restore your Rancher Server to you During restoration 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: ``` -docker run --volumes-from -v $PWD:/backup -alpine sh -c "rm /var/lib/rancher/* -rf && +docker run --volumes-from -v $PWD:/backup \ +alpine sh -c "rm /var/lib/rancher/* -rf && \ tar zxvf /backup/rancher-data-backup--" ``` @@ -55,8 +55,8 @@ Using a [backup]({{< baseurl >}}/rancher/v2.x/en/backups/backups/single-node-bac >**Warning!** This command deletes all current state data from your Rancher Server container. Any changes saved after your backup tarball was created will be lost. ``` - docker run --volumes-from -v $PWD:/backup - alpine sh -c "rm /var/lib/rancher/* -rf && + docker run --volumes-from -v $PWD:/backup \ + alpine sh -c "rm /var/lib/rancher/* -rf && \ tar zxvf /backup/rancher-data-backup--.tar.gz" ```