Debian: B&R: Home directory not being backed up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Al Bailey |
Bug Description
Brief Description
-----------------
Doing a backup of a 22.06 Debian AIO-SX and attempting the restore (with some workarounds)
it is determined that the 'home' directory is not being backed up.
Severity
--------
Minor
Steps to Reproduce
------------------
Install AIO-SX Debian (unlocked)
Perform a backup
ansible-playbook /usr/share/
Examine the contents of the backed up file, and note that the 'home' directory is just a symlink to /var/home and not the contents
Expected Behavior
------------------
The home directory contents should be backed up.
This is required for a restore to work
Actual Behavior
----------------
home directory is not backed up, therefore it cannot be restored
Reproducibility
---------------
100% (but only when other blockers are fixed. There are several other Debian B&R issues being resolved)
System Configuration
-------
Debian AIO-SX
Branch/Pull Time/Commit
-------
July 3, 2022
Last Pass
---------
N/A
Timestamp/Logs
--------------
2022-07-07 01:41:44,997 p=5242 u=sysadmin n=ansible | fatal: [localhost]: FAILED! => changed=true
cmd: tar -C / --overwrite --wildcards -xpf /scratch/
delta: '0:00:01.192716'
end: '2022-07-07 01:41:44.963375'
msg: non-zero return code
rc: 2
start: '2022-07-07 01:41:43.770659'
stderr: |-
tar: home/*: Not found in archive
tar: Exiting with failure status due to previous errors
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
Test Activity
-------------
Developer Testing
Workaround
----------
There is none. Backup needs to include this data.
We 'might' support a scenario where restore just skips if no home directory is found, but we will still want to fix this backup issue.
Changed in starlingx: | |
assignee: | nobody → Al Bailey (albailey1974) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.8.0 stx.debian stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /ansible- playbooks/ +/850076
Review: https:/