How to migrate to a different server and retain the same configuration