Summary of the invention
Object of the present invention is exactly to provide a kind of backup policy information generating method based on data analysis in order to overcome the defect of above-mentioned prior art existence, the method basis is to the data type under certain computer environment, data volume, cycle data variable quantity, mainframe network bandwidth and network bandwidth utilization factor and the situations such as available backup memory device and space resources of obtaining are analyzed, based on analysis result and in advance the various types of data protection class of mark automatically generate backup protection strategy, and regular generation and checking analysis report, thereby adjust in time backup policy for IT keeper, simplify the backup management work under IT environment, promote the efficiency of management of data backup, effectively evade unessential data and take back up memory space resource, rationally utilize the network bandwidth under backup environment, improve back up memory space utilization factor, set up effective and rational back mechanism.
Object of the present invention can be achieved through the following technical solutions:
A backup policy information generating method based on data analysis, is characterized in that, comprises the following steps:
1) data analysis set-up is to carrying out carrying out Data classification in the computer system of backup protection and data volume is identified and added up, the network bandwidth situation of computer system and network bandwidth utilization factor are identified and added up, and periodic data variation amount and periodic network bandwidth utilization factor are added up and record;
2) backup policy generating apparatus is according to the analysis result of data analysis set-up, in conjunction with the protection class of the data type of IT keeper mark, formulates and generate backup policy.
The specific works step of described data analysis set-up is as follows:
11) obtain the data in computer system, analyze data type and add up the data amount information of all types of correspondences;
12) data type and corresponding data amount information are recorded in the respective record field of data analysis set-up;
13) obtain the network bandwidth parameter in computer system, be recorded in the respective record field of data analysis set-up:
14) regularly from standby system, obtain the available space information of alternate device list and each alternate device, and be recorded in the respective record field of data analysis set-up;
15) the data volume situation of change of the data type in real time record computer system, and be recorded in the data volume change records field of data type;
16) the network bandwidth utilization factor data in real time record computer system, and be recorded in the record of network bandwidth utilization factor variation;
17) when meeting the measurement period condition of data volume variation statistics and network bandwidth utilization factor, calculate data variation amount and the network bandwidth utilization factor parameter of data type in the cycle, and be recorded in the respective field of data analysis set-up, upgrade the total amount of data of corresponding data type simultaneously.
The specific works step of described backup policy generating apparatus is as follows:
21) from standby system, obtain backup policy generating period;
22) from data analysis set-up, obtain data type, data volume, cycle data variable quantity information;
23) from data analysis set-up, obtain the network bandwidth and periodic network bandwidth availability ratio information;
24) from data analysis set-up, obtain alternate device list and available space information;
25) from standby system, obtain existing backup executive plan information;
26) present data results, and generate backup policy reference content;
27) obtain data protection class information and the data protection filtering conditional information of IT keeper mark:
28) during data protection class information and data protection filtering conditional information are joined in backup policy reference content, generate final backup policy.
Compared with prior art, the present invention has the following advantages:
Can realize data type and data volume based on computer system; and impact backup is carried out and the key factor of production system running environment is comprehensively analyzed; thereby automatically generate backup policy reasonable, science; the decision-making foundation of formulating back-up plan is provided to IT keeper: simultaneously can the requirement to production system data protection according to IT keeper; Auto-matching backup policy, improves the formulation of back-up plan measure.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
Embodiment
The backup policy information generating method that the present invention is based on data analysis, comprises the following steps:
1) data analysis set-up is to carrying out carrying out Data classification in the computer system of backup protection and data volume is identified and added up, the network bandwidth situation of computer system and network bandwidth utilization factor are identified and added up, and periodic data variation amount and periodic network bandwidth utilization factor are added up and record;
2) backup policy generating apparatus is according to the analysis result of data analysis set-up, in conjunction with the protection class of the data type of IT keeper mark, formulates and generate backup policy.
As shown in Figure 1, the specific works step of described data analysis set-up is as follows:
11) obtain the data in computer system, analyze data type and add up the data amount information of all types of correspondences;
12) data type and corresponding data amount information are recorded in the respective record field of data analysis set-up;
13) obtain the network bandwidth parameter in computer system, be recorded in the respective record field of data analysis set-up;
14) regularly from standby system, obtain the available space information of alternate device list and each alternate device, and be recorded in the respective record field of data analysis set-up;
15) the data volume situation of change of the data type in real time record computer system, and be recorded in the data volume change records field of data type;
16) the network bandwidth utilization factor data in real time record computer system, and be recorded in the record of network bandwidth utilization factor variation;
17) when meeting the measurement period condition of data volume variation statistics and network bandwidth utilization factor, calculate data variation amount and the network bandwidth utilization factor parameter of data type in the cycle, and be recorded in the respective field of data analysis set-up, upgrade the total amount of data of corresponding data type simultaneously.
As shown in Figure 2, the specific works step of described backup policy generating apparatus is as follows:
21) from standby system, obtain backup policy generating period:
22) from data analysis set-up, obtain data type, data volume, cycle data variable quantity information;
23) from data analysis set-up, obtain the network bandwidth and periodic network bandwidth availability ratio information;
24) from data analysis set-up, obtain alternate device list and available space information:
25) from standby system, obtain existing backup executive plan information;
26) present data results, and generate backup policy reference content;
27) obtain data protection class information and the data protection filtering conditional information of IT keeper mark;
28) during data protection class information and data protection filtering conditional information are joined in backup policy reference content, generate final backup policy.
The present invention is by the identification of data analysis mechanism and detect Data classification and the data volume in computing machine, and the network bandwidth situation of detection and logger computer system and network bandwidth utilization factor situation, these information are recorded and preserved, and in conjunction with the backup storage device type under actual standby system and the regular generated data analysis report of back up memory space situation, according to the data type protection class of user's mark, the generation backup policy report of the intelligence such as backup filtercondition, IT administrator can plan rational back-up plan and back-up storage planning by the backup policy based under data results, promote the efficiency of management and the managerial effectiveness of standby system.
In the present invention, the backup policy of indication not only only refers to backup completely, incremental backup and the differential backup type in backup field; And refer to a kind of can based on will clearly need the content of backup according to the back-up storage destination of backup execution time, backup mode and the appointment of appointment, complete a kind of policy information of data backup process.
In the present invention, the data analysis of indication refers to by installation data analytical equipment in client host, by data analysis set-up, obtain, analyze and record the data type in client host, data volume, cycle data variable quantity, mainframe network bandwidth, the information such as network bandwidth utilization factor, and be saved in data analysis set-up, in order to comprehensively to analyze in conjunction with backup storage device type and spatial information in standby system, and according to the protection class of user's selection and mark Various types of data, form the process of the series of measures of backup policy suggestion report reasonable and up to specification, generating report comprises: the data type based in local computer system, data volume, phase data variable quantity, the network bandwidth and network utilization information: the available backup memory device based on standby system, backup space resource, suggestion back-up storage destination information, suitable backup execution time section, type of backup, backup filtering conditional information based on standby system.
The present embodiment is comprised of standby system and backup client two parts; in standby system, complete the backup policy cycle setting, complete the setting of data variation amount measurement period and network utilization measurement period and the update cycle of alternate device list and free space and arrange; also according to data results, generate backup policy simultaneously; and complete the mark of IT keeper to data type protection class: backup client mainly realizes data analysis set-up, and the execution that completes back-up plan in conjunction with backup policy.
Based on technical scheme of the present invention, to come in conjunction with specific embodiments further to set forth, concrete steps are as follows:
1) installation and deployment standby system and backup client, the backup server address of client is set to the IP address of standby system;
2) in current standby system, have one of disk memory array, free memory is 10TB: have one of tape library equipment, free memory is 30TB:
3) backup client machine is Windows2003 operating system, disposes oracle database is installed, and oracle database deposit data is coiled at D, Oracle journal file leaves E dish in, in system, C dish is operating system partition, and F dish is data disks, leaves Various types of data file in:
4) backup policy generating period is set in standby system is to generate every day, and the rise time is 12:00:
5) it is per hour data variation amount measurement period being set in standby system, and network bandwidth utilization factor measurement period is per hour:
6) it is per hour alternate device list and available space information update cycle being set in standby system;
7) start backup client, data analysis set-up analyzes and in computer system, has Oracle data, data volume is 2TB: analyze and in computer system, have CAD design picture proof, data volume is 100GB: analyze that in computer system, to have Office office documents, data volume be 20GB; Analyze that in computer system, to have video file, data volume be 100GB;
8) data analysis set-up, through record and the statistics of 10 hours, draws following analysis data: Oracle data mean change data volume per hour is 10GB; CAD design picture proof mean change data volume per hour is that 1GB:Office office documents mean change data volume per hour is 50MB; Video documents mean change data volume per hour is 0; All data types at night 19:00 to morning 9:00 data variation amount be almost 0; Computer system network bandwidth is gigabit Ethernet network, and network bandwidth utilization factor average utilization per hour is 8%, wherein the morning 9:00 to afternoon 17:00 utilization factor be 10% left and right, evening, 20:00 was in 1% to network bandwidth utilization factor between morning 7:00;
9) standby system regular update alternate device per hour list information and available space information;
10) standby system is in every day during 12:00, obtain existing backup executive plan information in above data results information, alternate device list and spatial information, standby system, generated data analysis result and backup policy reference content, backup policy reference content is:
I.Oracle data type 21 of evenings executes full backup on every Fridays, estimates to complete for 7 hours completely backup and carries out, backup order ground be that disk array is stored;
Ii.Oracle data type every morning 9:00 carries out incremental backup to 19:00, and it is once per hour carrying out frequency, estimate at every turn two minutes complete, backup purpose ground is stored for disk array;
Iii.CAD design picture proof data type on every Fridays late 20:00 executes full backup, estimates 20 minutes complete, backup purpose ground is that disk array is stored;
Iv.CAD design picture proof data type every morning 9:00 carries out incremental backup to 19:00, and it is once per hour carrying out frequency, estimate at every turn one minute complete, backup purpose ground is that disk array is stored;
V.Office office documents data type on every Fridays late 20:20 executes full backup, estimate 10 minutes complete, backup purpose ground is stored for disk array;
Vi.Office office documents data type every morning 9:00 carries out incremental backup to 19:00, and it is once per hour carrying out frequency, estimate at every turn one minute complete, backup purpose ground is stored for disk array;
Vii. video documents data type on every Fridays late 20:30 execute full backup, estimate 20 minutes complete, backup purpose ground is stored for disk array:
11) IT keeper mark Oracle data type protection level on data results and backup policy reference content basis is per hour, need to retain nearest trimestral data; CAD design picture proof protection level is every day, need to retain the data of nearest month; Office office documents data type protection level is per hour, need to retain the data of month; Video documents does not need protection; Filtercondition is for filtering all video type documents:
12) according to user's mark, want data protection requirement, regenerate backup policy, as follows:
I.Oracle data type 21 of evenings executes full backup on every Fridays, estimates to complete for 7 hours completely backup and carries out, backup order ground be that disk array is stored;
Ii.Oracle data type every morning 9:00 carries out incremental backup to 19:00, and it is once per hour carrying out frequency, estimate at every turn two minutes complete, backup purpose ground is stored for disk array;
Iii. for Oracle data type, set up Backup Data migration strategy, Backup Data copy is moved in tape library equipment, in disk array storage, retain three parts of complete backup copies, tape library equipment retains nearest three months data:
Iv.CAD design picture proof data type on every Fridays late 20:00 executes full backup, estimates 20 minutes complete, backup purpose ground is that disk array is stored;
V.CAD design picture proof data type 19:00 every night carries out incremental backup, carries out frequency for once a day, estimate at every turn two minutes complete, backup purpose ground is that disk array is stored;
Vi. for CAD design picture proof data type, set up Backup Data migration strategy, Backup Data copy is moved in tape library equipment, in disk array storage, retain three parts of complete backup copies, tape library equipment retains nearest one month data:
Vii.Office office documents data type on every Fridays late 20:20 executes full backup, estimate 10 minutes complete, backup purpose ground is stored for disk array;
Viii.Office office documents data type every morning 9:00 carries out incremental backup to 19:00, and it is once per hour carrying out frequency, estimate at every turn one minute complete, backup purpose ground is stored for disk array;
Ix. for Office office documents, set up Backup Data migration strategy, Backup Data copy is moved in tape library equipment, in disk array storage, retain three parts of complete backup copies, tape library equipment retains nearest one month data;
13) user confirms backup policy, and selects application;
14) standby system is carried out back-up plan according to newly-generated backup policy.