Actions
Refactor #22566
closedk-backup should not accept exit 2 from tar when backing up configs
Status:
Closed
Priority:
Normal
Assignee:
Category:
Backup & Restore
Target version:
Fixed in Releases:
Found in Releases:
Description
Currently k-backup allows tar to exit with code 2 when backing up config files: https://github.com/theforeman/foreman-packaging/blob/rpm/develop/katello/katello/backup.rb#L335
This is most probably due to the fact that we try to backup folders that might not exist.
Instead we should only try to backup folders that are present.
Actions