I host my own Lemmy instance and have a user account on it that I use everywhere (I don’t host local communities, I just use it as a home for my Lemmy user account). I needed to re-home my Lemmy server, and though it’s a docker installation, copying the /var/lib/docker/volumes/lemmy_* directories to the new installation didn’t work. So I created a new Lemmy server.

How can I move my old account to the new server, so I can keep all my subscriptions and post/comment history?

  • BlueÆther@no.lastname.nz
    link
    fedilink
    English
    arrow-up
    11
    ·
    25 days ago

    The correct way (for your use case) is probably to do a full backup of the database and pictrs database and then import them into the new instance.

    This is covered in the documentation

  • Die4Ever@programming.dev
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    2
    ·
    25 days ago

    In the user settings there’s an option to export everything to a file, then you just import that file into your other account

    • Kalcifer@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      24 days ago

      That only exports settings (general account config, saved posts and comments, blocked users, communities, and instances, etc.). That won’t export all of the user’s own posts and comments.

  • Dave@lemmy.nz
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    25 days ago

    You can’t keep your comment history on a brand new account.

    Aren’t the Lemmy volumes bind mounts, so not in the docker volumes folder but instead on the file system as mapped in the docker-compose.yml file?