CN107391315A - A kind of method and device of standby system file - Google Patents

A kind of method and device of standby system file Download PDF

Info

Publication number
CN107391315A
CN107391315A CN201710696698.9A CN201710696698A CN107391315A CN 107391315 A CN107391315 A CN 107391315A CN 201710696698 A CN201710696698 A CN 201710696698A CN 107391315 A CN107391315 A CN 107391315A
Authority
CN
China
Prior art keywords
file
backup
version
version number
system 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
Application number
CN201710696698.9A
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.)
Beijing VRV Software Corp Ltd
Original Assignee
Beijing VRV Software Corp 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 Beijing VRV Software Corp Ltd filed Critical Beijing VRV Software Corp Ltd
Priority to CN201710696698.9A priority Critical patent/CN107391315A/en
Publication of CN107391315A publication Critical patent/CN107391315A/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
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • 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/1464Management of the backup or restore process for networked environments

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention proposes a kind of method and device of standby system file.A kind of method of standby system file, including:Confirm the modification time of simultaneously record system file;The modification time of the system file of the modification time with being recorded during last system backup is contrasted;If the modification time of the system file of the modification time from being recorded during last system backup is different, the system file is backed up.Using above-mentioned technical proposal, backup file data amount can be reduced, improves system backup speed.

Description

A kind of method and device of standby system file
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and device of standby system file.
Background technology
With flourishing for information age, computer equipment has been deep into the life of the mankind.It is small to arrive individual office, Enterprise information management is arrived greatly, is operated more and more using computer.And in medium-sized or large scale system, in each equipment The system file of operation, configuration file and data file are intricate, more and more convex the problems such as management to above-mentioned file, upgrading It is aobvious, there are various schemes to be answered the problems such as data safety, fast quick-recovery.
Most common of which ensures that the method for system data safety is that system file is backed up, when system breaks down When, system can be recovered using the system file of backup.Original system file backup method is by manually to system File separately deposited, but utilize and manually perform system file backup, it is necessary to substantial amounts of human resources, and people easily occur For error.
The system file backup method of automation can make system backup break away from the dependence to manpower, at the same improve backup can By property.But automatic backup method is typically directly to be backed up the All Files of whole system, backup every time obtains one New full dose system file bag.Obviously, it is bigger to backing up the data volume all backed up to whole system every time, and back up Speed is slow.
The content of the invention
The defects of based on above-mentioned prior art and deficiency, the present invention propose a kind of method and device of standby system file, It can be backed up just for the more new file in system, backup data quantity is smaller, and backup rate is faster.
A kind of method of standby system file, including:
Confirm the modification time of simultaneously record system file;
The modification time of the system file of the modification time with being recorded during last system backup is contrasted;
If the modification time of the system file of the modification time from being recorded during last system backup is different, Back up the system file.
Preferably, when confirming the modification of the modification time and the system file recorded during upper once system backup Between after difference, this method also includes:
Calculate and record the MD5 values of the system file;
The MD5 values of the system file of the MD5 values with being recorded during last system backup are contrasted;
If the MD5 values of the system file of the MD5 values from being recorded during last system backup are different, institute is backed up State system file.
Preferably, before the simultaneously modification time of record system file is confirmed, this method also includes:
Configure System describe file;
The System describe file is added in the warehouse initialized in advance;
The system file that the System describe file is included is backuped in the warehouse.
Preferably, the backup system file, including:
Application system version number;Wherein, the version sign position in the system version number is the first numerical value;
Back up the system file;
Version sign position in the system version number is arranged to second value;
It is the system version number of second value and the backup file of the system file by version sign position, sends to institute State the system version file corresponding to system file.
Preferably, the backup system file, including:
Application system version number;Wherein, the version sign position in the system version number is the first numerical value;
Control each v ion file corresponding with the system file starts to back up what the system file was included Node file;
Receive node file backup file and system version number that each v ion file is sent;
, will if the version sign position for the system version number that each v ion file is sent is second value The version sign position of the system version number of application is arranged to second value.
A kind of device of standby system file, including:
Time confirmation unit, for confirming the modification time of simultaneously record system file;
Processing unit is contrasted, for by the modification time and the system file recorded during last system backup Modification time is contrasted;
Back-up processing unit, for confirming that the modification time and last system are standby when the contrast processing unit contrast During the modification time difference of the system file recorded during part, the system file is backed up.
Preferably, the device also includes:
MD5 value computing units, for calculating and recording the MD5 values of the system file;
Second comparison unit, for by the MD5 of the MD5 values and the system file recorded during last system backup Value is contrasted;
If the second comparison unit contrast confirms the MD5 values and the system recorded during last system backup The MD5 values of file are different, then control system file described in the back-up processing unit backup.
Preferably, the device also includes:
Dispensing unit, for configuring System describe file;
File adding device, for the System describe file to be added in the warehouse initialized in advance;
System backup unit, the system file for the System describe file to be included are backuped in the warehouse.
Preferably, the back-up processing unit, including:
First application unit, for application system version number;Wherein, the version sign position in the system version number is the One numerical value;
Backup units, for backing up the system file;
First setting unit, for the version sign position in the system version number to be arranged into second value;
First transmitting element, for by system version number of the version sign position for second value and the system file Backup file, send to the system version file corresponding to the system file.
Preferably, the back-up processing unit, including:
Second application unit, for application system version number;Wherein, the version sign position in the system version number is the One numerical value;
Control unit, for controlling each v ion file corresponding with the system file to start to back up the system The node file that file is included;
File reception unit, for receiving the node file backup file of each v ion file transmission and being Unite version number;
Second setting unit, the version sign position of the system version number for being sent when each v ion file are equal For second value when, the version sign position of the system version number of application is arranged to second value.
When carrying out system file backup using the method for standby system file proposed by the present invention, first confirm that and record and be Unite the modification time of file, and repairing the modification time of this confirmation and the system file that is recorded during last system backup Changing the time is contrasted, if this modification time for confirming and the modification of the system file recorded during last system backup Time is different, then backs up the system file.It can be seen that the present invention before being backed up to system file, first verifies that system text Whether part has renewal, if renewal performs backup again.The system file that above-mentioned processing can ensure to back up every time is all to have more New system file, and for the system file of no renewal, then it is not repeated to update, therefore backup data quantity is smaller, backup Speed is faster.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the method for standby system file provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for another standby system file provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the method for another standby system file provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of the device of standby system file provided in an embodiment of the present invention;
Fig. 5 is the structural representation of the device of another standby system file provided in an embodiment of the present invention;
Fig. 6 is the structural representation of the device of another standby system file provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of method of standby system file, shown in Figure 1, this method includes:
S101, the modification time for confirming simultaneously record system file;
, all can the acknowledgment of your inquiry system file to be backed up specifically, during each standby system file of the embodiment of the present invention Modification time, and the modification time of this acknowledgment of your inquiry is recorded.
In specific implementation, the embodiment of the present invention sets automatic business processing program, whenever the implementation embodiment of the present invention During disclosed standby system File Technology scheme, automatically confirm that first and record the modification time for the system file for needing to back up.
S102, the modification time of the modification time and the system file recorded during last system backup carried out Contrast;
Specifically, when implementing technical scheme of the embodiment of the present invention every time, step S101 can all be first carried out, confirm and record Need the modification time of system file backed up.Obtained system file is inquired about when confirming and recording this standby system file After modification time, the embodiment of the present invention is literary by the system of the modification time of this system file recorded and last record The modification time of part is contrasted, and verifies the system text of the modification time and last record of the system file of this record Whether the modification time of part is identical.
If the modification time of the system file of the modification time from being recorded during last system backup is different, Perform step S103, the backup system file.
If specifically, during the modification of the system file modification time of this record and the system file of last record Between it is different, then explanation it is upper once change the system file after, in the period when system file is backed up to this, system is again The system file is modified.Therefore, in this standby system file, it should the system file is carried out again standby Part, to record the latest edition of the system file.
If the on the contrary, modification time of the system file modification time of this record and the system file of last record It is identical, then after explanation changes the system file from the last time, into period during this standby system file, no pair of system The system file is updated, due to it is upper once back up when the system file has been backed up, therefore this is no longer The system file is backed up, to reduce backup file data amount.
When the method for the standby system file proposed using the embodiment of the present invention carries out system file backup, first confirm that simultaneously The modification time of record system file, and the system text recorded during by modification time and the last system backup of this confirmation The modification time of part is contrasted, if the modification time of this confirmation and the system file recorded during last system backup Modification time it is different, then back up the system file.It can be seen that the present invention first verifies that this before being backed up to system file Whether system file has renewal, if renewal performs backup again.Above-mentioned processing can ensure the system file backed up every time all Be the system file for having renewal, and for the system file of no renewal, be then not repeated to update, thus backup data quantity compared with Small, backup rate is faster.
Optionally, in another embodiment of the present invention, it is shown in Figure 2, confirming the modification time and upper one After the modification time difference for the system file that subsystem records when backing up, this method also includes:
S203, the MD5 values for calculating and recording the system file;
Specifically, MD5 (Message Digest Algorithm, Message Digest 5) is that computer safety field is extensive A kind of hash function used, to provide the integrity protection of message.Data operation is another regular length by MD5 algorithms Value, it is the basic principle of hash algorithm, main flow programming language generally has MD5 and realized at present.
The embodiment of the present invention is confirming the modification time of simultaneously record system file in each standby system file, and When determining that the modification time of the system file has renewal according to modification time, further calculate and record the system file MD5 values, yet further verify whether the system file has renewal will pass through the MD5 values of the system file.
S204, the MD5 values of the system file of the MD5 values with being recorded during last system backup are contrasted;
Specifically, in embodiments of the present invention, during each execution system file backup, all MD5 values of computing system file. When this execution system file backup, the MD5 values of this system file being calculated are calculated with the last time The MD5 values of the system file are contrasted, and judge what is recorded when the MD5 values of this system file calculated back up with the last time Whether the MD5 values of the system file are identical.
If the MD5 values of the system file of the MD5 values from being recorded during last system backup are different, step is performed Rapid S205, the backup system file.
Specifically, if the MD5 values of the system file of this record are with this recorded during Last Backup system file The MD5 values of system file are different, then during illustrating standby system file twice, the system file changes, therefore should be right The system file is backed up.
Opposite, if the MD5 values of the system file of this record are with this recorded during Last Backup system file The MD5 values of system file are identical, then during illustrating standby system file twice, the system file does not change, therefore is not required to The system file is backed up again, so as to less backup file data amount.
The embodiment of the present invention by modification time on the basis of verifying whether system file have renewal, further according to being Whether the MD5 values checking system file of system file has renewal, more improves ground and system file renewal is identified and confirmed, The file for ensureing backup is all the file for having renewal, and is then no longer backed up for the file of no renewal, therefore, using the present invention Embodiment technical scheme, backup file data amount can be reduced.
In the present embodiment step S201, S202 difference corresponding diagram 1 shown in embodiment of the method in step S101, S102, the content of its particular content embodiment of the method shown in Figure 1, here is omitted.
Optionally, in another embodiment of the present invention, it is shown in Figure 3, confirming and record system file is repaiied Before changing the time, this method also includes:
S301, configuration System describe file;
Specifically, said system describes file, and it is the file of complete description current system backup instances and backup file, should System describe the file record backup instances of system file, alteration etc., can as the foundation of file backup.
When implementing technical scheme of the embodiment of the present invention for the first time, the embodiment of the present invention configures said system description text first Part.It can specifically be completed by system deployment personnel manual configuration, according to the concrete condition of system deployment, to establish this part of file.
Specifically, said system describes file, it is managed by way of glob configuration files, file format is as follows:
basedir f:\
include updateDir\**
exclude updateDir\jsocupdate201703011144.zip
basedir e:\
include tmp\**
exclude tmp\shellinabox\**
exclude tmp\jn_src\**
A glob configuration files can configure multiple roots, under each catalogue can with flexible configuration include file and File is excluded, the file included is indicated by include, the file of exclusion is indicated by exclude.Include and Exclude supports glob matching grammers, and as * represents any character, * * represent All Files and sub-folder file etc..Pass through This mode, it can flexibly tackle the mess that different production system files leave about.
S302, the System describe file is added in the warehouse initialized in advance;
Specifically, above-mentioned warehouse, refer to the core memory area of standby system.
The embodiment of the present invention is standby system file configuration dedicated memory region, as warehouse storage and backup system file. Meanwhile the embodiment of the present invention initializes after warehouse is confirmed to the warehouse, i.e., according to the System describe file knot of backup Structure, storage catalogue is set, distinguishes file so that the structure of the storage organization in warehouse and System describe file matches.
S303, the system file that the System describe file is included backuped in the warehouse;
Specifically, after configuring and initializing warehouse, included in System describe file of the embodiment of the present invention by configuration System file, that is, need the system file backed up, backup in warehouse.
It should be noted that the backup of the system file included to System describe file described in step S303, is Refer in whole system, the first full backup of the system file progress of institute's backup in need.System is backed up for the first time When, it is necessary to by the system file of backup in need carry out once complete backup, when being backed up to system file in the later stage, according to Step S304~S306 introduction, only backup have the system file of renewal.
In the present embodiment step S304~S306 difference corresponding diagram 1 shown in embodiment of the method in step S101~ S103, the content in its particular content embodiment of the method shown in Figure 1, here is omitted.
Optionally, in another embodiment of the present invention, the backup system file, including:
Application system version number;Wherein, the version sign position in the system version number is the first numerical value;
Specifically, the system file of distributed system is distributed in multiple hardware devices, multiple hardware devices are joined together, Form a complete system.Backed up for the system file of above-mentioned distributed system, the embodiment of the present invention uses backup file The method of unified management, realize the backup to distributed system file.
In embodiments of the present invention, for each equipment of distributed system, distributed document synchronization submodule is set respectively Block, the submodule are established synchronizing channel between each equipment of distributed system, implemented between each equipment using the present invention The method for the standby system file that example proposes, realizes the backup to system file.In a distributed system, system version text is set Part and v ion file, system version file is the file for including distributed system backup file on the whole, and v ion File, refer to the backup file for each node that distributed system is included.The embodiment of the present invention is by taking v ion file as an example Illustrate the application of the method for the standby system file that the embodiment of the present invention is proposed in a distributed system.
First, when the system file for confirming to need to back up, the embodiment of the present invention applies for a system version number first.System System version number coding rule be:The systematic unity numbering mechanism is similar to such a character string 1100-1- 201505300534-00-0.4 bit digitals are coding sequence numbers before the coding, and since 1100, normal maximum can support 8899 Version.5th bit digital is version sign position, and value is 0 or 1.0 represents that the version has not been completed, and 1 represents that the version is standby Part is completed.Above-mentioned version sign position can also set its value according to the actual requirements and flexibly.The embodiment of the present invention is in application system After system version number, due to not yet standby system file, therefore its version sign position is 0, i.e., the first numerical value described above.
Back up the system file;
Version sign position in the system version number is arranged to second value;
Specifically, after needing the system file that backs up on the system node is backed up, the embodiment of the present invention is by this is backed up The value of version mark in the system version number applied during system file, is arranged to second value, that is, is arranged to 1, characterizes complete The backup of the paired system file node file.
It is the system version number of second value and the backup file of the system file by version sign position, sends to institute State the system version file corresponding to system file.
Specifically, after the backup of v ion file is completed, the embodiment of the present invention is by the v ion file after backup And correspondingly back up the system version number of the v ion file and be sent to superior system version file, obtain system version file Know the backup for having completed the v ion file.
Optionally, in another embodiment of the present invention, the backup system file, including:
Application system version number;Wherein, the version sign position in the system version number is the first numerical value;
Specifically, similar with a upper embodiment, the embodiment of the present invention is used for the backup to distributed system file.Based on upper The reception for stating distributed system is set, and the embodiment of the present invention illustrates technical scheme of the embodiment of the present invention by taking system version file as an example Application in distributed system file backup.
After the system file that confirmation needs back up, the embodiment of the present invention applies for a system version number, system version first The coding rule of this number is:The systematic unity numbering mechanism is similar to such a character string 1100-1-201505300534- 00-0.4 bit digitals are coding sequence numbers before the coding, and since 1100, normal maximum can support 8899 versions.5th digit Word is version sign position, and value is 0 or 1.0 represents that the version has not been completed, and 1 represents that the version has backed up completion.It is above-mentioned Version sign position can also set its value according to the actual requirements and flexibly.The embodiment of the present invention after application system version number, Due to not yet standby system file, therefore its version sign position is 0, i.e., the first numerical value described above.
Control each v ion file corresponding with the system file starts to back up what the system file was included Node file;
Specifically, in a distributed system, system file may correspond to multiple distribution files.For each distribution file, It is backed up, obtains v ion file, all v ion files, the system version file of composition said system file. When system version file is backed up, because file is distributed across each v ion file, therefore system version file Each v ion file corresponding to the system file that control needs to back up starts to back up each node file.
Each node file is in backup, and application system version number first, and then each node file is backed up, and According to backup instances, the version sign position in system version number is set.
Receive node file backup file and system version number that each v ion file is sent;
Specifically, after each v ion file completes file backup, can be by backup file and the system version number of application It is sent to system version file.System version file is according to the value of the version sign position in the system version number of reception, judgement No completion system file backup.
, will if the version sign position for the system version number that each v ion file is sent is second value The version sign position of the system version number of application is arranged to second value.
Specifically, when each v ion file carries out file backup, system version can be set according to file backup situation The value of version sign position in number.When system file is not backed up, the value for setting the version sign position in system version number is the One numerical value;After system file backs up, the value for setting the version sign position in system version number is second value.Work as v ion After file each completes file backup, the value of the version sign position in system version number is each arranged to second value.
If the version sign position for the system version number that each v ion file of system version file reception is sent is equal For second value, then illustrate that each v ion file all has been completed file backup, now system version file by itself The value of the version sign position of the system version number of application is arranged to second value, that is, represents to have been completed to the standby of system file Part.
The embodiment of the invention discloses a kind of device of standby system file, shown in Figure 4, the device includes:
Time confirmation unit 401, for confirming the modification time of simultaneously record system file;
Processing unit 402 is contrasted, for by the modification time and the system recorded during last system backup text The modification time of part is contrasted;
Back-up processing unit 403, for confirming that the modification time is with last when the contrast processing unit contrast During the modification time difference of the system file recorded during system backup, the system file is backed up.
Specifically, in the present embodiment unit specific works content, refer to the content of above method embodiment, this Place repeats no more.
Optionally, in another embodiment of the present invention, shown in Figure 5, the device also includes:
MD5 values computing unit 404, for calculating and recording the MD5 values of the system file;
Second comparison unit 405, for by the MD5 values and the system file recorded during last system backup MD5 values are contrasted;
If the contrast of the second comparison unit 405 confirms that the MD5 values are described with being recorded during last system backup The MD5 values of system file are different, then control the back-up processing unit 403 to back up the system file.
Specifically, in the present embodiment unit specific works content, refer to the content of above method embodiment, this Place repeats no more.
Optionally, in another embodiment of the present invention, shown in Figure 6, the device also includes:
Dispensing unit 406, for configuring System describe file;
File adding device 407, for the System describe file to be added in the warehouse initialized in advance;
System backup unit 408, the system file for the System describe file to be included backup to the warehouse In.
Specifically, the specific works content of the unit in the present embodiment, the content of above method embodiment is referred to, Here is omitted.
Optionally, in another embodiment of the present invention, the back-up processing unit, including:
First application unit, for application system version number;Wherein, the version sign position in the system version number is the One numerical value;
Backup units, for backing up the system file;
First setting unit, for the version sign position in the system version number to be arranged into second value;
First transmitting element, for by system version number of the version sign position for second value and the system file Backup file, send to the system version file corresponding to the system file.
Specifically, in the present embodiment unit specific works content, refer to the content of above method embodiment, this Place repeats no more.
Optionally, in another embodiment of the present invention, the back-up processing unit, including:
Second application unit, for application system version number;Wherein, the version sign position in the system version number is the One numerical value;
Control unit, for controlling each v ion file corresponding with the system file to start to back up the system The node file that file is included;
File reception unit, for receiving the node file backup file of each v ion file transmission and being Unite version number;
Second setting unit, the version sign position of the system version number for being sent when each v ion file are equal For second value when, the version sign position of the system version number of application is arranged to second value.
Specifically, in the present embodiment unit specific works content, refer to the content of above method embodiment, this Place repeats no more.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (10)

  1. A kind of 1. method of standby system file, it is characterised in that including:
    Confirm the modification time of simultaneously record system file;
    The modification time of the system file of the modification time with being recorded during last system backup is contrasted;
    If the modification time of the system file of the modification time from being recorded during last system backup is different, back up The system file.
  2. 2. according to the method for claim 1, it is characterised in that when confirming the modification time with upper once system backup After the modification time difference of the system file of record, this method also includes:
    Calculate and record the MD5 values of the system file;
    The MD5 values of the system file of the MD5 values with being recorded during last system backup are contrasted;
    If the MD5 values of the system file of the MD5 values from being recorded during last system backup are different, the system is backed up System file.
  3. 3. according to the method for claim 1, it is characterised in that confirming and before the modification time of record system file, be somebody's turn to do Method also includes:
    Configure System describe file;
    The System describe file is added in the warehouse initialized in advance;
    The system file that the System describe file is included is backuped in the warehouse.
  4. 4. the method according to any claim in claims 1 to 3, it is characterised in that the backup system text Part, including:
    Application system version number;Wherein, the version sign position in the system version number is the first numerical value;
    Back up the system file;
    Version sign position in the system version number is arranged to second value;
    It is the system version number of second value and the backup file of the system file by version sign position, sends to the system The system version file united corresponding to file.
  5. 5. the method according to any claim in claims 1 to 3, it is characterised in that the backup system text Part, including:
    Application system version number;Wherein, the version sign position in the system version number is the first numerical value;
    Control each v ion file corresponding with the system file starts to back up the node that the system file is included File;
    Receive node file backup file and system version number that each v ion file is sent;
    , will application if the version sign position for the system version number that each v ion file is sent is second value The version sign position of the system version number be arranged to second value.
  6. A kind of 6. device of standby system file, it is characterised in that including:
    Time confirmation unit, for confirming the modification time of simultaneously record system file;
    Processing unit is contrasted, for by the modification of the modification time and the system file recorded during last system backup Time is contrasted;
    Back-up processing unit, for when the contrast processing unit contrast confirms the modification time with last system backup During the modification time difference of the system file of record, the system file is backed up.
  7. 7. device according to claim 6, it is characterised in that the device also includes:
    MD5 value computing units, for calculating and recording the MD5 values of the system file;
    Second comparison unit, for the MD5 values of the system file of the MD5 values with being recorded during last system backup to be entered Row contrast;
    If the second comparison unit contrast confirms the MD5 values and the system file recorded during last system backup MD5 values it is different, then control system file described in the back-up processing unit backup.
  8. 8. device according to claim 6, it is characterised in that the device also includes:
    Dispensing unit, for configuring System describe file;
    File adding device, for the System describe file to be added in the warehouse initialized in advance;
    System backup unit, the system file for the System describe file to be included are backuped in the warehouse.
  9. 9. the device according to any claim in claim 6 to 8, it is characterised in that the back-up processing unit, bag Include:
    First application unit, for application system version number;Wherein, the version sign position in the system version number is the first number Value;
    Backup units, for backing up the system file;
    First setting unit, for the version sign position in the system version number to be arranged into second value;
    First transmitting element, for the backup by version sign position for the system version number and the system file of second value File, send to the system version file corresponding to the system file.
  10. 10. the device according to any claim in claim 6 to 8, it is characterised in that the back-up processing unit, Including:
    Second application unit, for application system version number;Wherein, the version sign position in the system version number is the first number Value;
    Control unit, for controlling each v ion file corresponding with the system file to start to back up the system file Comprising node file;
    File reception unit, for receiving node file backup file and the system version that each v ion file is sent This number;
    Second setting unit, the version sign position of the system version number for being sent when each v ion file are the During two numerical value, the version sign position of the system version number of application is arranged to second value.
CN201710696698.9A 2017-08-15 2017-08-15 A kind of method and device of standby system file Pending CN107391315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710696698.9A CN107391315A (en) 2017-08-15 2017-08-15 A kind of method and device of standby system file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710696698.9A CN107391315A (en) 2017-08-15 2017-08-15 A kind of method and device of standby system file

Publications (1)

Publication Number Publication Date
CN107391315A true CN107391315A (en) 2017-11-24

Family

ID=60354667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710696698.9A Pending CN107391315A (en) 2017-08-15 2017-08-15 A kind of method and device of standby system file

Country Status (1)

Country Link
CN (1) CN107391315A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110262997A (en) * 2019-05-06 2019-09-20 阿里巴巴集团控股有限公司 For managing the method and system of public documents
CN111090857A (en) * 2018-10-23 2020-05-01 财团法人工业技术研究院 Method for defending file from malicious software attack, computer system and recording medium
CN112269691A (en) * 2020-11-18 2021-01-26 杭州迪普科技股份有限公司 Method, device, equipment and medium for equipment configuration recovery

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360319A (en) * 2011-09-29 2012-02-22 奇智软件(北京)有限公司 User data backup method and device
CN102455952A (en) * 2011-07-26 2012-05-16 北京壹人壹本信息科技有限公司 Data backup and recovery method, device and system
US9122635B1 (en) * 2012-07-25 2015-09-01 Symantec Corporation Efficient data backup with change tracking
CN105120003A (en) * 2015-09-10 2015-12-02 浪潮(北京)电子信息产业有限公司 Method for realizing data backup in cloud environment
CN105721582A (en) * 2016-02-22 2016-06-29 中国农业银行股份有限公司 Multi-node file backup system
US20160224438A1 (en) * 2009-12-22 2016-08-04 International Business Machines Corporation Restore of full system backup and incremental backups using multiple simultaneous device streams

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160224438A1 (en) * 2009-12-22 2016-08-04 International Business Machines Corporation Restore of full system backup and incremental backups using multiple simultaneous device streams
CN102455952A (en) * 2011-07-26 2012-05-16 北京壹人壹本信息科技有限公司 Data backup and recovery method, device and system
CN102360319A (en) * 2011-09-29 2012-02-22 奇智软件(北京)有限公司 User data backup method and device
US9122635B1 (en) * 2012-07-25 2015-09-01 Symantec Corporation Efficient data backup with change tracking
CN105120003A (en) * 2015-09-10 2015-12-02 浪潮(北京)电子信息产业有限公司 Method for realizing data backup in cloud environment
CN105721582A (en) * 2016-02-22 2016-06-29 中国农业银行股份有限公司 Multi-node file backup system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蒋鑫: "《Git权威指南》", 30 June 2011, 机械工业出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090857A (en) * 2018-10-23 2020-05-01 财团法人工业技术研究院 Method for defending file from malicious software attack, computer system and recording medium
CN110262997A (en) * 2019-05-06 2019-09-20 阿里巴巴集团控股有限公司 For managing the method and system of public documents
CN112269691A (en) * 2020-11-18 2021-01-26 杭州迪普科技股份有限公司 Method, device, equipment and medium for equipment configuration recovery

Similar Documents

Publication Publication Date Title
CN107667351A (en) The system and method for the full data backup and resume for being automatically based upon cloud on mobile device
CN104380263B (en) Backup image replicates
US8090917B2 (en) Managing storage and migration of backup data
US10656876B1 (en) Cloud edition and retrieve
US8392375B2 (en) Perpetual archival of data
CN107391315A (en) A kind of method and device of standby system file
CN102541941A (en) Version management control method for multiple parties to co-operate file
CN105960635A (en) Creating restore copy from copy of source data in repository having source data at different point-in-times
JP2004227572A (en) Remote data control method
CN102193841B (en) Backup method and device of Subversion configuration database
CN112015517A (en) Dynamic migration method and system for block link points based on k8s cluster
CN105224422A (en) A kind of data back up method and equipment
CN103559198A (en) Data synchronizing method and equipment
WO2023000535A1 (en) Cloud volume expansion method and apparatus, and device and readable medium
CN110784347A (en) Node management method, system, equipment and storage medium for container cluster
CN104268097A (en) Metadata processing method and system
EP2372552B1 (en) Automated relocation of in-use multi-site protected data storage
CN104063294B (en) A kind of linux system backup and restoration methods
CN106339176A (en) Intermediate file processing method, client, server and system
US10664779B2 (en) Managing cross project dependencies in project management applications
CN111737047A (en) Volume synchronous remote copying method, device, equipment and readable medium
CN111176904A (en) Method, system, equipment and medium for data backup under private cloud architecture
CN102203725A (en) User profile synchronization
WO2016177202A1 (en) Method and device for patch maintenance
CN105867961A (en) System upgrading and degrading method and device

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: 20171124

RJ01 Rejection of invention patent application after publication