From cba071def7df4af17f0bd525deaa56d18bdae79e Mon Sep 17 00:00:00 2001 From: Carlos Camacho Date: Tue, 17 Jul 2018 11:43:46 +0200 Subject: [PATCH] Add --xattrs to Overcloud backup We are missing to add --xattrs when running the Overcloud backup. Change-Id: I8250f8e9882c25bb6a0333d36d3928b2c5219b0a --- .../install/controlplane_backup_restore/02_overcloud_backup.rst | 2 +- .../controlplane_backup_restore/04_overcloud_restore.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/install/controlplane_backup_restore/02_overcloud_backup.rst b/doc/source/install/controlplane_backup_restore/02_overcloud_backup.rst index c2eb1714..d9aec3f6 100644 --- a/doc/source/install/controlplane_backup_restore/02_overcloud_backup.rst +++ b/doc/source/install/controlplane_backup_restore/02_overcloud_backup.rst @@ -109,7 +109,7 @@ paths to backup is as much general as possible. The following folders should be backed up:: mkdir -p /var/tmp/filesystem_backup/ - tar --ignore-failed-read \ + tar --xattrs --ignore-failed-read \ -zcvf /var/tmp/filesystem_backup/fs_backup-`date '+%Y-%m-%d-%H-%M-%S'`.tar.gz \ /etc/nova \ /var/log/nova \ diff --git a/doc/source/install/controlplane_backup_restore/04_overcloud_restore.rst b/doc/source/install/controlplane_backup_restore/04_overcloud_restore.rst index f08a601a..21841331 100644 --- a/doc/source/install/controlplane_backup_restore/04_overcloud_restore.rst +++ b/doc/source/install/controlplane_backup_restore/04_overcloud_restore.rst @@ -131,7 +131,7 @@ directory and uncompress all the data:: mkdir /var/tmp/filesystem_backup/data/ cd /var/tmp/filesystem_backup/data/ mv . - tar -xvzf .tar.gz + tar --xattrs -xvzf .tar.gz NOTE: Untarring directly on the / directory will override your current files. Its recommended to