Description of problem:
Running `db-control verify $online_backup_file` prints (on stdout)
** Restoring from file $online_backup_file.
From what I know, we do not support verify on hot-backups.
Version-Release number of selected component (if applicable): 5.6
How reproducible: always/deterministic
Steps to Reproduce:
chmod a+wx $backupdir
db-control online-backup $backupdir/backup
# requested by db-control verify
spacewalk-service --exclude=postgresql stop
db-control verify $backupdir/backup 2>/dev/null
... "** Restoring from file $backupdir/backup.\nRestoration complete.\n"
Shutting down db probably should not be requested.
Warning that verifying on-line backups is not supported.
Exit with non-zero value.
Differentiation based just on fact that cold-backup is directory
while hot-backup is file may suffice(?).
Fixed in spacewalk master by
970146 - fix db-control examine and verify for online backups
Satellite 5.6 has been released. This bug was tracked under the release.
This bug was either VERIFIED or RELEASE_PENDING (re-verified prior shortly
Moving to CLOSED CURRENT_RELEASE.
Text from Upgrade Erratum follows:
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.