Migrate to Hyper-v

I have a physical server with NS. How can I migrate everything to Hyper-v? Save settings and conduct a new installation with restoration of settings?

hi @Valeriy,

Is your intention to run two servers side-by-side or a migration on the same hardware?

A migration on the same hardware is a kind of planned disaster recovery:
https://docs.nethserver.org/en/v7/disaster_recovery.html#disaster-recovery

I use this quite often to setup a test environment on a new installation.

Just be sure your backups are in tip top shape!

grtz mark

If it is the same machine, I would recommend to take a new hard drive. If something went wrong you can start from old one again.

You could try to clone it with clonezilla.

  • Do an image from your linux drive with clonezilla
  • Build a vm at hyper-v
  • add clonezilla live CD iso or USB iso as boot-medium
  • also add the image
  • start clonezilla and recover the linux machine to the virtual drive.

At the following link somebody gave this tip.