Postgresql problem on moving discourse with rsync

So that’s why to use rsync and not clone the whole OS.

Why do you want a different host name? But if you, just do a clean install and restore the backup. That’s the simplest way of all.