Hello from @cwagner@lemmy.cwagner.me ;) I decided that if I’d wait until federation issues stop being a thing, I’d probably start using reddit again, so no webfingering to @cwagner@cwagner.me as I was never sure what was a webfinger issue, and what was with stuff simply not working properly.

Now running Lemmy on an arm64 server for myself, with the help of the amazing Lemmy Easy Deploy script (a helper to generate appropriate docker-compose files), whose dev also fixed the official arm64 issues.

Now, I never had to back up any docker service (my other server only has 2 bare-metal installations, and at home I use Proxmox LXCs), so I’d both like to know what considerations there are for docker, and what I generally need to back up with Lemmy.

General strategy will be rsyncing what is needed to Backblaze, but getting that list is my question. One issue I can imagine is the frequently changing pictrs cache, which I’ll probably want to exclude.

  • terribleplan@lemmy.nrd.li
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Pictrs is a mix of both cache and long-lived images on anything you post, your profile image, etc. So you may want to back it up… Apparently there may also be some sort of internal database pictrs uses as well, but I haven’t looked into that…

    I would suggest taking postgres dumps and backing those up rather than trying to back up the data directory, as according to the pg docs when taking a disk-level backup “[t]he database server must be shut down in order to get a usable backup.”

    • cwagner@lemmy.cwagner.meOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Yeah, unless I’m going with machine-snapshots (which might actually be an option, it’s not that expensive, unless I need to upgrade the 40 GB SSD, it’s less than $1 per month), I’m taking dumps. I work with DBs, taking random data backups will be almost completely useless ;)

      I know pictrs also has my uploaded images, but I kinda hoped those could be backed up separately.