技術摘要(英)
A virtual machine backup method includes, performed by a first host: extracting a writing request from a virtual machine to a disk image file, wherein the writing request includes writing data, input location information and output location information, copying the writing data to a temporary storage area of the first host, calculating a first key of the writing data, storing the first key, the input location information and the output location information into a first resource location structure, pausing an operation of the virtual machine and generating a second resource location structure according to the first resource location structure and a comparison result between the first key and a second key corresponding to the input location information, wherein the key corresponds to existing data in the temporary storage area, and output a backup data group to a second host according to the second resource location structure, for the second host to generate a copy of the virtual machine and a copy of the disk image file, wherein the backup data group includes the second resource location structure and only one of the existing data and the writing data when the first key and the second key are the same.