Project

Profile

Help

Task #6711

Document how to back up and restore Pulp 3

Added by ttereshc over 1 year ago. Updated about 2 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Quarter:
Q3-2021

Description

Currently there are no docs about how to back up and restore a Pulp 3 installation.

  • Create a page for backup and restore
  • It should list all the components which needs to be backed up
  • It should mention all the requirements and caveats (e.g. pulp version should be the same for backup+restore procedure, tasks in incomplete state needs to be cancelled, etc)

Details

This should be a conceptual guide. We do not want to document how to backup postgresql in great detail for example. There are so many ways to backup postgresql. Similarly for the filesystem, we can give a simple examples, but there are so many backup tools for files, e.g. cp -a rsync, or rdiff-backup, etc.

To backup

  1. Stop all pulp services
  2. Stop postgresql
  3. Backup MEDIA_ROOT, e.g. /var/lib/pulp/
  4. Backup Postgresql
  5. If using S3 or Azure you'll need to archive that somehow.

Also mention that temporary files are not needed to be included in the backup

To restore

  1. Stop all pulp services
  2. Stop postgresql Restore MEDIA_ROOT (with correct file permissions)
  3. Restore postgresql
  4. restore S3 or Azure

History

#1 Updated by ttereshc over 1 year ago

  • Subject changed from Document how to backup and restore Pulp 3 to Document how to back up and restore Pulp 3

#2 Updated by ttereshc over 1 year ago

  • Description updated (diff)

#3 Updated by bmbouter over 1 year ago

  • Description updated (diff)

#4 Updated by bmbouter over 1 year ago

  • Sprint set to Sprint 74

Grooming on irc w/ daviddavis and @dkliban

#5 Updated by bmbouter over 1 year ago

  • Description updated (diff)

#6 Updated by rchan over 1 year ago

  • Sprint changed from Sprint 74 to Sprint 75

#7 Updated by rchan over 1 year ago

  • Sprint changed from Sprint 75 to Sprint 76

#8 Updated by rchan over 1 year ago

  • Sprint changed from Sprint 76 to Sprint 77

#9 Updated by rchan about 1 year ago

  • Sprint changed from Sprint 77 to Sprint 78

#10 Updated by rchan about 1 year ago

  • Sprint changed from Sprint 78 to Sprint 79

#11 Updated by daviddavis about 1 year ago

  • Sprint deleted (Sprint 79)

Removing from sprint per our pulpcore meeting.

#12 Updated by bmbouter 5 months ago

  • Quarter set to Q2-2021

#13 Updated by ipanova@redhat.com 2 months ago

  • Quarter changed from Q2-2021 to Q3-2021

#14 Updated by mcorr 2 months ago

There's a request for this in our 2021 survey, so I am happy to find a ticket :)

#15 Updated by ttereshc about 2 months ago

Take into account cache invalidation

#16 Updated by ttereshc about 2 months ago

Backup and restore only with the new tasking system (3.14+)

Please register to edit this issue

Also available in: Atom PDF