Hello! I've recently been testing out PieFed (I followed the Docker install instructions), it's actually working quite well... However, I'm a bit of a newbie system administrator, I was wondering if there was a guide or documentation available on how to back up/restore a PieFed instance installed this way? Being able to back up and restore the instance is the one stumbling block I need to get past in order to self host PieFed, so I would certainly appreciate any help that people can provide ๐Ÿ˜€ Thanks!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 2 points 10 months ago (2 children)

In addition to the DB, there's also a media directory with a lot of stuff like images. I guess that should be saved as well. Not sure how that's done with Docker but I'm sure it has some mechanism to back up volumes. It's called "media" in the docker compose file, or "app/static/media/" in my non-containerized install.

  • source
  • parent
  • hideshow 2 child comments
  • [โ€“] [S] 2 points 10 months ago (1 child)

    Unfortunately I haven't been able to figure this out, I was able to write a script for Mastodon that automated the process of dumping the database, copying the system folder and so on, I was able to restore a test backup I made successfully as well. I only say that to indicate that I have at least some familiarity with the shell, but not much ๐Ÿ˜ In the case of Mastodon it's running on "bare metal" so to speak rather than Docker, so this is probably much easier for someone who is familiar with Docker!

  • source
  • parent
  • hideshow 1 child comment