Intelligent backup method and intelligent backup system based on data variationTechnical field
The present invention relates to a kind of intelligent backup technology, more particularly, to a kind of intelligent backup method based on data variation andIntelligent backup system.
Background technology
Backup is that one kind prevents loss of data, improves the important means of data safety, substantially in the middle of IT application,It is a kind of technological means of popularization.Generally all it is that backup is performed according to the backup policy for pre-setting automatically in backup scenario,Such case is back-up plan, and the time interval between two back-up plans, then it is backup window.
In current IT trend, with the development and popularization of IT business system, data growth rate clearly, with for the momentBetween section, if data increase more, but backup window is still constant, then mean that the data volume being not backed up is increasing, so as to dropThe low security of data.But conventional backup plan is often, according to the set time for pre-setting, after the time reaches, to performBackup, the change that data increase can not play a part of triggering adjustment to back-up plan.
The content of the invention
The purpose of the present invention is exactly to provide a kind of based on data variation for the defect for overcoming above-mentioned prior art to existIntelligent backup method and intelligent backup system, record data backup amount each time, so as to compare the variation tendency of data, according toAccording to the variation tendency of data, while according to the Tendency Strategy for pre-setting, adjust automatically BACKUP TIME becomes so as to increase in dataWhen fast, can more frequently Backup Data, to improve the security of data.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of intelligent backup method based on data variation, it is characterised in that comprise the following steps:
1) the backup policy device of backup server carries out backup policy inspection;
2) whether inspection program trigger condition meets backup policy condition, is performed when qualified back-up plan is detectedDuring condition, step 3 is performed), otherwise return to step 1);
3) send backup to the backup dispatching device of backup server and perform request, perform step 4) and 5);
4) after completing to send, return to step 1);
5) the backup dispatching device of backup server notifies that the back-up device of backup client performs backup;
6) back-up device of backup client receives backup and performs order;
7) data situation is checked, if without data variation, performing step 9), if data variation, then holdRow step 8);
8) incremental backup is performed to the data for changing;
9) data backup is completed, and the data volume of change is sent to the data volume collection device of backup client;
10) the data volume collection device of backup client recorded data volume and collect dress after the data volume for receiving changeIn putting, and the data volume of change is sent to the data volume analytical equipment at backup server end simultaneously;
11) data volume that the backup client that the data volume analytical equipment at backup services end is received is collected;
12) all changes data values after the data volume that will be received is analyzed with last time com-parison and analysis add up and save;
13) check whether and meet delta data amount analysis triggering cycle-time requirements, when analytical cycle condition is met, holdRow step 14), otherwise exit;
14) data volume analytical equipment performs data volume analysis, obtains data volume growth trend analysis result;
15) analysis result is sent to the backup policy device of backup server;
16) the backup policy device at backup services end receives data volume growth trend analysis result;
17) check whether the delta data amount of backup client exceedes threshold value, if it exceeds then performing step 13), otherwiseExit;
18) plan for adjustment trigger condition, completes a backup tasks;
19) return to step 1).
A kind of intelligent backup system of the intelligent backup method based on data variation, it is characterised in that including backup clientEnd and backup server end, described backup client include back-up device and data volume collection device, described backup servicesDevice end includes backup dispatching device, data volume analytical equipment and backup policy device, described backup policy device, backup schedulingDevice, back-up device, data volume collection device, data volume analytical equipment, backup policy device are sequentially connected.
It is responsible for backup policy setting, client data amount analysis of trend and backup and performs in described backup server endScheduling.
Described backup client is responsible for responding the backup command that backup server end is initiated, and the data that will be not backed up andWhen backup on backup storage device.
Described backup server end adjusts backup policy in time according to the variation tendency of backup client delta data amount,And backup instruction is initiated to backup client from the backup policy device clocked flip backup dispatching device at backup server end, it is realThe effect that now the carrying out of the variation tendency situation intelligence according to data volume is backed up.
Described backup policy device is used to set:
(1) the growth trend cycle of backup client, including weekly and monthly;
(2) when the data volume change of backup client shows a rising trend, and growth ratio is when being more than setup parameter, automatic to touchSend out specific the back-up plan time;
(3) it is automatic to touch when the data volume change of backup client is in reduction trend, and when reducing ratio more than setup parameterSend out specific the back-up plan time;
(4) the back-up plan cycle, including weekly, daily and per hour.
Described data volume analytical equipment is used to analyze:
(1) the data variation amount of the data volume analytical equipment from backup client every time is collected, and is saved;
(2) the growth trend cycle set according to backup policy, growth trend analysis is performed;
(3) growth trend analysis result is returned into backup policy device.
Network connection is set up by Ethernet between described backup client and backup server end.
Compared with prior art, the present invention has advantages below:
(1) it is capable of achieving based on when adjusting the backup of backup tasks to the judgement of the variation tendency result of client data amountBetween plan, accelerate frequency of your backups, play carries out backup protection to the data of new change in time, improves the security of data;
(2) avoid in the case where data quickly change and expand, because BACKUP TIME plan it is unreasonable caused by back upWindow is excessive, and the data after a large amount of changes do not arrive to back up in time and lose, and reduces the quantity system that data do not obtain backup protectionNumber;
(3) trend that can be changed according to data volume, by the BACKUP TIME plan of adjustment backup tasks in time, reduces standbyPart frequency, so that the host resource of backup client is discharged, so as to avoid causing frequently host resource because frequency of your backups is too fastUse, reasonable designing backup period planning.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of backup method of the present invention;
Fig. 2 is the structural representation of standby system of the present invention.
Specific embodiment
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.
Embodiment
As shown in Fig. 2 a kind of intelligent backup system based on data variation, including backup client 1 and backup serverEnd 2, sets up network connection by Ethernet between the two, and backup client 1 includes back-up device 11 and data volume collection device12, backup server end 2 includes backup dispatching device 21, data volume analytical equipment 22 and backup policy device 23
It is responsible for backup policy setting, client data amount analysis of trend and backup and performs scheduling in backup server end 2;
Backup client 1 is responsible for the backup command that response backup server end is initiated, and the data that will be not backed up are backed up in timeOnto backup storage device;
Backup server end 2 adjusts backup policy in time according to the variation tendency of backup client delta data amount, and byThe backup policy device clocked flip backup dispatching device at backup server end initiates backup instruction to backup client, realizes rootAccording to the effect that the carrying out of the variation tendency situation intelligence of data volume is backed up.
As shown in figure 1, a kind of intelligent backup method based on data variation, comprises the following steps:
1) the backup policy device of backup server carries out backup policy inspection;
2) whether inspection program trigger condition meets backup policy condition, is performed when qualified back-up plan is detectedDuring condition, step 3 is performed), otherwise return to step 1);
3) send backup to the backup dispatching device of backup server and perform request, perform step 4) and 5);
4) after completing to send, return to step 1);
5) the backup dispatching device of backup server notifies that the back-up device of backup client performs backup;
6) back-up device of backup client receives backup and performs order;
7) data situation is checked, if without data variation, performing step 9), if data variation, then holdRow step 8);
8) incremental backup is performed to the data for changing;
9) data backup is completed, and the data volume of change is sent to the data volume collection device of backup client;
10) the data volume collection device of backup client recorded data volume and collect dress after the data volume for receiving changeIn putting, and the data volume of change is sent to the data volume analytical equipment at backup server end simultaneously;
11) data volume that the backup client that the data volume analytical equipment at backup services end is received is collected;
12) all changes data values after the data volume that will be received is analyzed with last time com-parison and analysis add up and save;
13) check whether and meet delta data amount analysis triggering cycle-time requirements, when analytical cycle condition is met, holdRow step 14), otherwise exit;
14) data volume analytical equipment performs data volume analysis, obtains data volume growth trend analysis result;
15) analysis result is sent to the backup policy device of backup server;
16) the backup policy device at backup services end receives data volume growth trend analysis result;
17) check whether the delta data amount of backup client exceedes threshold value, if it exceeds then performing step 13), otherwiseExit;
18) plan for adjustment trigger condition, completes a backup tasks;
19) return to step 1).
Embodiment is specially:
1) backup tasks Taskl is created, data source Sourcel is selected on backup client A, by backup client ASourcel back up to backup server end B;
2) backup policy is set for backup tasks Taskl on the B of backup server end, backup policy content is:AdditionOne back-up plan of complete type of backup, planned start time is monthly No. 1 evening 20:00;One incremental backup class of additionThe back-up plan of type, plan Starting Executing Time is every night 20:00;
3) the data growth trend analytical cycle plan of backup client A, program content are set on the B of backup server endFor:On every Wendesdays evening 19:00 point performs the analysis of client delta data amount, and when delta data amount is more than 10GB weekly, adjustment increasesThe execution frequency for measuring backup is to perform once for every eight hours;When delta data amount is less than 100MB weekly, incremental backup class is adjustedThe execution frequency of the back-up plan of type is evening 20 on every Saturdays:00 performs;
4) backup server end B inspects periodically the backup policy of backup tasks Taskl, and class is backed up completely when detecting to meetWhen the back-up plan of type performs condition, complete backup instruction is initiated to backup client A;Meet incremental backup type when detectingBack-up plan perform condition when, to backup client A initiate incremental backup instruct;Bar is triggered when any back-up plan is not metDuring part, continue step 4);
5) after the back-up device of backup client A receives backup instruction, the data source specified by task task l is checkedThe Last Backup time of Sourcel and data situation, if without Last Backup record, being converted to execution and backing up completelyThe backup of type;If Last Backup record, then the situation of change of data is checked, if data variation, then to changeData perform incremental backup, while the data volume of change is sent to data volume by back-up device after data backup is completed collects dressPut;
6) the data volume collection device of backup client A is after delta data amount is received, in recorded collection device, and togetherWhen the data volume of change is sent to the data volume analytical equipment of backup server end B;
7) data volume and last time that the backup client A that the data volume analytical equipment of backup server end B will be received is collectedAll changes data values after com-parison and analysis analysis are cumulative to be saved, and is checked whether and met delta data amount analytical cycleTime conditions, when analytical cycle condition is met, perform data volume and analyze, then again by analysis result by data volume analytical equipmentIt is sent to the backup policy device of backup server end B;
8) after backup policy device receives analysis result, whether the delta data amount of backup client is checked more than 10GB,If it exceeds the execution frequency that 10GB then adjusts the incremental backup plan in backup policy is to perform once for every eight hours;If becomeChange data volume be less than 100MB, then adjust backup policy in incremental backup plan execution frequency on every Saturdays evening 20:00 holdsOK;
9) step 4 is continued executing with).