Bug #23637
Updated by Martin Bacovsky almost 7 years ago
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 <pre> 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: </pre> [1] http://projects.theforeman.org/issues/23592