If you plan to migrate the panel the manual way I repurposed an existing server (with the help of Adam) with a few hiccups as they had not been removed before reinstall over the top of the existing server,
I have all the commands I used, but unsure if there was any linking by Adam
Hiccups:
#1 Reissue the Enhance license or get an additional one before reinstall
#2 Delete the SSL certs on the new control panel server /etc/ssl/certs/enhance
and /etc/ssl/private/enhance
#3 Delete the Docker overlay containers linking to /var/local/enhance
reboot server then delete /var/local/enhance