The following items are now fixed on Debian:
- disk usage of /home would have always returned zero.
- The backup of the /home directory would have only
included a symlink, and none of the contents.
- The restore would have failed due to not finding a
valid /home subdirectory from a Debian backup.
- The restore can now detect /var/home and extract it
if it exists, otherwise extracting /home (ie: CentOS)
Test Plan:
PASS: Backup(Centos) / Restore(CentOS)
PASS: Backup(Debian) / Restore(Debian)
Closes-Bug: #1980980
Signed-off-by: Al Bailey <email address hidden>
Change-Id: I564c05822483f2b3fcd9f20320b0445a97d7f399
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/850076 /opendev. org/starlingx/ ansible- playbooks/ commit/ 83db92c9408707c 34addf93a81a01a 828db25dbb
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 83db92c9408707c 34addf93a81a01a 828db25dbb
Author: Al Bailey <email address hidden>
Date: Thu Jul 14 16:53:02 2022 +0000
Debian: Backup and Restore fixes for home dir
On Debian /home is a symlink to /var/home
The following items are now fixed on Debian:
- disk usage of /home would have always returned zero.
- The backup of the /home directory would have only
included a symlink, and none of the contents.
- The restore would have failed due to not finding a
valid /home subdirectory from a Debian backup.
- The restore can now detect /var/home and extract it
if it exists, otherwise extracting /home (ie: CentOS)
Test Plan:
PASS: Backup(Centos) / Restore(CentOS)
PASS: Backup(Debian) / Restore(Debian)
Closes-Bug: #1980980 b3fcd9f20320b04 45a97d7f399
Signed-off-by: Al Bailey <email address hidden>
Change-Id: I564c05822483f2