Description of problem: In rhel7 Use rlFileBackup --clean /etc, and then restore, the system crash. Version-Release number of selected component (if applicable): RHEL-7.0-20130306.0 Workstation x86_64 How reproducible: always Steps to Reproduce: 1. In rhel7. 2. rlFileBackup --clean /etc 3. rlFileRestore Actual results: system crash. keyboard/ping no response. Expected results: system normal. Additional info:
rm -rf the cleanup file/dir is not good idea. It's safer that traversal all file, if no exist in backup dir then delete.
Not inclined to fix this. --clean performs exactly what it is documented to do: --clean If this option is provided (have to be first option of the command), then file/dir backuped using this command (provided in next options) will be (resursively) removed before we will restore it. If something is not safe to remove at all, do not call --clean on it.