Data backup method of virtual machine, computer equipment and storage medium

The invention discloses a data backup method for a virtual machine, computer equipment and a storage medium, and the method comprises the steps: obtaining the total number of historical snapshots having an incremental backup relationship with the last historical snapshot when detecting that a backup...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN TAO, ZHONG KAIFENG, CHEN LIJUN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a data backup method for a virtual machine, computer equipment and a storage medium, and the method comprises the steps: obtaining the total number of historical snapshots having an incremental backup relationship with the last historical snapshot when detecting that a backup instruction for the virtual machine is triggered; if the total number of the historical snapshots is smaller than the preset number, an incremental snapshot having an incremental backup relationship with the last historical snapshot is generated; and if the total number of the historical snapshots is greater than or equal to the preset number, generating a full-amount snapshot. According to the embodiment of the invention, when backup is needed, the quantity of the historical snapshot data having the incremental backup relationship with the last historical snapshot is obtained, and incremental backup is performed when the total quantity of the historical snapshots is small, so that excessive waste of backup storag