CN109522158A - A kind of disaster-tolerant backup method and relevant apparatus - Google Patents

A kind of disaster-tolerant backup method and relevant apparatus Download PDF

Info

Publication number
CN109522158A
CN109522158A CN201811361246.6A CN201811361246A CN109522158A CN 109522158 A CN109522158 A CN 109522158A CN 201811361246 A CN201811361246 A CN 201811361246A CN 109522158 A CN109522158 A CN 109522158A
Authority
CN
China
Prior art keywords
data
alternate device
variance
alternate
variance data
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.)
Withdrawn
Application number
CN201811361246.6A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811361246.6A priority Critical patent/CN109522158A/en
Publication of CN109522158A publication Critical patent/CN109522158A/en
Withdrawn legal-status Critical Current

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/1461Backup scheduling policy

Abstract

The embodiment of the present application discloses a kind of disaster-tolerant backup method and relevant apparatus, for improving the efficiency of data backup.The embodiment of the present application method includes: that the first alternate device receives the first data, and first data are first alternate device data to be backed up;First alternate device determines variance data according to the historical data in first data and first alternate device;First alternate device sends the variance data to the second alternate device, so that second alternate device saves the variance data.

Description

A kind of disaster-tolerant backup method and relevant apparatus
Technical field
The invention relates to field of data storage more particularly to disaster-tolerant backup methods and relevant apparatus.
Background technique
Disaster tolerant backup system refers in different places relatively far apart, establishes two sets or the identical data system of more set functions System, can carry out state of health monitoring and function switch from each other, and system stops because of unexpected (such as fire, earthquake) at one When work, entire application system can be switched to another place, and the system function is allowed to continue to work normally.
In the prior art, when master file obtains data, by first alternate device of the data backed up in synchronization to same city, Then, which again backups to the data in second alternate device in strange land, can then be formed in two places three The backup framework of the heart.
In such scheme, since the first alternate device and the second alternate device are respectively at farther away two places, When first alternate device transmits a large amount of data to second alternate device, data backup will be caused to postpone, to reduce The efficiency of data backup.
Summary of the invention
The embodiment of the present application provides a kind of disaster-tolerant backup method and relevant apparatus, for improving the effect of data backup Rate.
In a first aspect, the embodiment of the present application provides a kind of disaster-tolerant backup method, comprising:
First alternate device receives the first data, which is first alternate device data to be backed up;This One alternate device determines variance data according to the historical data in first data and first alternate device;First backup is set It is standby to send the variance data to the second alternate device, so that second alternate device saves the variance data.
In the embodiment of the present application, the first alternate device receive the first data after, will according to first data and this first Historical data in alternate device determines variance data, then, sends the variance data to the second alternate device so that this Two alternate devices save the variance data, to achieve the effect that Backup Data.In the scheme that the embodiment of the present application is proposed, Due to, the not every data that the first alternate device is sent to the second alternate device, but variance data, also, the difference The data volume of data is less than the data volume of all data.So even if the first alternate device and the second alternate device are located respectively In farther away two places, which sends variance data to second alternate device, not only data can be made complete Part is reorganized and outfit, data backup delay can also be alleviated, and then the efficiency of data backup can be improved.
According in a first aspect, in the first embodiment of the embodiment of the present application first aspect, the first alternate device root Determine that variance data includes according to the historical data in first data and first alternate device:
First alternate device is by the historical data in the first identifier information of first data and first alternate device Second identifier information be compared;
The identification information institute that first alternate device has differences the first identifier information and the second identifier information is right The data answered are determined as variance data.
In the embodiment of the present application, specify the first alternate device according to the first identifier information of first data and this first The second identifier information of historical data in alternate device determines the concrete mode of variance data, this improves scheme can Row.
According to the first of first aspect or first aspect embodiment, second of the embodiment of the present application first aspect is real It applies in mode, after which receives the first data, this method further include:
First alternate device judges whether to meet default BACKUP TIME;
If meeting default BACKUP TIME, which is triggered according to first data and first alternate device In historical data determine the operation of variance data.
During the application is implemented, define that first alternate device is not to determine variance data in real time, but work as and reach Default BACKUP TIME, which just triggers, determines variance data, and this improves the realization flexibilities of the program.
According to the first of first aspect or first aspect embodiment, the third reality of the embodiment of the present application first aspect It applies in mode, which determines variance data according to the historical data in first data and first alternate device Later, this method further include:
The variance data is stored in the snapped volume in first alternate device by first alternate device.
In the present embodiment, define that first alternate device can also store the variance data after determining variance data Into in snapped volume, therefore, the feasibility of the program is enhanced.
According to the third embodiment of first aspect, in the 4th kind of embodiment of the embodiment of the present application first aspect, First alternate device sends the variance data to the second alternate device:
The variance data in the snapped volume is sent to the second alternate device by first alternate device.
In the embodiment of the present application, define that first alternate device is by the number in the snapped volume in first alternate device According to being sent to the second alternate device, rather than directly by the data that first alternate device receives be transmitted directly to this second Alternate device.Therefore, the feasibility of scheme is enhanced.
According to appointing in the third embodiment of the first embodiment of first aspect, first aspect to first aspect Anticipate in a kind of embodiment party, in the 5th kind of embodiment of the embodiment of the present application first aspect, second alternate device be with this The strange land equipment of one alternate device relatively far apart.
In the embodiment of the present application, the distance between first alternate device and second alternate device are specified, thus bright Really the program can be applied in two alternate devices in strange land, therefore, enhance the realization flexibility of the program.
According to appointing in the third embodiment of the first embodiment of first aspect, first aspect to first aspect Anticipate in a kind of embodiment party, in the 6th kind of embodiment of the embodiment of the present application first aspect, first data come from this first Alternate device is separated by closer same city equipment.
In the embodiment of the present application, specifies first alternate device and sends the distance between the equipment of first data, Therefore, the realization flexibility of the program is enhanced.
Second aspect, the embodiment of the present application provide a kind of back-up device, comprising:
Receiving module, for receiving the first data, which is first alternate device data to be backed up;
Determining module, for determining variance data according to the historical data in first data and first alternate device;
Sending module is somebody's turn to do for sending the variance data to the second alternate device so that second alternate device saves Variance data.
In the embodiment of the present application, the first alternate device receive the first data after, will according to first data and this first Historical data in alternate device determines variance data, then, sends the variance data to the second alternate device so that this Two alternate devices save the variance data, to achieve the effect that Backup Data.In the scheme that the embodiment of the present application is proposed, Due to, the not every data that the first alternate device is sent to the second alternate device, but variance data, also, the difference The data volume of data is less than the data volume of all data.So even if the first alternate device and the second alternate device are located respectively In farther away two places, which sends variance data to second alternate device, not only data can be made complete Part is reorganized and outfit, data backup delay can also be alleviated, and then the efficiency of data backup can be improved.
According to second aspect, in the first embodiment of the embodiment of the present application second aspect, which includes:
Comparative sub-module, for by the historical data in the first identifier information of first data and first alternate device Second identifier information be compared;
Determine submodule, the identification information institute for the first identifier information and the second identifier information to have differences is right The data answered are determined as variance data.
In the embodiment of the present application, specify the first alternate device according to the first identifier information of first data and this first The second identifier information of historical data in alternate device determines the concrete mode of variance data, this improves scheme can Row.
According to the first of second aspect or second aspect embodiment, second of the embodiment of the present application second aspect is real It applies in mode, the back-up device further include:
Judgment module meets default BACKUP TIME for judging whether;
Trigger module, for triggering according to first data and first alternate device when meeting default BACKUP TIME In historical data determine the operation of variance data.
During the application is implemented, define that first alternate device is not to determine variance data in real time, but work as and reach Default BACKUP TIME, which just triggers, determines variance data, and this improves the realization flexibilities of the program.
According to the first of second aspect or second aspect embodiment, the third reality of the embodiment of the present application second aspect It applies in mode, the back-up device further include:
Memory module, for the variance data to be stored in the snapped volume in first alternate device.
In the present embodiment, define that first alternate device can also store the variance data after determining variance data Into in snapped volume, therefore, the feasibility of the program is enhanced.
According to the third embodiment of second aspect, in the 4th kind of embodiment of the embodiment of the present application second aspect, The sending module includes:
Sending submodule, for the variance data in the snapped volume to be sent to the second alternate device.
In the embodiment of the present application, define that first alternate device is by the number in the snapped volume in first alternate device According to being sent to the second alternate device, rather than directly by the data that first alternate device receives be transmitted directly to this second Alternate device.Therefore, the feasibility of scheme is enhanced.
According to appointing in the third embodiment of the first embodiment of second aspect, second aspect to second aspect Anticipate in a kind of embodiment party, in the 5th kind of embodiment of the embodiment of the present application second aspect, second alternate device be with this The strange land equipment of one alternate device relatively far apart.
In the embodiment of the present application, the distance between first alternate device and second alternate device are specified, thus bright Really the program can be applied in two alternate devices in strange land, therefore, enhance the realization flexibility of the program.
According to appointing in the third embodiment of the first embodiment of second aspect, second aspect to second aspect Anticipate in a kind of embodiment party, in the 6th kind of embodiment of the embodiment of the present application second aspect, first data come from this first Alternate device is separated by closer same city equipment.
In the embodiment of the present application, specifies first alternate device and sends the distance between the equipment of first data, Therefore, the realization flexibility of the program is enhanced.
The third aspect, the embodiment of the present application provide a kind of back-up device, which executes such as aforementioned first aspect In method, which includes:
Processor, memory, bus and input-output apparatus;
The processor, the memory and the input-output apparatus are connect with the bus;
The memory is for storing program;
The input-output apparatus, for receiving the first data, which is first alternate device number to be backed up According to;
The processor, for determining variance data according to the historical data in first data and first alternate device;
The input-output apparatus is also used to send the variance data to the second alternate device, so that second backup is set It is standby to save the variance data.
In the embodiment of the present application, the first alternate device receive the first data after, will according to first data and this first Historical data in alternate device determines variance data, then, sends the variance data to the second alternate device so that this Two alternate devices save the variance data, to achieve the effect that Backup Data.In the scheme that the embodiment of the present application is proposed, Due to, the not every data that the first alternate device is sent to the second alternate device, but variance data, also, the difference The data volume of data is less than the data volume of all data.So even if the first alternate device and the second alternate device are located respectively In farther away two places, which sends variance data to second alternate device, not only data can be made complete Part is reorganized and outfit, data backup delay can also be alleviated, and then the efficiency of data backup can be improved.
Fourth aspect, the embodiment of the present application provides a kind of computer readable storage medium, including instruction, when it is being calculated When being run on machine, so that computer executes the method such as first aspect.
5th aspect, the embodiment of the present application provides a kind of computer program product comprising instruction, when it is in computer When upper operation, so that computer executes the method such as first aspect.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that
In the embodiment of the present application, the first alternate device receive the first data after, will according to first data and this first Historical data in alternate device determines variance data, then, sends the variance data to the second alternate device so that this Two alternate devices save the variance data, to achieve the effect that Backup Data.In the scheme that the embodiment of the present application is proposed, Due to, the not every data that the first alternate device is sent to the second alternate device, but variance data, also, the difference The data volume of data is less than the data volume of all data.So even if the first alternate device and the second alternate device are located respectively In farther away two places, which sends variance data to second alternate device, not only data can be made complete Part is reorganized and outfit, data backup delay can also be alleviated, and then the efficiency of data backup can be improved.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to required use in embodiment description Attached drawing be briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application.
Fig. 1 is a flow chart of disaster-tolerant backup method in the embodiment of the present application;
Another flow chart of Fig. 2 the embodiment of the present application intermediate range disaster-tolerant backup method;
Fig. 3 is one embodiment schematic diagram of back-up device in the embodiment of the present application;
Fig. 4 is another embodiment schematic diagram of back-up device in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.
The embodiment of the present application provides a kind of disaster-tolerant backup method and relevant apparatus, for improving the effect of data backup Rate.
The application scenarios adapted to below the embodiment of the present application are introduced:
The scheme that the embodiment of the present application is proposed is mainly used in the scene of data catastrophic failure-tolerant backup.Disaster tolerance, which refers to, meets with disaster When can guarantee that information system can operate normally, help enterprise realize business continuance target;And backing up is to cope with disaster Data loss problem caused by coming temporarily.Currently, disaster recovery backup integration product is many kinds of, it can be in difference relatively far apart Place establishes two sets or the identical data system of more set functions, can carry out state of health monitoring and function switch from each other, When system stops working because of unexpected (such as fire, earthquake) at one, entire application system can be switched to another place, so that should System function can continue to work normally.To help the artificial maloperation of enterprise response, software error, poisoning intrusion etc. " soft " property Disaster and hardware fault, natural calamity etc. " hard " property disaster.
It should be noted that the back-up device in the embodiment of the present application can be the processing in server or server The device perhaps chip or other devices in server, specifically herein without limitation.In the present embodiment and subsequent embodiment In, only it is illustrated by taking back-up device as an example.
For ease of understanding, the detailed process in the present embodiment is described below, as shown in Figure 1, being that the present embodiment mentions The disaster-tolerant backup method of confession, the specific steps are as follows:
101, the first alternate device receives the first data;
In the present embodiment, when the data in main equipment need to back up, which can send to the first alternate device First data, first data are first alternate device data to be backed up.Then, which can should First data backup is in the duplicate volume 1 into first equipment.It should be noted that the main equipment and first alternate device it Between data backup be form using synchronous duplication.That is, when the active and standby alternate device has sent portion to first alternate device After data, after this part of data backup is completed and notifies the active and standby alternate device that backup is completed to first alternate device, The active and standby alternate device can just send second part of data.Since the form of synchronization duplication is the known normal of those skilled in the art Know, so, it is specific that details are not described herein again.
102, first alternate device judges whether to meet default BACKUP TIME, if meeting default BACKUP TIME, executes Step 103, if being unsatisfactory for default BACKUP TIME, 106 are thened follow the steps;
In the present embodiment, which judges one after receiving the new data that main equipment is sent every time Whether the secondary time to the second alternate device transmission variance data meets default BACKUP TIME with the time difference at this time, if meeting pre- If BACKUP TIME thens follow the steps 103, if being unsatisfactory for default BACKUP TIME, 106 are thened follow the steps.
It should be noted that the default BACKUP TIME in the present embodiment can be adjusted according to the demand of practical application, Specifically herein without limitation.
103, first alternate device determines difference according to the historical data in first data and first alternate device Data;
In the present embodiment, after first alternate device, which determines, meets default BACKUP TIME, first alternate device The second identifier information of historical data in the first identifier information of first data and first alternate device is carried out Compare, then, the mark that first alternate device has differences the first identifier information and the second identifier information Data corresponding to information are determined as variance data.
It should be noted that the identification information can be bitmap label (bitmap), be also possible to by it is different letter or Ah The character string of Arabic numbers composition, specifically herein without limitation.In the present embodiment and subsequent embodiment, only marked with bitmap For be introduced.
In the present embodiment, which refers to the disk volume using snapping technique, which can temporarily store difference number According to when former data carry out application on site processing, the accessible snapshot data of user can also carry out the work such as testing using snapshot Make.In addition, the snapped volume can also carry out online data recovery, it can when application failure or file corruption occur for back-up device To carry out timely data recovery, data are reverted to the state of snapshot generation time point.Since the snapping technique is this field skill The common knowledge of art personnel, so, it is specific that details are not described herein again.
104, the variance data is stored in the snapped volume in first alternate device by first alternate device;
In the present embodiment, which can be stored in the variance data after having determined variance data In the snapped volume.
105, first alternate device sends the variance data to the second alternate device, so that second alternate device is protected Deposit the variance data;
In the present embodiment, first alternate device by the variance data in the snapped volume in first equipment be sent to this Two alternate devices, so that second alternate device saves the variance data.The method that the present embodiment is proposed is to utilize snapshot The interim storage characteristics of volume, determining variance data can cover predetermined variance data every time, then, when this is first standby Alternate device determination will send variance data when being backed up, which will can only give second alternate device to send most Therefore that new a variance data in the case where only sending a variance data, can not only guarantee the complete of data backup Whole property can also avoid improving the efficiency of data backup because of the delay that the data of backup are excessive and data is caused to transmit.
106, other steps are executed.
In the present embodiment, when being unsatisfactory for default BACKUP TIME, when which will wait until satisfaction default backup Between after the step of triggering determining variance data again.
In the embodiment of the present application, the first alternate device receive the first data after, will according to first data and this first Historical data in alternate device determines variance data, then, sends the variance data to the second alternate device so that this Two alternate devices save the variance data, to achieve the effect that Backup Data.In the scheme that the embodiment of the present application is proposed, Due to, the not every data that the first alternate device is sent to the second alternate device, but variance data, also, the difference The data volume of data is less than the data volume of all data.So even if the first alternate device and the second alternate device are located respectively In farther away two places, which sends variance data to second alternate device, not only data can be made complete Part is reorganized and outfit, data backup delay can also be alleviated, and then the efficiency of data backup can be improved.
In order to make it easy to understand, the disaster-tolerant backup method in the present embodiment is introduced below with reference to concrete scene, such as Fig. 2 Shown, another embodiment of the disaster-tolerant backup method in the present embodiment includes:
201, main equipment stores the first data;
In the present embodiment, which stores the first data, which, which can be, writes direct in the main equipment The data of master file are also possible to the data that the received other equipment of the main equipment are sent, specifically herein without limitation.
202, main equipment sends the first data to the first alternate device;
In the present embodiment, after the main equipment has stored first data or has received first data, the main equipment First data can be sent to first alternate device, so that first alternate device backs up first data.
In the present embodiment, the main equipment and first alternate device are located at same city, certainly, the active and standby alternate device with this first The distance between alternate device can make corresponding adjustment according to the actual situation, specifically herein without limitation.
203, the first alternate device is by the first data backup to duplicate volume 1;
In the present embodiment, after first alternate device receives first data of main equipment transmission, this is first standby Alternate device can store first data in the duplicate volume 1 into first alternate device.It should be understood that the duplicate volume 1 can be an independent disk volume, be also possible to the set of multiple disk volume compositions, specifically herein without limitation.In this reality It applies in example and subsequent embodiment, is only introduced by taking duplicate volume 1 as an example.
204, the first alternate device notice main equipment backs up successfully;
In the present embodiment, after first alternate device is by the first data backup to duplicate volume 1, first alternate device Notice main equipment is backed up successfully, so that the active and standby alternate device, which can send lower portion, needs Backup Data.
205, the first alternate device judges whether to meet BACKUP TIME;
In the present embodiment, first alternate device may determine that it is last to the second alternate device send variance data when Between with time difference at this time whether meet default BACKUP TIME, if meeting default BACKUP TIME, 206 are thened follow the steps, if discontented The default BACKUP TIME of foot, then first alternate device will wait until the default BACKUP TIME of satisfaction later again to second alternate device Send the variance data.
It should be noted that the default BACKUP TIME in the present embodiment can be adjusted according to the demand of practical application, Specifically herein without limitation.
206, when meeting default BACKUP TIME, the first alternate device determines variance data, and is stored in snapped volume;
In the present embodiment, after first alternate device, which determines, meets default BACKUP TIME, first alternate device The second identifier information of historical data in the first identifier information of first data and first alternate device is carried out Compare, then, the mark that first alternate device has differences the first identifier information and the second identifier information Data corresponding to information are determined as variance data.
However, it should be understood that first alternate device can lead to after by the first data backup to duplicate volume 1 Before knowing that main equipment backs up successfully, variance data is determined;Can also first alternate device notify main equipment back up successfully it Afterwards, variance data is determined.Specifically herein without limitation.
207, the first alternate device sends variance data to the second alternate device;
In the present embodiment, after first alternate device determines the variance data, first alternate device is by the snapshot Variance data in volume is sent to second alternate device.
208, variance data is backed up to duplicate volume 2 by the second alternate device;
In the present embodiment, after second alternate device receives the variance data, by second alternate device by the difference Heteromerism evidence backs up in duplicate volume 2.
209, the second alternate device notifies the first alternate device to back up successfully.
In the present embodiment, after second alternate device, which backs up, to be completed, which will notify the first backup Device backup success.
In the embodiment of the present application, the first alternate device receive the first data after, will according to first data and this first Historical data in alternate device determines variance data, then, sends the variance data to the second alternate device so that this Two alternate devices save the variance data, to achieve the effect that Backup Data.In the scheme that the embodiment of the present application is proposed, Due to, the not every data that the first alternate device is sent to the second alternate device, but variance data, also, the difference The data volume of data is less than the data volume of all data.So even if the first alternate device and the second alternate device are located respectively In farther away two places, which sends variance data to second alternate device, not only data can be made complete Part is reorganized and outfit, data backup delay can also be alleviated, and then the efficiency of data backup can be improved.
The disaster-tolerant backup method in the present embodiment is described above, below to the back-up device in the present embodiment 300 are introduced, as shown in figure 3, one embodiment of back-up device 300 includes: in the present embodiment
Receiving module 301, for receiving the first data, which is first alternate device data to be backed up;
Determining module 302, for determining difference number according to the historical data in first data and first alternate device According to;
Sending module 303, for sending the variance data to the second alternate device, so that second alternate device saves The variance data.
In some possible embodiments, which includes:
Comparative sub-module 3021, for by the history in the first identifier information of first data and first alternate device The second identifier information of data is compared;
Determine submodule 3022, the identification information for the first identifier information and the second identifier information to have differences Corresponding data are determined as variance data.
In some possible embodiments, the back-up device 300 further include:
Judgment module 304 meets default BACKUP TIME for judging whether;
Trigger module 305, for when meeting default BACKUP TIME, triggering to be set according to first data and first backup Historical data in standby determines the operation of variance data.
In some possible embodiments, the back-up device 300 further include:
Memory module 306, for the variance data to be stored in the snapped volume in first alternate device.
In some possible embodiments, which includes:
Sending submodule 3031, for the variance data in the snapped volume to be sent to the second alternate device.
In the embodiment of the present application, the first alternate device receive the first data after, will according to first data and this first Historical data in alternate device determines variance data, then, sends the variance data to the second alternate device so that this Two alternate devices save the variance data, to achieve the effect that Backup Data.In the scheme that the embodiment of the present application is proposed, Due to, the not every data that the first alternate device is sent to the second alternate device, but variance data, also, the difference The data volume of data is less than the data volume of all data.So even if the first alternate device and the second alternate device are located respectively In farther away two places, which sends variance data to second alternate device, not only data can be made complete Part is reorganized and outfit, data backup delay can also be alleviated, and then the efficiency of data backup can be improved.
The back-up device 400 in the present embodiment is introduced below, as shown in figure 4, being one kind provided in this embodiment 400 structural schematic diagram of back-up device, the back-up device 400 can generate bigger difference because configuration or performance are different, can be with Including one or more processors (central processing units, CPU) 401 and memory 402, one or one The storage medium 403 (such as one or more mass memory units) of a application program stored above or data.Wherein, it deposits Reservoir 402 and storage medium 403 can be of short duration storage or persistent storage.Further, processor 401 can be set to Storage medium 403 communicates, and processor 401 is used to execute the application program in storage medium 403.
Specifically, which further includes input-output apparatus 405, and the input-output apparatus 405 is for receiving First data, first data are first alternate device data to be backed up;
The processor 401, for determining difference number according to the historical data in first data and first alternate device According to;
In addition, the input-output apparatus 405, is also used to send the variance data to the second alternate device so that this Two alternate devices save the variance data.
It should be understood that the back-up device 400 can also include one or more power supplys 404, and/or, one or one Above operating system, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
It should also be understood that step performed by the back-up device 400 is equal in embodiment of the method corresponding to above-mentioned Fig. 1 or Fig. 2 It can be based on 400 structure of back-up device shown in Fig. 4.
In the embodiment of the present application, the first alternate device receive the first data after, will according to first data and this first Historical data in alternate device determines variance data, then, sends the variance data to the second alternate device so that this Two alternate devices save the variance data, to achieve the effect that Backup Data.In the scheme that the embodiment of the present application is proposed, Due to, the not every data that the first alternate device is sent to the second alternate device, but variance data, also, the difference The data volume of data is less than the data volume of all data.So even if the first alternate device and the second alternate device are located respectively In farther away two places, which sends variance data to second alternate device, not only data can be made complete Part is reorganized and outfit, data backup delay can also be alleviated, and then the efficiency of data backup can be improved.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit is drawn Point, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be through some interfaces, the INDIRECT COUPLING of device or unit Or communication connection, it can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member for this, show as unit Component may or may not be physical unit, it can it is in one place, or may be distributed over multiple nets On network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can store in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a storage medium, including some instructions are with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) execute each embodiment this method of the application whole or Part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (read-only memory, ROM), Random access memory (random access memory, RAM), magnetic or disk etc. be various to can store program code Medium.
Above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although with reference to the foregoing embodiments The application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these modification or Replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of disaster-tolerant backup method characterized by comprising
First alternate device receives the first data, and first data are first alternate device data to be backed up;
First alternate device determines difference number according to the historical data in first data and first alternate device According to;
First alternate device sends the variance data to the second alternate device, so that second alternate device saves The variance data.
2. the method according to claim 1, wherein first alternate device is according to first data and institute It states the historical data in the first alternate device and determines that variance data includes:
First alternate device is by the history number in the first identifier information of first data and first alternate device According to second identifier information be compared;
The identification information institute that first alternate device has differences the first identifier information and the second identifier information Corresponding data are determined as variance data.
3. method according to claim 1 or 2, which is characterized in that after first alternate device receives the first data, The method also includes:
First alternate device judges whether to meet default BACKUP TIME;
If meeting default BACKUP TIME, the first alternate device triggering is set according to first data and first backup Historical data in standby determines the operation of variance data.
4. method according to claim 1 or 2, which is characterized in that first alternate device is according to first data After determining variance data with the historical data in first alternate device, the method also includes:
The variance data is stored in the snapped volume in first alternate device by first alternate device.
5. according to the method described in claim 4, it is characterized in that, first alternate device sends institute to the second alternate device Stating variance data includes:
The variance data in the snapped volume is sent to the second alternate device by first alternate device.
6. a kind of back-up device characterized by comprising
Receiving module, for receiving the first data, first data are first alternate device data to be backed up;
Determining module, for determining variance data according to the historical data in first data and first alternate device;
Sending module, for sending the variance data to the second alternate device, so that second alternate device saves institute State variance data.
7. back-up device according to claim 6, which is characterized in that the determining module includes:
Comparative sub-module, for by the historical data in the first identifier information of first data and first alternate device Second identifier information be compared;
Determine submodule, the identification information institute for the first identifier information and the second identifier information to have differences is right The data answered are determined as variance data.
8. back-up device according to claim 6 or 7, which is characterized in that the back-up device further include:
Judgment module meets default BACKUP TIME for judging whether;
Trigger module, for triggering according to first data and first alternate device when meeting default BACKUP TIME In historical data determine the operation of variance data.
9. a kind of computer readable storage medium, which is characterized in that the computer storage medium is stored with computer program, institute Stating computer program includes program instruction, and described program instruction executes the processor as right is wanted Method described in asking any one of 1 to 5.
10. a kind of computer program product, which is characterized in that when the computer program product is run on computers, make Obtain method of the computer execution as described in any one of claim 1 to 5.
CN201811361246.6A 2018-11-15 2018-11-15 A kind of disaster-tolerant backup method and relevant apparatus Withdrawn CN109522158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811361246.6A CN109522158A (en) 2018-11-15 2018-11-15 A kind of disaster-tolerant backup method and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811361246.6A CN109522158A (en) 2018-11-15 2018-11-15 A kind of disaster-tolerant backup method and relevant apparatus

Publications (1)

Publication Number Publication Date
CN109522158A true CN109522158A (en) 2019-03-26

Family

ID=65777929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811361246.6A Withdrawn CN109522158A (en) 2018-11-15 2018-11-15 A kind of disaster-tolerant backup method and relevant apparatus

Country Status (1)

Country Link
CN (1) CN109522158A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117240353A (en) * 2023-11-10 2023-12-15 北京中昱光通科技有限公司 Raman amplifier monitoring and identifying method for portable disaster recovery backup system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117240353A (en) * 2023-11-10 2023-12-15 北京中昱光通科技有限公司 Raman amplifier monitoring and identifying method for portable disaster recovery backup system
CN117240353B (en) * 2023-11-10 2024-01-26 北京中昱光通科技有限公司 Raman amplifier monitoring and identifying method for portable disaster recovery backup system

Similar Documents

Publication Publication Date Title
US11397648B2 (en) Virtual machine recovery method and virtual machine management device
CN109151045B (en) Distributed cloud system and monitoring method
CN105677673B (en) Method for processing business, apparatus and system
CN110807064B (en) Data recovery device in RAC distributed database cluster system
CN104750573B (en) The global coherency backup-and-restore method of distributed data system back end
CN106603279A (en) Disaster tolerance method and disaster tolerance system
CN109245926A (en) Intelligent network adapter, intelligent network adapter system and control method
CN112527567A (en) System disaster tolerance method, device, equipment and storage medium
CN105357042A (en) High-availability cluster system, master node and slave node
CN110515767A (en) Snapshot data backup method, device, equipment and readable storage medium storing program for executing
CN109522158A (en) A kind of disaster-tolerant backup method and relevant apparatus
CN113849127A (en) SAN storage dual-active network-based arbitration method and device and electronic equipment
EP4060514A1 (en) Distributed database system and data disaster backup drilling method
CN108123967A (en) The method of data synchronization and system of a kind of group system
CN110134541A (en) Switching method, system, equipment and the storage medium of the configuration information of storage cluster
CN108958980A (en) Prevent method, electronic device and the computer readable storage medium of Activity life cycle exception
CN112416527A (en) Data recovery method, device, equipment and storage medium
CN102073523A (en) Method and device for implementing software version synchronization
CN110347658A (en) Database instance switching method and device
CN112269683B (en) Off-line node on-line service recovery method and related components
CN109117317A (en) A kind of clustering fault restoration methods and relevant apparatus
CN104516778B (en) The preservation of process checkpoint and recovery system and method under a kind of multitask environment
CN106487469B (en) A kind of timing node switching method and system
CN103150236B (en) Parallel communication library state self-recovery method facing to process failure fault
CN114281473A (en) Cloud platform test environment management method, system, terminal and storage medium

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20190326

WW01 Invention patent application withdrawn after publication