this post was submitted on 13 Jun 2023
1 points (100.0% liked)

Lemmy Support

4633 readers
3 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

I'm trying to migrate lemmyfly.org to a server with more capacity at a different provider. From the current running OK server I've downloaded the volumes folder using rsync. The new server is installed using ansible with success, all containers are up and running.

Then I stop the containers, rm volumes, copy the volumes from the backup location to the new server.

Now when trying to start the containers, the pictrs and postgres containers have errors. I noticed the volumes folder now have different owner (staff in stead of root). So I manually changed ownership of those folders to root. Now those containers can start ok. But now the lemmy container can't authenticate with postgres, although the password is all the same in the config files.

There must be an easier way to restore a backup. What am I missing ?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here