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 stopall
asamp
On the new system do the following:
- install AMP
- as
amp
, runampinstmgr stopall
- stop the
ampinstmgr
service (service ampinstmgr stop
on debian) - nuke/remove
.ampdata
(or just rename it to be safe, you never know) - restore your own
.ampdata
folder on the new machine - as
root
, runampinstmgr fixperms
- start the
ampinstmgr
service (service ampinstmgr start
on debian) - as
amp
, runampinstmgr reactivateall
- reboot if things look funny