Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1544401 - k-backup fails when passed a relative path for the destination
k-backup fails when passed a relative path for the destination
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Backup & Restore (Show other bugs)
6.3.0
Unspecified Unspecified
unspecified Severity high (vote)
: 6.3.1
: Unused
Assigned To: Evgeni Golov
jcallaha
: Regression, Triaged
Depends On: 1553883 1544396 1553882
Blocks: 1557333
  Show dependency treegraph
 
Reported: 2018-02-12 06:33 EST by Evgeni Golov
Modified: 2018-04-13 09:31 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
*Known Issue* Running `katello-backup` with a relative path for the destination, for example `katello-backup .', causes an error. *Workaround* Run `katello-backup` with a full path. For example 'katello-backup /backup-destination'.
Story Points: ---
Clone Of: 1544396
: 1557333 (view as bug list)
Environment:
Last Closed: 2018-04-13 09:29:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 22548 None None None 2018-02-12 06:33 EST
Red Hat Product Errata RHBA-2018:1126 None None None 2018-04-13 09:31 EDT

  None (edit)
Comment 4 jcallaha 2018-03-26 13:30:11 EDT
Verified in Satellite 6.3.1.


-bash-4.2# pwd
/tmp

-bash-4.2# mkdir backup

-bash-4.2# katello-backup backup

DEPRECATION WARNING: katello-backup is deprecated and will
be removed in the next Satellite release. It is being replaced by
satellite-backup. Redirecting to satellite-backup now.

Starting backup: 2018-03-26 19:15:37 +0200
Creating backup folder /tmp/backup/satellite-backup-20180326191537
Generating metadata ... 
Done.
Backing up config files... 
Done.

...

Done with backup: 2018-03-26 19:18:16 +0200
**** BACKUP Complete, contents can be found in: /tmp/backup/satellite-backup-20180326191537 ****


-bash-4.2# ll backup/
total 0
drwxrwx---. 2 root postgres 203 Mar 26 19:18 satellite-backup-20180326191537
Comment 6 errata-xmlrpc 2018-04-13 09:29:48 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:1126

Note You need to log in before you can comment on or make changes to this bug.