Migrating LL to a new VM

d.dobrev

Verified User
Joined
Mar 20, 2018
Messages
56
Hey guys,

What's the best way to migrate DA from an old Debian buster VM to a newer Debian VM with as little interruption as possible?

Is it possible to install DA in the new VM, configure everything the way I need it, and then backup all accounts from the old VM and shut it down (to release the IP address which is "linked" to the lifetime license onto the new VM so the license can get "re-activated"), and restore the backed-up accounts?

I checked https://docs.directadmin.com/directadmin/backup-restore-migration/full-da-migration.html but it says "Legacy Licenses: No temporary license is possible, as legacy keys can no longer be deployed. Another legacy license must be used for migration. Deploying a new key for migration will fail because the new installation will reject downgrade to a legacy product."

Is there a procedure I can follow that won't result in any downgrades or whatever?

Regards,
D
 
Hello.
If it's an external lifetime legacy license, then you can use the same license key to setup and configure a new server. This makes you can not login to the old server anymore but things keep working.
When ready, get your license to the old server, make your backups, transfer them to the new server. Set your license on the new server again and then restore all accounts.

This can be a fuzz. So it might be better to first backup all accounts and then stop Exim so no new mail can reach the server.
Then setup your new VM with DA, transfer accounts and restore them.

Be aware that if you are using an internal legacy lifetime license or vps license, this might not be possible this way. You have to ask support in that case.
 
Hello.
If it's an external lifetime legacy license, then you can use the same license key to setup and configure a new server. This makes you can not login to the old server anymore but things keep working.
When ready, get your license to the old server, make your backups, transfer them to the new server. Set your license on the new server again and then restore all accounts.

This can be a fuzz. So it might be better to first backup all accounts and then stop Exim so no new mail can reach the server.
Then setup your new VM with DA, transfer accounts and restore them.

Be aware that if you are using an internal legacy lifetime license or vps license, this might not be possible this way. You have to ask support in that case.

I'm using "external" license (purchased directly from DA years ago)

The problem is that in order for the "old server" (i.e. the old VM) to keep working - it has to retain the current external IP address so the sites are reachable.

And if I try to activate the new VM - it would initially have an IP address such as 192.168.x.x - how would the license work on that?
 
Why not inplace upgrade major Debian versions without reinstalling?

Or backup all DA users overnight, when done reinstall server and restore them afterwards.
 
how would the license work on that?
You could try to install it with the auto setting, it would most likely do a LAN installation and you have to change ip's afterwards. But I can't give guarantees, never tried that before.

Or try the tip from exlhost to do it over night.
 
Why not inplace upgrade major Debian versions without reinstalling?

Or backup all DA users overnight, when done reinstall server and restore them afterwards.

I prefer to do a clean install.. theres a ton of garbage on the old VM.. Everything nice and clean would be nice.
 
Back
Top