How can I migrate from one VPS to another, while keeping the configurations?
I saw this question Best way to migrate data between two linux VPS
But that was only to migrate the data.
I have set up an email server (Dovecot/Postfix) which is a pain to set up, Tomcat, PHP, Apache, Webmin, etc. and would like to copy the configurations for them without having to set everything up again.
I'm afraid if I copy the root directories, there will be special files like /dev that should not be copied.