Project

General

Profile

Bug #18329

Support use of snapshots in katello-backup to allow service to be restored quickly

Added by Christine Fouant over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Backup & Restore
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1284686

Description of problem:

katello-backup is horrendously slow, and while the backup is being taken
the satellite system is offline (since the services have been shutdown).

My customer is reporting that their backups are now taking over 11hrs

In order to minimize the time taken for the we should support
taking LVM snapshots of the various volumes for postgresql, pulp,
mongodb (and any other required data).

The technique is as follows. Use SSM to manage the snapshots.
- Shutdown services
- Create snapshots and mount them
- Restart services
- Backup snapshots (without v and -z, see bz#1283578)
Unmount and remove snapshots

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

6.1.3

Actual results:

Without using this procedure, backup speed remains unacceptable

Expected results:

Restoration of the satellite services is much faster.
There is no need to wait for the backup to complete.

Additional info:

Associated revisions

Revision 5536ca4b (diff)
Added by Christine Fouant about 5 years ago

fixes #18329 - adds LVM snapshots to backup

History

#1 Updated by Christine Fouant over 5 years ago

  • Project changed from Katello to Packaging
  • Category deleted (Backup & Restore)

#2 Updated by Eric Helms over 5 years ago

  • Project changed from Packaging to Katello

#3 Updated by Eric Helms over 5 years ago

  • Legacy Backlogs Release (now unused) set to 114

#4 Updated by Eric Helms over 5 years ago

  • Priority changed from High to Normal

#5 Updated by Christine Fouant about 5 years ago

  • Project changed from Katello to Packaging

#6 Updated by Christine Fouant about 5 years ago

  • Project changed from Packaging to Katello

#7 Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Legacy Backlogs Release (now unused) deleted (114)
  • Pull request https://github.com/Katello/katello-packaging/pull/414 added

#8 Updated by John Mitsch about 5 years ago

  • Category set to Backup & Restore
  • Legacy Backlogs Release (now unused) set to 228

#9 Updated by Justin Sherrill about 5 years ago

  • Legacy Backlogs Release (now unused) changed from 228 to 258

#10 Updated by Christine Fouant about 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#11 Updated by The Foreman Bot about 5 years ago

  • Pull request https://github.com/Katello/katello-packaging/pull/475 added

#12 Updated by Eric Helms about 5 years ago

  • Legacy Backlogs Release (now unused) changed from 258 to 267

#13 Updated by Eric Helms about 5 years ago

  • Legacy Backlogs Release (now unused) changed from 267 to 258

Also available in: Atom PDF