Move UniFi controller to different machine

Yesterday I have tried to move the linux UniFi controller from a temporary machine to a new, more permanent location. I have noticed the steps are simple:
- Install the controller onto the new server, but don't do anything now.
- Back up the current configuration (
settings
-maintenance
-download backup
) - Shut down the controller from the original server
- Import the configuration into the new controller (
settings
-maintenance
-restore backup
) - In
settings
-controller
set theController Hostname/IP
to the new controller's IP - Profit!
Hth,