Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1544401

Summary: k-backup fails when passed a relative path for the destination
Product: Red Hat Satellite Reporter: Evgeni Golov <egolov>
Component: Backup & RestoreAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bkearney, ehelms, mmccune
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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 13:29:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1544396, 1553882, 1553883    
Bug Blocks: 1557333    

Comment 4 jcallaha 2018-03-26 17:30:11 UTC
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 13:29:48 UTC
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