CN107025149A - Virtual machine backup/restoration system and method - Google Patents
Virtual machine backup/restoration system and method Download PDFInfo
- Publication number
- CN107025149A CN107025149A CN201710125521.3A CN201710125521A CN107025149A CN 107025149 A CN107025149 A CN 107025149A CN 201710125521 A CN201710125521 A CN 201710125521A CN 107025149 A CN107025149 A CN 107025149A
- Authority
- CN
- China
- Prior art keywords
- backup
- virtual machine
- san
- data
- modules
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1479—Generic software techniques for error detection or fault masking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
Abstract
The invention belongs to the technical field of virtual machine backup, a kind of virtual machine backup/restoration system, including SAN backup modules, data block modification track protection module, virtual machine recovery module and quick carry recovery module are disclosed;The SAN backup modules are connected with data block modification track protection module, virtual machine recovery module and quick carry recovery module respectively.The invention also discloses a kind of method of virtual machine Backup and Restore, backed up completely by SAN transmission means including virtual machine, virtual machine carries out incremental backup by SAN transmission means, and mirror image synchronization is carried out to the data of incremental backup, when virtual machine breaks down, if carrying out backup to the virtual machine, the virtual machine of backup is returned into former virtual platform.The present invention efficiently can be backed up and recovered to the virtual machine in production environment, and provide a kind of hanging method and CBT protection mechanism, so as to which quick obtaining and the data using former virtual machine, practical.
Description
Technical field
The invention belongs to the technical field of virtual machine backup, more particularly to a kind of virtual machine backup/restoration system and side
Method.
Background technology
It is very fast that virtualization technology develops in recent years, and many enterprises all solve enterprise IT using virtual machine technique
Some problems that infrastructure is faced, such as hardware excess waste, the problems such as extension is difficult, but for enterprise, it is ensured that enterprise
The stability of business is only most important.With the development of virtualization technology, the empty secret degree on former virtual platform is also increasing
Plus.Substantial amounts of application has been concentrated on former virtual platform, cause data concentration, it is necessary to backup data volume become very big, one
As be all more than TB ranks, or even PB grades;Due to the requirement to business continuance, backup window is also relative shortening, to standby
Part rate request is very high, so backup is a very important link.
The backup of virtual data center and traditional backup do not have much difference, and pacify first in each sub-operating system
Backup agent is filled, file, subregion or the whole virtual disk of virtual machine are then replicated in other positions.This method is very effective,
But under virtual environment apply this method when have the shortcomings that it is one very big because every virtual machine uses host service function
The same I/O passages of system.So, if many virtual machines start simultaneously at backup, I/O bottlenecks can be run into unavoidably.In order to prevent
Such obstruction, keeper should carefully plan backup, make each virtual machine have the regular hour poor between backing up, to prevent
Sub-operating system overlapping causes crowded operating intensive period.Unfortunately, this method does not have scalability.That is,
When there are many virtual machines, backup is inevitably had overlapping.Because according to application demand, if each virtual disk data
20GB is reached, then each backup may spend several hours, so occurring unavoidably overlapping on BACKUP TIME.
Because virtual machine is an independent single file, it is stored in the file system of host operating system, just with one
Individual spreadsheet or picture file are the same, so many virtualization new hands may think that backup is the very simple thing of part.So
And, it is true absolutely not in this way, backup is more much more difficult than what they imagined.First, virtual machine is considered as open file(open
file), locked by a process or application(Such as Microsoft Outlook PST mail history files).These files are only
Can be accessed by special mode --- freeze its state mirror image(We are commonly referred to as snapshot), then perform backup.Backup
Software only know how processing these open files, be only possible to perform backup tasks, in spite of when host operating system meeting
Assist backup.How a kind of efficient virtual machine standby system is developed, as the task of top priority.
The content of the invention
It is an object of the present invention to provide a kind of virtual machine backup/restoration system and method, the present invention can be efficiently to production environment
In virtual machine backed up and recovered, and provide a kind of hanging method and CBT protection mechanism, by the virtual machine of backup, with
The mode of carry returns to former virtual platform, so as to which quick obtaining and the data using former virtual machine, practical.
To achieve these goals, the present invention uses following technical scheme:
A kind of virtual machine backup/restoration system, including:SAN backup modules, data block modification track protection module, virtual machine recover
Module and quick carry recovery module;The SAN backup modules recover with data block modification track protection module, virtual machine respectively
Module is connected with quick carry recovery module.
Preferably, the SAN backup modules and data block modification track protection module use LAN-Free backup side
Formula.
Preferably, the SAN backup modules include virtualized server, backup storage all-in-one and optical fiber switch, institute
Virtualized server is stated by optical fiber switch with backup storage all-in-one to be connected.
Preferably, the data block modification track protection module abbreviation CBT protection modules, CBT protection modules are used for void
Plan machine carries out incremental backup.
Preferably, the CBT protection modules use hard-disc storage space, and the data to incremental backup carry out mirror image synchronization,
The data of the incremental backup copied are stored in the hard-disc storage space.
Preferably, the virtual machine recovery module is used for the recovery of virtual machine.
Preferably, the quick carry recovery module is used to the virtual machine of backup returning to original in the way of carry virtually
Change platform.
The present invention also provides a kind of method of virtual machine Backup and Restore, comprises the following steps:
Virtual machine is backed up completely by SAN transmission means;
Virtual machine carries out incremental backup by SAN transmission means, and carries out mirror image synchronization to the data of incremental backup;
When virtual machine breaks down, if carrying out backup to the virtual machine, the virtual machine of backup is returned into former virtualization
Platform.
Preferably, the virtual machine of backup is returned into former virtual platform in the way of carry.
Preferably, the complete backup and incremental backup use LAN-Free backup mode.
Compared with prior art, the present invention has advantages below:
1. the present invention is stored onto the storage medium of backup storage all-in-one rear end by being backed up to virtual machine bottom, because
Treasured is no longer taken when the transmission, duplication, backup that carry out mass data in SAN network environment for this virtual machine backup/restoration system
Expensive LAN resources, so that LAN bandwidth is greatly discharged, it is possible to achieve complete LAN-Free backups, server energy
Service is provided by front network client computer of higher efficiency, the efficiency of transmission of data is improved.
2. the present invention uses CBT technologies, the file of change is only backed up, without backing up whole virtual machine, when each backup
The data block that task start, only virtual machine have changed can just be backed up, so as to reduce backup data quantity and the inspection of substantial amounts of data
The rope time, reach the purpose of lifting backup efficiency.But CBT can also fail sometimes, such as occur power supply when virtual machine starts
Failure or situations such as close firmly, CBT may reset or lose the track record of increment change, so as to can switch to the virtual machine
Backed up completely, rather than lasting incremental backup, that backs up efficiency and is greatly lowered under such circumstances, and the present invention is carried
The CBT protection modules gone out, using a part of hard-disc storage space, the data to incremental backup carry out mirror image synchronization, will copied
Incremental backup data deposit in this part hard-disc storage space, so even virtual machine is restarted, will not also lose weight
The data of incremental backup before opening, can be continued using CBT protection modules and successfully carry out incremental backup to virtual machine, allow each
Secondary backup all becomes easily efficiently.
3. when virtual machine breaks down, if carrying out backup to the virtual machine, by the virtual machine of backup, with carry
Mode returns to former virtual platform, so as to which quick obtaining and the former virtual-machine data of use, improve the access efficiency of data.
Brief description of the drawings
Fig. 1 is the structural representation of virtual machine backup/restoration system of the present invention;
Fig. 2 is one of topology diagram of virtual machine backup/restoration system of the present invention;
Fig. 3 is the two of the topology diagram of virtual machine backup/restoration system of the present invention;
Fig. 4 is the schematic flow sheet of the method for virtual machine Backup and Restore of the present invention.
Embodiment
In order to make it easy to understand, making explanation explained below to the part noun occurred in the present invention:
CBT:Data block changes tracking technique(Changed Block Tracking), data block, which changes tracking technique, is
VMwarevStorage API for Data Protection (VADP) important component, it is only standby by CBT technologies
The file that part changes, without backing up whole virtual machine.When the startup of each backup tasks, the data block that only virtual machine has changed
It can just back up, so as to reduce backup data quantity and substantial amounts of data retrieval times, reach the effect of lifting backup efficiency.
LAN-Free:Because data are propagated by LAN, when the data volume for needing to back up is larger, BACKUP TIME window is nervous
When, network is easily blocked., can be using the LAN-Free backups of storage network, it is necessary to the service of backup under SAN environment
Device is connected on magnetic tape station by SAN, under the triggering of LAN-Free backup client softwares, reads the data for needing to back up,
Shared magnetic tape station is backuped to by SAN.This separate network not only can enable LAN flows shift, and its fortune
The CPU resources for turning required are less than LAN modes, because optical-fibre channel connection needs not move through the TCP/IP of server
Stack, and the hardware that some layers of error checking can be inside optical-fibre channel completes.One is needed in many solutions
Main frame manages shared storage device and backup database for searching and recovering data.
With reference to the accompanying drawings and examples, the embodiment to the present invention is described in further detail:
Fig. 1 is refer to, Fig. 1 is the structural representation of virtual machine backup/restoration system of the present invention, and the present embodiment provides a kind of virtual
Machine backup/restoration system, including:SAN backup modules 101, data block modification track protection module 102, virtual machine recovery module
103 and quick carry recovery module 104;The SAN backup modules 101 change track protection module 102, void with data block respectively
Plan machine recovery module 103 is connected with quick carry recovery module 104.
Fig. 2, SAN backup modules 101 are refer to, the module includes virtualized server 105, backup storage all-in-one 106
With optical fiber switch 107, the virtualized server 105 is connected by optical fiber switch 107 with backup storage all-in-one 106
Connect.Pass through VMDK (VMWare Virtual Machine Disk Format, virtual machine the VMware wounds to virtual machine bottom
The virtual hard format built) backed up, store onto the storage medium of backup storage all-in-one rear end, using SAN transmission means
Backed up, just without transmitting data by ESX/ESXi main frames, transmitting, again for mass data is carried out in SAN network environment
The LAN resources of preciousness are no longer taken when system, backup, because backup rate can be substantially improved.The speed of SAN backups typically can be with
More than 4 times of common LAN backups are reached, whole backup procedure is no longer pass through business LAN, it is possible to achieve complete LAN-
Free is backed up, and the occupancy of service link is also avoided while the efficiency of transmission of data is substantially improved.
The data backup of the file-level of support comprehensively of the invention and the complete or incremental backup of database level, this backup services
It can directly be initiated, can also be initiated by client computer by server by server.In multiserver, multiple storage devices, Large Copacity number
According in the application demand environment frequently backed up, SAN LAN-Free backups more show its powerful function.
It refer to Fig. 2, data block modification track protection module 102, abbreviation CBT protection modules, due to using CBT technologies,
When each backup tasks start, the data block that only virtual machine has changed can just be backed up, so as to reduce backup data quantity and big
The data retrieval times of amount, reach the effect of lifting backup efficiency.But CBT can also fail sometimes, such as when virtual machine starts
Shi Fasheng power failures or situations such as close firmly, CBT may reset or lose the track record of increment change, so as to can switch to
The virtual machine is backed up completely, rather than lasting incremental backup, that backs up efficiency and just substantially reduced under such circumstances
, CBT protection modules proposed by the present invention using a part of hard-disc storage space, carry out mirror image same to the data of incremental backup
Step, the data of the incremental backup copied are deposited in this part hard-disc storage space, effectively prevented when virtual machine starts
Generation power failure or situations such as close firmly, CBT resets or lost the track record of increment change.
It refer to Fig. 3, virtual machine recovery module 103, for the virtual machine that recovers to back up to specified location.
Fig. 3 is refer to, quick carry recovery module 104, the NFS carries for VMware virtualized environments recover.Work as void
When plan machine breaks down, if carrying out backup to the virtual machine, by the virtual machine of backup, former void is returned in the way of carry
Planization platform, so as to which quick obtaining and the former virtual-machine data of use, improve the access efficiency of data.
Fig. 4 is refer to, Fig. 4 is the schematic flow sheet of the method for virtual machine Backup and Restore of the present invention;The present embodiment provides one
The method for planting virtual machine Backup and Restore, comprises the following steps:
Step S401, virtual machine is backed up completely by SAN transmission means;
Step S402, virtual machine carries out incremental backup by SAN transmission means, and same to the data progress mirror image of incremental backup
Step;
Backup and incremental backup completely are carried out using LAN-Free backup mode, just without transmitting number by ESX/ESXi main frames
According to, thus backup rate can be substantially improved.
Data to incremental backup carry out mirror image synchronization, even if so virtual machine is restarted, will not also lose the increasing before restarting
Measure the data of backup.
Step S403, it is if carrying out backup to the virtual machine, the virtual machine of backup is extensive when virtual machine breaks down
It is multiple to arrive former virtual platform.
,, will backup if carrying out backup to the virtual machine when virtual machine breaks down as a kind of embodiment
Virtual machine former virtual platform is returned in the way of carry, so as to which quick obtaining and using former virtual-machine data, is carried
The access efficiency of high data.
Illustrated above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of virtual machine backup/restoration system, it is characterised in that including:SAN backup modules, data block modification track protection mould
Block, virtual machine recovery module and quick carry recovery module;The SAN backup modules change track protection mould with data block respectively
Block, virtual machine recovery module are connected with quick carry recovery module.
2. virtual machine backup/restoration system according to claim 1, it is characterised in that the SAN backup modules and data
Block modification track protection module uses LAN-Free backup mode.
3. virtual machine backup/restoration system according to claim 1 or 2, it is characterised in that the SAN backup modules include
Virtualized server, backup storage all-in-one and optical fiber switch, the virtualized server pass through optical fiber switch and backup
Storage all-in-one is connected.
4. virtual machine backup/restoration system according to claim 1, it is characterised in that the data block changes track protection
Module abbreviation CBT protection modules, CBT protection modules are used to carry out incremental backup to virtual machine.
5. virtual machine backup/restoration system according to claim 4, it is characterised in that the CBT protection modules are using hard
Disc storage space, the data to incremental backup carry out mirror image synchronization, the data of the incremental backup copied are stored in described hard
In disc storage space.
6. virtual machine backup/restoration system according to claim 1, it is characterised in that the virtual machine recovery module is used for
The recovery of virtual machine.
7. virtual machine backup/restoration system according to claim 1, it is characterised in that the quick carry recovery module is used
In the virtual machine of backup is returned into former virtual platform in the way of carry.
8. a kind of method of virtual machine Backup and Restore, it is characterised in that comprise the following steps:
Virtual machine is backed up completely by SAN transmission means;
Virtual machine carries out incremental backup by SAN transmission means, and carries out mirror image synchronization to the data of incremental backup;
When virtual machine breaks down, if carrying out backup to the virtual machine, the virtual machine of backup is returned into former virtualization
Platform.
9. the method for virtual machine Backup and Restore according to claim 8, it is characterised in that by the virtual machine of backup with carry
Mode return to former virtual platform.
10. the method for virtual machine Backup and Restore according to claim 8, it is characterised in that the complete backup and increment
Backup uses LAN-Free backup mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710125521.3A CN107025149A (en) | 2017-03-04 | 2017-03-04 | Virtual machine backup/restoration system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710125521.3A CN107025149A (en) | 2017-03-04 | 2017-03-04 | Virtual machine backup/restoration system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107025149A true CN107025149A (en) | 2017-08-08 |
Family
ID=59526142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710125521.3A Pending CN107025149A (en) | 2017-03-04 | 2017-03-04 | Virtual machine backup/restoration system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107025149A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107357690A (en) * | 2017-08-28 | 2017-11-17 | 郑州云海信息技术有限公司 | The backup method and system of a kind of virtual-machine data |
CN108287886A (en) * | 2018-01-16 | 2018-07-17 | 阿里巴巴集团控股有限公司 | The method and device of synchrodata modification information |
CN109086166A (en) * | 2018-07-09 | 2018-12-25 | 郑州云海信息技术有限公司 | A kind of backup of virtual machine and restoration methods and device |
CN109274721A (en) * | 2018-08-24 | 2019-01-25 | 南京壹进制信息技术股份有限公司 | A kind of LAN-free transmission method and system based on virtual disk mapping |
CN110109777A (en) * | 2019-07-02 | 2019-08-09 | 南京云信达科技有限公司 | A kind of VM incremental backup method realized in the case of CBT corrupted data |
CN111124620A (en) * | 2019-12-26 | 2020-05-08 | 航天壹进制(南京)数据科技有限公司 | Continuous data protection method for application programming interface for IO filtering |
CN111625401A (en) * | 2020-05-29 | 2020-09-04 | 浪潮电子信息产业股份有限公司 | Data backup method and device based on cluster file system and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104461783A (en) * | 2014-12-10 | 2015-03-25 | 上海爱数软件有限公司 | Virtual machine backup method by tracking sector data change |
CN105745624A (en) * | 2013-06-10 | 2016-07-06 | 卫盟软件股份公司 | Virtual machine backup from storage snapshot |
-
2017
- 2017-03-04 CN CN201710125521.3A patent/CN107025149A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105745624A (en) * | 2013-06-10 | 2016-07-06 | 卫盟软件股份公司 | Virtual machine backup from storage snapshot |
CN104461783A (en) * | 2014-12-10 | 2015-03-25 | 上海爱数软件有限公司 | Virtual machine backup method by tracking sector data change |
Non-Patent Citations (1)
Title |
---|
韩同欣等: ""面向虚拟平台的备份系统设计"", 《电脑知识与技术》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107357690A (en) * | 2017-08-28 | 2017-11-17 | 郑州云海信息技术有限公司 | The backup method and system of a kind of virtual-machine data |
CN108287886A (en) * | 2018-01-16 | 2018-07-17 | 阿里巴巴集团控股有限公司 | The method and device of synchrodata modification information |
CN108287886B (en) * | 2018-01-16 | 2022-04-08 | 创新先进技术有限公司 | Method and device for synchronizing data change information |
CN109086166A (en) * | 2018-07-09 | 2018-12-25 | 郑州云海信息技术有限公司 | A kind of backup of virtual machine and restoration methods and device |
CN109274721A (en) * | 2018-08-24 | 2019-01-25 | 南京壹进制信息技术股份有限公司 | A kind of LAN-free transmission method and system based on virtual disk mapping |
CN109274721B (en) * | 2018-08-24 | 2021-03-16 | 南京壹进制信息科技有限公司 | LAN-free transmission method and system based on virtual disk mapping |
CN110109777A (en) * | 2019-07-02 | 2019-08-09 | 南京云信达科技有限公司 | A kind of VM incremental backup method realized in the case of CBT corrupted data |
CN111124620A (en) * | 2019-12-26 | 2020-05-08 | 航天壹进制(南京)数据科技有限公司 | Continuous data protection method for application programming interface for IO filtering |
CN111625401A (en) * | 2020-05-29 | 2020-09-04 | 浪潮电子信息产业股份有限公司 | Data backup method and device based on cluster file system and readable storage medium |
CN111625401B (en) * | 2020-05-29 | 2023-03-21 | 浪潮电子信息产业股份有限公司 | Data backup method and device based on cluster file system and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107025149A (en) | Virtual machine backup/restoration system and method | |
US11669409B2 (en) | Application migration between environments | |
US10191677B1 (en) | Asynchronous splitting | |
US7594138B2 (en) | System and method of error recovery for backup applications | |
US9135120B1 (en) | Consistency group moving | |
US9575851B1 (en) | Volume hot migration | |
US9619256B1 (en) | Multi site and multi tenancy | |
US9575857B1 (en) | Active/active replication | |
US9965306B1 (en) | Snapshot replication | |
US10185583B1 (en) | Leveraging snapshots | |
US10482104B2 (en) | Zero-data loss recovery for active-active sites configurations | |
EP1907935B1 (en) | System and method for virtualizing backup images | |
US8135930B1 (en) | Replication systems and methods for a virtual computing environment | |
US8949395B2 (en) | Systems and methods of event driven recovery management | |
AU2011255654B2 (en) | Method and system for achieving fault tolerant checkpointing across remote virtual machines | |
US9639383B1 (en) | Volume moving | |
US10191755B1 (en) | Virtual replication | |
US9619264B1 (en) | AntiAfinity | |
US7831550B1 (en) | Propagating results of a volume-changing operation to replicated nodes | |
US20130024722A1 (en) | Virtual disk replication using log files | |
US9619255B1 (en) | Remote live motion | |
KR102016095B1 (en) | System and method for persisting transaction records in a transactional middleware machine environment | |
CN105677516A (en) | Method for efficient and reliable backup recovery in calculation approach storage cloud platform | |
US10534796B1 (en) | Maintaining an active-active cloud across different types of cloud storage services | |
US11880282B2 (en) | Container-based application data protection method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
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: 20170808 |