Guide to migrate individual instances by hand:
https://discourse.cubecoders.com/t/moving-instances-from-one-amp-server-to-another-with-existing-instances/18341
The following are a general list of steps that would be a tad safer migrating all your instances across systems, and doesn’t require the repair step.
Note, to log into the amp user you can run (su -l amp or sudo su -l amp [lowercase L, not a 1])
On the old system:
- (if possible) Update AMP and
ampinstmgr: https://discourse.cubecoders.com/t/how-to-update-amp-to-the-latest-version/2297 ampinstmgr stopallasamp
On the new system do the following:
- install AMP
- as
amp, runampinstmgr stopall - stop the
ampinstmgrservice (service ampinstmgr stopon debian) - nuke/remove
.ampdata(or just rename it to be safe, you never know) - restore your own
.ampdatafolder on the new machine - as
root, runampinstmgr fixperms - start the
ampinstmgrservice (service ampinstmgr starton debian) - as
amp, runampinstmgr reactivateall - reboot if things look funny