Intelligent backup method based on data variation and intelligent backup systemTechnical field
The present invention relates to a kind of intelligent backup technology, especially relate to a kind of intelligent backup method and intelligent backup system based on data variation.
Background technology
Backup is a kind of loss of data that prevents, improves the important means of data security, in the middle of IT application, has been a kind of universal technological means substantially.In backup scenario, is all conventionally to automatically perform backup according to the backup policy setting in advance, this situation is back-up plan, and time interval between two back-up plans is backup window.
In current I T trend, along with the development of IT business system and universal, Data Growth speed is very obvious, the same time period, if Data Growth is more, but backup window is still constant, the data volume that means not backup is increasing, thereby has reduced the security of data.But traditional back-up plan, often according to the set time setting in advance, after the time arrives, is carried out backup, and the variation of Data Growth can not play to back-up plan the effect of adjusting that triggers.
Summary of the invention
Object of the present invention is exactly to provide a kind of intelligent backup method and intelligent backup system based on data variation in order to overcome the defect of above-mentioned prior art existence, record data backup amount each time, thereby compare the variation tendency of data, variation tendency according to data, according to the Tendency Strategy setting in advance, automatically adjust BACKUP TIME simultaneously, thereby when Data Growth accelerates, Backup Data more frequently, to improve the security of data.
Object of the present invention can be achieved through the following technical solutions:
An intelligent backup method based on data variation, is characterized in that, 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, when qualified back-up plan executive condition being detected, performs step 3), otherwise return to step 1);
3) the backup dispatching device to backup server sends backup execution request, performs step 4) and 5);
4) complete after transmission, return to step 1);
5) back-up device of the backup dispatching device of backup server notice backup client is carried out backup;
6) back-up device of backup client is received backup fill order;
7) check data situation, if there is no data variation, perform step 9), if there is data variation, perform step 8);
8) data that change are carried out to incremental backup;
9) complete data backup, and the data volume of variation is sent to the data volume gathering-device of backup client;
10) the data volume gathering-device of backup client, after receiving the data volume of variation, is recorded in data volume gathering-device, and the data volume of variation is sent to the data volume analytical equipment of backup server end simultaneously;
11) data volume that the backup client that the data volume analytical equipment of backup services end is received is collected;
12) by the data volume of receiving and analyzed that all changes data value after comparative analysis is cumulative to be saved last time;
13) check that whether meeting delta data component analysis triggers condition cycle length, when meeting analytical cycle condition, performs step 14), otherwise exit;
14) data volume analytical equipment executing data component analysis, obtains data volume grow trend analysis result;
15) analysis result is sent to the backup policy device of backup server;
16) the backup policy device of backup services end is received data volume grow trend analysis result;
17) the delta data amount that checks backup client, whether over threshold value, if surpassed, performs step 13), otherwise exit;
18) plan for adjustment trigger condition, completes backup tasks one time;
19) return to step 1).
A kind of intelligent backup system of the intelligent backup method based on data variation, it is characterized in that, comprise backup client and backup server end, described backup client comprises back-up device and data volume gathering-device, described backup server end comprises backup dispatching device, data volume analytical equipment and backup policy device, and described backup policy device, backup dispatching device, back-up device, data volume gathering-device, data volume analytical equipment, backup policy device connect successively.
Described backup server end is responsible for backup policy setting, client data amount analysis of trend and backup operation dispatching.
Described backup client is responsible for responding the backup command that backup server end is initiated, and the data of not backup are backuped on backup storage device in time.
Described backup server end is adjusted backup policy in time according to the variation tendency of backup client delta data amount, and to backup client, initiate backup instruction by the backup policy device clocked flip backup dispatching device of backup server end, realize according to the effect backing up of the variation tendency situation intelligence of data volume.
Described backup policy device is for arranging:
(1) the rising tendency cycle of backup client, comprise weekly and monthly;
(2) when the data volume of backup client changes, show a rising trend, and growth ratio is while being greater than setup parameter, automatically triggers the specific back-up plan time;
(3) when the data volume of backup client changes, be minimizing trend, and minimizing ratio is while being greater than setup parameter, automatically triggers the specific back-up plan time;
(4) the back-up plan cycle, comprise weekly, every day and per hour.
Described data volume analytical equipment is for analyzing:
(1) collect the data variation amount of each data volume analytical equipment from backup client, and save;
(2) in the rising tendency cycle arranging according to backup policy, carry out rising tendency analysis;
(3) rising tendency analysis result is returned to backup policy device.
Between described backup client and backup server end, by Ethernet, setting up network connects.
Compared with prior art, the present invention has the following advantages:
(1) can realize the judgement of the variation tendency result based on to client data amount and adjust the BACKUP TIME plan of backup tasks, accelerate frequency of your backups, play and in time the data of new variation are carried out to backup protection, the security of raising data;
(2) avoid in the situation that data change fast and expand, because of the unreasonable backup window causing of BACKUP TIME plan excessive, the data after a large amount of variation to back up in time and lose, reduce the quantity coefficient that data do not obtain backup protection;
(3) trend that can change according to data volume, by the BACKUP TIME plan of timely adjustment backup tasks, reduce frequency of your backups, thereby discharge the host resource of backup client, thereby avoid causing because frequency of your backups is too fast the use of host resource frequently, the plan of appropriate design BACKUP TIME.
Accompanying drawing explanation
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.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail.
Embodiment
As shown in Figure 2, a kind of intelligent backup system based on data variation, comprise backup client 1 and backup server end 2, by Ethernet, setting up network between the two connects, backup client 1 comprises back-up device 11 and data volume gathering-device 12, and backup server end 2 comprises backup dispatching device 21, data volume analytical equipment 22 and backup policy device 23
Backup server end 2 is responsible for backup policy setting, client data amount analysis of trend and backup operation dispatching;
Backup client 1 is responsible for the backup command that response backup server end is initiated, and the data of not backup are backuped on backup storage device in time;
Backup server end 2 is adjusted backup policy in time according to the variation tendency of backup client delta data amount, and to backup client, initiate backup instruction by the backup policy device clocked flip backup dispatching device of backup server end, realize according to the effect backing up of the variation tendency situation intelligence of data volume.
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, when qualified back-up plan executive condition being detected, performs step 3), otherwise return to step 1);
3) the backup dispatching device to backup server sends backup execution request, performs step 4) and 5);
4) complete after transmission, return to step 1);
5) back-up device of the backup dispatching device of backup server notice backup client is carried out backup;
6) back-up device of backup client is received backup fill order;
7) check data situation, if there is no data variation, perform step 9), if there is data variation, perform step 8);
8) data that change are carried out to incremental backup;
9) complete data backup, and the data volume of variation is sent to the data volume gathering-device of backup client;
10) the data volume gathering-device of backup client, after receiving the data volume of variation, is recorded in data volume gathering-device, and the data volume of variation is sent to the data volume analytical equipment of backup server end simultaneously;
11) data volume that the backup client that the data volume analytical equipment of backup services end is received is collected;
12) by the data volume of receiving and analyzed that all changes data value after comparative analysis is cumulative to be saved last time;
13) check that whether meeting delta data component analysis triggers condition cycle length, when meeting analytical cycle condition, performs step 14), otherwise exit;
14) data volume analytical equipment executing data component analysis, obtains data volume grow trend analysis result;
15) analysis result is sent to the backup policy device of backup server;
16) the backup policy device of backup services end is received data volume grow trend analysis result;
17) the delta data amount that checks backup client, whether over threshold value, if surpassed, performs step 13), otherwise exit;
18) plan for adjustment trigger condition, completes backup tasks one time;
19) return to step 1).
Embodiment is specially:
1) create backup tasks Taskl, on backup client A, select data source Sourcel, the Sourcel on backup client A is backed up to backup server end B;
2) on backup server end B, for backup tasks Taskl, backup policy is set, backup policy content is: add the back-up plan of a complete type of backup, planned start time for monthly No. 1 evening 20:00; Add the back-up plan of an incremental backup type, plan Starting Executing Time is 20:00 every night;
3) the Data Growth trend analysis cycle planning of backup client A is set on backup server end B, program content is: late 19:00 point is carried out the component analysis of client delta data on every Wendesdays, when delta data amount is greater than 10GB weekly, the execution frequency of adjusting incremental backup is to carry out once for every eight hours; When delta data amount is less than 100MB weekly, the execution frequency of adjusting the back-up plan of incremental backup type is 20:00 execution in evening on every Saturdays;
4) backup server end B makes regular check on the backup policy of backup tasks Taskl, when the back-up plan executive condition that meets complete type of backup being detected, to backup client A, initiates complete backup instruction; When the back-up plan executive condition that meets incremental backup type being detected, to backup client A, initiate incremental backup instruction; When not meeting any back-up plan trigger condition, continue step 4);
5) back-up device of backup client A is received after backup instruction, checks Last Backup time and the data situation of the data source Sourcel that task task l is specified, if there is no Last Backup record, is converted to the backup that executes full backup type; If there is Last Backup record, check the situation of change of data, if there is data variation, the data that change are carried out to incremental backup, back-up device sends to data volume gathering-device by the data volume of variation after completing data backup simultaneously;
6) the data volume gathering-device of backup client A, after receiving delta data amount, is recorded in gathering-device, and the data volume of variation is sent to the data volume analytical equipment of backup server end B simultaneously;
7) data volume that the data volume analytical equipment of backup server end B is collected the backup client A that receives with analyzed all changes data value after comparative analysis last time and add up and save, and check whether meet delta data component analysis condition cycle length, when meeting analytical cycle condition, by the component analysis of data volume analytical equipment executing data, and then analysis result is sent to the backup policy device of backup server end B;
8) backup policy device is received after analysis result, checks whether the delta data amount of backup client surpasses 10GB, if surpass 10GB, the execution frequency of adjusting the incremental backup plan in backup policy is to carry out once for every eight hours; If delta data amount is less than 100MB, the execution frequency of adjusting the incremental backup plan in backup policy is late 20:00 execution on every Saturdays;
9) continue execution step 4).