How to migrate a controller to a new server?

Hi @mlbiamx,

Thanks for posting. If I understand correctly you would like to move a working MAAS 3.1.4 running in Ubuntu 20.04 (mini PC) to a new location (VM) where you will run MAAS 3.1.4 running in Ubuntu 24.04.

If that’s the case, the process should be as follows:

  • in the machine with the running MAAS
    • export MAAS database
  • in the new machine
    • install MAAS
    • install postgres (postgres version must be compatible with MAAS version)
    • import MAAS database
    • initialize MAAS providing the reference to the database (maas init)

The links below contains information about the process.

Note that MAAS 3.1.4 is not supported anymore. This might also a good time to upgrade to one of the supported version :slight_smile: