Backing up method, device, and system for virtual machine
First Claim
Patent Images
1. A backing up method for a virtual machine, the method comprising:
- mounting, by a backup server, a snapshot initial volume of an original volume of a virtual machine in a primary storage device to the backup server;
creating, by the backup server, an initialization backup volume on a backup storage device, and mounting the initialization backup volume to the backup server; and
backing up, by the backup server, an original data block of the original volume to the initialization backup volume;
after the mounting, creating, by the backup server, a snapshot resource pool on the backup storage device, mounting the snapshot resource pool to the backup server, acquiring a first checking table of the snapshot initial volume, and storing the first checking table into the snapshot resource pool, wherein the first checking table is used to record a check value of each original data block in the original volume; and
after the backing up, mounting, by the backup server, a snapshot volume of an Nth updated original volume to the backup server, acquiring an Nth checking table of the snapshot volume of the Nth updated original volume, comparing the Nth checking table with the first checking table to obtain an Nth difference checking table, acquiring an Nth updated data block corresponding to the Nth difference checking table from the Nth updated original volume, and storing the Nth checking table, the Nth difference checking table, and the Nth updated data block into the snapshot resource pool to complete an Nth backup, wherein N is an integer and N>
1, the Nth checking table is used to record a check value of each data block in the Nth updated original volume, and the Nth difference checking table is used to record a check value that differs in the Nth checking table and the first checking table.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure provide a backing up method, device, and system for a virtual machine. The backing up method for a virtual machine includes a backup server mounting a snapshot initial volume of a to-be-backed-up original volume of a virtual machine in a primary storage device to the backup server, creating an initialization backup volume on a backup storage device and mounting the initialization backup volume to the backup server, and backing up an original data block of the original volume to the initialization backup volume.
3 Citations
14 Claims
-
1. A backing up method for a virtual machine, the method comprising:
-
mounting, by a backup server, a snapshot initial volume of an original volume of a virtual machine in a primary storage device to the backup server; creating, by the backup server, an initialization backup volume on a backup storage device, and mounting the initialization backup volume to the backup server; and backing up, by the backup server, an original data block of the original volume to the initialization backup volume; after the mounting, creating, by the backup server, a snapshot resource pool on the backup storage device, mounting the snapshot resource pool to the backup server, acquiring a first checking table of the snapshot initial volume, and storing the first checking table into the snapshot resource pool, wherein the first checking table is used to record a check value of each original data block in the original volume; and after the backing up, mounting, by the backup server, a snapshot volume of an Nth updated original volume to the backup server, acquiring an Nth checking table of the snapshot volume of the Nth updated original volume, comparing the Nth checking table with the first checking table to obtain an Nth difference checking table, acquiring an Nth updated data block corresponding to the Nth difference checking table from the Nth updated original volume, and storing the Nth checking table, the Nth difference checking table, and the Nth updated data block into the snapshot resource pool to complete an Nth backup, wherein N is an integer and N>
1, the Nth checking table is used to record a check value of each data block in the Nth updated original volume, and the Nth difference checking table is used to record a check value that differs in the Nth checking table and the first checking table. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A backup server comprising:
-
a first processing unit, configured to mount a snapshot initial volume of an original volume of a virtual machine in a primary storage device to the backup server; a second processing unit, configured to create an initialization backup volume on a backup storage device, and mount the initialization backup volume to the backup server; and an initial backup unit, configured to back up an original data block of the original volume to the initialization backup volume; a third processing unit, configured to create a snapshot resource pool on the backup storage device, mount the snapshot resource pool to the backup server, acquire a first checking table of the snapshot initial volume, and store the first checking table into the snapshot resource pool, wherein the first checking table is used to record a check value of each original data block in the original volume; and a first update backup unit, configured to mount a snapshot volume of an Nth updated original volume to the backup server, acquire an Nth checking table of the snapshot volume of the Nth updated original volume, compare the Nth checking table with the first checking table to obtain an Nth difference checking table, acquire an Nth updated data block corresponding to the Nth difference checking table from the Nth updated original volume, and store the Nth checking table, the Nth difference checking table, and the Nth updated data block into the snapshot resource pool to complete an Nth backup, wherein N is an integer and N>
1, the Nth checking table is used to record a check value of each data block in the Nth updated original volume, and the Nth difference checking table is used to record a check value that differs in the Nth checking table and the first checking table.- View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A backing up system for a virtual machine, comprising:
-
a primary storage device; a backup storage device; and a backup server, the backup server configured to; mount a snapshot initial volume of an original volume of a virtual machine in the primary storage device to the backup server; create an initialization backup volume on the backup storage device, and mount the initialization backup volume to the backup server; back up an original data block of the original volume to the initialization backup volume; after the mounting, create a snapshot resource pool on the backup storage device, mount the snapshot resource pool to the backup server, acquire a first checking table of the snapshot initial volume, and store the first checking table into the snapshot resource pool, wherein the first checking table is used to record a check value of each original data block in the original volume; and after the backing up, mount a snapshot volume of an Nth updated original volume to the backup server, acquire an Nth checking table of the snapshot volume of the Nth updated original volume, compare the Nth checking table with the first checking table to obtain an Nth difference checking table, acquire an Nth updated data block corresponding to the Nth difference checking table from the Nth updated original volume, and store the Nth checking table, the Nth difference checking table, and the Nth updated data block into the snapshot resource pool to complete an Nth backup, wherein N is an integer and N>
1, the Nth checking table is used to record a check value of each data block in the Nth updated original volume, and the Nth difference checking table is used to record a check value that differs in the Nth checking table and the first checking table.
-
Specification