Actions
Bug #22548
closedk-backup fails when passed a relative path for the destination
Status:
Closed
Priority:
High
Assignee:
Category:
Backup & Restore
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Description
# katello-backup . Starting backup: 2018-02-12 11:11:37 +0000 Creating backup folder ./katello-backup-20180212111138 Generating metadata ... /usr/share/foreman/lib/foreman.rb:8: warning: already initialized constant Foreman::UUID_REGEXP /usr/share/foreman/lib/foreman.rb:8: warning: previous definition of UUID_REGEXP was here Done. Backing up config files... Failed 'tar --selinux --create --gzip --file=./katello-backup-20180212111138/config_files.tar.gz --listed-incremental=./katello-backup-20180212111138/.config.snar /etc/foreman-proxy /etc/httpd /etc/foreman-installer /etc/pki/katello /etc/pki/katello-certs-tools /etc/pki/pulp /etc/pulp /etc/puppet /etc/qpid /etc/qpid-dispatch /root/ssl-build /var/www/html/pub /etc/squid /etc/puppetlabs /opt/puppetlabs/puppet/cache/foreman_cache_data /opt/puppetlabs/puppet/ssl/ /var/lib/puppet/foreman_cache_data /var/lib/puppet/ssl /etc/candlepin /etc/foreman /etc/hammer /etc/sysconfig/tomcat* /etc/tomcat* /var/lib/candlepin 2>/dev/null' with exit code 141 Cleaning up backup folder and starting any stopped services... /usr/share/ruby/fileutils.rb:125: warning: conflicting chdir during another chdir block Done.
Calling katello-backup $(pwd)
works as expected.
Actions