Add --xattrs to Overcloud backup
We are missing to add --xattrs when running the Overcloud backup. Change-Id: I8250f8e9882c25bb6a0333d36d3928b2c5219b0a
This commit is contained in:
parent
f183e78ba9
commit
cba071def7
@ -109,7 +109,7 @@ paths to backup is as much general as possible.
|
|||||||
The following folders should be backed up::
|
The following folders should be backed up::
|
||||||
|
|
||||||
mkdir -p /var/tmp/filesystem_backup/
|
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 \
|
-zcvf /var/tmp/filesystem_backup/fs_backup-`date '+%Y-%m-%d-%H-%M-%S'`.tar.gz \
|
||||||
/etc/nova \
|
/etc/nova \
|
||||||
/var/log/nova \
|
/var/log/nova \
|
||||||
|
@ -131,7 +131,7 @@ directory and uncompress all the data::
|
|||||||
mkdir /var/tmp/filesystem_backup/data/
|
mkdir /var/tmp/filesystem_backup/data/
|
||||||
cd /var/tmp/filesystem_backup/data/
|
cd /var/tmp/filesystem_backup/data/
|
||||||
mv <path_to_the_backup_file> .
|
mv <path_to_the_backup_file> .
|
||||||
tar -xvzf <backup_faile>.tar.gz
|
tar --xattrs -xvzf <backup_file>.tar.gz
|
||||||
|
|
||||||
NOTE: Untarring directly on the / directory will
|
NOTE: Untarring directly on the / directory will
|
||||||
override your current files. Its recommended to
|
override your current files. Its recommended to
|
||||||
|
Loading…
Reference in New Issue
Block a user