CN109144785A - Method and apparatus for Backup Data - Google Patents

Method and apparatus for Backup Data Download PDF

Info

Publication number
CN109144785A
CN109144785A CN201810980327.8A CN201810980327A CN109144785A CN 109144785 A CN109144785 A CN 109144785A CN 201810980327 A CN201810980327 A CN 201810980327A CN 109144785 A CN109144785 A CN 109144785A
Authority
CN
China
Prior art keywords
database
data
backup
binary log
transaction identifiers
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
CN201810980327.8A
Other languages
Chinese (zh)
Other versions
CN109144785B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810980327.8A priority Critical patent/CN109144785B/en
Publication of CN109144785A publication Critical patent/CN109144785A/en
Application granted granted Critical
Publication of CN109144785B publication Critical patent/CN109144785B/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

Abstract

The embodiment of the present application discloses the method and apparatus for Backup Data.One specific embodiment of the above method includes: backup reception data instruction, and the data that data backup command is used to indicate in the primary database for including to database fragment back up, and database fragment further includes from database;It controls and obtains binary log from primary database from the data of database time-out backup primary database and control from database;The identifier for having been filed on affairs is obtained from third-party server, obtains transaction identifiers set;According to transaction identifiers set, first object transaction identifiers are determined;According to binary log and first object transaction identifiers, control backs up the data in primary database from database.The embodiment realizes the strong consistency of distributed data base.

Description

Method and apparatus for Backup Data
Technical field
The invention relates to database technical fields, and in particular to the method and apparatus for Backup Data.
Background technique
With the rapid development of computer technology, the social level of informatization is higher and higher, and the data generated daily are also got over Carry out more, many application programs to need to handle mass data, this proposes very high want with reading for the storage of data It asks.As the tool of processing structure data, database faces huge challenge, the database being deployed on single machine before Gradually it has been unable to satisfy the process demand of the mass data for rapid growth.In order to cope with the challenge of mass data, it is distributed Formula database comes into being, and makes the storage of data by distributed framework and can be distributed to the inquiry of data a It is executed on node, so as to realize the increase capacity of system by expanding node and improve performance, substantially increases database Manageable data volume.
In order to guarantee data security, it is indispensable function that (especially warm back-up) is backed up for database and restores function Can, so-called warm back-up backs up it under the premise of database continues and provides service.Current numerous database provides The tool and method of warm back-up and recovery for distributed data base, due to its distributed framework, carry out warm back-up to it Higher technology is needed with recovery.
Summary of the invention
The embodiment of the present application proposes the method and apparatus for Backup Data.
In a first aspect, the embodiment of the present application provides a kind of method for Backup Data, comprising: backup reception data refers to It enables, the data that above-mentioned data backup command is used to indicate in the primary database for including to database fragment back up, database Fragment further includes from database;Control it is above-mentioned from database time-out back up above-mentioned primary database data and control it is above-mentioned from number Binary log is obtained from above-mentioned primary database according to library;The identifier for having been filed on affairs is obtained from third-party server, is obtained To transaction identifiers set;According to above-mentioned transaction identifiers set, first object transaction identifiers are determined;According to above-mentioned binary system Log and above-mentioned first object transaction identifiers control above-mentioned standby to the data progress in above-mentioned primary database from database Part.
In some embodiments, above-mentioned to have first thread and the second thread from database operation;And above-mentioned control is above-mentioned The data of above-mentioned primary database are backed up from database time-out and control above-mentioned obtains two from database from above-mentioned primary database System log, comprising: control is above-mentioned from the data and control that above-mentioned primary database is backed up in the pause of the first thread of database It states from the second thread of database and obtains binary log from above-mentioned primary database.
In some embodiments, above-mentioned according to above-mentioned binary log and above-mentioned first object transaction identifiers, control It is above-mentioned that the data in above-mentioned primary database are backed up from database, comprising: the above-mentioned first thread pair from database of control The affairs submitted in above-mentioned binary log, before the corresponding affairs of above-mentioned first object transaction identifiers are submitted carry out affairs Playback, to be backed up to the data in above-mentioned primary database.
In some embodiments, above-mentioned that the transaction identifiers set for having been filed on affairs, packet are obtained from third-party server Include: the first preset duration of interval obtains the transaction identifiers set for having been filed on affairs from above-mentioned third-party server;On and State method further include: by above-mentioned transaction identifiers set and acquisition time storage into preset metadatabase.
In some embodiments, the above method further include: control is above-mentioned to complete obtained backup text for backup from database Part is uploaded to Cloud Server;Upload in response to above-mentioned backup file is completed, and Status of Backups letter is updated in above-mentioned metadatabase Breath.
In some embodiments, above-mentioned control is above-mentioned obtains binary log, packet from database from above-mentioned primary database Include: the second preset duration of interval obtains binary log from above-mentioned primary database;And the above method further include: storage is obtained The binary log taken;At least one following information of above-mentioned binary log is stored into above-mentioned metadatabase: storage road Diameter, title, storage time, at least one included transaction identifiers and at least one above-mentioned transaction identifiers submission when Between.
In some embodiments, the above method further include: receive data and restore instruction, it includes number that above-mentioned data, which restore instruction, According to recovery time point;According to the information recorded in above-mentioned metadatabase, second submitted in above-mentioned data recovery time point is determined Target transaction identifier;Determine that binary log belonging to above-mentioned second target transaction identifier is object binary log;Base In above-mentioned object binary log, control is above-mentioned to restore data from database and above-mentioned primary database.
Second aspect, the embodiment of the present application provide a kind of device for Backup Data, comprising: backup instruction receives single Member, is configured to backup reception data instruction, and above-mentioned data backup command is used to indicate the master data for including to database fragment Data in library are backed up, and database fragment further includes from database;Log acquisition unit is configured to control above-mentioned from number The data of above-mentioned primary database are backed up according to library pause and control is above-mentioned obtains binary system from above-mentioned primary database from database Log;Identifier obtaining unit is configured to obtain the identifier for having been filed on affairs from third-party server, obtains affairs mark Know symbol set;First identifier accords with determination unit, is configured to determine first object affairs mark according to above-mentioned transaction identifiers set Know symbol;Data backup unit is configured to according to above-mentioned binary log and above-mentioned first object transaction identifiers, in control It states from database and the data in above-mentioned primary database is backed up.
In some embodiments, above-mentioned to have first thread and the second thread from database operation;And above-mentioned log acquisition Unit is further configured to: the above-mentioned data and control that above-mentioned primary database is backed up from the pause of the first thread of database of control It makes above-mentioned the second thread from database and obtains binary log from above-mentioned primary database.
In some embodiments, above-mentioned data backup unit is further configured to: control is above-mentioned from the first of database Thread to the affairs submitted in above-mentioned binary log, before the corresponding affairs of above-mentioned first object transaction identifiers are submitted into Business playback is acted, to back up to the data in above-mentioned primary database.
In some embodiments, above-mentioned identifier obtaining unit is further configured to: the first preset duration of interval is from upper State the transaction identifiers set for obtaining at third-party server and having been filed on affairs;And above-mentioned apparatus further include: storage unit, quilt It is configured to above-mentioned transaction identifiers set and acquisition time storage into preset metadatabase.
In some embodiments, above-mentioned apparatus further include: backup file uploading unit is configured to control above-mentioned from data The backup file that backup is completed to obtain is uploaded to Cloud Server by library;And said memory cells are further configured to: response It is completed in the upload of above-mentioned backup file, Status of Backups information is updated in above-mentioned metadatabase.
In some embodiments, above-mentioned log acquisition unit is further configured to: the second preset duration of interval is from above-mentioned Binary log is obtained in primary database;And said memory cells are further configured to: storing acquired binary system day Will;At least one following information of above-mentioned binary log is stored into above-mentioned metadatabase: store path, title, storage The submission time of time, at least one included transaction identifiers and at least one above-mentioned transaction identifiers.
In some embodiments, above-mentioned apparatus further include: restore instruction receiving unit, be configured to receive data and refer to It enables, it includes data recovery time point that above-mentioned data, which restore instruction,;Second identifier accords with determination unit, is configured to according to above-mentioned first number According to the information recorded in library, the second target transaction identifier submitted in above-mentioned data recovery time point is determined;Log determines single Member, being configured to determine binary log belonging to above-mentioned second target transaction identifier is object binary log;Data are extensive Multiple unit is configured to based on above-mentioned object binary log, and control is above-mentioned to restore number from database and above-mentioned primary database According to.
The third aspect, the embodiment of the present application provide a kind of equipment, comprising: one or more processors;Storage device, On be stored with one or more programs, when said one or multiple programs are executed by said one or multiple processors so that on It states one or more processors and realizes the method as described in first aspect any embodiment.
Fourth aspect, the embodiment of the present application provide a kind of computer-readable medium, are stored thereon with computer program, should The method as described in first aspect any embodiment is realized when program is executed by processor.
The method and apparatus provided by the above embodiment for Backup Data of the application, are receiving data backup command Afterwards, it can control the main number that the slave database time-out backup database fragment that the database fragment of distributed data base includes includes According to the data in library, and it can control and obtain binary log from primary database from database.It can also be from third-party server Place obtains the identifier for having been filed on affairs, obtains transaction identifiers set.It is then possible to be determined according to transaction identifiers set First object transaction identifiers.Finally, can be controlled according to above-mentioned binary log and above-mentioned first object transaction identifiers The data in primary database are backed up from database.The method and apparatus of the present embodiment, may be implemented distributed data base Each database fragment strong consistency.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for Backup Data of the application;
Fig. 3 is the schematic diagram according to an application scenarios of the method for Backup Data of the application;
Fig. 4 is the flow chart according to another embodiment of the method for Backup Data of the application;
Fig. 5 is the structural schematic diagram according to one embodiment of the device for Backup Data of the application;
Fig. 6 is adapted for the structural representation for the computer system for realizing the local task manager of the embodiment of the present application Figure.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is shown can be using the method for Backup Data of the application or the implementation of the device for Backup Data The exemplary system architecture 100 of example.
As shown in Figure 1, system architecture 100 may include terminal device 101, distributed transaction management device (Distributed Transaction Manager, DTM) 102, distributed data base 103 and third-party server 104.Terminal device 101 with Between distributed transaction management device 102, between distributed transaction management device 102 and distributed data base 103, distributed transaction pipe It can pass through between reason device 102 and third-party server 104 and between distributed data base 103 and third-party server 104 Network interaction.Network may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101 and interact with distributed transaction management device 102, to receive or send message etc.. Various telecommunication customer end applications, such as database management application, the application of shopping class, search can be installed on terminal device 101 Class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 101 can be hardware, be also possible to software.When terminal device 101 is hardware, can be with aobvious The various electronic equipments of display screen, including but not limited to smart phone, tablet computer, pocket computer on knee and desktop computer Etc..When terminal device 101 is software, may be mounted in above-mentioned cited electronic equipment.It may be implemented into multiple Software or software module (such as providing Distributed Services), also may be implemented into single software or software module.Herein not It is specifically limited.
The equipment that distributed transaction management device 102 can be the affairs for managing distributed data base.Distributed transaction Manager 102 can be handled the data such as the database manipulation request received, and processing result is fed back to terminal and is set Standby 101.
It should be noted that distributed transaction management device 102 can be hardware, it is also possible to software.Work as distributed transaction When manager 102 is hardware, the distributed transaction management device cluster of multiple distributed transaction management device compositions may be implemented into.When When distributed transaction management device 102 is software, multiple softwares or software module may be implemented into.
Distributed data base 103 can be for providing the various databases of data storage service.Distributed data base 103 It may include multiple database fragments 1031,1032,1033.Each database fragment can also include primary database and from data Library.The local of each database fragment can also include local task manager (Local Transaction Manager, LTM), each local task manager is used to manage the affairs of the database fragment.
Third-party server 104 can be used for the identifier for the affairs that distributed storage database 103 has been filed on.It is distributed The identifier for the affairs submitted can be sent to third-party server 104 after submitting affairs by task manager 102.Point Each database fragment in cloth database 103 can obtain the identifier for the affairs having been filed on from third-party server 104.
It should be noted that third-party server 104 can be hardware, it is also possible to software.When third-party server 104 When for hardware, 104 cluster of third-party server that multiple third-party server 104 form may be implemented into.Work as third party's service When device 104 is software, multiple softwares or software module may be implemented into.
Method provided by the embodiment of the present application for Backup Data is generally executed by local task manager.Accordingly Ground, the device for Backup Data are generally positioned in local task manager.
It should be understood that in terminal device, distributed transaction management device, distributed data base in Fig. 1 database fragment and The number of third-party server is only schematical.According to needs are realized, any number of terminal device, distribution can have Database fragment and third-party server in formula task manager, distributed data base.
With continued reference to Fig. 2, the process of one embodiment of the method for Backup Data according to the application is shown 200.The method for Backup Data of the present embodiment, comprising the following steps:
Step 201, backup reception data instructs.
In the present embodiment, for (such as the local transaction management shown in FIG. 1 of the executing subject of the method for Backup Data Device) it can receive data backup command.It is (such as shown in FIG. 1 that above-mentioned data backup command can be distributed transaction management device Distributed transaction management device 102) it is sent to executing subject, it is also possible to the time-of-the-day order triggering inside by executing subject. For example, can be realized by crontab order in executing subject.Crontab order is usually used in what setting was periodically performed Instruction.Specifically, each database fragment of distributed data base can be arranged in daily evening in technical staff by crontab order Upper 10 o'clock is backed up.Then executing subject can receive data backup command at 10 o'clock of every night.Above-mentioned distribution Database can be MySQL database.MySQL is a Relational DBMS, is opened by MySQL AB company of Sweden Hair.
Above-mentioned data backup command, which is used to indicate, backs up the data in the primary database for including in database fragment. Fragment is a kind of database effective mode extending transversely on multiple physical nodes, and main purpose is to break through list The input of node database server or the limitation of fan-out capability.Each physical node is properly termed as database fragment.Each data The data of library fragment storage are different, can also handle different affairs simultaneously.Affairs refer to realize specific business function, And access a smallest logical unit of work (LUW) of database.Affairs are a sequences of operation.
For distributed data base system, user by terminal device sent to distributed transaction management device to database Operation requests, finally can all be converted to the sequence to the distribution database fragment accessing operation at each respective site in a network Column.Therefore the affairs in distributed data base system are the sequence of a distributed operation, referred to as distributed transaction.Each database After fragment executes the sequence for completing operation, is sent to executing subject and prepare to submit message.Executing subject is receiving preparation submission After message, to distributed transaction management device transmitter ready message.Distributed transaction management device is receiving each local affairs After the ready message that manager is sent, distributed transaction is submitted.
It, can be in each database fragment in order to improve redundancy ability, the load balance ability etc. of each database fragment Middle setting primary database and from database.In this way, working as primary database when something goes wrong, can continue with from database for number According to the request in library, user experience is not influenced.It further include from database in the present embodiment, in database fragment.It can be with from database Data in primary database are backed up.
Step 202, it controls from the data of database time-out backup primary database and controls from database from primary database Place obtains binary log.
Executing subject can control the slave database time-out backup in database fragment after receiving data backup command Data in primary database.Specifically, executing subject can be controlled to control instruction is sent from database from database time-out Data in backup primary database.Likewise, executing subject can also be controlled to another control instruction is sent from database from Database obtains binary log from primary database.What binary log (Binary log) was used to occur in database of record Modify situation, such as the modifications of data, the creation of table and modification etc..It can also include by execution time note in binary log The corresponding multiple data base manipulation statements of multiple transaction identifiers and each transaction identifiers of record.Above-mentioned transaction identifiers are Distributed transaction management device generates after the database manipulation request for receiving terminal device transmission, is then forwarded to each database Fragment.From the binary log of the available primary database of database, the various operation languages in binary log are then executed Sentence, to keep from synchronous in primary database in database.
In some optional implementations of the present embodiment, first thread and the second line can have been run from database Journey.Wherein, first thread is used to synchronize the data in primary database, and the second thread is used to obtain binary system day from primary database Will.Above-mentioned steps 202 can be realized by following steps unshowned in Fig. 2: control suspends standby from the first thread of database The data of part primary database and control obtain binary log from the second thread of database from primary database.
In this implementation, above-mentioned first thread can be the SQL thread from database, and SQL thread is for synchronizing main number According to the data in library.Executing subject can be by suspending to order " stop slave sql_thread " is sent from database SQL thread synchrodata from primary database.Above-mentioned second thread can be the I/O thread from database.In primary database I/O thread can have been run.
Specific binary log acquisition process may include the following contents: can be to main number from the I/O thread of database The request for obtaining binary log is sent according to library.It may include the title and storage location of binary log in request.Master data Library can obtain the two of above-mentioned title by the I/O thread of its operation after receiving above-mentioned request from above-mentioned storage location Binary log after system log, and return to the I/O thread from database.Wherein, the binary log of above-mentioned title Binary log later refers to the binary log of the binary log for generating the time in above-mentioned title generated after the time. After above-mentioned binary log is received from the I/O thread of database, by the received binary log content of institute be sequentially written in from In the Relay log of database.Wherein, Relay log is automatic after the binary log that database obtains in primary database The journal file of generation.After new content, Relay can be executed in detecting Relay log from the SQL thread in database Each data base manipulation statement in log, so that identical as the content in primary database from the data in database.
Step 203, the identifier for having been filed on affairs is obtained from third-party server, obtains transaction identifiers set.
It can store the identifier for the affairs having been filed in the present embodiment, in third-party server.Distributed transaction pipe Device is managed when submitting distributed transaction, the identifier of the distributed transaction of submission can be sent to third-party server.Third Square server can store the identifier for the distributed transaction having been filed on.In Backup Data, the local thing of each database fragment Business manager can obtain the identifier for having been filed on affairs to third-party server, obtain transaction identifiers set.Actually answering In, above-mentioned third-party server can be redis server.
Step 204, according to transaction identifiers set, first object transaction identifiers are determined.
Executing subject can therefrom determine a transaction identifiers as first object after obtaining transaction identifiers set Transaction identifiers.It is understood that the strong consistency in order to guarantee distributed data base, the local affairs of each database fragment First object transaction identifiers determined by manager are identical.In concrete practice, the local task manager of each database fragment It can make an appointment using the identifier of the affairs of submission time the latest in transaction identifiers set as first object Transaction Identifier Symbol.
Step 205, according to binary log and first object transaction identifiers, control is from database in primary database Data backed up.
After determining first object transaction identifiers, executing subject can be controlled according to acquired binary log from Database backs up the data in primary database.Specifically, executing subject can determine in binary log, execute the time Things identifier before the first object transaction identifiers corresponding execution time.Then the SQL line from database is controlled The corresponding action statement of things identifier determined by Cheng Zhihang is above-mentioned, to realize the backup to data in primary database.
In some optional implementations of the present embodiment, above-mentioned steps 205 specifically can be by unshowned in Fig. 2 Following steps are realized: control from the first thread of database in binary log, it is corresponding in first object transaction identifiers Affairs submit before submit affairs carry out affairs playback, to be backed up to the data in primary database.
In this implementation, executing subject can send " start slave sql_ to from the SQL thread of database Thread until xid " starts data in synchronous primary database until first object Transaction Identifier to control SQL thread The indicated affairs of symbol stop.Wherein, xid is first object transaction identifiers.Then database fragment can synchronize primary database In data to first object transaction identifiers at stop, so as to realize the strong consistency of distributed data base.
With continued reference to the signal that Fig. 3, Fig. 3 are according to the application scenarios of the method for Backup Data of the present embodiment Figure.In the application scenarios of Fig. 3, after local task manager 301 has received data backup command, sent to from database 302 Message stops backing up with notice from database 302, obtains binary log.It is obtained from primary database 302 from database 302 Binary log.Local task manager 301 obtains transaction identifiers set from third-party server 304, determines One target transaction identifier.Then first object transaction identifiers are sent to from database 302.It is received from database 302 Start to back up after first object transaction identifiers.
The method provided by the above embodiment for Backup Data of the application can after receiving data backup command To control the primary database that the slave database time-out backup database fragment that the database fragment of distributed data base includes includes Data, and can control and obtain binary log from primary database from database.It can also be obtained from third-party server The identifier for having been filed on affairs is taken, transaction identifiers set is obtained.It is then possible to determine first according to transaction identifiers set Target transaction identifier.Finally, can be controlled according to above-mentioned binary log and above-mentioned first object transaction identifiers from number The data in primary database are backed up according to library.Each database of distributed data base may be implemented in the method for the present embodiment The strong consistency of fragment.
In some optional implementations of the present embodiment, above-mentioned steps 203 can specifically include unshowned in Fig. 2 Following steps: the first preset duration of interval obtains the transaction identifiers set for having been filed on affairs from third-party server.Accordingly , the above-mentioned method for Backup Data can further include unshowned following steps in Fig. 2: by transaction identifiers collection It closes and acquisition time storage is into preset metadatabase.
In this implementation, executing subject can be spaced the first preset duration (such as 1 second) and obtain from third-party server Take the transaction identifiers set for having been filed on affairs.Then the transaction identifiers set and acquisition time that obtain every time are stored to pre- If metadatabase in.It may include multiple metadata tables in above-mentioned metadatabase, each metadata table is used for store transaction mark Know symbol set and acquisition time.
In some optional implementations, executing subject to third-party server obtain transaction identifiers set when, The timestamp of third-party server can also be obtained, and using above-mentioned timestamp as the acquisition time of transaction identifiers set.
In some optional implementations of the present embodiment, the above method can further include in Fig. 2 and be not shown Following steps: control and obtained backup file is completed into backup from database be uploaded to Cloud Server;In response to backup file Upload complete, in metadatabase update Status of Backups information.
In this implementation, from database after the completion of backup, executing subject can be notified.For example, can be with from database Backup is sent to executing subject and completes message, completes to back up to show.Executing subject can be controlled after receiving above-mentioned message It makes from database by the backup file that backup is completed to obtain and is uploaded to Cloud Server.Specifically, executing subject can be to from data Library sends the control instruction for being used to indicate and uploading backup file, can will be standby from database after receiving above-mentioned control instruction Part file is uploaded to Cloud Server.From database after the completion of upload, executing subject can be notified.For example, can be with from database It sends to upload to executing subject and completes message, to show that the upload of backup file is completed.Executing subject is receiving above-mentioned disappear After breath, Status of Backups information can be updated in metadatabase.Specifically, executing subject can be by the backup shape in metadatabase State information is set as " backup " or other can be used to indicate that the information backed up.
In some optional implementations of the present embodiment, above-mentioned steps 202 specifically can also include being not shown in Fig. 2 Following steps: interval the second preset duration binary log is obtained from primary database.Correspondingly, the above method can also be into One step includes unshowned following steps in Fig. 2: storing acquired binary log;By following at least the one of binary log The storage of information is into metadatabase: store path, title, storage time, at least one included transaction identifiers and The submission time of at least one transaction identifiers.
In this implementation, executing subject can be spaced the second preset duration and obtain binary log from primary database. Specifically, executing subject can be simulated by one process of operation from database, and pass through the thread under this process from main number Binary log is obtained according to library.Meanwhile thread can be set by crontab order every the second preset duration from master data Library obtains binary log.Acquired binary log can also be stored in local or database by executing subject.Then, Executing subject can be stored the information of the binary log acquired in the database into metadatabase, above- mentioned information can be with Including but not limited to: store path, title, storage time, at least one included transaction identifiers and at least one thing The submission time of business identifier.Specifically, information when can will acquire binary log from the I/O thread of database is sent to Executing subject, executing subject are stored in metadatabase after receiving above- mentioned information.
By above-mentioned each implementation, may be implemented to carry out the metamessage of the incremental portion of the daily record data of primary database Backup.In this manner it is ensured that in the incremental portion for rapidly finding daily record data.
With continued reference to Fig. 4, it illustrates the streams according to another embodiment of the method for Backup Data of the application Journey 400.As shown in figure 4, the method for Backup Data of the present embodiment, may comprise steps of:
Step 401, data are received and restores instruction.
In the present embodiment, above-mentioned data recovery instruction can be user and be sent to distributed transaction management by terminal device After device, executing subject is transmitted to by distributed transaction management device.It may include data recovery time that above-mentioned data, which restore instruction, Point is used to indicate the data that data recovery time point is restored to by primary database and from the data in database.
Step 402, according to the information recorded in metadatabase, the second target thing submitted in data recovery time point is determined Business identifier.
Executing subject can determine after receiving above-mentioned data and restoring instruction according to the information recorded in metadatabase In the second target transaction identifier that data recovery time point is submitted.Due to having recorded each transaction identifiers in metadatabase Therefore submission time can match data recovery time point with submission time, obtain submitting in data recovery time point The second target transaction identifier.
Step 403, determine that binary log belonging to the second target transaction identifier is object binary log.
After determining the second target transaction identifier, executing subject can be further according to the letter recorded in metadatabase Breath, determines binary log belonging to the second target transaction identifier.Due to having recorded each binary log in metadatabase In include transaction identifiers therefore can be obtained by matching the second target transaction identifier with each transaction identifiers It is determined as object binary log to binary log belonging to the second target transaction identifier, and by above-mentioned binary log.
Step 404, it is based on object binary log, control restores data from database and primary database.
Executing subject can determine after determining object binary log and generate the time in above-mentioned object binary log Generate other binary logs after the time.It can control primary database and from database root according to target two thereby executing main body System log and above-mentioned other binary logs restore data.
The method provided by the above embodiment for Backup Data of the application, the data that can be realized any point-in-time are extensive It is multiple;Simultaneously when restoring data, multiple database fragments can be made to reply parallel, thus when reducing needed for data recovery Between, improve the efficiency that data are restored.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides one kind for backing up number According to device one embodiment, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which can specifically answer For in various electronic equipments.
As shown in figure 5, the device 500 for Backup Data of the present embodiment includes: backup instruction receiving unit 501, day Will acquiring unit 502, identifier obtaining unit 503, first identifier symbol determination unit 504 and data backup unit 505.
Wherein, backup instruction receiving unit 501 is configured to backup reception data instruction.Data backup command is for referring to Show that the data in the primary database for including to database fragment back up, database fragment further includes from database.
Log acquisition unit 502, be configured to control from the data of database time-out backup primary database and control from Database obtains binary log from primary database.
Identifier obtaining unit 503 is configured to obtain the identifier for having been filed on affairs from third-party server, obtain Transaction identifiers set.
First identifier accords with determination unit 504, is configured to determine first object Transaction Identifier according to transaction identifiers set Symbol.
Data backup unit 505 is configured to be controlled according to binary log and first object transaction identifiers from number The data in primary database are backed up according to library.
In some optional implementations of the present embodiment, there are first thread and the second thread from database operation.On Stating log acquisition unit 502 can be further configured to: control from the first thread of database pause backup primary database Data and control from the second thread of database obtain binary log from primary database.
In some optional implementations of the present embodiment, above-mentioned data backup unit 505 can be further configured At: control submits it in binary log, in the corresponding affairs of first object transaction identifiers from the first thread of database The affairs of preceding submission carry out affairs playback, to back up to the data in primary database.
In some optional implementations of the present embodiment, above-mentioned identifier obtaining unit 503 can further be matched Be set to: the first preset duration of interval obtains the transaction identifiers set for having been filed on affairs from third-party server.Above-mentioned apparatus 500 can further include unshowned storage unit in Fig. 5, be configured to transaction identifiers set and acquisition time It stores in preset metadatabase.
In some optional implementations of the present embodiment, above-mentioned apparatus 500, which can further include in Fig. 5, not to be shown Backup file uploading unit out is configured to control and obtained backup file is completed in backup from database is uploaded to cloud service Device.Then said memory cells can be further configured to: the upload in response to the backup file is completed, in the metadata Status of Backups information is updated in library.
In some optional implementations of the present embodiment, above-mentioned log acquisition unit 502 can be further configured At: the second preset duration of interval obtains binary log from primary database.Then said memory cells can be further configured At: store acquired binary log;At least one following information of binary log is stored into metadatabase: storage Path, title, storage time, at least one included transaction identifiers and at least one transaction identifiers submission when Between.
In some optional implementations of the present embodiment, above-mentioned apparatus 500, which can further include in Fig. 5, not to be shown Recovery instruction receiving unit, second identifier symbol determination unit, log determination unit and data recovery unit out.
Wherein, restore instruction receiving unit, be configured to receive data and restore instruction.It includes that data are extensive that data, which restore instruction, Multiple time point.
Second identifier accords with determination unit, is configured to be determined according to the information recorded in metadatabase when data are restored Between put the second target transaction identifier of submission.
Log determination unit, be configured to determine binary log belonging to the second target transaction identifier be target two into Log processed.
Data recovery unit is configured to based on object binary log, and control restores from database and primary database Data.
The device provided by the above embodiment for Backup Data of the application can after receiving data backup command To control the primary database that the slave database time-out backup database fragment that the database fragment of distributed data base includes includes Data, and can control and obtain binary log from primary database from database.It can also be obtained from third-party server The identifier for having been filed on affairs is taken, transaction identifiers set is obtained.It is then possible to determine first according to transaction identifiers set Target transaction identifier.Finally, can be controlled according to above-mentioned binary log and above-mentioned first object transaction identifiers from number The data in primary database are backed up according to library.Each database of distributed data base may be implemented in the device of the present embodiment The strong consistency of fragment.
It should be appreciated that the unit 501 for recording in the device 500 of Backup Data is to unit 505 respectively and in reference Fig. 2 Each step in the method for description is corresponding.As a result, above with respect to the operation and feature of the method description for Backup Data It is equally applicable to device 500 and unit wherein included, details are not described herein.
Below with reference to Fig. 6, it illustrates the computers for the local task manager for being suitable for being used to realize the embodiment of the present application The structural schematic diagram of system 600.Local task manager shown in Fig. 6 is only an example, should not be to the embodiment of the present application Function and use scope bring any restrictions.
As shown in fig. 6, computer system 600 includes central processing unit (CPU, Central Processing Unit) 601, it can be according to the program being stored in read-only memory (ROM, Read Only Memory) 602 or from storage section 606 programs being loaded into random access storage device (RAM, Random Access Memory) 603 and execute various appropriate Movement and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data.CPU 601,ROM 602 and RAM 603 is connected with each other by bus 604.Input/output (I/O, Input/Output) interface 605 is also connected to Bus 604.
I/O interface 605 is connected to lower component: the storage section 606 including hard disk etc.;And including such as LAN (local Net, Local Area Network) card, modem etc. network interface card communications portion 607.Communications portion 607 passes through Communication process is executed by the network of such as internet.Driver 608 is also connected to I/O interface 605 as needed.Detachable media 609, such as disk, CD, magneto-optic disk, semiconductor memory etc., are mounted on as needed on driver 608, in order to from The computer program read thereon is mounted into storage section 606 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 607, and/or from detachable media 609 are mounted.When the computer program is executed by central processing unit (CPU) 601, limited in execution the present processes Above-mentioned function.
It should be noted that computer-readable medium described herein can be computer-readable signal media or Computer readable storage medium either the two any combination.Computer readable storage medium for example can be --- but Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination. The more specific example of computer readable storage medium can include but is not limited to: have one or more conducting wires electrical connection, Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.
In this application, computer readable storage medium can be any tangible medium for including or store program, the journey Sequence can be commanded execution system, device or device use or in connection.And in this application, it is computer-readable Signal media may include in a base band or as carrier wave a part propagate data-signal, wherein carrying computer can The program code of reading.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, optical signal or Above-mentioned any appropriate combination.Computer-readable signal media can also be any other than computer readable storage medium Computer-readable medium, the computer-readable medium can send, propagate or transmit for by instruction execution system, device or Person's device uses or program in connection.The program code for including on computer-readable medium can be with any appropriate Medium transmission, including but not limited to: wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet Include backup instruction receiving unit, log acquisition unit, identifier obtaining unit, first identifier symbol determination unit and data backup list Member.Wherein, the title of these units does not constitute the restriction to the unit itself under certain conditions, for example, backup instruction connects It receives unit and is also described as " unit of backup reception data instruction ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should Device: backup reception data instruction, data backup command are used to indicate the data in the primary database for including to database fragment It is backed up, database fragment further includes from database;Control the data and control from database time-out backup primary database Binary log is obtained from primary database from database;The identifier for having been filed on affairs is obtained from third-party server, is obtained To transaction identifiers set;According to transaction identifiers set, first object transaction identifiers are determined;According to binary log and First object transaction identifiers, control back up the data in primary database from database.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (16)

1. a kind of method for Backup Data, comprising:
Backup reception data instruction, the data backup command are used to indicate the number in the primary database for including to database fragment According to being backed up, database fragment further includes from database;
Control it is described from database time-out back up the primary database data and control it is described from database from the main number According to acquisition binary log at library;
The identifier for having been filed on affairs is obtained from third-party server, obtains transaction identifiers set;
According to the transaction identifiers set, first object transaction identifiers are determined;
According to the binary log and the first object transaction identifiers, control it is described from database to the master data Data in library are backed up.
2. according to the method described in claim 1, wherein, described run from database has first thread and the second thread;And
Described in the control from database time-out back up the primary database data and control it is described from database from described Binary log is obtained at primary database, comprising:
Control is described to be backed up the data of the primary database from the pause of the first thread of database and controls described from database The second thread binary log is obtained from the primary database.
It is described according to the binary log and the first object affairs 3. according to the method described in claim 2, wherein Identifier, control is described to back up the data in the primary database from database, comprising:
The control first thread from database is corresponded to in the binary log, in the first object transaction identifiers Affairs submit before submit affairs carry out affairs playback, to be backed up to the data in the primary database.
4. according to the method described in claim 1, wherein, the acquisition from third-party server has been filed on the affairs mark of affairs Know symbol set, comprising:
It is spaced the first preset duration and obtains the transaction identifiers set for having been filed on affairs from the third-party server;And
The method also includes:
By the transaction identifiers set and acquisition time storage into preset metadatabase.
5. according to the method described in claim 4, wherein, the method also includes:
Control is described to be uploaded to Cloud Server for the backup file that backup is completed to obtain from database;
Upload in response to the backup file is completed, and Status of Backups information is updated in the metadatabase.
6. according to the method described in claim 4, wherein, obtaining two described in the control from the primary database from database System log, comprising:
It is spaced the second preset duration and obtains binary log from the primary database;And
The method also includes:
The acquired binary log of storage;
At least one following information of the binary log is stored into the metadatabase: store path, title, storage The submission time of time, at least one included transaction identifiers and at least one transaction identifiers.
7. according to the method described in claim 6, wherein, the method also includes:
It receives data and restores instruction, it includes data recovery time point that the data, which restore instruction,;
According to the information recorded in the metadatabase, the second target transaction mark submitted in the data recovery time point is determined Know symbol;
Determine that binary log belonging to the second target transaction identifier is object binary log;
Based on the object binary log, control is described to restore data from database and the primary database.
8. a kind of device for Backup Data, comprising:
Backup instruction receiving unit, is configured to backup reception data instruction, and the data backup command is used to indicate to data The data in primary database that library fragment includes are backed up, and database fragment further includes from database;
Log acquisition unit is configured to control data and the control institute that the primary database is backed up from database time-out It states and obtains binary log from the primary database from database;
Identifier obtaining unit is configured to obtain the identifier for having been filed on affairs from third-party server, obtains affairs mark Know symbol set;
First identifier accords with determination unit, is configured to determine first object transaction identifiers according to the transaction identifiers set;
Data backup unit is configured to control institute according to the binary log and the first object transaction identifiers It states from database and the data in the primary database is backed up.
9. device according to claim 8, wherein described to have first thread and the second thread from database operation;And
The log acquisition unit is further configured to:
Control is described to be backed up the data of the primary database from the pause of the first thread of database and controls described from database The second thread binary log is obtained from the primary database.
10. device according to claim 9, wherein the data backup unit is further configured to:
The control first thread from database is corresponded to in the binary log, in the first object transaction identifiers Affairs submit before submit affairs carry out affairs playback, to be backed up to the data in the primary database.
11. device according to claim 8, wherein the identifier obtaining unit is further configured to:
It is spaced the first preset duration and obtains the transaction identifiers set for having been filed on affairs from the third-party server;And
Described device further include:
Storage unit is configured to the transaction identifiers set and acquisition time storage into preset metadatabase.
12. device according to claim 11, wherein described device further include:
Backup file uploading unit, is configured to control and described the backup file that backup is completed to obtain is uploaded to cloud from database Server;And
The storage unit is further configured to complete in response to the upload of the backup file, in the metadatabase more New Status of Backups information.
13. device according to claim 11, wherein the log acquisition unit is further configured to:
It is spaced the second preset duration and obtains binary log from the primary database;And
The storage unit is further configured to store acquired binary log;By the binary log with down toward One item missing information is stored into the metadatabase: store path, title, storage time, at least one included affairs mark Know the submission time of symbol and at least one transaction identifiers.
14. device according to claim 13, wherein described device further include:
Restore instruction receiving unit, is configured to receive data and restores instruction, when the data recovery instruction includes that data are restored Between point;
Second identifier accords with determination unit, is configured to according to the information recorded in the metadatabase, determination is extensive in the data The second target transaction identifier that multiple time point submits;
Log determination unit, be configured to determine binary log belonging to the second target transaction identifier be target two into Log processed;
Data recovery unit is configured to based on the object binary log, and control is described from database and the main number Restore data according to library.
15. a kind of equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 1-7.
16. a kind of computer-readable medium, is stored thereon with computer program, wherein the realization when program is executed by processor Method as described in any in claim 1-7.
CN201810980327.8A 2018-08-27 2018-08-27 Method and apparatus for backing up data Active CN109144785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810980327.8A CN109144785B (en) 2018-08-27 2018-08-27 Method and apparatus for backing up data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810980327.8A CN109144785B (en) 2018-08-27 2018-08-27 Method and apparatus for backing up data

Publications (2)

Publication Number Publication Date
CN109144785A true CN109144785A (en) 2019-01-04
CN109144785B CN109144785B (en) 2020-07-28

Family

ID=64828254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810980327.8A Active CN109144785B (en) 2018-08-27 2018-08-27 Method and apparatus for backing up data

Country Status (1)

Country Link
CN (1) CN109144785B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209554A (en) * 2019-06-14 2019-09-06 上海中通吉网络技术有限公司 Database journal distribution method, device and equipment
CN110209534A (en) * 2019-06-14 2019-09-06 四川长虹电器股份有限公司 The system and method for automated back-up mysql database
CN111913972A (en) * 2019-05-10 2020-11-10 阿里巴巴集团控股有限公司 Data processing method, device and equipment
CN111913925A (en) * 2019-05-08 2020-11-10 厦门网宿有限公司 Data processing method and system in distributed storage system
CN113157491A (en) * 2021-04-01 2021-07-23 深圳依时货拉拉科技有限公司 Data backup method and device, communication equipment and storage medium
CN113254425A (en) * 2021-06-24 2021-08-13 阿里云计算有限公司 Method, apparatus, system, program and storage medium for database transaction retention
CN113785284A (en) * 2019-04-30 2021-12-10 微软技术许可有限责任公司 Identifying data inconsistencies and data contentions based on historical debug traces

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130179821A1 (en) * 2012-01-11 2013-07-11 Samuel M. Bauer High speed logging system
CN106407356A (en) * 2016-09-07 2017-02-15 网易(杭州)网络有限公司 Data backup method and device
CN106610876A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Method and device for recovering data snapshot
CN107451013A (en) * 2017-06-30 2017-12-08 北京奇虎科技有限公司 Data reconstruction method, apparatus and system based on distributed system
US20180165340A1 (en) * 2012-11-26 2018-06-14 Amazon Technologies, Inc. Automatic repair of corrupted blocks in a database

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130179821A1 (en) * 2012-01-11 2013-07-11 Samuel M. Bauer High speed logging system
US20180165340A1 (en) * 2012-11-26 2018-06-14 Amazon Technologies, Inc. Automatic repair of corrupted blocks in a database
CN106610876A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Method and device for recovering data snapshot
CN106407356A (en) * 2016-09-07 2017-02-15 网易(杭州)网络有限公司 Data backup method and device
CN107451013A (en) * 2017-06-30 2017-12-08 北京奇虎科技有限公司 Data reconstruction method, apparatus and system based on distributed system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
崔腾等: ""MySQL主从架构的复制模式"", 《网络安全和信息化》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113785284A (en) * 2019-04-30 2021-12-10 微软技术许可有限责任公司 Identifying data inconsistencies and data contentions based on historical debug traces
CN111913925A (en) * 2019-05-08 2020-11-10 厦门网宿有限公司 Data processing method and system in distributed storage system
CN111913925B (en) * 2019-05-08 2023-08-18 厦门网宿有限公司 Data processing method and system in distributed storage system
CN111913972A (en) * 2019-05-10 2020-11-10 阿里巴巴集团控股有限公司 Data processing method, device and equipment
CN110209554A (en) * 2019-06-14 2019-09-06 上海中通吉网络技术有限公司 Database journal distribution method, device and equipment
CN110209534A (en) * 2019-06-14 2019-09-06 四川长虹电器股份有限公司 The system and method for automated back-up mysql database
CN110209534B (en) * 2019-06-14 2022-09-16 四川长虹电器股份有限公司 System and method for automatically backing up mysql database
CN110209554B (en) * 2019-06-14 2023-08-11 上海中通吉网络技术有限公司 Database log distribution method, device and equipment
CN113157491A (en) * 2021-04-01 2021-07-23 深圳依时货拉拉科技有限公司 Data backup method and device, communication equipment and storage medium
CN113254425A (en) * 2021-06-24 2021-08-13 阿里云计算有限公司 Method, apparatus, system, program and storage medium for database transaction retention
CN113254425B (en) * 2021-06-24 2022-01-11 阿里云计算有限公司 Method, apparatus, system, program and storage medium for database transaction retention

Also Published As

Publication number Publication date
CN109144785B (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN109144785A (en) Method and apparatus for Backup Data
US10678597B2 (en) Event-driven blockchain workflow processing
WO2022126974A1 (en) Kafka-based incremental data synchronization method and apparatus, device, and medium
US10324799B2 (en) Enhanced application write performance
CN111201763B (en) Security based on file system content
JP2015504202A (en) Method, system, and computer program for synchronous update across cluster file system
US9589153B2 (en) Securing integrity and consistency of a cloud storage service with efficient client operations
CN103582875A (en) Method and apparatus for multi-source restore
CN104423960A (en) Continuous project integration method and continuous project integration system
CN111338834B (en) Data storage method and device
CN115858488A (en) Parallel migration method and device based on data governance and readable medium
CN106250501A (en) Report processing method and reporting system
US11308119B2 (en) Replicating large statements with low latency
CN113361236A (en) Method and device for editing document
CN105653566B (en) A kind of method and device for realizing database write access
US20220382637A1 (en) Snapshotting hardware security modules and disk metadata stores
US20120005162A1 (en) Managing Copies of Data Structures in File Systems
US10394677B2 (en) Method to efficiently and reliably process ordered user account events in a cluster
US11727022B2 (en) Generating a global delta in distributed databases
CN114282210A (en) Sandbox automatic construction method and system, computer equipment and readable storage medium
US20180316756A1 (en) Cross-platform replication of logical units
JP6169485B2 (en) Distributed processing system
CN115485677A (en) Secure data replication in a distributed data storage environment
WO2020256797A1 (en) Object storage system with meta object replication
CN113535478B (en) Data backup method and device, storage medium and electronic equipment

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