Suche
"Microsoft Hyper-V"-Sicherung
Dieser Protected Item-Typ sichert virtuelle Microsoft Hyper-V-Maschinen. Die zugrunde liegende Technologie ist VSS und ist mit allen Versionen von Hyper-V unter Windows Server kompatibel, einschließlich Windows Server 2016 (die neueste Version zum Zeitpunkt der Erstellung dieses Artikels).
Dieser Sicherungstyp ist nur anwendbar, wenn er auf Windows Server ausgeführt wird. Hyper-V auf Windows Desktop wird von diesem geschützten Artikeltyp nicht unterstützt.
eazyBackup ist mit dem Hyper-V VSS Writer integriert, um einen Hyper-V Backup-Snapshot zu erstellen, einschließlich der Unterstützung für In-VM-Quiescence auf unterstützten Gastbetriebssystemen.
Das Sichern einer virtuellen Hyper-V-Maschine mit eazyBackup beinhaltet, ist aber nicht beschränkt auf:
- seine Konfigurationsdatei
- alle angeschlossenen virtuellen Laufwerke
- den Inhalt des Arbeitsspeichers (wenn der Rechner in Betrieb war)
- den gesamten Baum der gespeicherten Kontrollpunkte
You can select individual virtual machines for backup, or choose "All virtual machines".
Kohärenz und Gastzugänge
Die folgenden Informationen gelten für alle Produkte, die Hyper-V-Backups durchführen.
When backing up a guest VM, it's important to get a consistent state of the VM. There are some different ways this happens.
If the guest OS has all necessary Hyper-V integration services installed, then the host can request for the guest VM to take a VSS snapshot. The snapshot is then exposed to Hyper-V on the host for eazyBackup to back up. It shouldn't interrupt the guest OS. The VM backup is application-consistent. This is known as a "Production checkpoint".
If the host OS is running Server 2012 R2 or newer, but there are no integration services inside the guest OS, then Hyper-V will take a checkpoint of the VM; eazyBackup will back up the checkpoint; and then the checkpoint will be removed. This kind of checkpoint does not interrupt the guest OS. The VM backup is crash-consistent. This is known as a "Standard checkpoint".
- You can also achieve this behaviour by disabling "Production checkpoints" in the Hyper-V settings for the VM.
If the host OS is older than Server 2012 R2, and there are no integration services inside the guest OS, then the VM will be paused; Windows will take a VSS snapshot of Hyper-V's files in paused state; the VM will be resumed and eazyBackup will back up from the VSS snapshot. It would cause a short interruption to the guest OS. The VM backup is crash-consistent.
- Sie können dieses Verhalten auch erreichen, indem Sie Prüfpunkte in den Hyper-V-Einstellungen für die VM deaktivieren.
Replikat VM
Die folgenden Informationen gelten für alle Produkte, die Hyper-V-Backups durchführen.
Wenn Sie die Hyper-V-Replikation verwenden, können Sie Ihre virtuellen Maschinen entweder vom primären oder vom replizierenden Host aus sichern.
Ein auf dem primären VM-Host erstelltes Backup ist anwendungskonsistent (wenn möglich), indem ein VSS-Snapshot innerhalb des VM-Gastes in den Ruhezustand versetzt wird; andernfalls ist es absturzkonsistent. Ein auf dem sekundären VM-Host erstelltes Backup ist jedoch immer nur absturzsicher, da die Replik-VM nicht läuft, damit die Gastintegrationsdienste einen VSS-Snapshot erstellen können.
Current versions of Hyper-V do not allow backing up a VM that is currently replicating. If a VM is found to be currently replicating at the time of backup, eazyBackup will retry the operation a few times. If you repeatedly see errors of the form The virtual machine '...' cannot start a backup operation because it is currently executing a conflicting operation. Try the backup again., and you are running backups from the replica VM host, you could consider
- scheduling the backup job to run at a time when it's more likely that the VM replication is up-to-date; or
- die Verwendung von Before / After-Befehlen in eazyBackup, um die VM-Replikation vorübergehend zu stoppen, während der Sicherungsauftrag läuft.
Weitere Informationen zum Sichern einer Replikat-VM finden Sie unter https://blogs.technet.microsoft.com/virtualization/2014/04/24/backup-of-a-replica-vm/
Durchlaufende Festplatten
Die folgenden Informationen gelten für alle Produkte, die Hyper-V-Backups durchführen.
Hyper-V unterstützt Passthrough-Festplatten, um eine physische Festplatte vom Host direkt an die Gast-VM anzuschließen. Dadurch wird sie vom Host-Betriebssystem abgemeldet.
Hyper-V selbst unterstützt die Sicherung von Passthrough-Festplatten nicht (und auch nicht deren Replikation). Eine Hyper-V-Sicherung der Gastcomputer kann vom Host erstellt werden, enthält aber keine Daten von Passthrough-Festplatten.
Sie können dieses Problem umgehen, indem Sie entweder
- Installation von eazyBackup innerhalb der Gast-VM und Sicherung der zusätzlichen Daten auf Dateiebene (hierfür wird eine zusätzliche Gerätelizenz benötigt); oder
- changing your passthrough disks to be a real disk containing a large .vhd or .vhdx file. The "New Virtual Disk Wizard" in Hyper-V Manager has an option to convert an existing disk to a .vhd or .vhdx file.
Weitere Informationen zum Sichern von Passthrough-Festplatten in Hyper-V finden Sie unter https://blogs.technet.microsoft.com/virtualization/2009/03/03/working-around-the-pass-through-limitations-of-the-hyper-v-vss-writer/