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 1569672

Summary: Deprecate katello-backup, and katello-restore in Satellite 6.3
Product: Red Hat Satellite Reporter: John Mitsch <jomitsch>
Component: Backup & RestoreAssignee: John Mitsch <jomitsch>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: bbuckingham, jentrena, jomitsch, mmccune, pcreech, sghai, zhunting
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: satellite-6.3.4-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-11 15:18:07 UTC Type: Bug
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: 1567884    
Bug Blocks:    

Description John Mitsch 2018-04-19 18:36:09 UTC
Description of problem:

katello-service, katello-backup, and katello-restore functionality is going to be in foreman-maintain in 6.4. The original katello-* and satellite-* scripts will still live in 6.4, but we should deprecate them and remove them in 6.5 since they will be removed upstream.

Version-Release number of selected component (if applicable):
6.4

Comment 2 John Mitsch 2018-04-30 20:11:51 UTC
After a off-thread discussion, we have decided to remove the original katello-backup/restore scripts in 6.4 and deprecate them in 6.3.

Brad, can you update the flags for 6.3?

Comment 3 Mike McCune 2018-04-30 20:20:22 UTC
this would be 6.3.z only with a DEPRECATION WARNING in the output of katello-backup/restore but have zero effect on the actual functionality of the 2 tools.

Comment 12 jcallaha 2018-09-24 17:41:51 UTC
Verified in Satellite 6.3.4 Snap 2


-bash-4.2# satellite-backup --help
DEPRECATION WARNING: satellite-backup and katello-backup will be removed in Satellite 6.4, where they will be replaced by foreman-maintain
Usage: satellite-backup /path/to/dir [options]
 eg: $ satellite-backup /tmp/satellite-backup
        --skip-pulp-content          Create backup without Pulp content for debugging only
        --incremental PREVIOUS_BACKUP_DIR
                                     Backup changes since previous backup
        --online-backup              Keep services online during backup
        --logical-db-backup          Also dump full database schema during offline backup
        --snapshot                   Use snapshots of the databases to create backup
        --snapshot-mount-dir SNAPSHOT_MOUNT_LOCATION
                                     Override default directory (/var/snap/) where the snapshots will be mounted
        --snapshot-size SNAPSHOT_BLOCK_DEVICE_SIZE
                                     Override default block size (2G)
        --features FEATURES          Capsule features to include in the backup, please specify a list with commas. Valid features are tftp, dns, dhcp, openscap, and all.
        --preserve-directory         Do not create a time-stamped subdirectory
    -y, --assumeyes                  Bypass interaction by answering yes



-bash-4.2# satellite-restore --help
DEPRECATION WARNING: satellite-restore and katello-restore will be removed in Satellite 6.4, where they will be replaced by foreman-maintain
Usage: satellite-restore /path/to/dir [options]
 eg: $ satellite-restore /tmp/backup/satellite-backup-20171002150106
    -i, --incremental                Restore an incremental backup
    -y, --assumeyes                  Answer yes for all questions

Comment 14 errata-xmlrpc 2018-10-11 15:18:07 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:2915