I've been self-hosted a few services for my daily needs, and I choosed Hetzner because of their's pricing.
But now after I know Contabo, I will move my services to Contabo, because it's cheaper and more powerful.
I can reduce the server cost for about 30%. Neet.
But I don't want to lose my data. And I don't want to spent a lot of time migrate things either.
Luckily, all of my projects was deployed using Docker. If you don't know Docker, now is good time to start because it's awesome.
Let's say I want to move from server A (Hetzner) to server B (Contabo)
And my jobs now are:
- Generate ssh key (
ssh-keygen -t ed25519) and add public key to server B
rsync -avmy projects from A to B
- Find the right directory where Docker bind volumes with
docker inspect <container_name …