Task #6711
closedDocument how to back up and restore Pulp 3
0%
Description
Ticket moved to GitHub: "pulp/pulpcore/1894":https://github.com/pulp/pulpcore/issues/1894
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
Updated by ttereshc over 4 years ago
- Subject changed from Document how to backup and restore Pulp 3 to Document how to back up and restore Pulp 3
Updated by bmbouter over 4 years ago
- Sprint set to Sprint 74
Grooming on irc w/ @daviddavis and @dkliban
Updated by daviddavis over 4 years ago
- Sprint deleted (
Sprint 79)
Removing from sprint per our pulpcore meeting.
Updated by ipanova@redhat.com over 3 years ago
- Quarter changed from Q2-2021 to Q3-2021
Updated by mcorr over 3 years ago
There's a request for this in our 2021 survey, so I am happy to find a ticket :)
Updated by ttereshc over 3 years ago
Backup and restore only with the new tasking system (3.14+)
Updated by ipanova@redhat.com about 3 years ago
- Quarter changed from Q3-2021 to Q4-2021
Updated by pulpbot almost 3 years ago
- Description updated (diff)
- Status changed from NEW to CLOSED - DUPLICATE