Bug 1254413
Summary: | [RFE] implement incremental backup of pulp data in the katello-backup tool | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Anand Vaddarapu <avaddara> |
Component: | Packaging | Assignee: | Lukas Zapletal <lzap> |
Status: | CLOSED ERRATA | QA Contact: | Chris Roberts <chrobert> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1.0 | CC: | adahms, agouny, aupadhye, avaddara, bbuckingham, bkearney, chrobert, cwelton, ehelms, lzap, mmccune, oshtaier, xdmoon |
Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://projects.theforeman.org/issues/13121 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: |
With this release, the backup script has been updated to perform incremental backups of the raw packages. This speeds up all subsequent backups.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 11:26:43 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: |
Description
Anand Vaddarapu
2015-08-18 04:20:29 UTC
Please assure this is adequately documented before moving to ONQA Created redmine issue http://projects.theforeman.org/issues/13121 from this bug Upstream bug component is Content Management Upstream bug component is Packaging Connecting redmine issue http://projects.theforeman.org/issues/13121 from this bug Moving to POST since upstream bug http://projects.theforeman.org/issues/13121 has been closed ------------- Christine Fouant Applied in changeset katello:commit:katello-packaging|8f5fecfd1de9d75c705bb4928583e05b9437efde. VERIFIED SNAP20 Created three backups, one full, two more incremental. No change was made in backup 02, new host was created in 03. [root@sgi-xe270-01 01]# ll total 14796 -rw-r--r--. 1 root root 678007 Jul 15 11:53 config_files.tar.gz -rw-r--r--. 1 root root 17658 Jul 15 11:53 config.snar -rw-r--r--. 1 root root 566211 Jul 15 11:53 mongo_data.tar.gz -rw-r--r--. 1 root root 232 Jul 15 11:53 mongo.snar -rw-r--r--. 1 root root 12644471 Jul 15 11:53 pgsql_data.tar.gz -rw-r--r--. 1 root root 21746 Jul 15 11:53 postgres.snar -rw-r--r--. 1 root root 1167360 Jul 15 11:53 pulp_data.tar -rw-r--r--. 1 root root 35096 Jul 15 11:53 pulp.snar [root@sgi-xe270-01 01]# cd / [root@sgi-xe270-01 /]# ll /backup/01 total 14796 -rw-r--r--. 1 root root 678007 Jul 15 11:53 config_files.tar.gz -rw-r--r--. 1 root root 17658 Jul 15 11:53 config.snar -rw-r--r--. 1 root root 566211 Jul 15 11:53 mongo_data.tar.gz -rw-r--r--. 1 root root 232 Jul 15 11:53 mongo.snar -rw-r--r--. 1 root root 12644471 Jul 15 11:53 pgsql_data.tar.gz -rw-r--r--. 1 root root 21746 Jul 15 11:53 postgres.snar -rw-r--r--. 1 root root 1167360 Jul 15 11:53 pulp_data.tar -rw-r--r--. 1 root root 35096 Jul 15 11:53 pulp.snar [root@sgi-xe270-01 /]# ll /backup/02 total 4300 -rw-r--r--. 1 root root 22589 Jul 15 11:55 config_files.tar.gz -rw-r--r--. 1 root root 17658 Jul 15 11:55 config.snar -rw-r--r--. 1 root root 566328 Jul 15 11:55 mongo_data.tar.gz -rw-r--r--. 1 root root 232 Jul 15 11:55 mongo.snar -rw-r--r--. 1 root root 3474028 Jul 15 11:55 pgsql_data.tar.gz -rw-r--r--. 1 root root 21748 Jul 15 11:55 postgres.snar -rw-r--r--. 1 root root 245760 Jul 15 11:55 pulp_data.tar -rw-r--r--. 1 root root 35096 Jul 15 11:55 pulp.snar [root@sgi-xe270-01 /]# ll /backup/03 total 4592 -rw-r--r--. 1 root root 23745 Jul 15 12:00 config_files.tar.gz -rw-r--r--. 1 root root 17676 Jul 15 12:00 config.snar -rw-r--r--. 1 root root 566443 Jul 15 12:00 mongo_data.tar.gz -rw-r--r--. 1 root root 231 Jul 15 12:00 mongo.snar -rw-r--r--. 1 root root 3774293 Jul 15 12:00 pgsql_data.tar.gz -rw-r--r--. 1 root root 21746 Jul 15 12:00 postgres.snar -rw-r--r--. 1 root root 245760 Jul 15 12:00 pulp_data.tar -rw-r--r--. 1 root root 35096 Jul 15 12:00 pulp.snar One comment tho - it is unclear how to restore from incremental backup. But this is out off scope of this BZ, we will file upstream ticket for this: https://github.com/Katello/katello-packaging/pull/144#issuecomment-233001940 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-2016:1501 |