Moving from one hardware to other is straightforward process when your database is on standalone server outside of MaaS.
All data is stored there so stop old server install new one and point to database after that restart the service and that’s it. If you hit error like this:
AssertionError: The secret stored in the database does not match the secret stored on the filesystem at /var/lib/maas/secret. Please investigate.
sudo cat /var/lib/maas/secret
This'll give you a 16digit hex number that you need to copy: d654005603ae34f6eac0f66becfec564
sudo maas-provision install-shared-secret # it'll ask for the above secret you copy'd