Project

General

Profile

Actions

Bug #22548

closed

k-backup fails when passed a relative path for the destination

Added by Evgeni Golov about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Backup & Restore
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

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 #1

Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-packaging/pull/2193 added
Actions #2

Updated by Evgeni Golov about 6 years ago

  • Bugzilla link set to 1544396
Actions #3

Updated by Justin Sherrill about 6 years ago

  • translation missing: en.field_release set to 284
Actions #4

Updated by John Mitsch about 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by John Mitsch about 6 years ago

  • translation missing: en.field_release changed from 284 to 352
Actions

Also available in: Atom PDF