From 0f63728fd488fafcb730874d680013772840e521 Mon Sep 17 00:00:00 2001 From: Kestas Date: Thu, 27 Dec 2018 19:21:18 +0200 Subject: [PATCH] Update _index.md At least in CentOS 7 :z is needed to make it work. Source: https://stackoverflow.com/questions/24288616/permission-denied-on-accessing-host-directory-in-docker --- .../v2.x/en/backups/backups/single-node-backups/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/rancher/v2.x/en/backups/backups/single-node-backups/_index.md b/content/rancher/v2.x/en/backups/backups/single-node-backups/_index.md index 92ac00ab4a7..2a7202ecb60 100644 --- a/content/rancher/v2.x/en/backups/backups/single-node-backups/_index.md +++ b/content/rancher/v2.x/en/backups/backups/single-node-backups/_index.md @@ -54,7 +54,7 @@ This procedure creates a backup that you can restore if Rancher encounters a dis 1. From the data container that you just created (`rancher-data-`), create a backup tarball (`rancher-data-backup--.tar.gz`). Use the following command, replacing each [placeholder](#before-you-start). ``` - 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:z alpine tar zcvf /backup/rancher-data-backup--.tar.gz /var/lib/rancher ``` **Step Result:** A stream of commands runs on the screen.