CN106897171A - A kind of Disaster Recovery Method of the storage device under virtual environment - Google Patents
A kind of Disaster Recovery Method of the storage device under virtual environment Download PDFInfo
- Publication number
- CN106897171A CN106897171A CN201710108932.1A CN201710108932A CN106897171A CN 106897171 A CN106897171 A CN 106897171A CN 201710108932 A CN201710108932 A CN 201710108932A CN 106897171 A CN106897171 A CN 106897171A
- Authority
- CN
- China
- Prior art keywords
- data
- storage device
- virtual machine
- file
- recovery
- 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
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
-
- 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
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
- G06F11/1451—Management of the data involved in backup or backup restore by selection of backup contents
-
- 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
- G06F11/1471—Saving, restoring, recovering or retrying involving logging of persistent data for recovery
-
- 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
- G06F11/1482—Generic software techniques for error detection or fault masking by means of middleware or OS functionality
- G06F11/1484—Generic software techniques for error detection or fault masking by means of middleware or OS functionality involving virtual machines
Abstract
The invention discloses a kind of Disaster Recovery Method of the storage device under virtual environment, wherein, storage device includes virtual machine, and the method includes:The initialization data of the advance backup storage device in data de-duplication database;Whether the data in real-time judge storage device change;If so, in the data backup that will then be changed in storage device to data de-duplication database;Whether real-time judge storage device there is disaster;If so, then judge storage device whether disaster recovery;If so, then carrying out data recovery to storage device according to the data backed up in data de-duplication database.Under virtual environment; the data of virtual machine in storage device are backed up by data de-duplication database; just the data of change are backed up when the data in virtual machine are changed simply; data recovery can be carried out to virtual machine according to demand; the data protection under virtual environment can be effectively realized, and time cost and resources costs can be reduced.
Description
Technical field
The present invention relates to server technology field, the disaster of more particularly to a kind of storage device under virtual environment
Restoration methods.
Background technology
With the development of information technology, cloud computing has obtained large-scale application and development, calculates virtualized environment and also receives
To the attention of increasing user.
Calculating virtualization can effectively utilize hardware, it is easy to which IT is managed, and is cut operating costs.And physical computing environment
Equally, the data in virtualized environment is calculated are also required to be protected, and the data protection in virtualized computing environment faces
Challenge never runs into physical computing environment.If in virtual environment, will using the method for traditional protection data
Virtual disk does a mirror image, and mirrored storage then may be paid into larger storage resource and time cost long-range, and
When the data volume for needing to be backed up or recover is larger, more times and resource will be expended.
Therefore, the data protection under virtual environment how is effectively realized, and time cost and resources costs can be reduced, be
The current technical issues that need to address of those skilled in the art.
The content of the invention
It is an object of the invention to provide a kind of Disaster Recovery Method of the storage device under virtual environment, can be effective
The data protection under virtual environment is realized, and time cost and resources costs can be reduced.
In order to solve the above technical problems, the invention provides following technical scheme:
A kind of Disaster Recovery Method of the storage device under virtual environment, wherein, the storage device includes virtual
Machine, the method includes:
The initialization data of the advance backup storage device in data de-duplication database;
Whether the data in storage device described in real-time judge change;
If so, in the data backup that will then be changed in the storage device to the data de-duplication database;
Whether storage device described in real-time judge there is disaster;
If so, then judge the storage device whether disaster recovery;
If so, it is extensive then to carry out data to the storage device according to the data backed up in the data de-duplication database
It is multiple.
Preferably, the initialization data of the advance backup storage device in data de-duplication database, including:
Pre-build the corresponding index point of each file in the initialization data of backup storage device;
Each index point and file data corresponding with each index point are backed up to the repeated data and deleted
Except database.
Preferably, it is described by the data backup changed in the storage device to the data de-duplication database
In, including:
According to the data changed in the storage device, corresponding index point and virtual machine snapshot are set up;
Each virtual machine snapshot and the backup of corresponding index point are stored to the data de-duplication database.
Preferably, it is described that line number is entered to the storage device according to the data backed up in the data de-duplication database
According to recovery, including:
Obtain the file access pattern instruction of the virtual machine;
The index point of the file recovered needed for corresponding according to file access pattern instruction lookup;
Transfer corresponding virtual machine snapshot according to the index point carries out data recovery to the storage device.
Preferably, the file access pattern instruction for obtaining the virtual machine, including:
Track the change data block of the virtual machine;
Determine the scope of the MFT of the virtual machine;
A corporate data block is found between the MFT and change data block of the virtual machine;
The corporate data block is parsed, a document change list is determined;
In storing the document change list to file index;
The file that document change list in the file index recovers needed for determining, generates corresponding file access pattern
Instruction.
Preferably, it is described corresponding virtual machine snapshot to be transferred according to the index point data are carried out to the storage device
Recover, including:
The first data of the file of recovery comprising needed for are determined in corresponding virtual machine snapshot according to the index point
Block;
Data in first data block carry out data recovery to the virtual machine in the storage device.
Compared with prior art, above-mentioned technical proposal has advantages below:
A kind of Disaster Recovery Method of storage device under virtual environment provided by the present invention, wherein, storage sets
Standby to include virtual machine, the method includes:The initialization data of the advance backup storage device in data de-duplication database;It is real
When judge whether the data in storage device change;If so, the data backup that will then be changed in storage device is to again
Complex data is deleted in database;Whether real-time judge storage device there is disaster;If so, then judging storage device, whether disaster is extensive
It is multiple;If so, then carrying out data recovery to storage device according to the data backed up in data de-duplication database.In virtual environment
Under, the data of virtual machine in storage device are backed up by data de-duplication database, advance backup storage device
Initialization data, all data of virtual machine of not backed up in realtime in the application process of virtual machine, simply when in virtual machine
Just the data of change are backed up when data are changed, when there is disaster in virtual machine, after disaster recovery, can basis
The data of backup are carried out data recovery by demand to virtual machine, can effectively realize the data protection under virtual environment, and energy
Enough reduce time cost and resources costs.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
The disaster recovery for the storage device under virtual environment that Fig. 1 is provided by a kind of specific embodiment of the invention
Method flow diagram.
Specific embodiment
Core of the invention is to provide a kind of Disaster Recovery Method of the storage device under virtual environment, can be effective
The data protection under virtual environment is realized, and time cost and resources costs can be reduced.
In order that the above objects, features and advantages of the present invention can become apparent it is understandable, below in conjunction with the accompanying drawings to this hair
Bright specific embodiment is described in detail.
Elaborate detail in order to fully understand the present invention in the following description.But the present invention can with it is various not
It is same as other manner described here to implement, those skilled in the art can do class in the case of without prejudice to intension of the present invention
Like popularization.Therefore the present invention is not limited by following public specific implementation.
Refer to Fig. 1, Fig. 1 by a kind of specific embodiment of the invention provide for the storage device under virtual environment
Disaster Recovery Method flow chart.
A kind of specific embodiment of the invention provides a kind of disaster recovery of storage device under virtual environment
Method, wherein, storage device includes virtual machine, and the method includes:
S11:The initialization data of the advance backup storage device in data de-duplication database.
In the present embodiment, involved virtual environment may refer to the vSphere environment of VMWare, including one
Or the storage device of multiple virtual machines, ESX servers, local hard drive or remote resource composition.Data de-duplication data Cooley
Avoided storing repeated data in a computer with data de-duplication technology, substantial amounts of hard drive space can be saved.
In one embodiment of the invention, in advance in data de-duplication database backup storage device it is initial
Change data, including:Pre-build the corresponding index point of each file in the initialization data of backup storage device;Each index is referred to
Pin and file data corresponding with each index point back up to data de-duplication database.
In the present embodiment, disaster recovery follow-up for convenience, in the data of backup storage device, according to virtual
Each file in machine, sets up corresponding index point, and index point looks for corresponding file as call number to facilitate.
S12:Whether the data in real-time judge storage device change.In judging the virtual machine in storage device
Whether data change.
S13:If so, in the data backup that will then be changed in storage device to data de-duplication database.
In one embodiment of the invention, the data backup that will be changed in storage device is to data de-duplication
In database, including:According to the data changed in storage device, corresponding index point and virtual machine snapshot are set up;Will
Each virtual machine snapshot and the backup of corresponding index point are stored to data de-duplication database.In the present embodiment, with number
Come backing up and storing to the data for changing according to the mode of snapshot.Image of the snapshot corresponding data at certain time point, this is caused
The time point of backup can be determined in backup.
S14:Whether real-time judge storage device there is disaster.Judge whether the virtual machine of storage device there occurs failure
Etc. disaster.
S15:If so, then judge storage device whether disaster recovery.Judge whether deleted to repeated data at storage device
The request of data recovery is sent except database.
S16:If so, then carrying out data recovery to storage device according to the data backed up in data de-duplication database.
In one embodiment of the invention, according to the data backed up in data de-duplication database to storage device
Data recovery is carried out, including:The file access pattern instruction of virtual machine is obtained, it is empty when needing to recover data after virtual machine disaster
Plan machine sends file access pattern and instructs to storage device;The index of the file recovered needed for corresponding according to file access pattern instruction lookup
Pointer;Transfer corresponding virtual machine snapshot according to index point carries out data recovery to storage device.
Wherein, the file access pattern instruction of virtual machine is obtained, including:Track the change data block of virtual machine;Determine virtual machine
MFT scope;A corporate data block is found between the MFT and change data block of virtual machine;It is common to this
Parsed with data block, determined a document change list;In storage file change list to file index;According to file rope
The file that document change list in drawing recovers needed for determining, generates corresponding file access pattern instruction.
Further, transferring corresponding virtual machine snapshot according to index point carries out data recovery to storage device, bag
Include:The first data block of the file of recovery comprising needed for is determined in corresponding virtual machine snapshot according to index point;According to
Data in one data block carry out data recovery to the virtual machine in storage device.
When virtual machine occurs disaster and recovers, not all data are all damaged in many cases, but need
Recover a part of data, at this time, virtual machine sends file access pattern according to the demand of itself to data de-duplication database
Instruct to recover the data of itself, in the present embodiment, a virtual machine is determined by the change data block for tracking virtual machine
The scope of MFT determine document change list, so that it is determined that needing the file for being recovered.Then referred to by index
Pin transfers corresponding file data in data de-duplication database and carries out data recovery.
The Disaster Recovery Method of the storage device under virtual environment provided by the present invention, under virtual environment, leads to
Cross data de-duplication database to back up the data of virtual machine in storage device, the initialization of advance backup storage device
Data, all data of virtual machine of not backed up in realtime in the application process of virtual machine, simply when the data in virtual machine are sent out
Change and just backed up the data of change when more, when virtual machine occurs disaster, after disaster recovery, can come according to demand
The data of backup are carried out into data recovery to virtual machine, the data protection under virtual environment can be effectively realized, and can reduce
Time cost and resources costs.
The Disaster Recovery Method to a kind of storage device under virtual environment provided by the present invention is carried out above
It is discussed in detail.Specific case used herein is set forth to principle of the invention and implementation method, above example
Illustrate that being only intended to help understands the method for the present invention and its core concept.It should be pointed out that for the common skill of the art
For art personnel, under the premise without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these change
Enter and modify to also fall into the protection domain of the claims in the present invention.
Claims (6)
1. the Disaster Recovery Method of a kind of storage device under virtual environment, wherein, the storage device includes virtual machine,
Characterized in that, the method includes:
The initialization data of the advance backup storage device in data de-duplication database;
Whether the data in storage device described in real-time judge change;
If so, in the data backup that will then be changed in the storage device to the data de-duplication database;
Whether storage device described in real-time judge there is disaster;
If so, then judge the storage device whether disaster recovery;
If so, then carrying out data recovery to the storage device according to the data backed up in the data de-duplication database.
2. method according to claim 1, it is characterised in that described backup in data de-duplication database in advance is deposited
The initialization data of storage equipment, including:
Pre-build the corresponding index point of each file in the initialization data of backup storage device;
Each index point and file data corresponding with each index point are backed up into the data de-duplication number
According to storehouse.
3. method according to claim 2, it is characterised in that the data that will be changed in the storage device are standby
In part to the data de-duplication database, including:
According to the data changed in the storage device, corresponding index point and virtual machine snapshot are set up;
Each virtual machine snapshot and the backup of corresponding index point are stored to the data de-duplication database.
4. method according to claim 3, it is characterised in that described to be backed up according in the data de-duplication database
Data data recovery is carried out to the storage device, including:
Obtain the file access pattern instruction of the virtual machine;
The index point of the file recovered needed for corresponding according to file access pattern instruction lookup;
Transfer corresponding virtual machine snapshot according to the index point carries out data recovery to the storage device.
5. method according to claim 4, it is characterised in that the file access pattern instruction of the acquisition virtual machine, bag
Include:
Track the change data block of the virtual machine;
Determine the scope of the MFT of the virtual machine;
A corporate data block is found between the MFT and change data block of the virtual machine;
The corporate data block is parsed, a document change list is determined;
In storing the document change list to file index;
The file that document change list in the file index recovers needed for determining, generates corresponding file access pattern and refers to
Order.
6. method according to claim 5, it is characterised in that described that corresponding virtual machine is transferred according to the index point
Snapshot carries out data recovery to the storage device, including:
The first data block of the file of recovery comprising needed for is determined in corresponding virtual machine snapshot according to the index point;
Data in first data block carry out data recovery to the virtual machine in the storage device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710108932.1A CN106897171A (en) | 2017-02-27 | 2017-02-27 | A kind of Disaster Recovery Method of the storage device under virtual environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710108932.1A CN106897171A (en) | 2017-02-27 | 2017-02-27 | A kind of Disaster Recovery Method of the storage device under virtual environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106897171A true CN106897171A (en) | 2017-06-27 |
Family
ID=59184315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710108932.1A Pending CN106897171A (en) | 2017-02-27 | 2017-02-27 | A kind of Disaster Recovery Method of the storage device under virtual environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106897171A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109726038A (en) * | 2017-10-27 | 2019-05-07 | 伊姆西Ip控股有限责任公司 | Method and apparatus for managing virtual machine |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7139999B2 (en) * | 1999-08-31 | 2006-11-21 | Accenture Llp | Development architecture framework |
CN101127000A (en) * | 2006-08-17 | 2008-02-20 | 国际商业机器公司 | Device and method for promoting disaster resumption |
CN101741536A (en) * | 2008-11-26 | 2010-06-16 | 中兴通讯股份有限公司 | Data level disaster-tolerant method and system and production center node |
CN106354587A (en) * | 2016-09-06 | 2017-01-25 | 上海云轴信息科技有限公司 | Mirror image server and method for exporting mirror image files of virtual machine |
-
2017
- 2017-02-27 CN CN201710108932.1A patent/CN106897171A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7139999B2 (en) * | 1999-08-31 | 2006-11-21 | Accenture Llp | Development architecture framework |
CN101127000A (en) * | 2006-08-17 | 2008-02-20 | 国际商业机器公司 | Device and method for promoting disaster resumption |
CN101741536A (en) * | 2008-11-26 | 2010-06-16 | 中兴通讯股份有限公司 | Data level disaster-tolerant method and system and production center node |
CN106354587A (en) * | 2016-09-06 | 2017-01-25 | 上海云轴信息科技有限公司 | Mirror image server and method for exporting mirror image files of virtual machine |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109726038A (en) * | 2017-10-27 | 2019-05-07 | 伊姆西Ip控股有限责任公司 | Method and apparatus for managing virtual machine |
CN109726038B (en) * | 2017-10-27 | 2023-12-15 | 伊姆西Ip控股有限责任公司 | Method and apparatus for managing virtual machines |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9671967B2 (en) | Method and system for implementing a distributed operations log | |
CN102821158B (en) | A kind of method and cloud system realizing virtual machine (vm) migration | |
US9015164B2 (en) | High availability for cloud servers | |
US9977704B1 (en) | Automated backup and replication of virtual machine data centers | |
US9519656B2 (en) | System and method for providing a virtualized replication and high availability environment | |
CN106528327B (en) | A kind of data processing method and backup server | |
US20150242283A1 (en) | Backing up virtual machines | |
CN105224391A (en) | A kind of online backup method and system of virtual machine | |
CN104239166A (en) | Method for realizing file backup for running virtual machine | |
CN103761166A (en) | Hot standby disaster tolerance system for network service under virtualized environment and method thereof | |
CN102331949A (en) | Methods for generating and restoring memory snapshot of virtual machine, device and system | |
US10725980B2 (en) | Highly available cluster agent for backup and restore operations | |
CN102594849A (en) | Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device | |
CN106201702A (en) | The method of virtual machine (vm) migration, system and cloud computing management platform | |
US8495178B1 (en) | Dynamic bandwidth discovery and allocation to improve performance for backing up data | |
CN105359100A (en) | Utilizing client resources during mobility operations | |
EP3750066A1 (en) | Protection of infrastructure-as-a-service workloads in public cloud | |
US8595192B1 (en) | Systems and methods for providing high availability to instance-bound databases | |
CN107402839A (en) | A kind of method and system of Backup Data | |
WO2016107219A1 (en) | Data recovery method and apparatus | |
CN103019847A (en) | Method and system for migrating data of virtual machine | |
CN106897171A (en) | A kind of Disaster Recovery Method of the storage device under virtual environment | |
US10831621B2 (en) | Policy-driven high availability standby servers | |
CN106445729A (en) | Backup virtualization-based method | |
KR101544899B1 (en) | Backup system and backup method in virtualization environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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: 20170627 |