CN105740098A - Determination method and system for stale data among backup data - Google Patents

Determination method and system for stale data among backup data Download PDF

Info

Publication number
CN105740098A
CN105740098A CN201610053528.4A CN201610053528A CN105740098A CN 105740098 A CN105740098 A CN 105740098A CN 201610053528 A CN201610053528 A CN 201610053528A CN 105740098 A CN105740098 A CN 105740098A
Authority
CN
China
Prior art keywords
data
backup data
backup
tape
stale
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
Application number
CN201610053528.4A
Other languages
Chinese (zh)
Inventor
付丽莉
于建彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201610053528.4A priority Critical patent/CN105740098A/en
Publication of CN105740098A publication Critical patent/CN105740098A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1461Backup scheduling policy
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0682Tape device

Abstract

The present invention discloses a determination method for stale data among backup data. The method comprises: setting a numerical value of a stale parameter of backup data, wherein the stale parameter comprises the number of stored versions of the backup data and/or the number of storage days of the backup data; acquiring data of the stale parameter of the backup data; determining whether the acquired data has data that is greater than the numerical value of the stale parameter; and if yes, using the backup data, which is greater than the set numerical value of the stale parameter, among the data as stale data. According to the method, which data is stale data can be reasonably and accurately determined. The present invention further discloses a determination system for stale data among backup data.

Description

The decision method of stale data and system in Backup Data
Technical field
The present invention relates to data processing field, particularly to the decision method of stale data in a kind of Backup Data and system.
Background technology
Continuous growth along with server mass data, the volume of data becomes more and more huger, but the destruction of data is difficult to predict, is also diversified, therefore to ensure can complete whenever and wherever possible the complete recovery of data, it is necessary to the standby system of Erecting and improving.Big to natural disaster, little of virus, power failure or even operator's accidental operation error, all can influential system properly functioning, even cause this system to paralyse completely.The task of data backup and meaning are that, after disaster occurs, complete, quick, simple and direct by the data backed up, reliably recover original system.
Backup several big technology in, hard-disc storage, optical storage, tape storage, all have been carried out Large Copacity, it appears that can serve as the selection of backup scenario.However, it is contemplated that the problem of storage medium unit cost, only tape technologies is just really suitable for data backup memory equipment.With the hard disk price of a TB rank capacity at several thousand yuan, if converted to tape cost is only the 20%---30% of hard disk.It is true that tape technologies is always up the storage backup technology of first-selection for a long time, tape-shaped medium's can not only provide high power capacity, high reliability and manageability, and valency is cheaply more a lot of than CD, disk.
It is stored in the Backup Data on tape, along with backup number of times more, the backup version produced increases therewith, same file is pressed from both sides timing every day and once backs up by such as user, so have 30 backup versions after one month, these versions might not be all that user wishes storage, such as user only wants to the storage data of nearest a week, so above the data of 23 days all will become stale data, and these data also take up substantial amounts of memory space, how these stale datas are discharged, become the focus of research.Generally, backup software is all that a storage pool is set a fixing retention cycle, is unrestrictedly such as that Backup Data is never expired;Or one week i.e. Backup Data becomes stale data after 7 days, but the data on magnetic tape reel, it is possible to and only part is expired, as long as so there being not out of date data, this tape is impossible to be recovered, and greatly wastes memory space.Therefore, how to judge the stale data in Backup Data accurately and how accurately stale data to be processed, to be those skilled in the art's technical issues that need to address.
Summary of the invention
It is an object of the invention to provide the decision method of stale data in a kind of Backup Data, the method can judge which data is stale data rationally, exactly;It is a further object of the present invention to provide the decision-making system of stale data in a kind of Backup Data.
For solving above-mentioned technical problem, the present invention provides the decision method of stale data in a kind of Backup Data, including:
The numerical value of the expiration parameters of Backup Data is set;Wherein, described expiration parameters includes the version preservation number of Backup Data and/or the preservation natural law of Backup Data;
Obtain the data of the expiration parameters of Backup Data;
Judge whether the described data obtained exist the numerical value more than the described expiration parameters arranged;
If existing, then using Backup Data corresponding more than the numerical value of described expiration parameters arranged for the described data obtained as stale data.
Wherein, described expiration parameters also includes:
The version of the Backup Data deleted preserves the preservation natural law of the Backup Data of number and/or deletion.
Wherein, obtain the data of the expiration parameters of Backup Data, including:
When detect produce new Backup Data time, obtain the version number of new Backup Data, and described version number is subtracted 1 obtain judging version number;
Obtain the data of the expiration parameters of Backup Data corresponding to described judgement version number.
Wherein, also include:
Every predetermined period, often dish tape is all scanned, obtains the proportional numerical value of stale data on every dish tape;
Judge whether described proportional numerical value exceedes recovery threshold value;
If so, then the valid data on corresponding tape are moved in predetermined tape, and by the space release of corresponding tape.
Wherein, it is judged that whether described proportional numerical value exceedes recovery threshold value includes:
Calculate described proportional numerical value and exceed the number reclaiming tape quantity corresponding to threshold value;
Judge whether described number exceedes predetermined value;
If so, then the valid data on corresponding tape are moved in predetermined tape, and by the space release of corresponding tape.
Wherein, the valid data on corresponding tape are moved in predetermined tape, and before the space release of corresponding tape, also will include:
When being absent from unnecessary driver, the system that the priority of the backup tasks of user is set above reclaims the priority of task;
When there is unnecessary driver, the priority that the priority of the backup tasks of user and system reclaim task is set to identical.
The present invention provides the decision-making system of stale data in a kind of Backup Data, including:
Parameter values module is set, for arranging the numerical value of the expiration parameters of Backup Data;Wherein, described expiration parameters includes the version preservation number of Backup Data and/or the preservation natural law of Backup Data;
Data acquisition module, for obtaining the data of the expiration parameters of Backup Data;
First judge module, for judging whether the described data obtained exist the numerical value more than the described expiration parameters arranged;
Stale data determination module, if for existing, then using Backup Data corresponding more than the numerical value of described expiration parameters arranged for the described data obtained as stale data.
Wherein, described data acquisition module includes:
Version number's acquiring unit, for when detect produce new Backup Data time, obtain the version number of new Backup Data, and described version number is subtracted 1 obtain judging version number;
Data capture unit, for obtaining the data of the expiration parameters of Backup Data corresponding to described judgement version number.
Wherein, also include:
Scan module, for every predetermined period, is all scanned often dish tape, obtains the proportional numerical value of stale data on every dish tape;
Second judge module, is used for judging whether described proportional numerical value exceedes recovery threshold value;
If so, space reclamation module, for then moving to the valid data on corresponding tape in predetermined tape, and by the space release of corresponding tape.
Wherein, also include:
Priority arranges module, and for when being absent from unnecessary driver, the system that the priority of the backup tasks of user is set above reclaims the priority of task;When there is unnecessary driver, the priority that the priority of the backup tasks of user and system reclaim task is set to identical.
The decision method of stale data in Backup Data provided by the present invention, including: the numerical value of the expiration parameters of Backup Data is set;Wherein, described expiration parameters includes the version preservation number of Backup Data and/or the preservation natural law of Backup Data;Obtain the data of the expiration parameters of Backup Data;Judge whether the described data obtained exist the numerical value more than the described expiration parameters arranged;If existing, then using Backup Data corresponding more than the numerical value of described expiration parameters arranged for the described data obtained as stale data;The method is by obtaining the real data of the expiration parameters of Backup Data, and is compared by the numerical value of these data Yu setting, so that it is determined that the stale data in Backup Data;And this method chooses the version of rational Backup Data and preserves the preservation natural law of number and/or Backup Data;Therefore the method can judge which data is stale data rationally, exactly;Present invention also offers the decision-making system of stale data in a kind of Backup Data.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
The flow chart of the decision method of stale data in the Backup Data that Fig. 1 provides for the embodiment of the present invention;
The structured flowchart of the decision-making system of stale data in the Backup Data that Fig. 2 provides for the embodiment of the present invention;
The structured flowchart of the decision-making system of stale data in another Backup Data that Fig. 3 provides for the embodiment of the present invention.
Detailed description of the invention
The core of the present invention is to provide in a kind of Backup Data the decision method of stale data, and the method can judge which data is stale data rationally, exactly;Another core of the present invention is to provide in a kind of Backup Data the decision-making system of stale data.
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Refer to the flow chart of the decision method of stale data in the Backup Data that Fig. 1, Fig. 1 provide for the embodiment of the present invention;The method may include that
S100, the numerical value of the expiration parameters of Backup Data is set;Wherein, described expiration parameters includes the version preservation number of Backup Data and/or the preservation natural law of Backup Data;
S110, obtain the data of expiration parameters of Backup Data;
S120, judge whether the described data obtained exist more than the numerical value of described expiration parameters arranged;
If S130 exists, then using Backup Data corresponding more than the numerical value of described expiration parameters arranged for the described data obtained as stale data.
Wherein, will accurately determining the stale data in Backup Data, user needs the feature of the data according to tape backup to select the numerical value of expiration parameters;Here expiration parameters can include the version of Backup Data and preserve the version preservation number preserving natural law or Backup Data of number or Backup Data and the preservation natural law of Backup Data;Certain user can also according to self needing to be added such as optionally, and described expiration parameters also includes: the version of the Backup Data of deletion preserves the preservation natural law of the Backup Data of number and/or deletion.
And the numerical value that the kind of the expiration parameters of selection here and each expiration parameters set is determined according to user's practical operation, and user selected expiration parameters can be set as " with " or the relation of "or" concrete numerical value and kind are not defined.
Such as being controlled by four expiration parameters, (1) NOVE (2) DOS (3) VOID (4) DAD, whether expired user, by setting these four expiration parameters, manage Backup Data.
(1) abbreviation of NOVE and numberofversionexist;The number preserving version for Backup Data (the concrete least unit that embodies is file).Maximum version quantity that this parameter is limited in storage pool user and preserves.
(2) abbreviation of DOS and daystosave;Natural law for the preservation of Backup Data (the concrete least unit that embodies is file).The length of the time that this parameter is limited in storage pool user and preserves.
(3) abbreviation of VOID and versiononlyifdelete;For Backup Data (the concrete least unit that embodies is file) after being deleted, the number of the version retained in storage pool.This parameter restriction user's data for having deleted, are saved in storage pool version number.
(4) abbreviation of DAD and daysafterdelete;For Backup Data (the concrete least unit that embodies is file) after being deleted, the natural law retained in storage pool.This parameter restriction user's data for having deleted, are saved in the natural law in storage pool.
Here these four parameters can be all the relation of "or", and namely which condition no matter the Backup Data in backup set first reach, and is just noted as stale data.
Wherein, the Backup Data of new version is produced owing to Backup Data can increase over time, therefore to ensure the reliability of data, last backup version is never expired, the i.e. data of last backup, to be all valid data, when only new backup version produces, a upper version just can enter stale data judgment mechanism and judge.
Therefore, optionally, the data of the expiration parameters of Backup Data are obtained, including:
When detect produce new Backup Data time, obtain the version number of new Backup Data, and described version number is subtracted 1 obtain judging version number;
Obtain the data of the expiration parameters of Backup Data corresponding to described judgement version number.
Wherein, after determining the stale data in Backup Data here, stale data is carried out expired mark, in order to identify stale data.
A specific embodiment is set forth below illustrate:
Such as user sets four parameters respectively (1) NOVE=2;(2) DOS=30;(3) VOID=1;(4) DAD=90;When the file content specified is backed-up by user, in such as file 1, there are tetra-files of A, B, C, D;Every day carries out incremental backup, then when deferring to principle defined above, and data will store in following manner:
First day, Backup Data ABCD;
Second day, file B did not change, and file ACD change is called A1C1D1;
3rd day, file D1 did not change, and file A1BC1 becomes A2B1C2 respectively;Because user sets NOVE=2, when A2 produces, storage pool only retains two versions of A1 and A2;
4th day, file C2 did not change, and file A2B1D1 is changed to A3B2D2 respectively;When A3 produces, because user sets NOVE=2, therefore A1 is expired;
Assume that any change did not occur data again from the 5th day to the 30th day;
When the 31st day, data A1C1D1 is expired, because they meet DOS=30 namely stores the condition retaining 30 days;
32nd day, B1 was expired;
33rd day, delete if A2 is by a user in file 1, then being retained in the A2 in storage pool will not be deleted immediately, unless after 90 days, just can be deleted when namely reaching DAD=90.If user wants to retain portion in storage pool for the data deleted, it is possible to set DAD=nolimited i.e. infinity.
Based on technique scheme, the decision method of stale data in the Backup Data that the embodiment of the present invention provides, can according to user's practical situation to Backup Data, choose expiration parameters, and suitable numerical value is set for expiration parameters, judge the stale data in Backup Data according to the expiration parameters arranged and numerical value thereof;Can judge which data is stale data rationally, exactly.
Based on above-described embodiment, the method can also include in another embodiment:
Every predetermined period, often dish tape is all scanned, obtains the proportional numerical value of stale data on every dish tape;
Wherein, predetermined period here can be one hour, it is also possible to is one day etc..
Judge whether described proportional numerical value exceedes recovery threshold value;
Wherein, threshold value here can be unified threshold value such as 70%, it is also possible to be that user arranges different threshold values according to the feature of the Backup Data of each tape storage;
If so, then the valid data on corresponding tape are moved in predetermined tape, and by the space release of corresponding tape.
Wherein, as long as can be detect the presence of the tape of recoverys threshold value that proportional numerical value exceedes correspondence here, tape recovery be just performed immediately;The tape quantity of threshold value can also be above when reaching certain numerical value, perform tape and reclaim;Therefore optional, it is judged that whether described proportional numerical value exceedes recovery threshold value includes:
Calculate described proportional numerical value and exceed the number reclaiming tape quantity corresponding to threshold value;
Judge whether described number exceedes predetermined value;
If so, then the valid data on corresponding tape are moved in predetermined tape, and by the space release of corresponding tape.
Wherein, when threshold value is different, each threshold value sum obtaining the tape that proportional numerical value exceedes corresponding recovery threshold value meets tape corresponding during predetermined value such as 100% or 90%, they are recovered in a disk, it is possible to prevent valid data in tape to be distributed to the utilization rate that can also improve idle tape in different tape.
Such as expired data, made expired mark, the ratio of stale data on meeting periodic scanning often dish tape, such as reach user and set a recovery threshold value, when the labeled stale data on magnetic tape reel reaches this threshold value, start and reclaim.The process reclaimed is moved on other magnetic tape reel by the valid data on tape, and discharges current tape.After reclaiming, originally valid data only have the tape of 25% and 70% to be released, and after their valid data are migrated on other magnetic tape reel, the valid data of this dish tape are 95%.By the tape that original valid data are 25% and 70% after reclaiming above, when valid data have migrated to after on other tapes, it is marked as idle tape, waits that user is again with writing backup data.
Based on above-described embodiment, in another embodiment the valid data on corresponding tape are moved in predetermined tape, and before the space release of corresponding tape, also will include:
When being absent from unnecessary driver, the system that the priority of the backup tasks of user is set above reclaims the priority of task;
When there is unnecessary driver, the priority that the priority of the backup tasks of user and system reclaim task is set to identical.
Wherein, triggering for space reclamation, reaching threshold value is a condition, if this tape now has the backup tasks being about to start, when there is no unnecessary driver, space reclamation module will wait that backup tasks terminates to trigger again, and namely the back-up job priority of user is higher than the automatic recovery of system.All of tape is once reclaimed judgement every predetermined period by system, and according to valid data number, automatic decision reclaims the time needed.If there being unnecessary driver, reclaimer operation will carry out while user ID.
Based on technique scheme, the decision method of stale data in the Backup Data that the embodiment of the present invention provides, the method may determine which data is expired, reset the migration strategy of valid data, just can discharge tape timely, realize space again with, again store with standby user data use, improve tape utilization rate.Regular reclaim mechanism, it is not necessary to human intervention, system enables reclaimer operation automatically.Stale data is all valid data on medium after reclaiming, and decreases storage medium space junk, improves the efficiency recovering data.
Embodiments providing the decision method of stale data in Backup Data, the method can reasonably accurate determine which is Backup Data.
In the Backup Data below embodiment of the present invention provided, the decision-making system of stale data is introduced, and in Backup Data described below, the decision-making system of stale data can mutually to should refer to the decision method of stale data in above-described Backup Data.
Refer to the structured flowchart of the decision-making system of stale data in the Backup Data that Fig. 2, Fig. 2 provide for the embodiment of the present invention;This system may include that
Parameter values module 100 is set, for arranging the numerical value of the expiration parameters of Backup Data;Wherein, described expiration parameters includes the version preservation number of Backup Data and/or the preservation natural law of Backup Data;
Data acquisition module 200, for obtaining the data of the expiration parameters of Backup Data;
First judge module 300, for judging whether the described data obtained exist the numerical value more than the described expiration parameters arranged;
Stale data determination module 400, if for existing, then using Backup Data corresponding more than the numerical value of described expiration parameters arranged for the described data obtained as stale data.
Optionally, described data acquisition module 200 includes:
Version number's acquiring unit, for when detect produce new Backup Data time, obtain the version number of new Backup Data, and described version number is subtracted 1 obtain judging version number;
Data capture unit, for obtaining the data of the expiration parameters of Backup Data corresponding to described judgement version number.
Based on above-described embodiment, refer to this system of Fig. 3 and also include:
Scan module 500, for every predetermined period, is all scanned often dish tape, obtains the proportional numerical value of stale data on every dish tape;
Second judge module 600, is used for judging whether described proportional numerical value exceedes recovery threshold value;
If so, space reclamation module 700, for then moving to the valid data on corresponding tape in predetermined tape, and by the space release of corresponding tape.
Based on above-described embodiment, this system also includes:
Priority arranges module, and for when being absent from unnecessary driver, the system that the priority of the backup tasks of user is set above reclaims the priority of task;When there is unnecessary driver, the priority that the priority of the backup tasks of user and system reclaim task is set to identical.
In description, each embodiment adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so what describe is fairly simple, relevant part illustrates referring to method part.
Professional further appreciates that, the unit of each example described in conjunction with the embodiments described herein and algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate the interchangeability of hardware and software, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel specifically can should be used for using different methods to realize described function to each, but this realization is it is not considered that beyond the scope of this invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can directly use the software module that hardware, processor perform, or the combination of the two is implemented.Software module can be placed in any other form of storage medium known in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above the decision method of stale data in Backup Data provided by the present invention and system are described in detail.Principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention.It should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention, it is also possible to the present invention carries out some improvement and modification, these improve and modify in the protection domain also falling into the claims in the present invention.

Claims (10)

1. the decision method of stale data in a Backup Data, it is characterised in that including:
The numerical value of the expiration parameters of Backup Data is set;Wherein, described expiration parameters includes the version preservation number of Backup Data and/or the preservation natural law of Backup Data;
Obtain the data of the expiration parameters of Backup Data;
Judge whether the described data obtained exist the numerical value more than the described expiration parameters arranged;
If existing, then using Backup Data corresponding more than the numerical value of described expiration parameters arranged for the described data obtained as stale data.
2. the decision method of stale data in Backup Data as claimed in claim 1, it is characterised in that described expiration parameters also includes:
The version of the Backup Data deleted preserves the preservation natural law of the Backup Data of number and/or deletion.
3. the decision method of stale data in Backup Data as claimed in claim 2, it is characterised in that obtain the data of the expiration parameters of Backup Data, including:
When detect produce new Backup Data time, obtain the version number of new Backup Data, and described version number is subtracted 1 obtain judging version number;
Obtain the data of the expiration parameters of Backup Data corresponding to described judgement version number.
4. the decision method of stale data in the Backup Data as described in any one of claims 1 to 3, it is characterised in that also include:
Every predetermined period, often dish tape is all scanned, obtains the proportional numerical value of stale data on every dish tape;
Judge whether described proportional numerical value exceedes recovery threshold value;
If so, then the valid data on corresponding tape are moved in predetermined tape, and by the space release of corresponding tape.
5. the decision method of stale data in Backup Data as claimed in claim 4, it is characterised in that judge whether described proportional numerical value exceedes recovery threshold value and include:
Calculate described proportional numerical value and exceed the number reclaiming tape quantity corresponding to threshold value;
Judge whether described number exceedes predetermined value;
If so, then the valid data on corresponding tape are moved in predetermined tape, and by the space release of corresponding tape.
6. the decision method of stale data in Backup Data as claimed in claim 4, it is characterised in that the valid data on corresponding tape are moved in predetermined tape, and before the space release of corresponding tape, also will include:
When being absent from unnecessary driver, the system that the priority of the backup tasks of user is set above reclaims the priority of task;
When there is unnecessary driver, the priority that the priority of the backup tasks of user and system reclaim task is set to identical.
7. the decision-making system of stale data in a Backup Data, it is characterised in that including:
Parameter values module is set, for arranging the numerical value of the expiration parameters of Backup Data;Wherein, described expiration parameters includes the version preservation number of Backup Data and/or the preservation natural law of Backup Data;
Data acquisition module, for obtaining the data of the expiration parameters of Backup Data;
First judge module, for judging whether the described data obtained exist the numerical value more than the described expiration parameters arranged;
Stale data determination module, if for existing, then using Backup Data corresponding more than the numerical value of described expiration parameters arranged for the described data obtained as stale data.
8. the decision-making system of stale data in Backup Data as claimed in claim 7, it is characterised in that described data acquisition module includes:
Version number's acquiring unit, for when detect produce new Backup Data time, obtain the version number of new Backup Data, and described version number is subtracted 1 obtain judging version number;
Data capture unit, for obtaining the data of the expiration parameters of Backup Data corresponding to described judgement version number.
9. the decision-making system of stale data in Backup Data as claimed in claim 7 or 8, it is characterised in that also include:
Scan module, for every predetermined period, is all scanned often dish tape, obtains the proportional numerical value of stale data on every dish tape;
Second judge module, is used for judging whether described proportional numerical value exceedes recovery threshold value;
If so, space reclamation module, for then moving to the valid data on corresponding tape in predetermined tape, and by the space release of corresponding tape.
10. the decision-making system of stale data in Backup Data as claimed in claim 9, it is characterised in that also include:
Priority arranges module, and for when being absent from unnecessary driver, the system that the priority of the backup tasks of user is set above reclaims the priority of task;When there is unnecessary driver, the priority that the priority of the backup tasks of user and system reclaim task is set to identical.
CN201610053528.4A 2016-01-26 2016-01-26 Determination method and system for stale data among backup data Pending CN105740098A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610053528.4A CN105740098A (en) 2016-01-26 2016-01-26 Determination method and system for stale data among backup data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610053528.4A CN105740098A (en) 2016-01-26 2016-01-26 Determination method and system for stale data among backup data

Publications (1)

Publication Number Publication Date
CN105740098A true CN105740098A (en) 2016-07-06

Family

ID=56246714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610053528.4A Pending CN105740098A (en) 2016-01-26 2016-01-26 Determination method and system for stale data among backup data

Country Status (1)

Country Link
CN (1) CN105740098A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357811A (en) * 2016-10-25 2017-01-25 广东欧珀移动通信有限公司 Backup data deleting method, backup data deleting device and backup data deleting system
CN107229538A (en) * 2017-05-31 2017-10-03 广州鼎甲计算机科技有限公司 A kind of method of file synthesis backup
WO2019127034A1 (en) * 2017-12-26 2019-07-04 华为技术有限公司 Expired backup processing method and backup server
CN110008060A (en) * 2019-03-12 2019-07-12 武汉光庭信息技术股份有限公司 Backup data store and loading method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799395A (en) * 2012-06-29 2012-11-28 华为技术有限公司 Dynamic balancing processing method and device for disk spaces and disk system
CN103049393A (en) * 2012-10-23 2013-04-17 北京奇虎科技有限公司 Method and device for managing memory space
CN105550328A (en) * 2015-12-18 2016-05-04 浪潮(北京)电子信息产业有限公司 Processing method and device of stale data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799395A (en) * 2012-06-29 2012-11-28 华为技术有限公司 Dynamic balancing processing method and device for disk spaces and disk system
CN103049393A (en) * 2012-10-23 2013-04-17 北京奇虎科技有限公司 Method and device for managing memory space
CN105550328A (en) * 2015-12-18 2016-05-04 浪潮(北京)电子信息产业有限公司 Processing method and device of stale data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
佚名: "SQL 2005,2008删除过期备份", 《百度文库》 *
佚名: "TSM单驱动器的磁带回收测试记录", 《百度文库》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357811A (en) * 2016-10-25 2017-01-25 广东欧珀移动通信有限公司 Backup data deleting method, backup data deleting device and backup data deleting system
CN106357811B (en) * 2016-10-25 2019-08-13 Oppo广东移动通信有限公司 A kind of delet method of Backup Data, apparatus and system
CN107229538A (en) * 2017-05-31 2017-10-03 广州鼎甲计算机科技有限公司 A kind of method of file synthesis backup
WO2019127034A1 (en) * 2017-12-26 2019-07-04 华为技术有限公司 Expired backup processing method and backup server
CN110998537A (en) * 2017-12-26 2020-04-10 华为技术有限公司 Expired backup processing method and backup server
CN110998537B (en) * 2017-12-26 2022-09-02 华为技术有限公司 Expired backup processing method and backup server
US11615000B2 (en) 2017-12-26 2023-03-28 Huawei Technologies Co., Ltd. Method and backup server for processing expired backups
CN110008060A (en) * 2019-03-12 2019-07-12 武汉光庭信息技术股份有限公司 Backup data store and loading method, device and storage medium

Similar Documents

Publication Publication Date Title
US7873601B1 (en) Backup of incremental metadata in block based backup systems
US8370311B2 (en) Using versioning to back up multiple versions of a stored object
US8260749B2 (en) Traversing data in a repeatable manner
CN102667703B (en) For the system and method for the optimization recycling in Virtual Tape Library System
KR100437199B1 (en) Methods for accessing computer systems and data stored on them
US20080065663A1 (en) Reestablishing process context
CN107066349A (en) A kind of method and system of cluster file system data protection
CN105740098A (en) Determination method and system for stale data among backup data
JP2003177947A5 (en)
US20090125572A1 (en) Method for managing retention of data on worm disk media based on event notification
CN109032839A (en) A kind of cloud host backup method and device
CN105468544B (en) Method and device for realizing power-down prevention file system and power-down prevention file system
CN105320576A (en) Device and method for database backup
US20080065637A1 (en) Locating last processed data
CN107832470A (en) A kind of object storage method and device based on storage system
CN111338844A (en) Database backup management method and electronic equipment
CN108958653A (en) A kind of space reclamation method, system and relevant apparatus based on bottom aggregate file
WO2015084354A1 (en) Data sanitization
CN116088770B (en) Data management method, device, system, electronic equipment and storage medium
WO2017067397A1 (en) Data recovery method and device
CN105550328A (en) Processing method and device of stale data
CN110908610A (en) Volume recovery station cleaning method, device, equipment and readable storage medium
CN103645967A (en) Read-only snapshot rollback method and device
CN110471796B (en) File directory-oriented full and incremental backup recovery method
CN109241011B (en) Virtual machine file processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160706