CN102831036A - Continuous data protection method based on disk partition - Google Patents
Continuous data protection method based on disk partition Download PDFInfo
- Publication number
- CN102831036A CN102831036A CN2012103139549A CN201210313954A CN102831036A CN 102831036 A CN102831036 A CN 102831036A CN 2012103139549 A CN2012103139549 A CN 2012103139549A CN 201210313954 A CN201210313954 A CN 201210313954A CN 102831036 A CN102831036 A CN 102831036A
- Authority
- CN
- China
- Prior art keywords
- disk partition
- protected
- partition
- write operation
- disk
- 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
Images
Landscapes
- Storage Device Security (AREA)
Abstract
The invention relates to a continuous data protection method based on disk partition. The method is technically characterized by comprising the following main steps: 1, system initialization based on disk partition; and 2, disk partition write operation for continuous data protection. The method is reasonable in design; a protected computer is combined with independent continuous data protection equipment by a special storage network; protected disk partition is built on the protected computer and corresponding mirror disk partition is built on the continuous data protection equipment; and in disk write operation, double-write operation combining the protected disk partition and mirror disk partition is carried out on protected data, so that the function of continuous data protection is achieved. The method has the advantages of strong instantaneity, reliable performance, simpleness in implementation method and the like.
Description
Technical field
The invention belongs to the data backup technical field, especially a kind of continuous data protection method based on disk partition.
Background technology
Along with fast development of information technology, it is important that the security of computer data seems all the more, therefore, must protect computer data.The common method that computer data is protected adopts data backup to realize exactly.Data backup is the process of storage medium that all or part of data acquisition is copied to other from the hard disk or the array of applied host machine.The classic method of data backup is the timed backup method, and the problem of its existence is: the time granularity to the data backup is excessive, can not carry out real-time guard to data, and the data resume speed is slow.Continuous data protection (CDP) redundancy technique can solve the problem of data backup real-time difference to a certain extent; But; There is following problem in existing C DP backup method: its adopt read earlier the legacy data piece, then with the legacy data piece write other zone, the mode that writes the delta data piece at last realizes; Increase the number of times of CDP server end read-write, reduced performance; Record to historical data has taken a large amount of CDP server end storage spaces, in order to reduce the taking of storage space, makes the CDP server end can only put down in writing several days data to a week, for early data again protection can not be provided; Backed up data all is stored on the CDP server, in case the generation problem then can lose the data that all backed up.
Summary of the invention
The objective of the invention is to overcome the deficiency of prior art, a kind of reasonable in design, the continuous data protection method based on disk partition that can carry out real-time guard and be easy to realize data is provided.
The present invention solves existing technical matters and takes following technical scheme to realize:
A kind of continuous data protection method based on disk partition comprises that described system initialization step comprises based on the system initialization method of disk partition and the disk partition write operation method of continuous data protection:
⑴ with protected computer and continuous data protection equipment independently through the storage dedicated Internet access together;
⑵ the two writing modules of installation data are on protected computer;
⑶ create protected disk partition and non-protection disk partition in protected computer;
⑷ independently creating the mirrored disk partition that is not less than protected disk partition size in the continuous data protection equipment;
⑸ load images disk partition is on protected computer;
⑹ synchronous protected disk partition data are to the mirrored disk partition of correspondence;
Described disk partition write operation step comprises:
⑴ the two writing modules of data are the related disk partition write operation of monitoring in real time?
Does ⑵ judge disk subregion write operation belong to protected disk partition? Be then to forward step 3 to, otherwise, writing data in the non-protection disk partition of protected computer, the disk partition write operation finishes;
⑶ the two writing modules of data write data in the protected disk partition of protected computer, then through specific store network copy disk partition write operation and write data in the pairing mirrored disk partition of protected disk partition;
⑷ confirm the completion of mirrored disk partition write operation, and the disk partition write operation finishes.
And described storage dedicated network is FC SAN network or IP SAN network.
And the two writing modules of described data are installed on the interface of disk partition I/O driver.
And, described disk partition be following disk partition one of: the logical volume subregion in the logical volume subregion in Windows primary partition, Windows dynamic partition, Linux primary partition, the Linux LVM, Unix primary partition and the UNIX LVM.
5, a kind of continuous data protection method based on disk partition according to claim 1 is characterized in that: the said method that judges whether to belong to protected disk partition is to carry out according to the parameter that the disk partition write operation is comprised.
Advantage of the present invention and good effect are:
The present invention combines protected computer and continuous data protection equipment independently through the specific store network; On protected computer, set up protected disk partition and set up corresponding mirrored disk partition at continuous data protection equipment independently; During the conducting disk write operation protected data carried out two write operations of protected disk partition and mirrored disk partition; Thereby realize lasting defencive function, have characteristics such as real-time, dependable performance, implementation method are simple data.
Description of drawings
Fig. 1 is based on the connection synoptic diagram of continuous data protection of the present invention system;
Fig. 2 is an initialization process process flow diagram of the present invention;
Fig. 3 is the processing flow chart of writing of the present invention.
Embodiment
Below in conjunction with accompanying drawing the embodiment of the invention is done further detailed description.
A kind of continuous data protection method based on disk partition; Be in the continuous data protection system based on disk partition as shown in Figure 1, to realize; This system is made up of through the storage dedicated Internet access protected computer and continuous data protection equipment independently; On protected computer, set up protected disk partition and set up corresponding mirrored disk partition, the two writing modules (splitter) of installation data in protected computer at continuous data protection equipment independently.The two writing modules of these data are installed on the interface of disk partition I/O driver; The two writing modules of these data are as the core of this method; Its function is: when shielded disk partition write operation takes place; Carry out data and duplicate and record independently in the continuous data protection equipment, carry out original disk partition I/O driver simultaneously.
A kind of continuous data protection method based on disk partition comprises based on the system initialization method of disk partition and disk partition write operation method two parts of continuous data protection.
As shown in Figure 2, may further comprise the steps based on the system initialization method of disk partition:
1, protected computer and continuous data protection equipment are independently linked together through storage dedicated network (FC SAN, IP SAN).
2, the two writing modules of installation data are on protected computer.
This step is that the two writing modules of data are installed on the interface of disk partition I/O driver, and starts the shielded subregion of monitoring.
3, in protected computer, create protected disk partition (sda1, sda2 ... Sdan) and non-protection disk partition (sdb1, sdab2 ... Sdbn).
The disk partition that this method is supported comprises: the logical volume subregion in the logical volume subregion in Windows primary partition, Windows dynamic partition, Linux primary partition, the Linux LVM, Unix primary partition and the UNIX LVM etc.
4, independently creating the mirrored disk partition that is not less than protected disk partition size in the continuous data protection equipment.
5, the load images disk partition is on protected computer.
6, synchronous protected disk partition data are to the mirrored disk partition of correspondence.
As shown in Figure 3, the disk partition write operation method of continuous data protection may further comprise the steps:
Is 1, the two writing modules (splitter) of data monitored related disk partition write operation in real time?
Does 2, judge disk subregion write operation belong to protected disk partition? Be then to forward step 3 to, otherwise, writing data in the non-protection disk partition of protected computer, the disk partition write operation finishes.
In this step, judge disk subregion write operation is to judge according to the parameter in the disk partition write operation.The disk partition write operation comprises following two types: to the disk write operation of protected data with to the disk partition write operation of protected data not; For the disk write operation of protected data not; Only need data to be write in the non-protection disk partition of protected computer (this step) according to general disk write operation; And, then be required to be two write operation (step 3) of carrying out disk partition for the disk write operation of protected data.
3, the two writing modules (splitter) of data write data in the protected disk partition of protected computer, then through specific store network copy disk partition write operation and write data in the pairing mirrored disk partition of protected disk partition.
4, confirm the completion of mirrored disk partition write operation, the disk partition write operation finishes.
With Fig. 1 is example; Disk partition sda1 is for need carry out the protected data disk partition of continuous data protection; Be directed against write operation (1) and (2) of protected data disk partition sda1 like this; Carry out write operation through the two writing modules (splitter) of data data are write among the protected data disk partition sda1, be written in the pairing sda3 disk mirroring of the protected data disk partition sda1 subregion through the specific store network simultaneously.And, need not carry out continuous data protection to the write operation (3) of non-protected disk partition sdb1, get final product so only write data among the non-protected disk partition sdb1.
It is emphasized that; Embodiment of the present invention is illustrative; Rather than it is determinate; Therefore the present invention includes and be not limited to the embodiment described in the embodiment, every other embodiments that drawn by those skilled in the art's technical scheme according to the present invention belong to the scope that the present invention protects equally.
Claims (5)
1. continuous data protection method based on disk partition is characterized in that: comprise that described system initialization step comprises based on the system initialization method of disk partition and the disk partition write operation method of continuous data protection:
⑴ with protected computer and continuous data protection equipment independently through the storage dedicated Internet access together;
⑵ the two writing modules of installation data are on protected computer;
⑶ create protected disk partition and non-protection disk partition in protected computer;
⑷ independently creating the mirrored disk partition that is not less than protected disk partition size in the continuous data protection equipment;
⑸ load images disk partition is on protected computer;
⑹ synchronous protected disk partition data are to the mirrored disk partition of correspondence;
Described disk partition write operation step comprises:
⑴ the two writing modules of data are the related disk partition write operation of monitoring in real time?
Does ⑵ judge disk subregion write operation belong to protected disk partition? Be then to forward step 3 to, otherwise, writing data in the non-protection disk partition of protected computer, the disk partition write operation finishes;
⑶ the two writing modules of data write data in the protected disk partition of protected computer, then through specific store network copy disk partition write operation and write data in the pairing mirrored disk partition of protected disk partition;
⑷ confirm the completion of mirrored disk partition write operation, and the disk partition write operation finishes.
2. a kind of continuous data protection method based on disk partition according to claim 1 is characterized in that: described storage dedicated network is FC SAN network or IP SAN network.
3. a kind of continuous data protection method based on disk partition according to claim 1 is characterized in that: the two writing modules of described data are installed on the interface of disk partition I/O driver.
4. a kind of continuous data protection method based on disk partition according to claim 1 is characterized in that: described disk partition be following disk partition one of: the logical volume subregion in the logical volume subregion in Windows primary partition, Windows dynamic partition, Linux primary partition, the Linux LVM, Unix primary partition and the UNIX LVM.
5. a kind of continuous data protection method based on disk partition according to claim 1 is characterized in that: the said method that judges whether to belong to protected disk partition is to carry out according to the parameter that the disk partition write operation is comprised.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103139549A CN102831036A (en) | 2012-08-30 | 2012-08-30 | Continuous data protection method based on disk partition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103139549A CN102831036A (en) | 2012-08-30 | 2012-08-30 | Continuous data protection method based on disk partition |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102831036A true CN102831036A (en) | 2012-12-19 |
Family
ID=47334185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012103139549A Pending CN102831036A (en) | 2012-08-30 | 2012-08-30 | Continuous data protection method based on disk partition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102831036A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103064766A (en) * | 2013-01-07 | 2013-04-24 | 天津火星科技有限公司 | Fast data synchronization method in continuous data protection technology |
CN106648981A (en) * | 2016-12-13 | 2017-05-10 | 龚平 | Continuous data protection based virtual machine data protection method |
CN106815095A (en) * | 2016-12-13 | 2017-06-09 | 龚平 | Virtual-machine data guard method under a kind of cloud platform environment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1545657A (en) * | 2001-08-31 | 2004-11-10 | () | Method for backing up and recovering data in hard disk of computer |
CN1818879A (en) * | 2006-03-10 | 2006-08-16 | 四川大学 | Disk mirroring method based on IP network |
US20080208932A1 (en) * | 2007-02-22 | 2008-08-28 | Hitachi, Ltd. | Method and system for continuous data protection |
-
2012
- 2012-08-30 CN CN2012103139549A patent/CN102831036A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1545657A (en) * | 2001-08-31 | 2004-11-10 | () | Method for backing up and recovering data in hard disk of computer |
CN1818879A (en) * | 2006-03-10 | 2006-08-16 | 四川大学 | Disk mirroring method based on IP network |
US20080208932A1 (en) * | 2007-02-22 | 2008-08-28 | Hitachi, Ltd. | Method and system for continuous data protection |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103064766A (en) * | 2013-01-07 | 2013-04-24 | 天津火星科技有限公司 | Fast data synchronization method in continuous data protection technology |
CN103064766B (en) * | 2013-01-07 | 2015-04-22 | 天津火星科技有限公司 | Fast data synchronization method in continuous data protection technology |
CN106648981A (en) * | 2016-12-13 | 2017-05-10 | 龚平 | Continuous data protection based virtual machine data protection method |
CN106815095A (en) * | 2016-12-13 | 2017-06-09 | 龚平 | Virtual-machine data guard method under a kind of cloud platform environment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9348827B1 (en) | File-based snapshots for block-based backups | |
US9411821B1 (en) | Block-based backups for sub-file modifications | |
US8868858B2 (en) | Method and apparatus of continuous data backup and access using virtual machines | |
US8554734B1 (en) | Continuous data protection journaling in data storage systems | |
CN103064765B (en) | Data reconstruction method, device and cluster storage system | |
US10678663B1 (en) | Synchronizing storage devices outside of disabled write windows | |
CN103019890B (en) | Block-level disk data protection system and method thereof | |
US7761426B2 (en) | Apparatus, system, and method for continuously protecting data | |
CN102033786B (en) | Method for repairing consistency of copies in object storage system | |
US20110258404A1 (en) | Method and apparatus to manage groups for deduplication | |
US20140129765A1 (en) | Method to improve data reliability in dram ssd using asynchronous logging and incremental backup | |
US7617373B2 (en) | Apparatus, system, and method for presenting a storage volume as a virtual volume | |
US20120136841A1 (en) | System and method for application aware de-duplication of data blocks on a virtualized storage array | |
CN103516736A (en) | Data recovery method of distributed cache system and a data recovery device of distributed cache system | |
CN102819615A (en) | Database continuous data protection method based on application snapshot | |
CN103902349A (en) | Virtualization platform storage management server and virtualization platform storage management method | |
US20180052740A1 (en) | Optimization to permit block based incremental backup across system reboot or crash | |
US8707107B1 (en) | Systems and methods for proactively facilitating restoration of potential data failures | |
CN102033793A (en) | Snapshot method and solid-state hard disk | |
CN105376329A (en) | Remote online backup method for virtual machine | |
US9251020B1 (en) | Systems and methods for file-level replication | |
CN115098299A (en) | Backup method, disaster recovery method, device and equipment for virtual machine | |
US20060215456A1 (en) | Disk array data protective system and method | |
CN103176867A (en) | Fast file differential backup method | |
CN102831036A (en) | Continuous data protection method based on disk partition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20121219 |