CN108089946A - A kind of multinode Fast incremental backup method - Google Patents

A kind of multinode Fast incremental backup method Download PDF

Info

Publication number
CN108089946A
CN108089946A CN201711348804.0A CN201711348804A CN108089946A CN 108089946 A CN108089946 A CN 108089946A CN 201711348804 A CN201711348804 A CN 201711348804A CN 108089946 A CN108089946 A CN 108089946A
Authority
CN
China
Prior art keywords
backup
server
data block
joint
server node
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.)
Granted
Application number
CN201711348804.0A
Other languages
Chinese (zh)
Other versions
CN108089946B (en
Inventor
黄仁高
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Changtai Technology Co.,Ltd.
Original Assignee
Anhui Changtai Information Security Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Changtai Information Security Service Co Ltd filed Critical Anhui Changtai Information Security Service Co Ltd
Priority to CN201711348804.0A priority Critical patent/CN108089946B/en
Publication of CN108089946A publication Critical patent/CN108089946A/en
Application granted granted Critical
Publication of CN108089946B publication Critical patent/CN108089946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1453Management of the data involved in backup or backup restore using de-duplication of the data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of multinode Fast incremental backup methods.It is related to multi-node incremental backup technical field.Include the following steps:IP marks IPsign in primary server joint detection duplicated record table;Primary server joint transfers pre- backup signal extremely from server node;Judged from server node according to pre- backup signal and transfer answer signal;Primary server joint is according to answer signal Backup Data block;Primary server joint interpolation data block sequence number, mark sign, timestamp timestape, pointer pointer to duplicated record table;Primary server joint transfers data block backup information extremely from server node;From server node Backup Data block.The present invention is marked by being equipped with timestamp, mark, IP in equipment part record sheet in server node and duplicated record table, real-time monitoring when realizing incremental backup to each server node solves the problems, such as that existing multi-node incremental backup poor synchronization, efficiency are slow.

Description

A kind of multinode Fast incremental backup method
Technical field
The invention belongs to multi-node incremental backup technical field, more particularly to a kind of multinode Fast incremental backup side Method.
Background technology
Incremental backup refer to a full backup or on once after incremental backup, later each backup is only backed up with before Once compared to the file for increasing or being changed.It is produced afterwards it means that the object of first time incremental backup is that progress is entirely standby Raw increase and the file of modification;The object of second of incremental backup be carry out first time incremental backup after it is generated increase and The file of modification, and so on.This most significant advantage of backup mode is exactly:The Backup Data not repeated, therefore back up Data volume it is little, it is very short to back up the required time.But the data recovery of incremental backup is cumbersome.You must have upper Full backup and all incremental backup tapes (once losing or damaging magnetic tape reel therein, will result in the mistake of recovery Lose), and they must push away recovery along from full backup to the time sequencing of incremental backup successively is counter one by one, therefore this is with regard to very big Ground extends recovery time.
Backup rate is advantageous in that using incremental backup is maximum:Its speed upper many faster than full backup, while by In incremental backup, whether meeting automatic decision BACKUP TIME point and file have been changed before backuping, so compared with complete backup It is also very beneficial for saving memory space.
Service system is frequently with multiserver node, and it is standby to be commonly encountered data for the incremental backup of data in multiserver node Part is inconsistent to cause the problem of data backup is chaotic, incremental backup efficiency is slow, this invention address that invention one kind ensures that data are standby Part accuracy, synchronism while improve incremental backup efficiency.
The content of the invention
It is an object of the invention to provide a kind of multinode Fast incremental backup methods, pass through equipment part in server node Timestamp, mark, IP marks are equipped in record sheet and duplicated record table, to each server node when realizing incremental backup Monitoring in real time, solves the problems, such as that existing multi-node incremental backup poor synchronization, efficiency are slow.
In order to solve the above technical problems, the present invention is achieved by the following technical solutions:
The present invention is a kind of multinode Fast incremental backup method, is included the following steps:
S000:IP marks IPsign in primary server joint detection duplicated record table;Primary server joint transfers pre- backup Signal is extremely from server node;
S001:Judged from server node according to pre- backup signal and transfer answer signal;
S002:Primary server joint is according to answer signal Backup Data block;
S003:Primary server joint interpolation data block sequence number, mark sign, timestamp timestape, pointer Pointer is to duplicated record table;
S004:Primary server joint transfers data block backup information extremely from server node;
S005:From server node Backup Data block.
Preferably, the primary server joint includes sending the server node of preparation sub-signal;It is described from server section Point includes the server node for receiving preparation sub-signal;Any primary server joint includes backup from server node Record sheet;The duplicated record table include sequence of blocks of data number, mark sign, timestamp timestape, IP mark IPsign, IP timestamps IPtimestape;The IP timestamps include the corresponding timestamp of server node Backup Data block of different IP; The mark sign represents whether data block is backing up;IP mark IPsign represent from server node data block whether It is backing up.
Preferably, IP mark IPsign steps are as follows in the primary server joint detection duplicated record table:
P000:Primary server joint detects all IP marks IPsign;It to be shown if there are any IP marks IPsign Backup, master server wait IPsign marks are corresponding to transfer data block backup information from server node;
P001:Primary server joint is according to data block backup information backup master server data block data;
P002:IP marks IPsign in update duplicated record table after the completion of primary server joint backup;
P003:Any IP marks IPsign shows that without backing up, then master server transfers preparation in duplicated record table Part signal.
Preferably, described the step of being judged from server node according to pre- backup signal and transferring answer signal, is as follows:
A000:Primary server joint information in pre- backup signal, sequence of blocks of data number, time are obtained from server node Stab timestape;
A001:From server node then according to timestamp timestape, the duplicated record table from server node in A00 Middle IP timestamps IPtimestape judge from server node data block whether backed up in synchronization;It if so, will from server node " can back up " by response instruction pass to master server and from server node update duplicated record table in master server The corresponding IP marks IPsign of node;Master server is passed to by response instruction if it is not, then " passing backup information will be transferred " Node;
A002:Primary server joint transfers data block backup information;It is transferred from server node according to primary server joint Data block backup information Backup Data block number evidence;
A003:IP marks corresponding with main service node in duplicated record table are updated after the completion of server backup IPsign, timestamp timestape;Master server section is passed to by response instruction from server node by " can back up " Point.
Preferably, the primary server joint is as follows according to the step of answer signal Backup Data block:
T000:Primary server joint receives " can back up " answer signal;
T001:Mark sign corresponding with data block in primary server joint update duplicated record table;Primary server joint Backup Data block number evidence;Primary server joint updates the data the corresponding mark sign of block, timestamp timestape.
Preferably, the step of Backup Data block from server node is as follows:
B000:IP mark IPsign corresponding with primary server joint in duplicated record list is updated from server node;
B000:From server node according to data block backup information Backup Data block;
B002:From server node renewal time stamp timestape, IP mark IPsign;
B003:Data block backup information is transferred to primary server joint from server node;Primary server joint updates IP Mark IPsign, timestamp timestape.
Preferably, the data block backup information is including in sequence of blocks of data number, timestamp timestape, data backup Hold.
The invention has the advantages that:
The present invention is by being equipped with timestamp, mark, IP in equipment part record sheet in server node and duplicated record table It is synchronous to solve existing multi-node incremental backup for mark, real-time monitoring when realizing incremental backup to each server node The problem of property is poor, efficiency is slow, improves the efficiency of multi-node incremental backup and the uniformity of institute's node incremental backup.
Certainly, implement any of the products of the present invention and do not necessarily require achieving all the advantages described above at the same time.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, embodiment will be described below required Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow chart of multinode Fast incremental backup method of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained all other without creative efforts Embodiment belongs to the scope of protection of the invention.
Refering to Figure 1, the present invention is a kind of multinode Fast incremental backup method, following steps:
S000:IP marks IPsign in primary server joint detection duplicated record table;Primary server joint transfers pre- backup Signal is extremely from server node;
S001:Judged from server node according to pre- backup signal and transfer answer signal;
S002:Primary server joint is according to answer signal Backup Data block;
S003:Primary server joint interpolation data block sequence number, mark sign, timestamp timestape, pointer Pointer is to duplicated record table;
S004:Primary server joint transfers data block backup information extremely from server node;
S005:From server node Backup Data block.
Wherein, primary server joint includes sending the server node of preparation sub-signal;Include receiving from server node The server node of preparation sub-signal;Any primary server joint includes duplicated record table from server node;Duplicated record Table includes sequence of blocks of data number, mark sign, timestamp timestape, IP mark IPsign, IP timestamp IPtimestape; IP timestamps include the corresponding timestamp of server node Backup Data block of different IP;Mark whether just sign represents data block It is backing up;Whether IP mark IPsign expressions are being backed up from server node data block.
Wherein, IP mark IPsign steps are as follows in primary server joint detection duplicated record table:
P000:Primary server joint detects all IP marks IPsign;It to be shown if there are any IP marks IPsign Backup, master server wait IPsign marks are corresponding to transfer data block backup information from server node;
P001:Primary server joint is according to data block backup information backup master server data block data;
P002:IP marks IPsign in update duplicated record table after the completion of primary server joint backup;
P003:Any IP marks IPsign shows that without backing up, then master server transfers preparation in duplicated record table Part signal.
Wherein, the step of being judged from server node according to pre- backup signal and transferring answer signal is as follows:
A000:Primary server joint information in pre- backup signal, sequence of blocks of data number, time are obtained from server node Stab timestape;
A001:From server node then according to timestamp timestape, the duplicated record table from server node in A00 Middle IP timestamps IPtimestape judge from server node data block whether backed up in synchronization;It if so, will from server node " can back up " by response instruction pass to master server and from server node update duplicated record table in master server The corresponding IP marks IPsign of node;Master server is passed to by response instruction if it is not, then " passing backup information will be transferred " Node;
A002:Primary server joint transfers data block backup information;It is transferred from server node according to primary server joint Data block backup information Backup Data block number evidence;
A003:IP marks corresponding with main service node in duplicated record table are updated after the completion of server backup IPsign, timestamp timestape;Master server section is passed to by response instruction from server node by " can back up " Point.
Wherein, primary server joint is as follows according to the step of answer signal Backup Data block:
T000:Primary server joint receives " can back up " answer signal;
T001:Mark sign corresponding with data block in primary server joint update duplicated record table;Primary server joint Backup Data block number evidence;Primary server joint updates the data the corresponding mark sign of block, timestamp timestape.
Wherein, from server node Backup Data block the step of it is as follows:
B000:IP mark IPsign corresponding with primary server joint in duplicated record list is updated from server node;
B000:From server node according to data block backup information Backup Data block;
B002:From server node renewal time stamp timestape, IP mark IPsign;
B003:Data block backup information is transferred to primary server joint from server node;Primary server joint updates IP Mark IPsign, timestamp timestape.
Wherein, data block backup information includes sequence of blocks of data number, timestamp timestape, data backup content.
It is worth noting that, in above system embodiment, included unit is simply drawn according to function logic Point, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each functional unit is specific Title is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
In addition, one of ordinary skill in the art will appreciate that realize all or part of step in the various embodiments described above method It is that relevant hardware can be instructed to complete by program, corresponding program can be stored in a computer-readable storage and be situated between In matter, the storage medium, such as ROM/RAM, disk or CD.
Present invention disclosed above preferred embodiment is only intended to help to illustrate the present invention.There is no detailed for preferred embodiment All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification, It can make many modifications and variations.This specification is chosen and specifically describes these embodiments, is in order to preferably explain the present invention Principle and practical application so that skilled artisan can be best understood by and utilize the present invention.The present invention is only It is limited by claims and its four corner and equivalent.

Claims (7)

1. a kind of multinode Fast incremental backup method, which is characterized in that include the following steps:
S000:IP marks IPsign in primary server joint detection duplicated record table;Primary server joint transfers pre- backup signal Extremely from server node;
S001:Judged from server node according to pre- backup signal and transfer answer signal;
S002:Primary server joint is according to answer signal Backup Data block;
S003:Primary server joint interpolation data block sequence number, mark sign, timestamp timestape, pointer pointer are extremely Duplicated record table;
S004:Primary server joint transfers data block backup information extremely from server node;
S005:From server node Backup Data block.
A kind of 2. multinode Fast incremental backup method according to claim 1, which is characterized in that the master server section Point includes the server node for sending preparation sub-signal;The server section for including receiving preparation sub-signal from server node Point;Any primary server joint includes duplicated record table from server node;The duplicated record table includes data block Sequence number, mark sign, timestamp timestape, IP mark IPsign, IP timestamp IPtimestape;The IP timestamps IPtimestape includes the corresponding timestamp of server node Backup Data block of different IP;The mark sign represents data Whether block is backing up;Whether the IP marks IPsign expressions are being backed up from server node data block.
A kind of 3. multinode Fast incremental backup method according to claim 1, which is characterized in that the master server section IP marks IPsign steps are as follows in point detection duplicated record table:
P000:Primary server joint detects all IP marks IPsign;It is being backed up if being shown there are any IP marks IPsign, Master server waits IPsign marks are corresponding to transfer data block backup information from server node;
P001:Primary server joint is according to data block backup information backup master server data block data;
P002:IP marks IPsign in update duplicated record table after the completion of primary server joint backup;
P003:Any IP marks IPsign shows that without backing up then master server transfers pre- backup letter in duplicated record table Number.
4. a kind of multinode Fast incremental backup method according to claim 1, which is characterized in that described from server section The step of point judges according to pre- backup signal and transfers answer signal is as follows:
A000:Primary server joint information in pre- backup signal, sequence of blocks of data number, timestamp are obtained from server node timestape;
A001:From server node then according to timestamp timestape, the IP from the duplicated record table of server node in A00 Timestamp IPtimestape judge from server node data block whether backed up in synchronization;It " can if so, being incited somebody to action from server node With backup " by response instruction pass to master server and from server node update duplicated record table in primary server joint Corresponding IP marks IPsign;Primary server joint is passed to by response instruction if it is not, then " passing backup information will be transferred ";
A002:Primary server joint transfers data block backup information;The number transferred from server node according to primary server joint According to block backup information Backup Data block number evidence;
A003:Updated after the completion of server backup IP corresponding with main service node mark IPsign in duplicated record table, when Between stab timestape;Primary server joint is passed to by response instruction from server node by " can back up ".
A kind of 5. multinode Fast incremental backup method according to claim 1, which is characterized in that the master server section Point is as follows according to the step of answer signal Backup Data block:
T000:Primary server joint receives " can back up " answer signal;
T001:Mark sign corresponding with data block in primary server joint update duplicated record table;Primary server joint backs up Data block data;Primary server joint updates the data the corresponding mark sign of block, timestamp timestape.
6. a kind of multinode Fast incremental backup method according to claim 1, which is characterized in that described from server section The step of point Backup Data block, is as follows:
B000:IP mark IPsign corresponding with primary server joint in duplicated record list is updated from server node;
B000:From server node according to data block backup information Backup Data block;
B002:From server node renewal time stamp timestape, IP mark IPsign;
B003:Data block backup information is transferred to primary server joint from server node;Primary server joint update IP marks IPsign, timestamp timestape.
A kind of 7. multinode Fast incremental backup method according to claim 1, which is characterized in that the data block backup Information includes sequence of blocks of data number, timestamp timestape, data backup content.
CN201711348804.0A 2017-12-15 2017-12-15 Multi-node rapid incremental backup method Active CN108089946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711348804.0A CN108089946B (en) 2017-12-15 2017-12-15 Multi-node rapid incremental backup method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711348804.0A CN108089946B (en) 2017-12-15 2017-12-15 Multi-node rapid incremental backup method

Publications (2)

Publication Number Publication Date
CN108089946A true CN108089946A (en) 2018-05-29
CN108089946B CN108089946B (en) 2021-09-21

Family

ID=62176466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711348804.0A Active CN108089946B (en) 2017-12-15 2017-12-15 Multi-node rapid incremental backup method

Country Status (1)

Country Link
CN (1) CN108089946B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508261A (en) * 2018-08-31 2019-03-22 云南电网有限责任公司信息中心 A kind of electric network data node standby method and standby system based on big data
CN111782619A (en) * 2020-07-28 2020-10-16 上海爱数信息技术股份有限公司 Document increment synchronization method and device between servers and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0566966A2 (en) * 1992-04-20 1993-10-27 International Business Machines Corporation Method and system for incremental backup copying of data
CN103218276A (en) * 2013-04-23 2013-07-24 深圳市京华科讯科技有限公司 Method and system for multi-node incremental backup
CN104063293A (en) * 2014-07-04 2014-09-24 华为技术有限公司 Data backup method and streaming computing system
US9235582B1 (en) * 2013-03-14 2016-01-12 Emc Corporation Tracking files excluded from backup
CN106095618A (en) * 2016-06-06 2016-11-09 北京中油瑞飞信息技术有限责任公司 The method and system of data manipulation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0566966A2 (en) * 1992-04-20 1993-10-27 International Business Machines Corporation Method and system for incremental backup copying of data
US9235582B1 (en) * 2013-03-14 2016-01-12 Emc Corporation Tracking files excluded from backup
CN103218276A (en) * 2013-04-23 2013-07-24 深圳市京华科讯科技有限公司 Method and system for multi-node incremental backup
CN104063293A (en) * 2014-07-04 2014-09-24 华为技术有限公司 Data backup method and streaming computing system
CN106095618A (en) * 2016-06-06 2016-11-09 北京中油瑞飞信息技术有限责任公司 The method and system of data manipulation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508261A (en) * 2018-08-31 2019-03-22 云南电网有限责任公司信息中心 A kind of electric network data node standby method and standby system based on big data
CN109508261B (en) * 2018-08-31 2019-12-13 云南电网有限责任公司信息中心 Power grid data node backup method and system based on big data
CN111782619A (en) * 2020-07-28 2020-10-16 上海爱数信息技术股份有限公司 Document increment synchronization method and device between servers and storage medium

Also Published As

Publication number Publication date
CN108089946B (en) 2021-09-21

Similar Documents

Publication Publication Date Title
CN102098342B (en) Transaction level-based data synchronizing method, device thereof and system thereof
CN102981931B (en) Backup method and device for virtual machine
CN104468521B (en) Online moving method, device and system
CN103180852B (en) Distributed data processing method and apparatus
CN105338078B (en) Date storage method and device for storage system
CN104376025B (en) The date storage method and device of distributed data base
CN103051681B (en) Collaborative type log system facing to distribution-type file system
CN100442238C (en) Method and apparatus for asynchronous replication of data
CN103870362A (en) Data recovery method, data recovery device and backup system
WO2016177231A1 (en) Dual-control-based active-backup switching method and device
CN109491832A (en) Data disaster tolerance method and website
CN104346373A (en) Partition log queue synchronization management method and device
CN105468372A (en) Virtual machine template mirror image management method and system and virtual machine migration method and system
CN106528005A (en) Disk adding method and device for distributed type storage system
CN108089946A (en) A kind of multinode Fast incremental backup method
CN104750738A (en) Data information updating method, data node, management node and system
CN104793981B (en) A kind of online snapshot management method and device of cluster virtual machine
CN105607968B (en) A kind of incremental backup method and equipment
CN105760251B (en) A kind of method and apparatus of Backup Data
CN103559198A (en) Data synchronizing method and equipment
CN103065096B (en) A kind of data guard method, Apparatus and system
CN103856511A (en) Data packet upload method, client terminal, nodes, information server and system
CN107391312B (en) Data cloud backup method and system
CN103853623A (en) Data migration method and device
CN109213701A (en) Control method, system, equipment and the storage medium of the peripheral hardware of shared I O board

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 230000 floors 4-5, building A1, Zhongguancun collaborative innovation Zhihui Park, the intersection of Nanfeihe road and Lanzhou Road, Baohe Economic Development Zone, Hefei, Anhui Province

Patentee after: Anhui Changtai Technology Co.,Ltd.

Address before: 210-d16, building A3, Hefei Innovation Industrial Park, No. 800, Wangjiang West Road, high tech Zone, Hefei City, Anhui Province 230000

Patentee before: ANHUI CHANGTAI INFORMATION SECURITY SERVICE Co.,Ltd.