Hyper-V backup to the cloud
Back up whole Hyper-V VMs while they are running. You only enter the names of the VMs. The lionbackup client takes a consistent state through the Hyper-V writer, encrypts it on the host and stores it in a European data centre of your choice.

What happens on every Hyper-V backup
Ask Hyper-V
For every VM the client fetches the current list of its files: configuration, checkpoints and every virtual disk with its .avhdx chain. A new checkpoint is included on the next run by itself.
Shadow copy with the Hyper-V writer
Using DiskShadow, a tool that ships with Windows Server, the client creates a shadow copy in which only the Hyper-V writer takes part. Hyper-V holds each VM at a consistent point for this.
Compress and encrypt on the host
Data is read from the shadow copy, exactly the files the writer names. Every VM becomes a backup of its own, compressed and end-to-end encrypted before a single byte leaves the host.
Upload, then complete
Only once the upload has succeeded does the client report the backup to Hyper-V as complete. If the run fails or is ended hard, DiskShadow aborts the backup within seconds and cleans up the shadow copies.
Online, not shut down. With the “Backup (volume shadow copy)” integration service running in the guest, the VM keeps working during the backup, and applications such as SQL Server or Active Directory become consistent through their own VSS. Without that service, Hyper-V briefly puts the VM into a saved state. In neither case does it have to shut down; the log says which case applied.
The configuration: just the names
The hyperv: section lists the names as Get-VM shows them, or "*" for all VMs on the host. The client gathers everything else by itself on every run.
lionbackup:
environment: prod
storagezone: "YOUR-STORAGE-ZONE"
project: "YOUR-PROJECT-UUID"
token: "YOUR-WRITE-TOKEN"
hyperv:
vms:
- FILESRV01
- DC01
encryption_keyfile: C:\lionbackup\key\lionbackup.pub
tmp_directory: D:\lionbackup\tmp
log_directory: C:\lionbackup\log
compression_method: ZSTD
resume: true
require_https: trueEvery night, even with nobody logged on: the scheduled task runs under SYSTEM with highest privileges, because only an administrator may create shadow copies.
$action = New-ScheduledTaskAction -Execute 'C:\lionbackup\bin\lionbackup-client.exe' `
-Argument '--config C:\lionbackup\conf\hyperv.yaml'
$trigger = New-ScheduledTaskTrigger -Daily -At 22:00
Register-ScheduledTask -TaskName 'lionbackup Hyper-V' -Action $action -Trigger $trigger `
-User 'SYSTEM' -RunLevel HighestAll steps with screenshots from our test, plus commands before and after the backup for special cases, are shown in the post Back up Hyper-V VMs without shutting them down.
Protecting the backups
Encrypted before data leaves the host
Authenticated encryption with XChaCha20-Poly1305 on the host. The host only needs the public key; you keep the private one separately. Without it nobody can read the backup, not even us. Details on the security page.
A write token cannot read
The host only gets a token for backing up. Whoever steals it cannot download a backup with it. To restore, you create a separate read token in the portal, ideally only when you need it.
Immutable, if you want it
With WORN storage, nobody can delete or overwrite a backup during the retention period, not even an attacker with administrator rights on the host.
In Europe, at a location of your choice
You choose the location when you create the project, from the data centres on the Providers page. If a backup is missing, the anomaly detection in the portal reports it.
Restore: as a copy or in the original location
You restore with the read token and your private key. The client downloads the backup, checks and decrypts it; afterwards it is laid out like a Hyper-V export. Compare-VM checks whether Hyper-V can take it over, Import-VM creates it, either as a copy with a new ID next to the original or, after a total loss, in the original location. The VM's own checkpoints are back.

The complete test with all commands is shown in the post Restoring a Hyper-V VM from the cloud. What you can do when a VM fails and there is no backup, for example with a broken checkpoint chain or a damaged VHDX, is on the page Hyper-V data recovery.
Requirements and limits
| Item | What applies |
|---|---|
| Host | Windows Server 2025 or 2022 with the Hyper-V role. We tested on both, on 2022 with a running Windows VM as the guest (online backup). |
| Client | lionbackup client version 0.2.0 or later, as administrator, for example as a scheduled task under SYSTEM. |
| Where the VMs live | Local volumes of a standalone host. The client rejects VMs on Cluster Shared Volumes or SMB shares, pass-through disks and VHD Sets with a message instead of silently skipping them. |
| Scope | Every run is a full backup of the whole VM, compressed before upload. There are no incremental backups. We raise the default limit of 100 GB per backup on request. |
| Windows 10 and 11 | DiskShadow is missing there. The client then backs up VMs only crash-consistent and warns clearly; with on_writer_error: abort it aborts instead. |
What Hyper-V cloud backup costs
You pay per gigabyte and month for the storage used, with no base fee and no minimum term. The price depends on the location. Because every backup is a full backup, a VM that is 40 GB packed takes up about 280 GB with seven daily versions retained. The price calculator works this out for your sizes, frequency and retention period.
Frequently asked questions
Does a Hyper-V VM have to be shut down for a backup?
No. The lionbackup client backs up through the Hyper-V writer. With the “Backup (volume shadow copy)” integration service in the guest, the VM keeps running meanwhile; without it, Hyper-V briefly puts the VM into a saved state.
Are checkpoints backed up too?
Yes. On every run the client queries the whole chain, that is the configuration, checkpoints and all .avhdx files. After the restore, the VM's checkpoints are back. After the import, you only remove the checkpoint that Hyper-V creates for the backup itself.
Does lionbackup back up Hyper-V VMs incrementally?
No. Every run is a full backup of the whole VM, compressed and encrypted before upload. In return, each version can be restored on its own. How long the versions are kept is set by the project's retention period.
Does this work with a Hyper-V cluster?
Not at the moment. Standalone hosts with local volumes are supported. The client rejects VMs on Cluster Shared Volumes or SMB shares with a message instead of silently skipping them.
Can I back up Hyper-V on Windows 11?
Only crash-consistent. Windows 10 and 11 lack DiskShadow, which the client uses to address the Hyper-V writer. The client then warns clearly and, if you want, aborts with on_writer_error: abort. For application-consistent backups, use Windows Server 2025 or 2022.
Who can read my Hyper-V backups?
Only whoever has your private key. The client encrypts on the host before anything is transferred, and the host itself only has a write token, which cannot download anything. The data is stored in a European data centre that you choose when you create the project.
May we support you?
We set up the backup of your Hyper-V host together with you, by video call, and run through the first restore test once.