CN104461785A - Data backup method, data recovery method and device of virtual machine and physic machine - Google Patents

Data backup method, data recovery method and device of virtual machine and physic machine Download PDF

Info

Publication number
CN104461785A
CN104461785A CN201410778839.8A CN201410778839A CN104461785A CN 104461785 A CN104461785 A CN 104461785A CN 201410778839 A CN201410778839 A CN 201410778839A CN 104461785 A CN104461785 A CN 104461785A
Authority
CN
China
Prior art keywords
virtual
data
machine
owned cloud
privately owned
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410778839.8A
Other languages
Chinese (zh)
Inventor
李春国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CEC CYBERSPACE GREAT WALL Co Ltd
Original Assignee
CEC CYBERSPACE GREAT WALL Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CEC CYBERSPACE GREAT WALL Co Ltd filed Critical CEC CYBERSPACE GREAT WALL Co Ltd
Priority to CN201410778839.8A priority Critical patent/CN104461785A/en
Publication of CN104461785A publication Critical patent/CN104461785A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a data backup method, a data recovery method and device of a virtual machine and a physic machine. The data backup method of the virtual machine includes backing up a logic volume of the virtual machine in a private Cloud and generating backup data; uploading the backup data to a public Cloud server for storing. The data recovery method of the virtual machine includes steps of downloading prestored backup data from the public Cloud server; recovering the virtual machine in the private Cloud according to the backup data. By the data backup method and the data recovery method of the virtual machine, data backup and recovery of the virtual machine can be realized online safely at low cost.

Description

Virtual-machine data backup method, restoration methods and device and physical machine
Technical field
The present invention relates to computer realm, particularly a kind of virtual-machine data backup method, restoration methods and device and physical machine.
Background technology
In the cloud service environment using Xen or KVM virtualization to provide, the virtual machine of operation gets more and more, and in order to provide high-quality service to cloud service client, carrying out standby to virtual machine is usually necessary.At present, the general traditional backup methods such as magnetic tape station that adopt back up, and this backup method cost is high and utilization factor is low.
Usually, Xen or KVM virtualization can use LVM (Logical VolumeManager, abbreviation LVM) the virtual disk stores service that provides, before starting backup, usually can give establishing logical volume snapshot of virtual machine, then use dd order to be got on to other storage systems by its snapshot.If assuming that virtual machine is assigned with 80G storage space (usually larger), then need to provide the disk space of 80G to store this snapshot in other storage systems.Now, if the quantity of virtual machine is comparatively large, thus backup cost can be caused larger.
Summary of the invention
The invention provides a kind of virtual-machine data backup method, restoration methods and device and physical machine, virtual machine image disaster-tolerant backup can be realized safely and at low cost.
For achieving the above object, the invention provides a kind of virtual-machine data backup method, comprising:
Back-up processing is carried out to the logical volume of virtual machine in privately owned cloud, generates Backup Data;
Described Backup Data is uploaded to publicly-owned Cloud Server to store.
Alternatively, described Backup Data is snapped volume;
Described the step that the logical volume of virtual machine in privately owned cloud backs up to be comprised:
Snapshot process is carried out to the logical volume of virtual machine in privately owned cloud, generates described snapped volume.
Alternatively, described Backup Data is ciphered compressed file;
Described the step that the logical volume of virtual machine in privately owned cloud backs up to be comprised:
Carry out snapshot process to the logical volume of virtual machine in privately owned cloud, generating snapshot is rolled up;
Described snapped volume is compressed and encryption, generates described ciphered compressed file.
Alternatively, describedly described Backup Data is uploaded to publicly-owned Cloud Server and also comprises after carrying out the step that stores:
Described Backup Data in privately owned cloud is deleted.
For achieving the above object, present invention also offers a kind of virtual-machine data restoration methods, comprising:
The Backup Data prestored is downloaded from publicly-owned Cloud Server;
According to described Backup Data, virtual machine in privately owned cloud is recovered.
Alternatively, described Backup Data is snapped volume, and described snapped volume is for the data generated after the logical volume of virtual machine carries out snapshot process in privately owned cloud;
Describedly according to described Backup Data, the step that virtual machine in privately owned cloud recovers specifically to be comprised:
According to described snapped volume, virtual machine in privately owned cloud is recovered.
Alternatively, described Backup Data is ciphered compressed file, the data that described ciphered compressed file compresses for the snapped volume logical volume of virtual machine in privately owned cloud being carried out to snapshot process and obtain and generates after encryption;
Describedly according to described Backup Data, the step that virtual machine in privately owned cloud recovers specifically to be comprised:
The described ciphered compressed file downloaded is decrypted and decompression, generates described snapped volume;
According to described snapped volume, virtual machine in privately owned cloud is recovered.
Alternatively, described to download described ciphered compressed file be decrypted and decompression step after also comprise:
Described Backup Data in privately owned cloud is deleted.
For achieving the above object, the present invention also provides a kind of virtual-machine data back-up device, comprising:
Backup module, for carrying out back-up processing to the logical volume of virtual machine in privately owned cloud, generates Backup Data;
Upper transmission module, for being uploaded to publicly-owned Cloud Server to store by described Backup Data.
Alternatively, described Backup Data is snapped volume;
Described backup module comprises:
Snapshot unit, for carrying out snapshot process to the logical volume of virtual machine in privately owned cloud, generates described snapped volume;
Alternatively, described Backup Data is ciphered compressed file;
Described backup module comprises:
Snapshot unit, for carrying out snapshot process to the logical volume of virtual machine in privately owned cloud, generating snapshot is rolled up;
Compress-encrypt unit, for compressing and encryption described snapped volume, generates described ciphered compressed file.
Alternatively, also comprise:
First removing module, for complete at described Backup Data upload after the described Backup Data in privately owned cloud is deleted.
For achieving the above object, the present invention also provides a kind of virtual-machine data recovery device, comprising:
Download module, for downloading the Backup Data prestored from publicly-owned Cloud Server;
Recover module, for recovering virtual machine in privately owned cloud according to described Backup Data.
Alternatively, described Backup Data is snapped volume, and described snapped volume is for the data generated after the logical volume of virtual machine carries out snapshot process in privately owned cloud;
Described recovery module comprises:
Recovery unit, for recovering virtual machine in privately owned cloud according to described snapped volume.
Alternatively, described Backup Data is ciphered compressed file, the data that described ciphered compressed file compresses for the snapped volume logical volume of virtual machine in privately owned cloud being carried out to snapshot process and obtain and generates after encryption;
Described recovery module comprises:
Deciphering decompression unit, for being decrypted and decompression the described ciphered compressed file downloaded, generates described snapped volume;
Recovery unit, for recovering virtual machine in privately owned cloud according to described snapped volume.
Alternatively, also comprise: the second removing module, after virtual machine completes recovery in privately owned cloud, the described Backup Data in described privately owned cloud is deleted.
For achieving the above object, the present invention also provides a kind of physical machine for cloud service, comprising: above-mentioned virtual-machine data back-up device and/or above-mentioned virtual-machine data recovery device.
The present invention has following beneficial effect:
The invention provides a kind of virtual-machine data backup method, restoration methods and device and physical machine, wherein virtual-machine data backup method comprises: carry out back-up processing to the logical volume of virtual machine in privately owned cloud, generates Backup Data; Described Backup Data is uploaded to publicly-owned Cloud Server to store.Virtual-machine data restoration methods comprises: from publicly-owned Cloud Server, download the Backup Data prestored; According to described Backup Data, virtual machine in privately owned cloud is recovered.Technical scheme of the present invention, can safety on line be realized and low cost data backup and date restoring are carried out to virtual machine.
Accompanying drawing explanation
The process flow diagram of the virtual-machine data backup method that Fig. 1 provides for the embodiment of the present invention one;
The process flow diagram of the virtual-machine data restoration methods that Fig. 2 provides for the embodiment of the present invention one;
The process flow diagram of the virtual-machine data backup method that Fig. 3 provides for the embodiment of the present invention two;
The process flow diagram of the virtual-machine data restoration methods that Fig. 4 provides for the embodiment of the present invention two;
The process flow diagram of the virtual-machine data backup method that Fig. 5 provides for the embodiment of the present invention three;
The process flow diagram of the virtual-machine data restoration methods that Fig. 6 provides for the embodiment of the present invention three;
The structured flowchart of the virtual-machine data back-up device that Fig. 7 provides for the embodiment of the present invention four;
The structured flowchart of the virtual-machine data recovery device that Fig. 8 provides for the embodiment of the present invention four;
The structured flowchart of the virtual-machine data back-up device that Fig. 9 provides for the embodiment of the present invention four;
The structured flowchart of the virtual-machine data recovery device that Figure 10 provides for the embodiment of the present invention four;
The structured flowchart of the virtual-machine data back-up device that Figure 11 provides for the embodiment of the present invention four;
The structured flowchart of the virtual-machine data recovery device that Figure 12 provides for the embodiment of the present invention four.
Embodiment
For making those skilled in the art understand technical scheme of the present invention better, below in conjunction with accompanying drawing, virtual-machine data backup method provided by the invention, restoration methods and device and physical machine are described in detail.
The process flow diagram of the virtual-machine data backup method that Fig. 1 provides for the embodiment of the present invention one, as shown in Figure 1, this virtual-machine data backup method comprises:
Step 101: carry out back-up processing to the logical volume of virtual machine in privately owned cloud, generates Backup Data.
Step 102: Backup Data is uploaded to publicly-owned Cloud Server to store.
In actual applications, the cloud stores service that cloud storage service provider provides is dog-cheap, therefore local physical machine (namely in privately owned cloud) by publicly-owned cloud stores service interface by the backup data store of virtual machine extremely publicly-owned Cloud Server, the storage expenses of its required cost is lower, namely reduces the carrying cost of Backup Data.
In addition, alternatively, also comprise after step 102:
Step 103: the Backup Data in privately owned cloud is deleted.
After the physical machine of this locality completes and is uploaded in publicly-owned Cloud Server by the Backup Data of virtual machine, then the Backup Data of this locality is deleted, thus local storage space can be discharged, reduce local datastore cost.
Virtual-machine data backup method shown in corresponding diagram 1, the embodiment of the present invention one additionally provides a kind of virtual-machine data restoration methods.The process flow diagram of the virtual-machine data restoration methods that Fig. 2 provides for the embodiment of the present invention one, as shown in Figure 2, this virtual-machine data restoration methods comprises:
Step 201: download the Backup Data prestored from publicly-owned Cloud Server.
Step 202: virtual machine in privately owned cloud is recovered according to Backup Data.
When carrying out virtual-machine data and recovering, local physical machine needs to download corresponding Backup Data from publicly-owned Cloud Server, then recovers virtual-machine data based on the Backup Data downloaded.
Alternatively, also comprise after step 202:
Step 203: the Backup Data in privately owned cloud is deleted.
After the Backup Data of local physical machine utilization download completes the date restoring to virtual machine, the Backup Data in this locality is deleted, to discharge local storage space.
The embodiment of the present invention one provides a kind of virtual-machine data backup method and virtual-machine data restoration methods, wherein, when backing up, by the Backup Data of virtual machine in privately owned cloud is uploaded to publicly-owned Cloud Server to store; When carrying out date restoring, by downloading Backup Data from publicly-owned Cloud Server, and then Backup Data is utilized to carry out date restoring to virtual machine.Technical scheme of the present invention, what can realize low cost carries out data backup and date restoring to virtual machine.
The process flow diagram of the virtual-machine data backup method that Fig. 3 provides for the embodiment of the present invention two, as shown in Figure 3, in the present embodiment, the Backup Data of virtual machine is specially snapped volume corresponding to virtual machine, and this virtual-machine data backup method comprises:
Step 301: carry out snapshot process to the logical volume of virtual machine in privately owned cloud, generating snapshot is rolled up.
In step 301 by performing instruction:
Lvcreate-s-n snapshot name-L3000M logical volume to be backed up
To complete, snapshot process is carried out to logical volume to be backed up, and generate the snapped volume possessing snapshot name in above-mentioned instruction.Above-mentioned snapshot processes is the state of the art, repeats no more herein.
Step 302: snapped volume is uploaded to publicly-owned Cloud Server to store.
Virtual machine snapshot volume to be uploaded in publicly-owned Cloud Server by publicly-owned cloud stores service interface and to store, to realize the backup to virtual-machine data of low cost by local physical machine.
Step 303: the snapped volume in privately owned cloud is deleted.
After the physical machine of this locality completes and is uploaded in publicly-owned Cloud Server by the snapped volume of virtual machine, then the snapped volume of this locality is deleted, thus local storage space can be discharged, reduce local datastore cost.
Virtual-machine data backup method shown in corresponding diagram 3, the embodiment of the present invention two additionally provides a kind of virtual-machine data restoration methods.The process flow diagram of the virtual-machine data restoration methods that Fig. 4 provides for the embodiment of the present invention two, as shown in Figure 4, this virtual-machine data restoration methods comprises:
Step 401: download the snapped volume prestored from publicly-owned Cloud Server.
Step 402: virtual machine in privately owned cloud is recovered according to snapped volume.
Be the state of the art according to the detailed process that snapped volume carries out date restoring to virtual machine in privately owned cloud, repeat no more herein.
Step 403: the snapped volume in privately owned cloud is deleted.
After the snapped volume of local physical machine utilization download completes the date restoring to virtual machine, the snapped volume of this locality is deleted to discharge local storage space.
The process flow diagram of the virtual-machine data backup method that Fig. 5 provides for the embodiment of the present invention three, as shown in Figure 5, in the present embodiment, the Backup Data of virtual machine is specially ciphered compressed file corresponding to virtual machine, and this virtual-machine data backup method comprises:
Step 501: carry out snapshot process to the logical volume of virtual machine in privately owned cloud, generating snapshot is rolled up.
In step 501, by performing instruction:
Lvcreate-s-n snapshot name-L3000M logical volume to be backed up
To complete, snapshot process is carried out to logical volume to be backed up, and generate the snapped volume possessing snapshot name in above-mentioned instruction.Above-mentioned snapshot processes is the state of the art, repeats no more herein.
Step 502: compress and encryption snapped volume, generates ciphered compressed file.
In step 502, by performing dd order:
Dd if=snapshot name Shu gzip-c Shu openssl enc-e-des3-out ciphered compressed file
To complete, snapped volume is compressed and encryption, and generate ciphered compressed file.Above-mentioned ciphered compressed process is the state of the art, repeats no more herein.
By to compress snapped volume and encryption effectively can reduce the size that postorder is uploaded to the data of publicly-owned Cloud Server, also can protect the safety of the data being uploaded to publicly-owned Cloud Server simultaneously.
Step 503: by ciphered compressed files passe to publicly-owned Cloud Server to store.
Local physical machine is stored in ciphered compressed files passe to publicly-owned Cloud Server, to realize the backup to virtual-machine data of low cost by publicly-owned cloud stores service interface
Step 504: by the ciphered compressed file erase in privately owned cloud.
After the physical machine of this locality completes and is uploaded in publicly-owned Cloud Server by the snapped volume of virtual machine, then by the ciphered compressed file erase of this locality, thus local storage space can be discharged, reduce local datastore cost.
(use snapshot process) safety (compress-encrypt process is carried out to snapped volume) can be realized online by above-mentioned steps 501 to step 504 and low cost (using publicly-owned cloud service store backup data) data backup and date restoring are carried out to virtual machine
Virtual-machine data backup method shown in corresponding diagram 5, the embodiment of the present invention three additionally provides a kind of virtual-machine data restoration methods.The process flow diagram of the virtual-machine data restoration methods that Fig. 6 provides for the embodiment of the present invention three, as shown in Figure 6, this virtual-machine data restoration methods comprises:
Step 601: download the ciphered compressed file prestored from publicly-owned Cloud Server.
Step 602: be decrypted and decompression the ciphered compressed file downloaded, generating snapshot is rolled up.
In step 602, by performing instruction:
Openssl enc-d-des3-in ciphered compressed file Shu gzip-dc Shu ddof=snapped volume
Ciphered compressed file is decrypted to complete and decompresses, and obtain snapped volume.Above-mentioned deciphering decompression process is the state of the art, repeats no more herein.
Step 603: virtual machine in privately owned cloud is recovered according to snapped volume.
Step 604: by the ciphered compressed file erase in privately owned cloud.
After the snapped volume utilizing deciphering decompression to obtain in local physical machine completes the date restoring to virtual machine, by the ciphered compressed file erase of this locality to discharge local storage space.
The structured flowchart of the virtual-machine data back-up device that Fig. 7 provides for the embodiment of the present invention four, as shown in Figure 7, this virtual-machine data back-up device comprises: backup module 1 and upper transmission module 2.Wherein, backup module 1, for carrying out back-up processing to the logical volume of virtual machine in privately owned cloud, generates Backup Data.Upper transmission module 2 is for being uploaded to publicly-owned Cloud Server to store by Backup Data.Backup module 1 in the present embodiment can perform the step 101 in above-described embodiment one, and upper transmission module 2 can perform the step 102 in above-described embodiment one.
In actual applications, the cloud stores service that cloud storage service provider provides is dog-cheap, therefore local physical machine by publicly-owned cloud stores service interface by the backup data store of virtual machine extremely publicly-owned Cloud Server, the storage expenses of its required cost is lower, namely reduces the carrying cost of Backup Data.
Alternatively, this virtual-machine data back-up device also comprises: the first removing module 3, first removing module 3 for complete at Backup Data upload after the Backup Data in privately owned cloud is deleted, thus local storage space can be discharged, reduce local datastore cost.The first removing module 3 in the present embodiment can perform the step 103 in above-described embodiment one.
Corresponding to the virtual-machine data back-up device shown in Fig. 7, the embodiment of the present invention four additionally provides a kind of virtual-machine data recovery device.The structured flowchart of the virtual-machine data recovery device that Fig. 8 provides for the embodiment of the present invention four, as shown in Figure 8, this virtual-machine data back-up device comprises: download module 4 and recovery module 5.Wherein, download module 4, for downloading the Backup Data prestored from publicly-owned Cloud Server, recovers module 5 for recovering virtual machine in privately owned cloud according to Backup Data.Download module 4 in the present embodiment can perform the step 201 in above-described embodiment one, and recovery module 5 can perform the step 202 in above-described embodiment one.
When carrying out virtual-machine data and recovering, local physical machine needs to download corresponding Backup Data from publicly-owned Cloud Server, then recovers virtual-machine data based on the Backup Data downloaded.
Alternatively, this virtual-machine data back-up device also comprises: Backup Data in privately owned cloud is deleted by the second removing module 6, second removing module 6 after in privately owned cloud, virtual machine completes recovery, to discharge local storage space.The second removing module 6 in the present embodiment can perform the step 203 in above-described embodiment one.
The embodiment of the present invention four provides a kind of virtual-machine data back-up device and virtual-machine data recovery device, wherein, virtual-machine data back-up device is when backing up, and upper transmission module 2 is by being uploaded to publicly-owned Cloud Server to store by the Backup Data of virtual machine in privately owned cloud; Virtual-machine data recovery device is when carrying out date restoring, and download module 4, by downloading Backup Data from publicly-owned Cloud Server, then recovers module 5 and utilizes Backup Data to carry out date restoring to virtual machine.Technical scheme of the present invention, what can realize low cost carries out data backup and date restoring to virtual machine.
The structured flowchart of the virtual-machine data back-up device that Fig. 9 provides for the embodiment of the present invention five, as shown in Figure 9, snapped volume is specially by the Backup Data uploaded in the present embodiment, this virtual-machine data back-up device comprises: backup module 1, upper transmission module 2 and the first removing module 3, backup module 1 comprises: snapshot unit 11, snapshot unit 11 is for carrying out snapshot process generating snapshot volume to the logical volume of virtual machine in privately owned cloud, upper transmission module 2 is uploaded in publicly-owned Cloud Server for the snapped volume generated by snapshot unit 11, to realize backing up virtual-machine data, first removing module 3 for complete at Backup Data upload after by privately owned cloud snapped volume delete.Snapshot unit 11 in the present embodiment can perform the step 301 in above-described embodiment two, and upper transmission module 2 can perform the step 302 in above-described embodiment two, and the first removing module 3 can perform the step 303 in above-described embodiment two.
Corresponding to the virtual-machine data back-up device shown in Fig. 9, the embodiment of the present invention five additionally provides a kind of virtual-machine data recovery device.The structured flowchart of the virtual-machine data recovery device that Figure 10 provides for the embodiment of the present invention five, as shown in Figure 10, this virtual-machine data recovery device comprises: download module 4, recovery module 5 and the second removing module 6.Wherein, download module 4 for downloading the snapped volume prestored from publicly-owned Cloud Server, recover module 5 to comprise: recovery unit 52, recovery unit 52 is for recovering virtual machine in privately owned cloud according to snapped volume, and snapped volume in privately owned cloud is deleted by the second removing module 6 after in privately owned cloud, virtual machine completes recovery.Download module 4 in the present embodiment can perform the step 401 in above-described embodiment two, and recovery unit 52 can perform the step 402 in above-described embodiment one, and the second removing module 6 can perform the step 403 in above-described embodiment two.
The structured flowchart of the virtual-machine data back-up device that Figure 11 provides for the embodiment of the present invention six, as shown in figure 11, ciphered compressed file is specially by the Backup Data uploaded in the present embodiment, this virtual-machine data back-up device comprises: backup module 1, upper transmission module 2 and the first removing module 3, backup module 1 comprises: snapshot unit 11 and compress-encrypt unit 12, snapshot unit 11 is for carrying out snapshot process generating snapshot volume to the logical volume of virtual machine in privately owned cloud, compress-encrypt unit 12 is for compressing snapped volume and encryption generation ciphered compressed file, the ciphered compressed files passe publicly-owned Cloud Server of upper transmission module 2 for compress-encrypt unit 12 is generated, in with realize virtual-machine data is backed up, first removing module 3 for complete at ciphered compressed file upload after by the ciphered compressed file erase in privately owned cloud.Snapshot unit 11 in the present embodiment can perform the step 501 in above-described embodiment three, compress-encrypt unit 12 can perform the step 502 in above-described embodiment three, upper transmission module 2 can perform the step 503 in above-described embodiment three, and the first removing module 3 can perform the step 504 in above-described embodiment three.
Corresponding to the virtual-machine data back-up device shown in Figure 11, the embodiment of the present invention six additionally provides a kind of virtual-machine data recovery device.The structured flowchart of the virtual-machine data recovery device that Figure 12 provides for the embodiment of the present invention six, as shown in figure 12, this virtual-machine data recovery device comprises: download module 4, recovery module 5 and the second removing module 6.Wherein, download module 4 for downloading the ciphered compressed file prestored from publicly-owned Cloud Server, recover module 5 to comprise: deciphering decompression unit 51 and recovery unit 52, deciphering decompression unit 51 is for being decrypted the ciphered compressed file downloaded and decompression generating snapshot volume, recovery unit 52 is for recovering virtual machine in privately owned cloud according to snapped volume, and the second removing module 6 is deleted deciphering decompression unit 51 in privately owned cloud after in privately owned cloud, virtual machine completes recovery.Download module 4 in the present embodiment can perform the step 601 in above-described embodiment three, deciphering decompression unit 51 can perform the step 602 in above-described embodiment three, recovery unit 52 can perform the step 603 in above-described embodiment three, and the second removing module 6 can perform the step 604 in above-described embodiment three.
The embodiment of the present invention seven provides a kind of physical machine for cloud service, and this physical machine comprises: arbitrary virtual-machine data recovery device provided in arbitrary virtual-machine data back-up device of providing and/or above-described embodiment four to embodiment six in above-described embodiment four to embodiment six.Particular content see the description in above-described embodiment four to embodiment six, can repeat no more herein.
Be understandable that, the illustrative embodiments that above embodiment is only used to principle of the present invention is described and adopts, but the present invention is not limited thereto.For those skilled in the art, without departing from the spirit and substance in the present invention, can make various modification and improvement, these modification and improvement are also considered as protection scope of the present invention.

Claims (17)

1. a virtual-machine data backup method, is characterized in that, comprising:
Back-up processing is carried out to the logical volume of virtual machine in privately owned cloud, generates Backup Data;
Described Backup Data is uploaded to publicly-owned Cloud Server to store.
2. virtual-machine data backup method according to claim 1, is characterized in that, described Backup Data is snapped volume;
Described the step that the logical volume of virtual machine in privately owned cloud backs up to be comprised:
Snapshot process is carried out to the logical volume of virtual machine in privately owned cloud, generates described snapped volume.
3. virtual-machine data backup method according to claim 1, is characterized in that, described Backup Data is ciphered compressed file;
Described the step that the logical volume of virtual machine in privately owned cloud backs up to be comprised:
Carry out snapshot process to the logical volume of virtual machine in privately owned cloud, generating snapshot is rolled up;
Described snapped volume is compressed and encryption, generates described ciphered compressed file.
4. according to described virtual-machine data backup method arbitrary in claims 1 to 3, it is characterized in that, describedly described Backup Data be uploaded to publicly-owned Cloud Server and also comprise after carrying out the step that stores:
Described Backup Data in privately owned cloud is deleted.
5. a virtual-machine data restoration methods, is characterized in that, comprising:
The Backup Data prestored is downloaded from publicly-owned Cloud Server;
According to described Backup Data, virtual machine in privately owned cloud is recovered.
6. virtual-machine data restoration methods according to claim 5, is characterized in that, described Backup Data is snapped volume, and described snapped volume is for the data generated after the logical volume of virtual machine carries out snapshot process in privately owned cloud;
Describedly according to described Backup Data, the step that virtual machine in privately owned cloud recovers specifically to be comprised:
According to described snapped volume, virtual machine in privately owned cloud is recovered.
7. virtual-machine data restoration methods according to claim 5, it is characterized in that, described Backup Data is ciphered compressed file, the data that described ciphered compressed file compresses for the snapped volume logical volume of virtual machine in privately owned cloud being carried out to snapshot process and obtain and generates after encryption;
Describedly according to described Backup Data, the step that virtual machine in privately owned cloud recovers specifically to be comprised:
The described ciphered compressed file downloaded is decrypted and decompression, generates described snapped volume;
According to described snapped volume, virtual machine in privately owned cloud is recovered.
8., according to described virtual-machine data restoration methods arbitrary in claim 5-7, it is characterized in that, the described described ciphered compressed file to downloading be decrypted and decompression step after also comprise:
Described Backup Data in privately owned cloud is deleted.
9. a virtual-machine data back-up device, is characterized in that, comprising:
Backup module, for carrying out back-up processing to the logical volume of virtual machine in privately owned cloud, generates Backup Data;
Upper transmission module, for being uploaded to publicly-owned Cloud Server to store by described Backup Data.
10. virtual-machine data back-up device according to claim 9, is characterized in that, described Backup Data is snapped volume;
Described backup module comprises:
Snapshot unit, for carrying out snapshot process to the logical volume of virtual machine in privately owned cloud, generates described snapped volume.
11. virtual-machine data back-up devices according to claim 9, is characterized in that, described Backup Data is ciphered compressed file;
Described backup module comprises:
Snapshot unit, for carrying out snapshot process to the logical volume of virtual machine in privately owned cloud, generating snapshot is rolled up;
Compress-encrypt unit, for compressing and encryption described snapped volume, generates described ciphered compressed file.
12., according to described virtual-machine data back-up device arbitrary in claim 9-11, is characterized in that, also comprise:
First removing module, for complete at described Backup Data upload after the described Backup Data in privately owned cloud is deleted.
13. 1 kinds of virtual-machine data recovery devices, is characterized in that, comprising:
Download module, for downloading the Backup Data prestored from publicly-owned Cloud Server;
Recover module, for recovering virtual machine in privately owned cloud according to described Backup Data.
14. virtual-machine data recovery devices according to claim 13, is characterized in that, described Backup Data is snapped volume, and described snapped volume is for the data generated after the logical volume of virtual machine carries out snapshot process in privately owned cloud;
Described recovery module comprises:
Recovery unit, for recovering virtual machine in privately owned cloud according to described snapped volume.
15. virtual-machine data recovery devices according to claim 13, it is characterized in that, described Backup Data is ciphered compressed file, the data that described ciphered compressed file compresses for the snapped volume logical volume of virtual machine in privately owned cloud being carried out to snapshot process and obtain and generates after encryption;
Described recovery module comprises:
Deciphering decompression unit, for being decrypted and decompression the described ciphered compressed file downloaded, generates described snapped volume;
Recovery unit, for recovering virtual machine in privately owned cloud according to described snapped volume.
16., according to described virtual-machine data recovery device arbitrary in claim 13-15, is characterized in that, also comprise: the second removing module, are deleted by the described Backup Data in privately owned cloud after in privately owned cloud, virtual machine completes recovery.
17. 1 kinds for the physical machine of cloud service, is characterized in that, comprising: as the virtual-machine data back-up device as described in arbitrary in the claims 9-12 and/or as the virtual-machine data recovery device as described in arbitrary in the claims 13-16.
CN201410778839.8A 2014-12-15 2014-12-15 Data backup method, data recovery method and device of virtual machine and physic machine Pending CN104461785A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410778839.8A CN104461785A (en) 2014-12-15 2014-12-15 Data backup method, data recovery method and device of virtual machine and physic machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410778839.8A CN104461785A (en) 2014-12-15 2014-12-15 Data backup method, data recovery method and device of virtual machine and physic machine

Publications (1)

Publication Number Publication Date
CN104461785A true CN104461785A (en) 2015-03-25

Family

ID=52907881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410778839.8A Pending CN104461785A (en) 2014-12-15 2014-12-15 Data backup method, data recovery method and device of virtual machine and physic machine

Country Status (1)

Country Link
CN (1) CN104461785A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106164871A (en) * 2016-07-08 2016-11-23 深圳市道通智能航空技术有限公司 Aircraft is taken photo by plane data back up method, device, computer-readable recording medium and equipment
CN106202273A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 File management method and system
CN107484161A (en) * 2017-07-24 2017-12-15 国家电网公司 A kind of efficient information push based on mobile self-grouping network and safe sharing method
WO2018099226A1 (en) * 2016-11-30 2018-06-07 华为技术有限公司 Method, device, and server for managing images across cloud servers
CN108279996A (en) * 2018-01-17 2018-07-13 链家网(北京)科技有限公司 A kind of high in the clouds data backup processing method and device
CN108701048A (en) * 2017-09-29 2018-10-23 华为技术有限公司 Data load method and device
CN109582443A (en) * 2018-12-06 2019-04-05 国网江西省电力有限公司信息通信分公司 Virtual machine standby system based on distributed storage technology
CN109597717A (en) * 2018-12-07 2019-04-09 北京金山云网络技术有限公司 A kind of data backup, restoration methods, device, electronic equipment and storage medium
CN110196749A (en) * 2018-02-26 2019-09-03 中兴通讯股份有限公司 The restoration methods and device of virtual machine, storage medium and electronic device
CN110413370A (en) * 2018-04-30 2019-11-05 Emc知识产权控股有限公司 For realizing the method and system of the data backup for the virtual machine for relying on original device mapping disk

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004061665A2 (en) * 2002-12-30 2004-07-22 At & T Corporation Service continuity data backup of network elements
CN101316274A (en) * 2008-05-12 2008-12-03 华中科技大学 Data disaster tolerance system suitable for WAN
CN101902498A (en) * 2010-07-02 2010-12-01 广州鼎甲计算机科技有限公司 Network technology based storage cloud backup method
CN102306114A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Regular data backup and recovery method based on cloud storage
CN102521071A (en) * 2011-11-24 2012-06-27 广州杰赛科技股份有限公司 Private cloud-based virtual machine maintaining method
CN102981931A (en) * 2012-12-03 2013-03-20 中国联合网络通信集团有限公司 Backup method and device for virtual machine
CN103220333A (en) * 2013-03-19 2013-07-24 西安槐花城信息科技有限公司 Distributed storing system device
CN103678713A (en) * 2013-12-31 2014-03-26 上海爱数软件有限公司 Method for recovering NTFS (New Technology File System) highly-compressed file in VMware scenario

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004061665A2 (en) * 2002-12-30 2004-07-22 At & T Corporation Service continuity data backup of network elements
CN101316274A (en) * 2008-05-12 2008-12-03 华中科技大学 Data disaster tolerance system suitable for WAN
CN101902498A (en) * 2010-07-02 2010-12-01 广州鼎甲计算机科技有限公司 Network technology based storage cloud backup method
CN102306114A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Regular data backup and recovery method based on cloud storage
CN102521071A (en) * 2011-11-24 2012-06-27 广州杰赛科技股份有限公司 Private cloud-based virtual machine maintaining method
CN102981931A (en) * 2012-12-03 2013-03-20 中国联合网络通信集团有限公司 Backup method and device for virtual machine
CN103220333A (en) * 2013-03-19 2013-07-24 西安槐花城信息科技有限公司 Distributed storing system device
CN103678713A (en) * 2013-12-31 2014-03-26 上海爱数软件有限公司 Method for recovering NTFS (New Technology File System) highly-compressed file in VMware scenario

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MICROSOFT CORPORATION,科学出版社: "第6章执行复制压缩快照文件", 《MICROSOFT SQL SERVER2000数据操作与复制》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202273A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 File management method and system
CN106164871A (en) * 2016-07-08 2016-11-23 深圳市道通智能航空技术有限公司 Aircraft is taken photo by plane data back up method, device, computer-readable recording medium and equipment
WO2018099226A1 (en) * 2016-11-30 2018-06-07 华为技术有限公司 Method, device, and server for managing images across cloud servers
US11403146B2 (en) 2016-11-30 2022-08-02 Huawei Cloud Computing Technologies Co., Ltd. Method, apparatus, and server for managing image across cloud servers
CN107484161B (en) * 2017-07-24 2019-05-24 国家电网公司 A kind of efficient information push based on mobile self-grouping network and safe sharing method
CN107484161A (en) * 2017-07-24 2017-12-15 国家电网公司 A kind of efficient information push based on mobile self-grouping network and safe sharing method
US10838829B2 (en) 2017-09-29 2020-11-17 Huawei Technologies Co., Ltd. Method and apparatus for loading data from a mirror server and a non-transitory computer readable storage medium
CN108701048B (en) * 2017-09-29 2020-09-11 华为技术有限公司 Data loading method and device
CN108701048A (en) * 2017-09-29 2018-10-23 华为技术有限公司 Data load method and device
CN108279996A (en) * 2018-01-17 2018-07-13 链家网(北京)科技有限公司 A kind of high in the clouds data backup processing method and device
CN110196749A (en) * 2018-02-26 2019-09-03 中兴通讯股份有限公司 The restoration methods and device of virtual machine, storage medium and electronic device
CN110196749B (en) * 2018-02-26 2023-11-17 中兴通讯股份有限公司 Virtual machine recovery method and device, storage medium and electronic device
CN110413370A (en) * 2018-04-30 2019-11-05 Emc知识产权控股有限公司 For realizing the method and system of the data backup for the virtual machine for relying on original device mapping disk
CN110413370B (en) * 2018-04-30 2024-03-29 Emc知识产权控股有限公司 Method and system for implementing data backup of virtual machine depending on original equipment mapping disk
CN109582443A (en) * 2018-12-06 2019-04-05 国网江西省电力有限公司信息通信分公司 Virtual machine standby system based on distributed storage technology
CN109597717A (en) * 2018-12-07 2019-04-09 北京金山云网络技术有限公司 A kind of data backup, restoration methods, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104461785A (en) Data backup method, data recovery method and device of virtual machine and physic machine
US9430332B1 (en) Systems and methods for enabling efficient access to incremental backups
CN107092538B (en) Virtual machine data backup method and system
ES2634990T3 (en) Selective processing of file system objects for image-level backup
US8838968B2 (en) System and method for virtual machine data protection in a public cloud
US9424136B1 (en) Systems and methods for creating optimized synthetic backup images
CN108027757B (en) System and method for restoring data from opaque data backup streams
US9298724B1 (en) Systems and methods for preserving deduplication efforts after backup-job failures
CN107256182B (en) Method and device for restoring database
US8281093B1 (en) Systems and methods for creating consolidated backups of snapshot hierarchies
CN102932407B (en) Based on the carrying out safety backup system and method for cloud computing
US10127119B1 (en) Systems and methods for modifying track logs during restore processes
US9785643B1 (en) Systems and methods for reclaiming storage space in deduplicating data systems
EP4141667A1 (en) Efficiently providing virtual machine reference points
CN102346697A (en) Method and system for backing up and recovering Android package (APK) and mobile terminal
CN103473065A (en) Virtual machine creation method capable of rapidly restoring system disk
CN108369487B (en) System and method for taking snapshots in a deduplicated virtual file system
US9734156B1 (en) Systems and methods for leveraging data-deduplication capabilities of file systems
CN104461773A (en) Backup deduplication method of virtual machine
CN104794143A (en) Agent-free backup technology
CN105468472A (en) iOS operation system based data backup and recovery method and apparatus
CN116841466A (en) Multi-cloud storage method, device, equipment and computer readable storage medium
CN103259847B (en) File push method, desktop cloud platform and server
CN111737057A (en) APFS file system data recovery method and device and electronic equipment
US20150269237A1 (en) Disaster Recovery of Converged Infrastructure Platforms

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150325