issues to expect when cloning entire host via rsync to another one

Hi! At the moment I am cloning my old server to a new one via rsync. on this run besides syncthing also various other services. Now I strongly assume that the server (at restart) will have the same ID as the old one. If this is the case, how can I prevent (before starting syncthing) that I have two servers with the same ID in the network?

You need to delete the two key files cert.pem and key.pem (see https://docs.syncthing.net/users/config.html). This will force Syncthing to generate a new ID when you launch it afterwards.

1 Like