Comment on Trouble moving a container and its data to another server
Natal@lemmy.world 1 year agoI tried using tar as you said, and it didn’t work. Which led me to investigate and realize the owner of the postgres folder is unknown to me. Changed it back with CHOWN but it reverts back to the weird owner when I restart the container so I’m missing some knowledge and know-how. I’m trying to figure out who sets that permission in the first place.
NullPointerException@lemm.ee 1 year ago
I checked out your edit and what’s going on is pretty weird. my recommendation (if you don’t wanna just use the native import/export feature and give up on DB dumps) is to (on the new server) create a minimal tandoor docker-compose.yml, run it, do minimal setup, see if it works, and if the fresh container works, check the permissions, then just replicate those perms for your other postgres directory that contains data you actually care about. good luck!