Description of problem: katello-backup shuts down satellite services even if issued with parameter '--online-backup' - exactly opposite to the impression - it sounds like should keep the things running. When the backup is complete the services are back. Version-Release number of selected component (if applicable): How reproducible: katello-backup --skip-pulp-content /var/backup katello-backup --online backup --skip-pulp-content /var/backup try to connect to satellite using browser and/or observe if port 443 is listening - it should be shut down in both cases Expected results: The second option --online-backup should keep satellite services running
Please add verifications steps for this bug to help QE verify
(In reply to pm-sat from comment #3) > Please add verifications steps for this bug to help QE verify Verification steps: 1) Run katello-backup with the online-backup option (i.e. #katello-backup /tmp/backup --online-backup) 2) Verify that services stay online during the backup process. Please let me know if you need anything else, thanks!
Hello Does the service *stay* down after using --on-line option? It is explained in the guide [1] that "the time consuming backup of the Pulp directory is performed on-line to reduce the time Satellite services are unavailable. Configuration files and databases are backed up off-line first." and then later "The katello-backup script with the --online-backup option first stops all services which could impact the backup, backs up the configuration files and databases, restarts the required services, and then performs the more time consuming backup of the Pulp directory" Is any of that incorrect at the moment? Thank you [1] https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html/server_administration_guide/chap-red_hat_satellite-server_administration_guide-backup_and_disaster_recovery
sorry for typo: --online-backup option I should have said in comment 5
(In reply to Stephen Wadeley from comment #5) > Hello > > > Does the service *stay* down after using --on-line option? > > It is explained in the guide [1] that "the time consuming backup of the Pulp > directory is performed on-line to reduce the time Satellite services are > unavailable. Configuration files and databases are backed up off-line first." > > and then later "The katello-backup script with the --online-backup option > first stops all services which could impact the backup, backs up the > configuration files and databases, restarts the required services, and then > performs the more time consuming backup of the Pulp directory" > > > Is any of that incorrect at the moment? > > Thank you > > > [1] > https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html/ > server_administration_guide/chap-red_hat_satellite- > server_administration_guide-backup_and_disaster_recovery Yes, as the code currently stands, running katello-backup will shut down services regardless of whether or not the --online-backup option is used. However, if --online-backup is selected, the services never even start back up via the script.
*** Bug 1430736 has been marked as a duplicate of this bug. ***
Verified in Sat 6.2.9-1, katello-backup no longer shuts down services with --online-backup option
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-2017:1191