Lost the server OS, need best way to get my servers back

OS Name/Version: Windows Server 2025 (was 2022)

Product Name/Version: (Always use the full version number - not ‘Latest’) AMP Instance Manager v2.6.0.12

Problem Description: Due to multiple rapid power outages, I lost the OS and the server would not restart. I had a copy of the AMP directory on another drive. When I got the server rebuilt, I reinstalled AMP clean and then shut down the services and copied over the old AMP folder. Now all of my instances error out on “Waiting”. I have done the “Run Fist time setup” and the re-register Instances to no avail. How can I recover/reinstall those servers??

Steps to reproduce:

  • Install AMP clean
  • Copy over old files
  • run AMP install as a repair

Actions taken to resolve so far:

Clean OS and a clean re-install from the AMP Download. Tried a couple of variations of copy/replace/edit of the .json files to no avail.

1 Like

This general Linux->Linux migration process might work:
https://discourse.cubecoders.com/t/migrating-instances-to-a-new-machine/532/8

Happen to me many times and try following these step and nothing :frowning:

  • ampinstmgr stopall
  • then goto \AMPDatastore and copy instances, rename latest *.bak file to
    instances.json
  • ampinstmgr --nocache upgradeall
  • sc start amp-ads01

and it doesn’t work, all i did is update, now ive got a mix of lost servers… i tried to even edit them all into 1 file but no good :confused:

--nocache isn’t used anymore as far as I’m aware.
In that post I sent there’s also a link on how to migrate servers one by one.
The post I made is only for flat out migrating them all (on Linux mind you, Windows may be different).
Worst case you can re-create each instance

ah i got it to work by editing instance.json file and adding what ever server i lost from old*bak files and ALSO making sure i changed the AMP Version and Build… run all those commands again and worked!

"AMPVersion": "2.6.0.10",       <--- Make sure got right details in each instance within .json
"AMPBuild": "20250130.2",     <--^

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.