this post was submitted on 06 Jun 2024
15 points (94.1% liked)

Lemmy

12572 readers
26 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] pe1uca@lemmy.pe1uca.dev 4 points 5 months ago* (last edited 5 months ago) (1 children)

Do you still have the old database? You should be able to move your instance around as long as you have a dump of your DB, that's where all the keys of each community and user in your instance are. Those are the ones telling other instances you're actually you, if you loose those I don't know what can be done so other instances flush your old content and treat you as a new account. But I would count on thi s being a feature since it could lead to people impersonating someone else if they get a hold of the domain without the DB.

EDIT: amm, maybe I didn't understand correctly, are you trying to move to a new domain? Or to a new server with the same domain?
What's re-home?

[–] mike_wooskey@lemmy.d.thewooskeys.com 1 points 5 months ago (1 children)

Thanks for the help, @pe1uca@lemmy.pe1uca.dev.

I do still have my old server (I'm posting this from it). The new Lemmy server is using a different domain.

[–] pe1uca@lemmy.pe1uca.dev 2 points 5 months ago (1 children)

Ah, then no, the last thing I knew about it you can't migrate accounts from one server to another, which is what you're trying to do here.
As I mentioned if you were able to move the keys which identify your account it would be easy for someone to impersonate you.
Also, your public keys are shared among all the instances you've interacted, so this might break your interactions there.