Actions
Bug #23637
closedbackup does not backup /var/lib/foreman-proxy/ssh dir for proxy
Difficulty:
Triaged:
Description
Backup is missing `/var/lib/foreman-proxy/ssh` which contains the actual keys. We backup just the symlink /usr/share/foreman-proxy/.ssh.
Another related issue is that due to bug in the installer [1] the symlink can be replaced with the actual content and restore fails with
I, [2018-05-17 09:10:18+0000 #27076] INFO -- : --- Execution step 'Restore configs from backup' started --- D, [2018-05-17 09:10:18+0000 #27076] DEBUG -- : Running command tar --selinux --extract --file=/tmo/katello-backup-2018-05-17-08-53-41/config_files.tar.gz --overwrite --gzip --listed-incremental=/dev/null --directory=/ with stdin nil D, [2018-05-17 09:10:23+0000 #27076] DEBUG -- : output of the command: tar: usr/share/foreman-proxy/.ssh: Cannot open: File exists E, [2018-05-17 09:10:23+0000 #27076] ERROR -- : Failed executing tar --selinux --extract --file=/tmo/katello-backup-2018-05-17-08-53-41/config_files.tar.gz --overwrite --gzip --listed-incremental=/dev/null --directory=/, exit status 2:
Actions