Bug 1497858
| Summary: | katello-restore is not properly restoring the incremental backup | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Christian Marineau <cmarinea> | ||||
| Component: | Backup & Restore | Assignee: | Christine Fouant <cfouant> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Kedar Bidarkar <kbidarka> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.2.12 | CC: | adujicek, ajambhul, bbuckingham, jomitsch, kbidarka, pcreech, sauchter, smane | ||||
| Target Milestone: | Unspecified | Keywords: | Triaged | ||||
| Target Release: | Unused | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | katello-3.4.5-19 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1596354 (view as bug list) | Environment: | |||||
| Last Closed: | 2018-08-22 20:07:08 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: | |||||||
| Bug Blocks: | 1316897 | ||||||
| Attachments: |
|
||||||
|
Description
Christian Marineau
2017-10-02 21:51:18 UTC
Some additional information: 1. When the backup where created with the "--online-backup", as it takes database dumps, the restoration of incremental will be, in face, restoring a full database and thus the databases will be in a working state. However, the pulp filesystem will be inconsistent and broken. 2. In addition the the database, the pulp file system /var/lib/pulp is also suffering from being reset. Some directories are delete when the Satellite is reset, so the incremental will only restore some pieces and bits. Created redmine issue http://projects.theforeman.org/issues/23107 from this bug Followed the below procedure to test and it works fine now. 1) satellite-backup -y /var/tmp/sat-content >> /var/log/satellite/backups.log 2>&1 2) satellite-backup -y /var/tmp/sat-content --incremental /var/tmp/sat-content/satellite-backup-20180801092000 >> /var/log/satellite/backups.log 2>&1 3) satellite-restore /var/tmp/sat-content/satellite-backup-20180801092000/ 4) satellite-restore -i /var/tmp/sat-content/satellite-backup-20180801093900 Restored successfully and "hammer ping" working. VERIFIED with Sat6.3.3 snap2. Will attach some logs shortly. Created attachment 1472709 [details]
Satellite6 full and incremental restore logs
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:2550 |