Task #6711
Document how to back up and restore Pulp 3
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:
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¶
- Stop all pulp services
- Stop postgresql
- Backup MEDIA_ROOT, e.g.
/var/lib/pulp
/ - Backup Postgresql
- 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¶
- Stop all pulp services
- Stop postgresql Restore MEDIA_ROOT (with correct file permissions)
- Restore postgresql
- restore S3 or Azure
History
#4
Updated by bmbouter 8 months ago
- Sprint set to Sprint 74
Grooming on irc w/ daviddavis and @dkliban
#11
Updated by daviddavis 5 months ago
- Sprint deleted (
Sprint 79)
Removing from sprint per our pulpcore meeting.
Please register to edit this issue