CN103761168B - It is a kind of that the method for carrying backup virtual machine is wrapping with based on nfs - Google Patents

It is a kind of that the method for carrying backup virtual machine is wrapping with based on nfs Download PDF

Info

Publication number
CN103761168B
CN103761168B CN201410038342.2A CN201410038342A CN103761168B CN 103761168 B CN103761168 B CN 103761168B CN 201410038342 A CN201410038342 A CN 201410038342A CN 103761168 B CN103761168 B CN 103761168B
Authority
CN
China
Prior art keywords
nfs
virtual machine
backup
volumes
wrapping
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.)
Active
Application number
CN201410038342.2A
Other languages
Chinese (zh)
Other versions
CN103761168A (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 Information Technology Co Ltd
Original Assignee
Shanghai Eisoo Information Technology 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 Information Technology Co Ltd filed Critical Shanghai Eisoo Information Technology 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

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The method for carrying backup virtual machine is wrapping with based on nfs the present invention relates to a kind of, medium on media server is made nfs volumes, and be mounted on virtual platform, then the disk and its configuration file of virtual machine are copied on nfs volumes on media server carry, nfs volumes of media server is uninstalled from virtual platform after terminates etc. magnetic disk of virtual machine and its configuration file copy.Compared with prior art, the present invention has enables the lifting at double of the backup rate of virtual machine, the advantages of reach shortening BACKUP TIME.

Description

It is a kind of that the method for carrying backup virtual machine is wrapping with based on nfs
Technical field
It is virtual the present invention relates to a kind of vmware ESXI/ESX (the virtual platform type that vmware software companys release) Virtual machine backup on platform, load backup virtual machine is wrapping with more particularly, to one kind based on nfs (Network File System) Method.
Background technology
Currently, with the increasingly maturation of Intel Virtualization Technology, particularly vmware companies run business big and strong, and are proposed a series of Related product is virtualized, all helps user to solve a series of problems such as hardware resource waste, IT complex managements well.This Outward, virtualization can more solve the insurmountable problem of current device, fast such as DynamicHost migration, deletion data, unification Desktop management, even creates never enterprise integration environment of blue screen etc..
In the case where virtualization brings the offensive that can not keep out temptation to user, many enterprises and some other organization all open Begin or will be using having moved on virtual platform.And how to protect data on virtual machine into these users most concerned about One of problem.
And virtual machine backup method most common on the market is exactly the VADP provided using vmware companies at present The virtual machine backup software that (vStorage API for Data Protection) interface is realized, although say connecing using VADP The existing virtualization backup software of cause for gossip can correctly back up the virtual machine on vmware, but use VADP interface realities The backup rate of existing normal backup mode is unhappy, and virtual machine is in itself generally than larger, and magnetic disk of virtual machine size is in TB (TeraByte bodges) rank it is also very common, so cause backup virtual machine needs spend time it is very long.Due to standby The cpu and Internet resources of the virtual platform where consuming virtual machine during part, equivalent to virtual machine in backup procedure The resource of virtual platform is fought for, so certain influence can be produced to the virtual machine on virtual platform.And it is common standby The data flow of part mode is:Virtual platform reads data from virtual machine storage, and backup client is from virtual platform Data are read, media server reads data from backup client.Same part data backup procedure at least needs to carry out three times Read-write operation.And be based on nfs be wrapping with carry backup mode data flow be:Virtual platform stores upper receive data from virtual machine According to nfs volumes is read data from virtual platform;Or nfs volumes of direct storage from virtual machine reads data.This kind of backup side Formula compares common backup mode, and same number evidence has at least saved a read-write operation.
The content of the invention
The purpose of the present invention is exactly to provide one kind for the defect for overcoming above-mentioned prior art to exist to be wrapping with load based on nfs The method of backup virtual machine, so that the lifting that the backup rate of virtual machine can be at double, reaches shortening BACKUP TIME.
The purpose of the present invention can be achieved through the following technical solutions:
It is a kind of that the method for carrying backup virtual machine is wrapping with based on nfs, it is characterised in that to make the medium on media server Nfs volumes, and be mounted on virtual platform, then copy the disk and its configuration file of virtual machine to media server carry It is flat from virtualization by nfs volumes of media server after terminating etc. magnetic disk of virtual machine and its configuration file copy on nfs volumes for coming up Uninstalled on platform.So both successfully virtual machine can be backuped on media server, lifting virtual machine that again can be at double , can also be mounted to the virtual machine on nfs volumes on virtual platform when user needs and recovers, by straight by backup rate Connect the effect that registration virtual machine reaches momentary recovery.
The method specifically includes following steps:
201) the virtual machine task for being wrapping with based on nfs and carrying backup is set up;
202) perform nfs and be wrapping with the carrying backup virtual machine of the task, backup server is obtained first currently wants backup virtual machine Disk size, and the magnetic disk of virtual machine size information that will be got is sent to the nfs volume management modules of media server;
203) according to the size information for getting magnetic disk of virtual machine, creating one can accommodate whole void to nfs volume management modules Nfs volumes of plan machine disk;
204) be wrapping with newly-built nfs on the virtual platform being downloaded to where wanting backup virtual machine by nfs volume management modules;
205) backup server is to the virtual machine creating snapshot to be backed up;
206) backup server copies the interface of disk by calling on virtual platform, informs that virtual platform will be standby Part virtual machine stamper (relative to newly-generated sub-disk after snapshot has been beaten) and its configuration file copy in nfs volumes;
207) after magnetic disk of virtual machine and configuration file copy terminate, nfs volumes is uninstalled from virtual platform;
208) this nfs volumes is brought into and be managed in nfs management modules, so far backup tasks terminate.
Described nfs volume management modules are managed to the medium on media server, and according to needed for backup tasks Medium size, N number of nfs volumes is divided into by medium.
Described nfs volume management modules on media server create nfs volumes be managed, including nfs volumes dilatation, Reduce and delete.
Compared with prior art, the present invention has advantages below:
1st, due to being wrapping with by the way of load using nfs, direct copying magnetic disk of virtual machine and its configuration file, and same number According to the read and write operation for more at least having lacked with normal backup mode a secondary data, the backup speed of virtual machine can be significantly improved Degree, shortens BACKUP TIME.
2nd, due to the backup rate of raising virtual machine, BACKUP TIME is shortened, it is possible to reduce virtual machine backup is flat to virtualization The consumption in Taiwan investment source.
3rd, because Backup Data is managed in nfs volumes, when user needs, nfs can be wrapping with and is downloaded to finger Fixed virtual platform, the virtual machine on nfs volumes is reregistered with virtual platform, realizes momentary recovery.
Brief description of the drawings
Fig. 1 is the data flow figure of General Virtual Machine backup;
Fig. 2 be accumulation layer can the nfs of direct copying be wrapping with the virtual machine Backup Data flow graph of load;
Fig. 3 is the virtual machine Backup Data flow graph that the nfs that accumulation layer is not directly copied is wrapping with load;
Fig. 4 is wrapping with load backup flow chart for nfs of the invention.
Specific embodiment
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.
Embodiment
Medium on backup medium server is mainly made nfs volumes by the present invention, is then wrapping with nfs and is downloaded to what is specified Carry backup virtual machine is carried out on virtual platform.Specific implementation process of the invention is as follows:
The 1st, one media server with nfs volume management modules is provided.
The media server can be created that nfs volumes of specified size space according to the size in magnetic disk of virtual machine space, and The operation such as dilatation, diminution, deletion can be carried out to nfs volumes.
2nd, nfs is wrapping with the flow for carrying backup virtual machine, as shown in figure 4, detailed process is as follows:
If the data source of the 2.1st, newly-built virtual machine backup tasks a job1, the job1 is on virtual platform A Virtual machine vm1.
2.2nd, backup services perform job1 tasks, and the space that backup server gets the magnetic disk of virtual machine of vm1 first is big Small is 600GB.Backup server is informed the nfs volume management modules of media services by the space size of vm1 equal to 600GB.
2.3rd, the nfs volume management modules of media server are known the individual backup tasks needs at least dielectric space of 600GB, Then nfs volume management modules are created that nfs a volume more than 600GB from medium pool, if it is nfs volumes of 700GB volume1。
2.4th, be mounted to the new nfs volumes of volume1 for creating on virtual platform A by nfs volume management modules.
2.5th, media server informs that backup server preparation has been completed, and backup server carries out snapshot to vm1 Operation.
2.6th, after snapshot is performed and terminated, backup server copies disk by calling interface on virtual platform informs void Planization platform A copies on nfs volumes of volume1 the stamper and its configuration file of vm1 to.
2.7th, etc. after the stamper and configuration file of virtual machine vm1 are all copied on nfs volumes of volume1, backup server is accused Know that media server uninstalls nfs volumes of volume1 on virtual platform A.
2.8th, nfs volume management modules, nfs volumes of volume1 management is got up, and so whole nfs is wrapping with load backup virtual machine Vm1 terminates.

Claims (2)

1. it is a kind of that the method for carrying backup virtual machine is wrapping with based on nfs, it is characterised in that to make the medium on media server Nfs volumes, and be mounted on virtual platform, then copy the disk and its configuration file of virtual machine to media server carry It is flat from virtualization by nfs volumes of media server after terminating etc. magnetic disk of virtual machine and its configuration file copy on nfs volumes for coming up Uninstalled on platform;By the way of nfs is wrapping with load, direct copying magnetic disk of virtual machine and its configuration file, and same number evidence The read and write operation of a secondary data is more at least lacked with normal backup mode, has significantly improved the backup rate of virtual machine, shortened BACKUP TIME, simultaneously because Backup Data is managed in nfs volumes, when user needs, nfs is wrapping be downloaded to it is specified Virtual platform, the virtual machine on nfs volumes is reregistered with virtual platform, realize momentary recovery;
The method specifically includes following steps:
201) the virtual machine task for being wrapping with based on nfs and carrying backup is set up;
202) perform nfs and be wrapping with the carrying backup virtual machine of the task, backup server obtains the magnetic for currently wanting backup virtual machine first Disk size, and the magnetic disk of virtual machine size information that will be got is sent to the nfs volume management modules of media server;
203) according to the size information for getting magnetic disk of virtual machine, creating one can accommodate whole virtual machine to nfs volume management modules Nfs volumes of disk;
204) be wrapping with newly-built nfs on the virtual platform being downloaded to where wanting backup virtual machine by nfs volume management modules;
205) backup server is to the virtual machine creating snapshot to be backed up;
206) backup server copies the interface of disk by calling on virtual platform, informs what virtual platform will be backed up Virtual machine stamper and its configuration file are copied in nfs volumes;
207) after magnetic disk of virtual machine and configuration file copy terminate, nfs volumes is uninstalled from virtual platform;
208) this nfs volumes is brought into and be managed in nfs management modules, so far backup tasks terminate;
Described nfs volume management modules are managed to the medium on media server, and the medium according to needed for backup tasks Size, N number of nfs volumes is divided into by medium.
2. it is according to claim 1 it is a kind of based on nfs be wrapping with carry backup virtual machine method, it is characterised in that it is described Nfs volume management modules on media server create nfs volume be managed, including nfs volume dilatation, diminution and deletion.
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 CN103761168A (en) 2014-04-30
CN103761168B true 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 (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

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105808381B (en) * 2016-03-05 2018-11-02 成都云祺科技有限公司 A kind of virtual machine instantaneous recovery method
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
CN110058966B (en) * 2018-01-18 2023-11-14 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for data backup
CN108984345B (en) * 2018-07-11 2020-06-23 吉林吉大通信设计院股份有限公司 Big data backup method based on virtual shared directory

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控制器的配置及驱动分析;韩金利;《安徽电子信息职业技术学院学报》;20130605;第12卷(第4期);正文第3页右栏第3段 *

Cited By (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

Also Published As

Publication number Publication date
CN103761168A (en) 2014-04-30

Similar Documents

Publication Publication Date Title
CN103761168B (en) It is a kind of that the method for carrying backup virtual machine is wrapping with based on nfs
US10678656B2 (en) Intelligent restore-container service offering for backup validation testing and business resiliency
US8191063B2 (en) Method for migrating a plurality of virtual machines by associating files and state information with a single logical container
US9575991B2 (en) Enabling coarse-grained volume snapshots for virtual machine backup and restore
US20170235649A1 (en) Container aware networked data layer
US20190278671A1 (en) Point-in-time copy restore
AU2012347883B2 (en) System and method for restoring application data
US9158631B1 (en) Systems and methods for providing backup interfaces
US9852137B2 (en) Container storage migration
US7383405B2 (en) Systems and methods for voluntary migration of a virtual machine between hosts with common storage connectivity
US10956041B2 (en) Online snapshot consolidation using I/O mirroring
US8996468B1 (en) Block status mapping system for reducing virtual machine backup storage
US9298385B2 (en) System, method and computer program product for deduplication aware quality of service over data tiering
US8990164B1 (en) Systems and methods for performing incremental backups
JP5851047B2 (en) Storage discount to enable deduplication between users
US10719274B2 (en) Consistent replication of virtual computing instance data
US20150040125A1 (en) Allowing management of a virtual machine by multiple cloud providers
JP2021516837A (en) Systems and methods for data management of multiple cloud services
US9760449B2 (en) Restoring a point-in-time copy
CN101876884B (en) Volume extension method of virtual hard disk
US9075635B1 (en) Systems and methods for merging virtual layers
US11436034B2 (en) Online disk encryption using mirror driver
CN103294489B (en) The management method and task manager of the Internet, applications in open platform
US10628075B1 (en) Data protection compliance between storage and backup policies of virtual machines
KR101160057B1 (en) Method and system for extracting repacking data of application program on host computer in dirty personal computer environment

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