Transferring outline servers to another VPS without data loss

Hi. At this stage I have 5 Outline servers on 5 different VPS. Everywhere Outline is installed via docker compose in a standard way.

How can I transfer Outline servers to other VPS without losing key data and without clients noticing the transfer?

And there is one more condition, the hostname for all keys was not set as a domain.

If the hostname is the IP of the server, then you cannot transfer without your users noticing it, because the server IP is in the key they use. Unless you somehow transfer the IP addresses as well, which is sometimes possible if your move is inside the same VPS provider. If so, then you can take a snapshot of each VPS and move it wherever you want.

I have now realized my mistake that I did not set the hostname initially. Thanks.

If you know all users - you can ask them to replace ip to hostname in the keys
Keys will be working after that

And is it possible to transfer access keys between servers if, say, hostname is specified?

I think there is no way to move the KEYS only
But maybe you can make image of all server and deploy it to new server

I think there is no way to move the KEYS only But maybe you can make image of all server and deploy it to new server

And how to create an outline server image correctly ?

Where is your server hosted?

vdsina.
I don’t think the best solution would be to take a snapshot of the entire server. It seems to me that somehow it is possible to transfer docker.