Migrate instance to new physical server

OS Name/Version: From: unRaid/Docker instance To: Alma 9.4 on bare metal

Product Name/Version: 2.5.0.8 on both

Problem Description:
Unclear how to bring over an instance. Brought the instance directory over to new server using scp but it does not show it in instances list. Do I have to manually edit the instances.json file?

Steps to reproduce:

N/A

Actions taken to resolve so far:
Detailed above.

You need to stop the ampinstmgr service, copy over the .ampdata folder, run ampinstmgr fixperms as root, then start the ampinstmgr service again
(and possibly reboot the system)