Migrate from Hyper-V
Replicate Hyper-V VMs to PikoStack with resilient change tracking over OpenSSH and PowerShell, then convert and cut over.
Requirements#
- Windows Server 2016 or later with the Hyper-V role (VM configuration version 8.0 or later for change tracking)
- The OpenSSH server enabled on the Hyper-V host, and an administrator account
- Network access from the converter to the host on port 22
Add the source#
curl -sS -H "Authorization: Bearer $MTOKEN" -d '{
"name": "hv01",
"kind": "hyperv",
"endpoint": "hv01.example.com:22",
"username": "EXAMPLE\\migrate",
"ssh_host_key": "ssh-ed25519 AAAA...",
"credentials": {"password": "<password>"}
}' http://127.0.0.1:8790/api/v1/migrate/sources
What happens#
- A recovery checkpoint freezes a consistent view of the disks while the VM runs.
- The base VHDX is read directly and copied. The engine reads fixed and dynamic VHDX files itself.
- Each round asks Hyper-V's resilient change tracking (RCT) which blocks changed and copies only those, then converts the checkpoint into a reference point for the next round.
- At cutover the guest shuts down, the last changes are copied, and the guest is converted: Integration Services removed, VirtIO drivers installed, guest agent added.
PowerShell commands are sent encoded, so paths and names with spaces or quotes are safe.
Limits and tips#
- Differencing disks (VHDX chains) are refused. Merge them first.
- Generation 2 VMs boot with UEFI on PikoStack; Secure Boot state is kept where supported.
- Install VirtIO drivers in Windows guests before migration to shorten the cutover.
Something unclear or wrong on this page? Tell us. © 2026 PikoStack.