this post was submitted on 09 Jan 2026
23 points (100.0% liked)
PieFed Meta
4414 readers
25 users here now
Discuss PieFed project direction, provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics.
Wiki
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I appreciate all of the advice, it's really just my inexperience that's a problem here. It sounds as if it would be a simple matter of dumping the database from the Docker image and backing up the appropriate directories, but I'm having a heck of a time figuring out how to do that exactly. I'll keep trying though, but if any system admin out there could provide some concrete examples, I'd really appreciate it!
I am not much of a sysadmin either and have had to get help from some other instance admins in the past. Here is the exact process I go through to manually make and then restore a backup. I don't have this automated since I just work in dev environments, but you could put this in a shell script and schedule it with cron or something like that.
Here is how I make the backup (
pgdatafolder in my case):And here is how I restore the backup if I mess up my db:
I'd like to thank you very much for this, it's easy to follow and it explains each of the steps well! I will go about turning this into a script for cron!