CN110413438A - The treating method and apparatus to report an error for backup - Google Patents
The treating method and apparatus to report an error for backup Download PDFInfo
- Publication number
- CN110413438A CN110413438A CN201910687655.3A CN201910687655A CN110413438A CN 110413438 A CN110413438 A CN 110413438A CN 201910687655 A CN201910687655 A CN 201910687655A CN 110413438 A CN110413438 A CN 110413438A
- Authority
- CN
- China
- Prior art keywords
- backup
- strategy
- error
- report
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000003672 processing method Methods 0.000 claims abstract description 11
- 230000014759 maintenance of location Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 7
- 230000008901 benefit Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 239000013589 supplement Substances 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0766—Error or fault reporting or storing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
Abstract
Present disclose provides a kind of processing methods to report an error for backup, back up the inventory that reports an error this method comprises: obtaining, backup reports an error inventory for recording the one or more of backup error informations generated within a preset period of time;For every backup error information in one or more of backup error informations, corresponding backup strategy is determined;For backup strategy, generation strategy brings up again order;Implementation strategy brings up again order, executes backup operation to be directed to backup strategy again.The disclosure additionally provides a kind of a kind of processing unit, a kind of electronic equipment and computer readable storage medium to report an error for backup.
Description
Technical field
This disclosure relates to field of computer technology, more particularly to a kind for the treatment of method and apparatus to report an error for backup.
Background technique
In complete IT (Information Technology, an information technology) system, data backup is one
Important component, status and effect can not be ignored, and meaning is not only in that prevention is unexpected and destroys, and can also retrieve logic
Mistake and artificial malicious sabotage, but also be historical data archiving save best mode, for later carry out the inquiry of historical data,
Restore, statistics and analysis provides last one of barrier of guarantee and disaster recovery.Improving reliable standby system should have
Reliability guarantees the availability of Backup Data.When a fault occurs, it can effectively restore data, enable a system to normally throw
Enter operation.One storage system can be restored to some past time state, system is presented again by complete data backup
State at the appointed time.
Currently, carrying out backup management using existing backup software Veritas Netbackup (NBU), all backups are big
Mostly backed up in night business ebb.Existing backup includes DB Backup and file backup, almost there is failure daily
Backup job.It backs up the daily requirement special messenger that reports an error to focus on, analyzes one by one, encounter festivals or holidays, it may not be possible to the same day
Processing, need the working time carry out centralized processing mend it is standby, hide some dangers for the continuity and timeliness of backup.
Summary of the invention
An aspect of this disclosure provides a kind of processing method to report an error for backup, comprising: obtains backup and reports an error clearly
Single, above-mentioned backup reports an error inventory for recording the one or more of backup error informations generated within a preset period of time.For
Every backup error information in above-mentioned one or more of backup error informations, determines corresponding backup strategy.For above-mentioned
Backup strategy, generation strategy bring up again order.And execute above-mentioned strategy and bring up again order, it is executed with being directed to above-mentioned backup strategy again
Backup operation.
Optionally, above-mentioned to bring up again order for the above-mentioned strategy of above-mentioned backup strategy generation, comprising: to determine above-mentioned backup strategy
It whether is the backup strategy executed daily.And if it is determined that above-mentioned backup strategy is not the backup strategy executed daily, then give birth to
Order is brought up again at the strategy for above-mentioned backup strategy.
Optionally, above-mentioned if it is determined that above-mentioned backup strategy is not the backup strategy executed daily, then generate for above-mentioned
The strategy of backup strategy brings up again order, comprising: if it is determined that above-mentioned backup strategy is not the backup strategy executed daily, further
Determine whether type of backup corresponding to above-mentioned backup strategy is file backup.And if it is determined that corresponding to above-mentioned backup strategy
Type of backup be file backup, then generate above-mentioned strategy directly against above-mentioned backup strategy and bring up again order.
Optionally, the above method further include: if it is determined that type of backup corresponding to above-mentioned backup strategy is not that file is standby
Part, it is determined that type of backup corresponding to above-mentioned backup strategy is DB Backup.Determine whether database backup file backs up
It completes.And if it is determined that the completion of above-mentioned DB Backup, then first generate backup clear command, regenerate above-mentioned strategy and bring up again life
It enables, wherein above-mentioned backup clear command, which is used to indicate, removes above-mentioned database backup file.
Optionally, the above method further include: if it is determined that above-mentioned database backup file has backed up completion, it is determined that filing
Whether file is consistent with the retention period of above-mentioned database backup file.And if it is determined that above-mentioned archive file and above-mentioned data
The retention period of library backup file is inconsistent, then also first generates above-mentioned backup clear command, regenerates above-mentioned strategy and brings up again order.
Optionally, the above method further include: generate above-mentioned backup in daily predetermined time and report an error inventory.
Optionally, every above-mentioned error information includes: report an error code, the time that reports an error, the backup content institute that reports an error targeted
Server, report an error targeted backup strategy.
On the other hand the disclosure provides a kind of processing unit to report an error for backup, comprising: module is obtained, it is standby for obtaining
Part reports an error inventory, and the above-mentioned backup inventory that reports an error reports an error letter for recording the one or more of backups generated within a preset period of time
Breath.Determining module, for determining and corresponding to for every backup error information in above-mentioned one or more of backup error informations
Backup strategy.Generation module, for being directed to above-mentioned backup strategy, generation strategy brings up again order.And execution module, for holding
The above-mentioned strategy of row brings up again order, executes backup operation to be directed to above-mentioned backup strategy again.
Another aspect of the present disclosure provides a kind of electronic equipment, comprising: one or more processors.Memory is used for
Store one or more programs, wherein when one or more of programs are executed by one or more of processors, so that
One or more of processors realize method as described above.
Another aspect of the present disclosure provides a kind of computer readable storage medium, is stored with computer executable instructions,
Described instruction is when executed for realizing method as described above.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to
It enables, described instruction is when executed for realizing method as described above.
Detailed description of the invention
In order to which the disclosure and its advantage is more fully understood, referring now to being described below in conjunction with attached drawing, in which:
Fig. 1 diagrammatically illustrates the system tray of the processing method and processing device to report an error for backup according to the embodiment of the present disclosure
Composition;
Fig. 2 diagrammatically illustrates the flow chart of the processing method to report an error for backup according to the embodiment of the present disclosure;
Fig. 3 diagrammatically illustrates the process that order is brought up again for backup strategy generation strategy according to the embodiment of the present disclosure
Figure;
Fig. 4 diagrammatically illustrates the block diagram of the processing unit to report an error for backup according to the embodiment of the present disclosure;And
Fig. 5 diagrammatically illustrates the block diagram of the electronic equipment according to the embodiment of the present disclosure.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary
, and it is not intended to limit the scope of the present disclosure.In the following detailed description, to elaborate many specific thin convenient for explaining
Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin
It can also be carried out in the case where section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid
Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein
The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of
Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood
Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification
Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to
Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C "
Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or
System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come
Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least
One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have
B and C, and/or the system with A, B, C etc.).
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart
Frame or combinations thereof can be realized by computer program instructions.These computer program instructions can be supplied to general purpose computer,
The processor of special purpose computer or other programmable data processing units, so that these instructions are when executed by this processor can be with
Creation is for realizing function/operation device illustrated in these block diagrams and/or flow chart.The technology of the disclosure can be hard
The form of part and/or software (including firmware, microcode etc.) is realized.In addition, the technology of the disclosure, which can be taken, is stored with finger
The form of computer program product on the computer readable storage medium of order, the computer program product is for instruction execution system
System uses or instruction execution system is combined to use.
Embodiment of the disclosure provides a kind of processing method to report an error for backup and the needle that can apply this method
The processing unit to report an error to backup.This method includes obtaining backup to report an error inventory, and the backup inventory that reports an error is default for being recorded in
The one or more of backup error informations generated in period.It is standby for every in one or more of backup error informations
Part error information, determines corresponding backup strategy.For backup strategy, generation strategy brings up again order.Implementation strategy brings up again order,
Backup operation is executed to be directed to backup strategy again.
Fig. 1 diagrammatically illustrates the system tray of the processing method and processing device to report an error for backup according to the embodiment of the present disclosure
Structure 100.It should be noted that being only the example that can apply the system architecture of the embodiment of the present disclosure shown in Fig. 1, to help ability
Field technique personnel understand the technology contents of the disclosure, but are not meant to that the embodiment of the present disclosure may not be usable for other equipment, be
System, environment or scene.
As shown in Figure 1, system architecture 100 may include storage equipment 101,102,103, network according to this embodiment
104 and server 105.Network 104 is used to provide communication link between storage equipment 101,102,103 and server 105.
Storage equipment 101,102,103 for example can be server.It can store in storage equipment 101,102,103 each
Kind needs the data backed up.Network 104 may include various connection types, such as wired, wireless communication link or optical fiber electricity
Cable etc..Server 105 can be to provide the server of data backup function, can also be that being directed to backup reports an error to the backup
Report an error carry out processing and to the backup report an error corresponding Backup Data carry out supplement backup server.Implemented according to the disclosure
Example, in business low peak period, server 105 obtains the data for needing to back up in storage equipment 101,102,103 by network 104,
The data of acquisition are backed up.The case where reporting an error for backup, server 105 can automatically collect error information,
Order is brought up again according to the result generation strategy collected, and executes the strategy and brings up again order completion data supplement backup.
It should be noted that the processing method to report an error provided by the embodiment of the present disclosure for backup can be by server
105 execute.Correspondingly, the processing unit to report an error provided by the embodiment of the present disclosure for backup can be set in server 105
In.Alternatively, the processing method to report an error provided by the embodiment of the present disclosure for backup can also be by being different from server 105 and energy
Enough servers communicated with storage equipment 101,102,103 and/or server 105 or server cluster execute.Correspondingly, this public affairs
Opening the processing unit to be reported an error provided by embodiment for backup also can be set in being different from server 105 and can be with storage
In the server or server cluster that equipment 101,102,103 and/or server 105 communicate.Alternatively, the embodiment of the present disclosure is mentioned
The storage equipment of confession can also be executed partially by server 105, partially be executed by storage equipment 101,102,103.Correspondingly, this
Data processing equipment provided by open embodiment can also be partially set in server 105, partially be set to storage equipment
101, in 102,103.
It should be understood that the number of storage equipment, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of storage equipment, network and server.
Fig. 2 diagrammatically illustrates the flow chart of the processing method to report an error for backup according to the embodiment of the present disclosure.
As shown in Fig. 2, the embodiment of the present disclosure for the processing method that reports an error of backup for example may include operation S201~
Operate S204.
In operation S201, obtain backup and report an error inventory, the backup report an error inventory for record generate within a preset period of time
One or more of backup error informations.
During data backup, it may appear that data backup mistake, such as unknown data library, can not connect database it
Mistake, backup interruption of class etc..In order to guarantee the reliability of Backup Data, for backup mistake, bank is daily pre-
Fix time it is interior can generate backup and report an error inventory, data are carried out according to the backup mistake inventory to mend standby (supplement standby so as to subsequent
Part).In order to not influence normal vocational work, the predetermined time is for example, it can be set to when other other than between in normal work
Between.Such as it is daily come off duty after or daily working before or the dinner hour, the specific predetermined time disclosure is with no restrictions.
The case where according to daily data backup, the backup inventory that reports an error may include one or more error information.Every
Error information for example may include report an error code, the time that reports an error, report an error targeted backup content where server, report an error institute
For backup strategy and type of backup.
It should be understood that in the embodiments of the present disclosure, the different codes that reports an error can for example indicate different backup mistake classes
Type.It should be noted that the type that reports an error represented by the code that reports an error can specifically be set according to the actual situation, the disclosure is not done
Limitation.
Time that reports an error can refer in backup procedure that backup reports an error specific time of generation.
Server where the backup content for reporting an error targeted can be the host for needing to back up where content.For bank
For, the business of different sales counter processing is different.For example some sales counters handle saving service, some sales counters handle card industry
Business, some sales counters handle business of opening an account, and the data of the corresponding client of different business is stored in different hosts.In order to subsequent
It can preferably carry out mending the recovery of standby or data, can also host be divided to be backed up in backup procedure.
For the targeted backup strategy that reports an error, title for example be can be set are as follows: backup place application code data library
Instance Name frequency of your backups retention periods.Such as:
DCCBJ_F-NETM-006ORACLE.EBANKMON_FULL_1D1_1W。
Wherein 1D1 is backup cycle, and 1D1 indicates that daily backup is primary, and 1W2 indicates backup in one week twice, and so on.
In the embodiments of the present disclosure, type of backup can be divided into database standby (Ora_Full) entirely according to actual needs,
Database filing (Ora_Arch), file backup (FS_Full) etc..
It is reported an error the generation of inventory based on above-mentioned backup, can be realized that backup reports an error collects automatically.
Next, in operation S202, for every backup error information in one or more of backup error informations, really
Fixed corresponding backup strategy.
In order to realize the automatic management of backup, the continuity of backup is safely and effectively promoted, during mending standby, difference is standby
The corresponding backup error information processing mode of part strategy is different.Therefore, before executing specific mend for operation, tool can be first determined
The backup strategy of body can be completed with specific reference to the backup inventory that reports an error of generation.As described in operating S201, which is every
The backup strategy that day executes backs up backup strategy twice for one week or backs up primary backup strategy January etc..It is daily to execute
Backup strategy for example can be the data for reference that client or bank itself generate daily, back up primary backup plan January
It slightly for example can be the vital data that client or bank itself generate.
Then, in operation S203, for backup strategy, generation strategy brings up again order.
According to the backup strategy type that operation S202 is determined, the backup strategy that order is brought up again in needs generation backup is generated standby
Part brings up again order, order write-in back-up processing script is brought up again in the backup of generation, and generate the standby business list of benefit.To without generating
The backup strategy that order is brought up again in backup is not processed.Specific what type of backup strategy, which needs to generate, brings up again order according to reality
Depending on demand, the disclosure is with no restrictions.
Subsequently, in operation S204, implementation strategy brings up again order, again for backup error or the backup of backup failure
Strategy execution backup operation.
It is obtained based on operation S203 for the backup strategy of backup error and mends standby business list and include that strategy brings up again life
The back-up processing script of order executes the back-up processing script according to standby business list is mended, concentration can be completed and mend standby work.It should
Understand, the time of the standby operation of execution benefit for example can choose business offpeak period, such as can be daily next later or daily
It goes to work the former or dinner hour.It should be noted that the disclosure is with no restrictions for the specific predetermined time.
The present embodiment is reported an error inventory by generating backup, and may be implemented that backup reports an error collects automatically.And according to collecting
Information, may further determine that backup strategy, with generation strategy bring up again order mend it is standby.To realize the automatic pipe of backup
Reason, and then the continuity of backup can be safely and effectively promoted, reduce the dependence to maintenance personnel.
The embodiment of the present disclosure in order to facilitate understanding, Fig. 3 are diagrammatically illustrated according to the embodiment of the present disclosure for backup plan
Omit the flow chart that generation strategy brings up again order.As shown in figure 3, the backup strategy generation strategy of the embodiment of the present disclosure brings up again command stream
Journey for example may include operation S301~operation S308.It will be understood by those skilled in the art that raw for backup strategy shown in Fig. 3
The method for bringing up again order at strategy is merely illustrative, and the embodiment of the present disclosure is not limited thereto.
In operation S301, determine whether backup strategy is the backup strategy executed daily.
Next, in operation S302, however, it is determined that backup strategy is the backup strategy executed daily, then without being handled,
Backup software Veritas Netbackup (NBU) can carry out mending standby automatically.
Then, in operation S303, however, it is determined that backup strategy is not the backup strategy executed daily, then needs to further determine that this
The corresponding file backup type of backup strategy is DB Backup or file backup.
Subsequently, operation S304, however, it is determined that type of backup corresponding to backup strategy is file backup, then directly against
The backup strategy generation strategy brings up again order, and strategy is brought up again order write-in back-up processing script.Wherein, which brings up again life
It enables and carries out mending standby order comprising the file to backup mistake.
Then, in operation S305, however, it is determined that type of backup corresponding to backup strategy is DB Backup, then needs further
Determine whether the database backup file is completed to back up.
Then, in operation S306, however, it is determined that database backup file does not back up completion, and the backup information obtained at this time is
Garbage.It in order to optimize the memory space of backup, then needs first to generate backup clear command, useless backup information is carried out
Automatic cleaning.The generation strategy for executing operation S304 for the backup strategy again brings up again order, and it is standby that strategy is brought up again order write-in
Part processing script.The clear command includes such as software program or script.Then, in operation S307, however, it is determined that DB Backup
Whether file has backed up completion, then need the retention period for further determining that archive file and database backup file consistent.
Wherein, however, it is determined that the retention period of archive file and database backup file is inconsistent, then jumps to operation S306,
Useless backup information is cleared up automatically first, then jumps to operation S304 for the backup strategy, thus generation strategy weight
Order is proposed, and strategy is brought up again into order write-in back-up processing script.
Subsequently, in operation S308, however, it is determined that archive file is consistent with the retention period of database backup file, then is not necessarily to
It is handled, backup software Veritas Netbackup (NBU) can carry out mending standby automatically.
The embodiment of the present disclosure pass through determine backup strategy whether be daily backup strategy, to be not back up daily strategy into
One step determines data backup type, with generation strategy bring up again order mend it is standby, so as to realize the automatic management of backup, into
And the continuity of backup can be safely and effectively promoted, the dependence to maintenance personnel is reduced, maintenance cost is reduced.And it is directed to nothing
Backup information can also generate backup clear command and be cleared up, and optimize back up memory space, and can preferably cope with not
To apply the growth with portfolio.
Fig. 4 diagrammatically illustrates the block diagram of the processing unit to report an error for backup according to the embodiment of the present disclosure.
As shown in figure 4, for example may include obtaining module 401, determining module for the processing unit 400 that backup reports an error
402, generation module 403 and execution module 404.The processing unit can execute the side described above with reference to embodiment of the method part
Method.
Specifically, it obtains module 401 and for example can be used for obtaining backup and report an error inventory, backup reports an error inventory for being recorded in
The one or more of backup error informations generated in preset time period.
Determining module 402 for example can be used for the letter that reports an error for every backup in one or more of backup error informations
Breath, determines corresponding backup strategy.
Generation module 403 for example can be used for for backup strategy, and generation strategy brings up again order.
Execution module 404 for example can be used for implementation strategy and bring up again order, execute backup behaviour to be directed to backup strategy again
Make.
It should be noted that the way of example of device part is corresponding with the way of example of method part similar, and
Technical effect achieved also corresponds to similar, and details are not described herein.
Any number of or in which any number of at least partly functions in module according to an embodiment of the present disclosure can be with
It is realized in a module.Multiple modules can be split into according to any one or more in the module of the embodiment of the present disclosure
To realize.Hardware electricity can be at least implemented partly as according to any one or more in the module of the embodiment of the present disclosure
Road, such as field programmable gate array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, encapsulation
On system, specific integrated circuit (ASIC), or can be by carrying out any other reasonable side that is integrated or encapsulating to circuit
The hardware or firmware of formula realizes, or with any one in three kinds of software, hardware and firmware implementations or with wherein any
It is several appropriately combined to realize.Alternatively, can be at least by part according to one or more of module of the embodiment of the present disclosure
Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, obtain module 401, determining module 402, any number of in generation module 403 and execution module 404 can be with
Merging is realized in a module or any one module therein can be split into multiple modules.Alternatively, these modules
In at least partly functions of one or more modules can be combined at least partly function of other modules, and in a mould
It is realized in block.In accordance with an embodiment of the present disclosure, module 401, determining module 402, generation module 403 and execution module 404 are obtained
At least one of can at least be implemented partly as hardware circuit, such as it is field programmable gate array (FPGA), programmable
Logic array (PLA), system on chip, the system on substrate, the system in encapsulation, specific integrated circuit (ASIC), or can lead to
Cross and the hardware such as any other rational method that is integrated or encapsulating or firmware carried out to realize to circuit, or with software, hardware with
And it any one in three kinds of implementations of firmware or several appropriately combined is realized with wherein any.Alternatively, obtaining module
401, at least one of determining module 402, generation module 403 and execution module 404 can at least be implemented partly as counting
Calculation machine program module can execute corresponding function when the computer program module is run.
Fig. 5 diagrammatically illustrates the block diagram of the electronic equipment according to the embodiment of the present disclosure.Electronic equipment shown in Fig. 5 is only
An example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 5, electronic equipment 500 includes processor 510, computer readable storage medium 520.The electronic equipment
500 can execute the method according to the embodiment of the present disclosure.
Specifically, processor 510 for example may include general purpose microprocessor, instruction set processor and/or related chip group
And/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processor 510 can also include using for caching
The onboard storage device on way.Processor 510 can be the different movements for executing the method flow according to the embodiment of the present disclosure
Single treatment unit either multiple processing units.
Computer readable storage medium 520, such as can be non-volatile computer readable storage medium, specific example
Including but not limited to: magnetic memory apparatus, such as tape or hard disk (HDD);Light storage device, such as CD (CD-ROM);Memory, such as
Random access memory (RAM) or flash memory etc..
Computer readable storage medium 520 may include computer program 521, which may include generation
Code/computer executable instructions execute processor 510 according to the embodiment of the present disclosure
Method or its any deformation.
Computer program 521 can be configured to have the computer program code for example including computer program module.Example
Such as, in the exemplary embodiment, the code in computer program 521 may include one or more program modules, for example including
521A, module 521B ....It should be noted that the division mode and number of module are not fixation, those skilled in the art can
To be combined according to the actual situation using suitable program module or program module, when these program modules are combined by processor 510
When execution, processor 510 is executed according to the method for the embodiment of the present disclosure or its any deformation.
It obtains in module 401, determining module 402, generation module 403 and execution module 404 in accordance with an embodiment of the present disclosure
At least one can be implemented as with reference to Fig. 5 description computer program module, by processor 510 execute when, Ke Yishi
Existing corresponding operating described above.
The disclosure additionally provides a kind of computer readable storage medium, which can be above-mentioned reality
Apply included in equipment/device/system described in example, be also possible to individualism, and without be incorporated the equipment/device/
In system.Above-mentioned computer readable storage medium carries one or more program, when said one or multiple program quilts
When execution, the method according to the embodiment of the present disclosure is realized.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, 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 above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, specifically be depended on the functions involved.
It should be noted that the combination of block diagram or each box in flow chart and the box in block diagram or flow chart, can use execution
The dedicated hardware based systems of defined functions or operations realizes, or can use specialized hardware and computer instruction
Combination is to realize.
It will be understood by those skilled in the art that although showing and describing referring to the certain exemplary embodiments of the disclosure
The disclosure, it will be appreciated by those skilled in the art that in this public affairs limited without departing substantially from the following claims and their equivalents
In the case where the spirit and scope opened, a variety of changes in form and details can be carried out to the disclosure.Therefore, the model of the disclosure
It encloses and should not necessarily be limited by above-described embodiment, but should be not only determined by appended claims, also by appended claims
Equivalent be defined.
Claims (10)
1. a kind of processing method to report an error for backup, comprising:
Backup is obtained to report an error inventory, the backup report an error inventory for record generate within a preset period of time it is one or more of
Backup error information;
For every backup error information in the one or more of backup error informations, corresponding backup strategy is determined;
For the backup strategy, generation strategy brings up again order;And
It executes the strategy and brings up again order, execute backup operation to be directed to the backup strategy again.
It is described to generate the strategy for the backup strategy and bring up again order 2. according to the method described in claim 1, wherein,
Include:
Determine whether the backup strategy is the backup strategy executed daily;And
If it is determined that the backup strategy is not the backup strategy executed daily, then the strategy weight for the backup strategy is generated
Propose order.
3. described if it is determined that the backup strategy is not the backup executed daily according to the method described in claim 2, wherein
Strategy, the then strategy generated for the backup strategy bring up again order, comprising:
If it is determined that the backup strategy is not the backup strategy executed daily, further determine that corresponding to the backup strategy
Whether type of backup is file backup;And
If it is determined that type of backup corresponding to the backup strategy is file backup, then generated directly against the backup strategy
The strategy brings up again order.
4. according to the method described in claim 3, wherein, the method also includes:
If it is determined that type of backup corresponding to the backup strategy is not file backup, it is determined that corresponding to the backup strategy
Type of backup be DB Backup;
Determine whether database backup file backs up completion;And
If it is determined that the database backup file does not back up completion, then backup clear command is first generated, the plan is regenerated
Order is slightly brought up again,
Wherein, the backup clear command, which is used to indicate, removes the database backup file.
5. according to the method described in claim 4, wherein, the method also includes:
If it is determined that the database backup file has backed up completion, it is determined that archive file and the database backup file
Whether retention period is consistent;And
If it is determined that the retention period of the archive file and the database backup file is inconsistent, then also first generate described standby
Part clear command, regenerates the strategy and brings up again order.
6. according to the method described in claim 1, wherein, the method also includes:
The backup is generated in daily predetermined time to report an error inventory.
7. according to the method described in claim 1, wherein, every error information includes: report an error code, the time that reports an error, report
Server where wrong targeted backup content, report an error targeted backup strategy.
8. a kind of processing unit to report an error for backup, comprising:
Obtain module, report an error inventory for obtaining backup, the backup report an error inventory for record generate within a preset period of time
One or more of backup error informations;
Determining module, every backup error information for being directed in the one or more of backup error informations, determining pair
The backup strategy answered;
Generation module, for being directed to the backup strategy, generation strategy brings up again order;And
Execution module brings up again order for executing the strategy, executes backup operation to be directed to the backup strategy again.
9. a kind of electronic equipment, comprising:
One or more processors;
Memory, for storing one or more programs,
Wherein, when one or more of programs are executed by one or more of processors, so that one or more of
Processor realizes method described in any one of claims 1 to 7.
10. a kind of computer readable storage medium, is stored with computer executable instructions, described instruction is used for reality when executed
Method described in existing any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910687655.3A CN110413438A (en) | 2019-07-26 | 2019-07-26 | The treating method and apparatus to report an error for backup |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910687655.3A CN110413438A (en) | 2019-07-26 | 2019-07-26 | The treating method and apparatus to report an error for backup |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110413438A true CN110413438A (en) | 2019-11-05 |
Family
ID=68363727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910687655.3A Pending CN110413438A (en) | 2019-07-26 | 2019-07-26 | The treating method and apparatus to report an error for backup |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110413438A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111400097A (en) * | 2020-03-16 | 2020-07-10 | 中国邮政储蓄银行股份有限公司 | Data backup method, device, system and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105095022A (en) * | 2015-07-31 | 2015-11-25 | 北京金山安全软件有限公司 | Data backup method and device |
US20160170823A1 (en) * | 2014-12-11 | 2016-06-16 | Pure Storage, Inc. | Cloud alert to replica |
CN107193687A (en) * | 2017-04-18 | 2017-09-22 | 北京潘达互娱科技有限公司 | Database backup method and controlling equipment |
-
2019
- 2019-07-26 CN CN201910687655.3A patent/CN110413438A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160170823A1 (en) * | 2014-12-11 | 2016-06-16 | Pure Storage, Inc. | Cloud alert to replica |
CN105095022A (en) * | 2015-07-31 | 2015-11-25 | 北京金山安全软件有限公司 | Data backup method and device |
CN107193687A (en) * | 2017-04-18 | 2017-09-22 | 北京潘达互娱科技有限公司 | Database backup method and controlling equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111400097A (en) * | 2020-03-16 | 2020-07-10 | 中国邮政储蓄银行股份有限公司 | Data backup method, device, system and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9170888B2 (en) | Methods and apparatus for virtual machine recovery | |
CN102981931B (en) | Backup method and device for virtual machine | |
US9015527B2 (en) | Data backup and recovery | |
CN101589371B (en) | Method and system for transparent backup to a hierarchical storage system | |
CN100573464C (en) | Recover device, the system and method for multivolume data set | |
CN103761165B (en) | Log backup method and device | |
CN109582443A (en) | Virtual machine standby system based on distributed storage technology | |
US9342390B2 (en) | Cluster management in a shared nothing cluster | |
CN104239444B (en) | The consistent data protection of oracle database and the method for capture coherency state | |
CN102385537B (en) | Disk failure processing method of multi-copy storage system | |
CN106933843A (en) | database heartbeat detecting method and device | |
CN104735107A (en) | Recovery method and device for data copies in distributed storage system | |
CN108958991A (en) | Clustered node failure business quick recovery method, device, equipment and storage medium | |
WO2017014814A1 (en) | Replicating memory volumes | |
CN107272669B (en) | A kind of airborne Fault Management System | |
CN110413438A (en) | The treating method and apparatus to report an error for backup | |
CN107451014A (en) | A kind of data reconstruction method and device | |
CN110737504A (en) | deep learning model training fault-tolerant method, system, terminal and storage medium | |
CN108460163A (en) | K-DB method for synchronizing data of database, device, equipment and storage medium | |
CN108536822A (en) | Data migration method, device, system and storage medium | |
CN106407385A (en) | Data management method and system, and equipment | |
CN115878386A (en) | Disaster recovery method and device, electronic equipment and storage medium | |
US11474707B2 (en) | Data loss recovery in a secondary storage controller from a primary storage controller | |
CN115080309A (en) | Data backup system, method, storage medium, and electronic device | |
JP5341062B2 (en) | Method and system for identifying data processed by a data storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191105 |
|
RJ01 | Rejection of invention patent application after publication |