CN103761168A - Method for mounting backup virtual machine based on nfs volume - Google Patents

Method for mounting backup virtual machine based on nfs volume Download PDF

Info

Publication number
CN103761168A
CN103761168A CN201410038342.2A CN201410038342A CN103761168A CN 103761168 A CN103761168 A CN 103761168A CN 201410038342 A CN201410038342 A CN 201410038342A CN 103761168 A CN103761168 A CN 103761168A
Authority
CN
China
Prior art keywords
virtual machine
backup
nfs
nfs volume
volume
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.)
Granted
Application number
CN201410038342.2A
Other languages
Chinese (zh)
Other versions
CN103761168B (en
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.)
Shanghai Eisoo Software Co Ltd
Original Assignee
Shanghai Eisoo Software 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 Shanghai Eisoo Software Co Ltd filed Critical Shanghai Eisoo Software Co Ltd
Priority to CN201410038342.2A priority Critical patent/CN103761168B/en
Publication of CN103761168A publication Critical patent/CN103761168A/en
Application granted granted Critical
Publication of CN103761168B publication Critical patent/CN103761168B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for mounting a backup virtual machine based on an nfs volume. The medium on a medium server is made into the nfs volume and mounted on a virtualization platform, then, a magnetic disk of the virtual machine and configuration files of the virtual machine are copied to the nfs volume mounted through the medium server, and the nfs volume of the medium server is uninstalled from the virtualization platform after the magnetic disk and the configuration files of the virtual machine are copied. Compared with the prior art, the method for mounting the backup virtual machine based on the nfs volume has the advantages that the backup speed of the virtual machine can be multiplied, and thus the backup time is shortened.

Description

A kind of method based on nfs volume carry backup virtual machine
Technical field
The present invention relates to the virtual machine backup on a kind of vmware ESXI/ESX (the virtual platform type that vmware software company releases) virtual platform, especially relate to a kind of method based on nfs (Network File System) volume carry backup virtual machine.
Background technology
Current, along with the more and more maturation of Intel Virtualization Technology, particularly vmware company runs business big and strong, and has released a series of virtual relevant products, all well helps user to solve a series of difficult problems such as hardware resource waste, IT complex management.In addition, the virtual insurmountable difficult problem of current device that more can solve, for example DynamicHost migration, fast deletes data, unified desktop management, or even creates enterprise's the integration environment etc. of blue screen never.
Virtual, to user, bring under the offensive that can not keep out temptation, a lot of enterprises and some other organizational structure all starts or by application migration to virtual platform.And how to protect data on virtual machine to become one of problem that these users are concerned about most.
And at present on the market modal virtual machine backup method be exactly the virtual machine backup software that adopts VADP (the vStorage API for Data Protection) Interface realization that vmware company provides, although adopt the virtual backup software of the Interface realization of VADP the correct backup of the virtual machine on vmware can be got off, but the backup rate of the normal backup mode of employing VADP Interface realization is unhappy, and virtual machine itself is conventionally larger, other is also very common in TB (TeraByte bodge) level for virtual machine disk size, so what cause that backup virtual machine need to spend is chronic.Owing to can consuming cpu and the Internet resources of the virtual platform at virtual machine place in the process of backup, in backup procedure, be equivalent to fight for the resource of virtual platform with virtual machine, so can produce on the virtual machine on virtual platform certain impact.And the data flow of common backup mode is: virtual platform is reading out data from virtual machine storage, and backup client is reading out data from virtual platform, and media server is reading out data backup client.Same piece of data backup procedure at least needs to carry out the read-write operation of three times.And data flow based on nfs volume carry backup mode is: virtual platform is from the reading out data of virtual machine storage, and nfs rolls up reading out data from virtual platform; Or nfs volume is reading out data from virtual machine storage directly.This kind of backup mode compared common backup mode, and same piece of data has at least been saved read-write operation one time.
Summary of the invention
Object of the present invention is exactly to provide a kind of method based on nfs volume carry backup virtual machine in order to overcome the defect that above-mentioned prior art exists, thereby makes the lifting that the backup rate of virtual machine can be at double, reaches shortening BACKUP TIME.
Object of the present invention can be achieved through the following technical solutions:
A kind of method based on nfs volume carry backup virtual machine, it is characterized in that, medium on media server is made to nfs volume, and be mounted on virtual platform, then the disk of virtual machine and configuration file thereof are copied on the nfs volume on media server carry, the nfs volume of media server is uninstalled from virtual platform after waiting virtual machine disk and configuration file thereof copy to finish.So both can successfully virtual machine be backuped on media server, lifting virtual machine backup rate that again can be at double, when user need to recover, the virtual machine on nfs volume can also be mounted on virtual platform, by direct registration virtual machine, reach the effect of momentary recovery.
The method specifically comprises the following steps:
201) set up the virtual machine task based on the backup of nfs volume carry;
202) carry out the task of nfs volume carry backup virtual machine, first backup server obtains the current disk size of wanting backup virtual machine, and the virtual machine disk size information getting is sent to the nfs volume management module of media server;
203) nfs volume management module, according to the size information that gets virtual machine disk, creates a nfs volume that can hold whole virtual machine disk;
204) nfs volume management module is mounted to newly-built nfs volume on the virtual platform of wanting backup virtual machine place;
205) backup server is to the virtual machine creating snapshot that will back up;
206) backup server is by calling the interface that copies disk on virtual platform, informs that virtual machine stamper that virtual platform will back up (with respect to having beaten sub-disk newly-generated after snapshot) and configuration file thereof copy in nfs volume;
207) after virtual machine disk and configuration file copy finish, nfs volume is uninstalled from virtual platform;
208) this nfs volume is brought in nfs administration module and managed, so far backup tasks finishes.
Described nfs volume management module manages the medium on media server, and the medium size required according to backup tasks, and medium is divided into N nfs volume.
Described nfs volume management module manages the nfs volume creating on media server, comprise nfs volume dilatation, dwindle and delete.
Compared with prior art, the present invention has the following advantages:
1, owing to adopting the mode of nfs volume carry, direct copying virtual machine disk and configuration file thereof, and same piece of data has more at least been lacked the read and write operation of a secondary data with normal backup mode, can significantly improve the backup rate of virtual machine, shorten BACKUP TIME.
2, owing to improving the backup rate of virtual machine, shorten BACKUP TIME, can reduce the consumption of virtual machine backup to virtual platform resource.
3, because Backup Data manages in nfs volume, when user needs, nfs volume can be mounted to the virtual platform of appointment, the virtual machine on nfs volume is re-registered on virtual platform, realize momentary recovery.
Accompanying drawing explanation
Fig. 1 is the data flow figure of common virtual machine backup;
Fig. 2 is the virtual machine Backup Data flow graph of the nfs volume carry that accumulation layer can direct copying;
Fig. 3 is the virtual machine Backup Data flow graph of the nfs volume carry that not directly copies of accumulation layer;
Fig. 4 is nfs volume carry backup process flow diagram of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
Embodiment
The present invention makes nfs volume by the medium on backup medium server, then nfs is rolled up on the virtual platform that is mounted to appointment and carries out carry backup virtual machine.Specific embodiment of the invention process is as follows:
1, provide one with the media server of nfs volume management module.
This media server can create out according to the size of virtual machine disk space the nfs volume in appointment size space, and can involve in row dilatation to nfs, dwindle, the operation such as deletion.
2, the flow process of nfs volume carry backup virtual machine, as shown in Figure 4, detailed process is as follows:
If 2.1 newly-built virtual machine backup tasks job1, the data source of this job1 is the virtual machine vm1 on virtual platform A.
2.2, backup services is carried out job1 task, and the space size that first backup server gets the virtual machine disk of vm1 is 600GB.Backup server equals the space size of vm1 to the nfs volume management module that 600GB informs media services.
2.3, the nfs volume management module of media server is known has individual backup tasks to need at least dielectric space of 600GB, so nfs volume management module creates out a nfs volume that is greater than 600GB from medium pool, if be the nfs volume volume1 of 700GB.
2.4, nfs volume management module is mounted to the nfs volume volume1 newly creating on virtual platform A.
2.5, media server informs that backup server preliminary work completes, and backup server carries out snapshot operation to vm1.
2.6,, after snapshot is carried out and finished, backup server copies the interface of disk and informs that virtual platform A copies the stamper of vm1 and configuration file thereof on nfs volume volume1 on virtual platform by calling.
2.7, etc. the stamper of virtual machine vm1 and configuration file all copy to nfs volume volume1 upper after, backup server informs that media server uninstalls the nfs volume volume1 on virtual platform A.
2.8, nfs volume management module, rolls up volume1 by nfs and manages, and whole like this nfs volume carry backup virtual machine vm1 finishes.

Claims (4)

1. the method based on nfs volume carry backup virtual machine, it is characterized in that, medium on media server is made to nfs volume, and be mounted on virtual platform, then the disk of virtual machine and configuration file thereof are copied on the nfs volume on media server carry, the nfs volume of media server is uninstalled from virtual platform after waiting virtual machine disk and configuration file thereof copy to finish.
2. a kind of method based on nfs volume carry backup virtual machine according to claim 1, is characterized in that, the method specifically comprises the following steps:
201) set up the virtual machine task based on the backup of nfs volume carry;
202) carry out the task of nfs volume carry backup virtual machine, first backup server obtains the current disk size of wanting backup virtual machine, and the virtual machine disk size information getting is sent to the nfs volume management module of media server;
203) nfs volume management module, according to the size information that gets virtual machine disk, creates a nfs volume that can hold whole virtual machine disk;
204) nfs volume management module is mounted to newly-built nfs volume on the virtual platform of wanting backup virtual machine place;
205) backup server is to the virtual machine creating snapshot that will back up;
206) backup server, by calling the interface that copies disk on virtual platform, informs that virtual machine stamper and configuration file thereof that virtual platform will back up copy in nfs volume;
207) after virtual machine disk and configuration file copy finish, nfs volume is uninstalled from virtual platform;
208) this nfs volume is brought in nfs administration module and managed, so far backup tasks finishes.
3. a kind of method based on nfs volume carry backup virtual machine according to claim 2, it is characterized in that, described nfs volume management module manages the medium on media server, and the medium size required according to backup tasks, and medium is divided into N nfs volume.
4. a kind of method based on nfs volume carry backup virtual machine according to claim 2, is characterized in that, described nfs volume management module manages the nfs volume creating on media server, comprise nfs volume dilatation, dwindle and delete.
CN201410038342.2A 2014-01-26 2014-01-26 It is a kind of that the method for carrying backup virtual machine is wrapping with based on nfs Active CN103761168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410038342.2A CN103761168B (en) 2014-01-26 2014-01-26 It is a kind of that the method for carrying backup virtual machine is wrapping with based on nfs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410038342.2A CN103761168B (en) 2014-01-26 2014-01-26 It is a kind of that the method for carrying backup virtual machine is wrapping with based on nfs

Publications (2)

Publication Number Publication Date
CN103761168A true CN103761168A (en) 2014-04-30
CN103761168B CN103761168B (en) 2017-06-13

Family

ID=50528410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410038342.2A Active CN103761168B (en) 2014-01-26 2014-01-26 It is a kind of that the method for carrying backup virtual machine is wrapping with based on nfs

Country Status (1)

Country Link
CN (1) CN103761168B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468734A (en) * 2014-11-18 2015-03-25 国云科技股份有限公司 Virtual cluster expanding method based on cloning
WO2016065956A1 (en) * 2014-10-31 2016-05-06 中兴通讯股份有限公司 Method and device for creating virtual machine
CN105808381A (en) * 2016-03-05 2016-07-27 成都云祺科技有限公司 Instant recovery method of virtual machine
CN107544868A (en) * 2017-05-11 2018-01-05 新华三云计算技术有限公司 Data reconstruction method and device
CN108984345A (en) * 2018-07-11 2018-12-11 吉林吉大通信设计院股份有限公司 A kind of big data backup method based on virtual share directory
CN109324867A (en) * 2017-07-31 2019-02-12 郑州云海信息技术有限公司 A kind of virtual machine temporary storage method, restoration methods and device
CN110058966A (en) * 2018-01-18 2019-07-26 伊姆西Ip控股有限责任公司 Method, equipment and computer program product for data backup

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391226A (en) * 2017-07-19 2017-11-24 郑州云海信息技术有限公司 The method and apparatus of backup virtual machine under a kind of open storehouse Openstack platforms

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944043A (en) * 2010-09-27 2011-01-12 公安部第三研究所 File access method of Linux virtual machine disk under Windows platform
CN102541658A (en) * 2006-05-08 2012-07-04 微软公司 Converting physical machines to virtual machines
US20120221529A1 (en) * 2009-04-10 2012-08-30 PHD Virtual Technologies Virtual machine data replication
CN103034566A (en) * 2012-12-06 2013-04-10 华为技术有限公司 Method and device for restoring virtual machine
CN103473065A (en) * 2013-09-18 2013-12-25 国云科技股份有限公司 Virtual machine creation method capable of rapidly restoring system disk

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541658A (en) * 2006-05-08 2012-07-04 微软公司 Converting physical machines to virtual machines
US20120221529A1 (en) * 2009-04-10 2012-08-30 PHD Virtual Technologies Virtual machine data replication
CN101944043A (en) * 2010-09-27 2011-01-12 公安部第三研究所 File access method of Linux virtual machine disk under Windows platform
CN103034566A (en) * 2012-12-06 2013-04-10 华为技术有限公司 Method and device for restoring virtual machine
CN103473065A (en) * 2013-09-18 2013-12-25 国云科技股份有限公司 Virtual machine creation method capable of rapidly restoring system disk

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩金利: "ARM Linux 平台下LCD控制器的配置及驱动分析", 《安徽电子信息职业技术学院学报》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016065956A1 (en) * 2014-10-31 2016-05-06 中兴通讯股份有限公司 Method and device for creating virtual machine
CN105630571A (en) * 2014-10-31 2016-06-01 中兴通讯股份有限公司 Virtual machine creating method and device
CN104468734A (en) * 2014-11-18 2015-03-25 国云科技股份有限公司 Virtual cluster expanding method based on cloning
CN105808381A (en) * 2016-03-05 2016-07-27 成都云祺科技有限公司 Instant recovery method of virtual machine
CN105808381B (en) * 2016-03-05 2018-11-02 成都云祺科技有限公司 A kind of virtual machine instantaneous recovery method
CN107544868A (en) * 2017-05-11 2018-01-05 新华三云计算技术有限公司 Data reconstruction method and device
CN107544868B (en) * 2017-05-11 2020-06-09 新华三云计算技术有限公司 Data recovery method and device
CN109324867A (en) * 2017-07-31 2019-02-12 郑州云海信息技术有限公司 A kind of virtual machine temporary storage method, restoration methods and device
CN110058966A (en) * 2018-01-18 2019-07-26 伊姆西Ip控股有限责任公司 Method, equipment and computer program product for data backup
CN110058966B (en) * 2018-01-18 2023-11-14 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for data backup
CN108984345A (en) * 2018-07-11 2018-12-11 吉林吉大通信设计院股份有限公司 A kind of big data backup method based on virtual share directory
CN108984345B (en) * 2018-07-11 2020-06-23 吉林吉大通信设计院股份有限公司 Big data backup method based on virtual shared directory

Also Published As

Publication number Publication date
CN103761168B (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN103761168A (en) Method for mounting backup virtual machine based on nfs volume
US11132264B2 (en) Point-in-time copy restore
US9575991B2 (en) Enabling coarse-grained volume snapshots for virtual machine backup and restore
AU2012347883B2 (en) System and method for restoring application data
US10089148B1 (en) Method and apparatus for policy-based replication
US8234469B2 (en) Backup of virtual machines using cloned virtual machines
US8996468B1 (en) Block status mapping system for reducing virtual machine backup storage
US20170337109A1 (en) Vault to object store
US9158631B1 (en) Systems and methods for providing backup interfaces
US10789135B2 (en) Protection of infrastructure-as-a-service workloads in public cloud
US20130074065A1 (en) Maintaining Consistency of Storage in a Mirrored Virtual Environment
US10216429B2 (en) Performing post-processing operations for log file writes
US9760449B2 (en) Restoring a point-in-time copy
US8595192B1 (en) Systems and methods for providing high availability to instance-bound databases
CN105593829A (en) Excluding file system objects from raw image backups
US11307934B1 (en) Virtual backup and restore of virtual machines
US8799596B2 (en) Switching visibility between virtual data storage entities
US9760450B2 (en) Restoring a clone point-in-time copy
US10146471B1 (en) Offloaded data protection based on virtual machine snapshots
CN109344001B (en) Concurrent backup method and system for virtual machine files
US10048890B1 (en) Synchronizing catalogs of virtual machine copies
CN110688195B (en) Instant restore and instant access of a HYPER-V VM and applications running inside the VM using the data domain boost fs
US10936443B2 (en) System and method for tag based backup infrastructure
US10379962B1 (en) De-duplicating backup files based on data evolution
US10628075B1 (en) Data protection compliance between storage and backup policies of virtual machines

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 201112 Shanghai, Minhang District, United Airlines route 1188, building second layer A-1 unit 8

Applicant after: SHANGHAI EISOO INFORMATION TECHNOLOGY CO., LTD.

Address before: 200072 room 3, building 840, No. 101 Middle Luochuan Road, Shanghai, Zhabei District

Applicant before: Shanghai Eisoo Software Co.,Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant