CN110262928A - A method of the fast quick-recovery Backup Data based on emergency backup system - Google Patents
A method of the fast quick-recovery Backup Data based on emergency backup system Download PDFInfo
- Publication number
- CN110262928A CN110262928A CN201910588840.7A CN201910588840A CN110262928A CN 110262928 A CN110262928 A CN 110262928A CN 201910588840 A CN201910588840 A CN 201910588840A CN 110262928 A CN110262928 A CN 110262928A
- Authority
- CN
- China
- Prior art keywords
- data
- backup
- recovery
- storage
- fast quick
- 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
- 238000011084 recovery Methods 0.000 title claims abstract description 37
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000013500 data storage Methods 0.000 claims abstract description 14
- 238000004891 communication Methods 0.000 claims abstract description 9
- 238000013507 mapping Methods 0.000 claims abstract description 5
- 238000001514 detection method Methods 0.000 claims abstract description 4
- 230000000717 retained effect Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 4
- 101100226364 Arabidopsis thaliana EXT1 gene Proteins 0.000 description 2
- 101100226366 Arabidopsis thaliana EXT3 gene Proteins 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- PMHURSZHKKJGBM-UHFFFAOYSA-N isoxaben Chemical compound O1N=C(C(C)(CC)CC)C=C1NC(=O)C1=C(OC)C=CC=C1OC PMHURSZHKKJGBM-UHFFFAOYSA-N 0.000 description 2
- 208000034420 multiple type III exostoses Diseases 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
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/1448—Management of the data involved in backup or backup restore
Abstract
The method of the invention discloses a kind of fast quick-recovery Backup Data based on emergency backup system includes the following steps: that selection needs the data restored in Backup Data list;The data storage volume restored required for finding passes through communication protocol mapping to recovery client;Carry is mapped to storage volume herein on restoring client;Specified destination path is restored to data in volume herein are mounted to;Whether detection data is successfully recovered.The snapshot version for the file system that can be retained the present invention provides one, due to having stored the data of all building snapshots in read-write operation, the fast quick-recovery of data is carried out further according to recovery policy, the plenty of time has been saved for the recovery of data, and due to snapshot version, the risk for existing during restoring and restoring failure is eliminated, ensure that the high stability of the fast quick-recovery of Backup Data.
Description
Technical field
The invention belongs to computer fields, are related to a kind of distributed data system back end processing technique, and in particular to
A method of the fast quick-recovery Backup Data based on emergency backup system.
Background technique
Data backup is the basis of disaster tolerance, refers to that operation error or the system failure occur for anti-locking system causes data to be lost
It loses, and all or part of data acquisition system is copied to the process of other storage mediums from the hard disk or array of applied host machine.It passes
The data backup of system is mainly to carry out cold standby using internal or external magnetic tape station.But this mode can only prevent operation from losing
The man-made faults such as mistake, and its recovery time is also very long.With the continuous development of technology, the magnanimity of data increases, many enterprises
Industry starts using network backup, and the data storage management software that network backup generally passes through profession combines corresponding hardware and storage
Equipment is realized.
But existing data reconstruction method, continuous repetition backup basic data is needed for the data backup of system,
Operating frequency is larger, and the demand to capacity also increases with it, and since spare capacity and recovery time are inversely proportional, to obtain faster
Also original event, general way are to sacrifice spare capacity, to generate a large amount of read request to database, need to restore in data
Process time-consuming it is quite big, during recovery there is also restore failure risk.
Summary of the invention
Goal of the invention: the deficiencies in the prior art are directed to, a kind of fast quick-recovery based on emergency backup system is provided
The method of Backup Data is not necessarily to without realizing the fast quick-recovery for data in the case where sacrificing spare capacity in magnanimity
It is time-consuming in the recovery process of data to wait.
Technical solution: to achieve the above object, a method of the fast quick-recovery Backup Data based on emergency backup system,
Include the following steps:
H1: selection needs the data restored in Backup Data list;
H2: according to backup storage strategy, selection needs the data restored in Backup Data list;
H3: according to backup storage strategy, required recovery is found in Pool filesystem snapshot system volume list
Data storage volume;
H4: according to backup storage strategy, finding required recovery in Pool filesystem snapshot system volume list
Data storage volume, pass through communication protocol mapping to restore client;
H5: according to backup storage strategy, carry is mapped to storage volume herein on restoring client;
H6: according to backup storage strategy, specified destination path is restored to data in volume herein are mounted to;
H7: according to backup storage strategy, whether detection data is successfully recovered.
The method of fast quick-recovery Backup Data provided by the invention is built upon in emergency backup system, therefore the present invention
A kind of backup method that emergency is provided and substitutes primary storage function is additionally provided, is included the following steps:
S1: addition storage server;
S2: addition backup strategy (support related data backup, such as: oracle, mysql etc.);
S3: setting backup strategy selects communication protocol, block storage size is arranged;
S4: according to backup storage strategy, the matched target storage strategy of storage strategy name acquiring specified by user, creation
Block storage, and it is mapped to corresponding backup client, the storage of carry mapping block;
S5: according to backup storage strategy, start Backup Data;
S6: according to backup storage strategy, completing Backup Data, and creation snapshot is stored, and backup is terminated.
Backup storage strategy of the invention includes backup strategy and data recovery policy, and wherein backup strategy is applied in number
According to backup in, and data recovery policy is applied in fast quick-recovery Backup Data.
Further, communication protocol includes iSCSI, IB and FC in the step S2.
Further, storing data and data type and corresponding storage strategy name are received in the step S4 first
Claim, if judgement knows that specifying the file system of storage in the target storage strategy is block storage, according to corresponding storage name
Claim to obtain corresponding storage file, and is quickly mounted to backup client.
The present invention also provides a kind of application apparatus of backup method for providing emergency substitution primary storage function, including data to deposit
Storage device, the data storage device include receiving module and matching module, the receiving module for receive storing data with
And corresponding storage strategy title, the matching module are used to be matched to be backed up file according to target storage strategy corresponding
Storage file and storage medium.
Further, pool filesystem snapshot file system, institute are configured in the data storage device
It is pool filesystem snapshot that matching module, which is stated, according to the specified storage file system that target storage strategy is matched to
File system, the pool filesystem snapshot file system in data storage device will create out respective file type
The file system of (such as EXT4, EXT3), and the data of backup are stored in corresponding duplicate volume.
The present invention is based on mainstream Linux systems, such as the redhat/ of debian/ubuntu or the rpm series of deb series
Centos etc. has used part third party's open source software to construct or reduction procedure framework, has related in application system of the invention
And SAN can be come to simulate the storage device for becoming local, Chu Ce through the local area network line concentration of high speed to a computer
The communication between computer is slightly completed by protocol type, memory is stored with the program instruction that can be executable by a machine, service
End caller instruction is able to carry out step S4.
The present invention by data storage device simultaneously configure pool filesystem snapshot file system and
The file system such as Ext4, Ext3, by the matched target storage strategy of the storage strategy name acquiring specified according to user, rationally
Distribute memory space.If the file system of the specified storage of target storage strategy is pool filesystem snapshot file system
System increases emergency memory space to given client end and is backed up.
Standby system based on aforementioned present invention, it is a kind of based on the fast of pool filesystem snapshot file system
The method of quick-recovery Backup Data: by the matched target storage strategy of the storage strategy name acquiring specified according to user, make
With iSCSI, IB, FC etc. communications protocol, builds the backup between storage end and client and restore system.Carrying out backup number
When according to restoring, can choose the mode of long-range carry, such recovery scheme play the role of in application scenes it is powerful, can
With quick pull-up occasional service, waited without time-consuming in the recovery process of mass data.
The utility model has the advantages that compared with prior art, the present invention using POOL FILESYSTEM according to backup strategy
SNAPSHOT Copy on write technology, when writing new data, the block comprising legacy data is retained, and providing one can be retained
The snapshot version of file system, since POOL FILESYSTEM SNAPSHOT has stored all buildings in read-write operation
The data of snapshot carry out the fast quick-recovery of data further according to recovery policy so the creation of snapshot is very fast, are the recovery of data
It has saved the plenty of time, and due to snapshot version, has eliminated the risk for existing during restoring and restoring failure, ensure that
The high stability of the fast quick-recovery of Backup Data.
Detailed description of the invention
Fig. 1 is the flow diagram of backup method of the present invention;
Fig. 2 is the method flow schematic diagram based on the fast quick-recovery Backup Data on standby system.
Specific embodiment
In the following with reference to the drawings and specific embodiments, the present invention is furture elucidated.
As shown in Figure 1, the present invention provides a kind of backup method for providing emergency and substituting primary storage function, including walk as follows
It is rapid:
S1: addition storage server;
S2: addition backup strategy (support related data backup, such as: oracle, mysql etc.);
S3: setting backup strategy selects communication protocol iSCSI, IB and FC, block storage size is arranged;
S4: according to backup storage strategy, the matched target storage strategy of storage strategy name acquiring specified by user, creation
Block storage, and it is mapped to corresponding backup client, the storage of carry mapping block;
S5: according to backup storage strategy, start Backup Data;
S6: according to backup storage strategy, completing Backup Data, and creation snapshot is stored, and backup is terminated.
The present invention also provides a kind of application apparatus of backup method for providing emergency substitution primary storage function, including data to deposit
Storage device, data storage device include receiving module and matching module, and receiving module is for receiving storing data and corresponding
Storage strategy title, matching module are used to be matched to the corresponding storage file of be backed up file according to target storage strategy and deposit
Storage media.Be configured with pool filesystem snapshot file system in data storage device, the matching module according to
The specified storage file system that target storage strategy is matched to is pool filesystem snapshot file system, and data are deposited
Pool filesystem snapshot file system in storage device will create out respective file type (such as EXT4, EXT3)
File system, and the data of backup are stored in corresponding duplicate volume.
Storing data is received by the receiving module of data storage device first in the step S4 of the present embodiment backup method
With data type and corresponding storage strategy title, then know that target is deposited by the matching module judgement of data storage device
The file system that storage is specified in storage strategy is block storage, that is, pool filesystem snapshot file system, then
Corresponding storage file is obtained according to corresponding store name, and is quickly mounted to backup client.
As shown in Fig. 2, based on pool filesystem snapshot file system and above-mentioned emergency in the present embodiment
Standby system needs to carry out Backup Data fast quick-recovery, specific as follows:
H1: selection needs the data restored in Backup Data list;
H2: according to backup storage strategy, selection needs the data restored in Backup Data list;
H3: according to backup storage strategy, the number of recovery required for being found in Pool filesystem snapshot volume list
According to storage volume;
H4: according to backup storage strategy, the number restored required for being found in Pool filesystem snapshot volume list
According to storage volume, recovery client is mapped to by agreements such as iSCSI, IB, FC;
H5: according to backup storage strategy, carry is mapped to storage volume herein on restoring client;
H6: according to backup storage strategy, specified destination path is restored to data in volume herein are mounted to;
H7: according to backup storage strategy, whether detection data is successfully recovered.
Claims (2)
1. a kind of method of the fast quick-recovery Backup Data based on emergency backup system, characterized by the following steps:
H1: selection needs the data restored in Backup Data list;
H2: according to backup storage strategy, selection needs the data restored in Backup Data list;
H3: according to backup storage strategy, required recovery is found in Pool filesystem snapshot system volume list
Data storage volume;
H4: according to backup storage strategy, finding required recovery in Pool filesystem snapshot system volume list
Data storage volume, pass through communication protocol mapping to restore client;
H5: according to backup storage strategy, carry is mapped to storage volume herein on restoring client;
H6: according to backup storage strategy, specified destination path is restored to data in volume herein are mounted to;
H7: according to backup storage strategy, whether detection data is successfully recovered.
2. a kind of method of fast quick-recovery Backup Data based on emergency backup system according to claim 1, feature
Be: communication protocol includes iSCSI, IB and FC in the step H4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910588840.7A CN110262928A (en) | 2019-07-02 | 2019-07-02 | A method of the fast quick-recovery Backup Data based on emergency backup system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910588840.7A CN110262928A (en) | 2019-07-02 | 2019-07-02 | A method of the fast quick-recovery Backup Data based on emergency backup system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110262928A true CN110262928A (en) | 2019-09-20 |
Family
ID=67923793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910588840.7A Pending CN110262928A (en) | 2019-07-02 | 2019-07-02 | A method of the fast quick-recovery Backup Data based on emergency backup system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110262928A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113254266A (en) * | 2021-05-14 | 2021-08-13 | 苗叶 | File backup and recovery method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7523278B2 (en) * | 2005-06-29 | 2009-04-21 | Emc Corporation | Backup and restore operations using a single snapshot |
CN105389230A (en) * | 2015-10-21 | 2016-03-09 | 上海爱数信息技术股份有限公司 | Continuous data protection system and method combining with snapshot technology |
CN105843704A (en) * | 2016-03-15 | 2016-08-10 | 上海爱数信息技术股份有限公司 | Data protection method and system capable of combining with snapshot function based on distributed block storage |
-
2019
- 2019-07-02 CN CN201910588840.7A patent/CN110262928A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7523278B2 (en) * | 2005-06-29 | 2009-04-21 | Emc Corporation | Backup and restore operations using a single snapshot |
CN105389230A (en) * | 2015-10-21 | 2016-03-09 | 上海爱数信息技术股份有限公司 | Continuous data protection system and method combining with snapshot technology |
CN105843704A (en) * | 2016-03-15 | 2016-08-10 | 上海爱数信息技术股份有限公司 | Data protection method and system capable of combining with snapshot function based on distributed block storage |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113254266A (en) * | 2021-05-14 | 2021-08-13 | 苗叶 | File backup and recovery method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10802921B2 (en) | Systems and methods including committing a note to master and slave copies of a data volume based on sequential operation numbers | |
US11086555B1 (en) | Synchronously replicating datasets | |
US7870353B2 (en) | Copying storage units and related metadata to storage | |
US10146631B1 (en) | Incremental forever backups for exchange | |
US11099953B2 (en) | Automatic data healing using a storage controller | |
US7440984B2 (en) | Reconciliation of local and remote backup data | |
WO2018098972A1 (en) | Log recovery method, storage device and storage node | |
CN101084481A (en) | A method to perform parallel data migration in a clustered storage environment | |
JP2005031716A (en) | Method and device for data backup | |
CN108351821A (en) | Data reconstruction method and storage device | |
US10452502B2 (en) | Handling node failure in multi-node data storage systems | |
US11226746B2 (en) | Automatic data healing by I/O | |
US9251020B1 (en) | Systems and methods for file-level replication | |
US8806162B2 (en) | Switching visibility between virtual data storage entities | |
US8145864B1 (en) | Discovering data storage for backup | |
US20080059731A1 (en) | Backup of hierarchically structured storage pools | |
US9760450B2 (en) | Restoring a clone point-in-time copy | |
US10908830B2 (en) | Extent lock resolution in active/active replication | |
CN110262928A (en) | A method of the fast quick-recovery Backup Data based on emergency backup system | |
CN110096390A (en) | It is a kind of that the backup method and its application apparatus of emergency substitution primary storage function are provided | |
US11782799B2 (en) | Using bitmaps to validate data | |
US20230205643A1 (en) | Differential checksum validation | |
US11934275B2 (en) | Backup copy validation as an embedded object | |
US11899538B2 (en) | Storage integrated differential block based backup | |
CN117453653A (en) | Cross-cluster data migration method based on disk-rsync |
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: 20190920 |