btcpayserver-docker icon indicating copy to clipboard operation
btcpayserver-docker copied to clipboard

Adding steps for a server migration.

Open ndeet opened this issue 1 year ago • 3 comments

ndeet avatar Dec 16 '22 10:12 ndeet

Thanks a lot for your fixes 💚

I'd say the installation on the new server could happen before the (DNS) switch, so that only the restore process has to be run as the final step.

I was not sure if the letsencrypt certs nginx vhosts etc. will work with the backup & restore. But thinking about it if everything is copied over they should and there is no need to have a new cert to be issued on the new server 🤔 ... what will happen in that case though is that the letsencrypt cert creation attempt will fail and show some error during installation? Not sure what is better.

ndeet avatar Dec 16 '22 22:12 ndeet

Hmm, good point, I haven't tried either — I think the cert creation just fails without interupting the setup and it'll try again later.

dennisreimann avatar Dec 17 '22 13:12 dennisreimann

Yes, it for sure does not interrupt the setup but likely shows some error messages which might confuse users or if everything is alright.

ndeet avatar Dec 21 '22 09:12 ndeet