CN100422948C - Recovery method for computer system or data - Google Patents

Recovery method for computer system or data Download PDF

Info

Publication number
CN100422948C
CN100422948C CNB2006100626631A CN200610062663A CN100422948C CN 100422948 C CN100422948 C CN 100422948C CN B2006100626631 A CNB2006100626631 A CN B2006100626631A CN 200610062663 A CN200610062663 A CN 200610062663A CN 100422948 C CN100422948 C CN 100422948C
Authority
CN
China
Prior art keywords
configuration
database
configuration item
record
item
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.)
Expired - Fee Related
Application number
CNB2006100626631A
Other languages
Chinese (zh)
Other versions
CN1920788A (en
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CNB2006100626631A priority Critical patent/CN100422948C/en
Publication of CN1920788A publication Critical patent/CN1920788A/en
Application granted granted Critical
Publication of CN100422948C publication Critical patent/CN100422948C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a recover method of computer system or data, with setting database, wherein it comprises: the setting database manage system detects the setting change of computer; when it changes, storing the changed setting into said setting database; when the setting is damaged, or needs to recover the setting to stored setting, based on user selection, recovering stored setting from the setting database. The invention can store the initial integral setting information and changed system setting information in setting database, therefore, the integral setting of changed system can be recovered, to improve the health of operation system. And the invention can store important data document or software into setting database, to improve the application range.

Description

A kind of computer system or method of data recovery
Technical field
The present invention relates to department of computer science's data of unifying, be specifically related to a kind of computer system or method of data recovery.
Background technology
Now, though PC operating system is powerful, poor stability is after use a period of time, often install or downloaded viruliferous software or unsettled software because of carelessness owing to be subjected to the destruction or the user of virus, its operating system just may not normally be moved.
Present operating system recovery method mainly comprises two kinds, wherein: 1. preserve a full backup of operating system a safety zone, when operating system is destroyed, use this backup to cover ruined operating system, recovery system.Concrete technical scheme in three Chinese patent application of publication number CN1445667 " the hard disc of computer internal information recovers and the implementation method of backup ", publication number CN1545657 " computer hard disk data backup and restoration methods " and publication number CN1484152 " restoration methods of patent computer operating system and device and produce the method for this system " has all adopted this method.Because this method is only preserved the portion backup of operating system, therefore can only be operating system recovery to this standby system state, also need to reinstall after being recovered by the application program of user installation or driver after the standby system, this brings many troubles to the user, and practicality is not enough.If subscriber data file is arranged on the system disk, also may cause losing of data.
2. another method is the current configuration information of regular saved system, detect system when undesired in system, use this backup configuration information recovery system configuration, as Microsoft's Window operating system is current do, this method can only recovery system configuration, be in unsettled situation or destroy situation about can not starting and can't recover for current system.
The method of above-mentioned two kinds of recovery operation systems does not support to recover to be capped in the past or to be not intended to the data file of deletion simultaneously.
On the other hand, a kind of configuration management tool is arranged in the engineering of software development, by the whole documents in the performance history are managed by configuration tool, each milestone point in software development, this stage is arrived configuration database by the document storing of examining or testing, as baseline, later exploitation is carried out based on this baseline, can recover each milestone baseline constantly of former preservation when needed later on.
Summary of the invention
The technical issues that need to address of the present invention are, how computer system or method of data recovery are provided, utilize this method recovery system neatly, further system is not destroyed returning to any state in the past of data, further can specify some part of recovery system, the application program that comprises configuration file, driver or installation is perhaps specified the data of only recovering preservation.
The present invention solves the problems of the technologies described above like this, and a kind of computer system or method of data recovery are provided, and adopts configuration database, may further comprise the steps:
1.1) the current configuration variation of supervisory computer, after changing, determine configuration that changes or configuration item adding or append to be saved in the described configuration database automatically or according to the user;
1.2) dispose when destroying the back or wanting to return to over the configuration of preserving, select arbitrary configuration of from described configuration database, preserving before the recovery according to the user.
According to restoration methods provided by the invention, the described configuration item that appends is that increment appends, reduce the configuration database size, also can adopt the way that adds configuration in principle, therefore but this makes that configuration database is excessive, occupies a large amount of inessential storage spaces, adds configuration and only adopts when initial installation system.
According to restoration methods provided by the invention, described configuration item comprises system file and the working document type of supporting the computer operating system operation, the corresponding configuration item of each file, the common formation of the configuration item of all synchronizations one complete configuration.
According to restoration methods provided by the invention, described configuration item also comprises the Application Type of operating system installation or is stored in data file or software type on the hard disk.
Write down described configuration item type, described step 1.2 when appending according to restoration methods provided by the invention, described step 1.1)) in recovery can select carry out according to the user to all types or the part specified type of configuration item in the described configuration.
According to restoration methods provided by the invention, described step 1.1) append specifically in and comprise:
1.1.1) the described configuration variation corresponding label of record in described configuration database, and the configuration item corresponding record that changes of record number;
1.1.2) configuration item that changes is added the above corresponding record number append and to be saved in the described configuration database.
According to restoration methods provided by the invention, described configuration database comprises the configuration item colophon table of record described corresponding label and corresponding record number and writes down the configuration item record sheet of described corresponding record number and configuration item, also comprise the database version record sheet of describing described corresponding label and set up the data base directory database table of described configuration item catalog views, the structure of described configuration database includes, but are not limited to above this.
According to restoration methods provided by the invention, described configuration database is kept in unsuppressible system file of user or the hiding memory block in the mode of compression and encryption, and each record in described configuration item colophon table, configuration item record sheet database version record sheet and the data base directory database table all contains electronic signature information.
According to restoration methods provided by the invention, each record in the described database version record sheet comprises that all described corresponding label, update time and user can self-defining annotation information, described step 1.2) in the user to select be to carry out according to described each intrarecord information and corresponding label.
According to restoration methods provided by the invention, this method is included in also that computer operating system is initial to be saved in initial complete configuration in the original described configuration database after installing, i.e. step 1.1) a kind of special circumstances.
According to restoration methods provided by the invention, described step 1.1) in the computing machine current operation system, carry out; Described step 1.2) can in the computing machine current operation system, carry out, also can in the configuration restore system of another set of independently self-starting, carry out.
Computer system provided by the invention or method of data recovery, owing to can all be saved in configuration database to the system configuration information behind initial complete configuration information and each the variation, thereby can recover the complete configuration of the system after any one system configuration changes, thereby strengthen the robustness of operating system.The present invention can also be also being saved in configuration database as configuration item for user important data file or software in addition, thereby increased range of application of the present invention.
Description of drawings
Further the present invention is described in detail below in conjunction with the drawings and specific embodiments.
Fig. 1 is the schematic flow sheet of the method for preservation of the present invention and recovery system configuration or data.
Fig. 2 is that configuration database management software of the present invention is monitored the configuration item variation automatically and upgraded the process flow diagram that records in the database.
Fig. 3 is a schematic flow sheet of rejuvenation in the method for recovery system of the present invention configuration or data.
Fig. 4 is the database table kind synoptic diagram that configuration database of the present invention comprises.
Fig. 5 concerns synoptic diagram between configuration item edition data storehouse table and the configuration database table in the configuration database shown in Figure 4.
Fig. 6 is the inputting interface of user of the present invention when recovering the specified type configuration item.
Embodiment
Core of the present invention is to set up configuration database and it is managed, and the embodiment of this configuration data library services includes, but are not limited to following three kinds, is described in detail respectively with regard to each below, further specifies the present invention:
(1) developing and managing by operating system of the configuration database of first embodiment of the invention is responsible for, the management of configuration database exists as a service routine of operating system, this service routine is installed when operating system installation automatically, moves automatically during operating system.
The configuration data library services is a sets of data library management software, the configuration database management software also has the function of user authority management, safety management, transaction management except that having the function of setting up configuration item in configuration database, foundation, the deletion configuration database.The configuration database management software also has the function that each configuration item of monitoring changes, when configuration item changes, the configuration database management software can be saved in configuration database to the file after upgrading automatically, and renewal database label (version number), label uses as the historical record of configuration item, variation for the CONFIG.SYS configuration item of operating system, except that the update system configuration file, also to change relevant newly-increased system file to CONFIG.SYS and be saved in configuration database as newly-increased configuration item, as operating system a driver or an application program have been installed newly, cause CONFIG.SYS to change, the configuration database management software monitors this variation, at this moment the configuration database management software also will be increased to relevant driver or application program corresponding file in the configuration database as newly-increased configuration item simultaneously except update system configuration file in configuration database.
The configuration database management software also allows to distribute authority to the user, the user who allows corresponding authority is configured the functions such as browsing, increase newly, upgrade, delete, label of item, as controlling in order to save configuration store, the user can select certain label whole redundant configuration items constantly of the preservation of deleting over.
The method of the computing machine recovery system of this embodiment correspondence or system configuration, further restore data specifically as shown in Figure 1, may further comprise the steps:
110) set up configuration database at system's hidden area during the initial start-up of configuration database management software.
120) the configuration database management software is saved in configuration database to each file of the system of the initial successful installation of operating system as independent configuration item, and stamps initial labels and annotation information.
130) variation of each configuration item of configuration database management software supervisory system, and associated change appended or be updated in the configuration database, stamp label and annotation information.
140) user's newly-built catalogue in configuration database of corresponding authority is arranged, oneself thinking that important data file or software also is saved in configuration database as a configuration item of configuration database, stamps label and annotation information.
150) system destruction or when unstable, the user recovers this label whole configuration items constantly according to label from configuration database, cover unsettled configuration.
160) user can also recover certain label configuration item constantly, ruined certain system file or the user data and the software of this configuration item correspondence in the covering system from configuration database.
The method of the variation of each configuration item of configuration database management software supervisory system specifically as shown in Figure 2, may further comprise the steps
210) monitoring operating system has file to write incident;
220) writing at file and judge whether institute's object of writing is the configuration item that database management language is monitored after finishing, is to enter next step;
230) this configuration item is updated in the configuration database record, and adds label and note automatically;
240) stamp label and annotated to configuration database.
Need to prove that the configuration database management software for all files of the configuration information of preserving after complete preservation operating system is successfully installed for the first time, passes through the variation of each configuration item of monitoring later on, only preserve the configuration item of change.
Configuration database comprises four kinds of master database tables, as shown in Figure 4, comprises database version record sheet 41, data base directory record sheet 42, configuration item colophon table 43 and configuration item record sheet 44, wherein:
1. configuration item colophon table 43 and configuration item record sheet 44, its logical organization is: a configuration item record sheet 44 of preserving configuration item in the configuration item correspondence database of each preservation, a current version of each bar recorded and stored configuration item of this configuration item record sheet 44; Also corresponding configuration item colophon table 43, record the recording mechanism 432 of configuration item database table 44 of label (version information) 431, version updating time, note, enciphered message, electronic signature information and this version correspondence of configuration item, this recording mechanism 432 is set up contact at configuration item colophon table 43 and configuration item record sheet 44, specifically as shown in Figure 5, promptly there is many-to-one corresponding relation between the record of two record sheets.
2. the database version record sheet 41, i.e. global data database table is used for label (version information), version updating time, annotation information, enciphered message, electronic signature information of database of record etc.
3. the data base directory database table 42, information such as the table name of each configuration item that increases in each bar record registration configuration database of this table claims, configuration item type and configuration item original directory path.When browsing configuration database, set up the whole configuration item catalog views that comprise in view of the above, when recovery system disposes, search each configuration item that will recover in view of the above and configuration item is returned to the original position.
The user at first checks the version and the corresponding annotation information of the system configuration of preserving in the configuration database during recovery, recover the configuration of which version with decision, when recovery system, recover each configuration item according to the catalog data base table, the version information of the edition data storehouse table by taking out each configuration item correspondence in the configuration database, in the configuration item database table of correspondence, find the configuration item that will recover according to the version that will recover, return to this configuration item original directory in the catalog data base table after from database, taking out the configuration item decompress(ion), cover corresponding file, recover to finish up to whole system configuration.Said system rejuvenation specifically as shown in Figure 3, may further comprise the steps:
310) start the configuration database management software;
320) user browses the label and the annotation information of configuration database;
330) select to recover the system backup constantly of any one label;
340) according to each configuration item in label and the catalog data base table recovery configuring database, return to this configuration item original directory in the catalog data base table behind the decompress(ion);
350) restarting machine system recovers.
In the present embodiment, the user can also specify the configuration item that only recovers some type, and as shown in Figure 6, these files can comprise system configuration, system file, application program and data file, and wherein system configuration, system file, application program belong to the system file class.Specify when recovering and search the configuration item type that will recover at the catalog data base table, only recover the configuration item of specified type, rejuvenation and said process are similar.
When only recovering one of them configuration item, flow process is: find this configuration item in configuration database, by checking the version of this configuration item, select to recover the configuration item of certain version.
The descriptor of the edition data storehouse table of configuration database each configuration item correspondence of preserving in addition, provide the explanation and the note of configuration item, automatically generate and add annotation information automatically by the configuration database management software when upgrading if configuration item is a system, if being user oneself, configuration item generates, then annotation information is responsible for interpolation by the user, the user can browse these configuration items and annotation information, can also browse the label historical record.
In order to guarantee the integrality of configuration item, the configuration database management software can add the electronics signature to each configuration item of preserving in the configuration database, and signing messages also is saved in the edition data storehouse table, when recovering, by the checking electronic signature, after checking is passed through, could carry out the recovery operation of configuration item; The configuration database management software also has the function that constantly total data in the configuration database is added the electronics signature at certain label, and signing messages is saved in the global data database table of configuration database, when recovering, by the checking electronic signature, after checking is passed through, could carry out recovery operation.
In order to guarantee the security of configuration item, the configuration database management software can use multiple encryption algorithms to carry out encrypting storing to each configuration item of preserving in the configuration database.
In order to save the hard-disc storage space, the configuration database management software compresses preservation to each configuration item of preserving in the configuration database.
(2) second embodiment of the present invention, configuration database is as a system documentation of hard disk, this system documentation is hidden the user and can not be by user and system-kill, configuration database is only preserved the CONFIG.SYS of supporting operating system in this embodiment, the configuration database management software of this embodiment is only monitored the variation of this CONFIG.SYS in addition, in that system configuration is destroyed when causing system unstable, any one normal system configuration before the configuration database management software can recover from configuration database, thereby recovery system.
This embodiment configuration database management software is the same with first embodiment, and as a service routine existence of operating system, this service routine is installed when operating system installation automatically, moves automatically during operating system.This embodiment realizes simply, saves hard drive space.
(3) the 3rd embodiment of the present invention is that its corresponding configuration database management software moves as two cover systems, one cover is the same with above first and second embodiment, a service routine as operating system exists, this service routine is installed when operating system installation automatically, automatically move during operating system, realize the interpolation of configuration item, upgrade, deletion, version management, the functions such as variation of monitoring configuration item, an other cover is also installed when operating system installation automatically, but this cover system is not as a service operation of operating system, this cover system does not move during operating system, and be saved to the storage area of a safety, as independently a hard disk district or a memory device independently, this cover system only causes can't normally start the time in that operating system is destroyed, can operate directly by the user and start operation by Basic Input or Output System (BIOS) (BIOS), carry out the function of recovering ruined operating system, to former certain stable normal condition, restoration methods is identical with last two embodiment operating system recovery.The advantage of this embodiment is in that operating system is destroyed can not normally start the time, can recover correct complete stable operating system from configuration database, the recovery system operation.
Because the preservation of the content when the inventive method has realized system configuration and each the variation, can be when system destruction or instability, recovery system has promptly recovered system to the state of former any one version, makes system recovery arrive nearest normal state again.Can also realize in addition preserving and recovering any important data or software, so the inventive method can improve the robustness and the availability of operating system greatly.

Claims (10)

1. computer system or method of data recovery is characterized in that, adopt configuration database, may further comprise the steps:
1.1) the current configuration variation of supervisory computer, after changing, determine a configuration that changes added or a configuration item that changes appended automatically or according to the user and be saved in the described configuration database;
1.2) dispose when destroying the back or wanting to return to over the configuration of preserving, select arbitrary configuration of from described configuration database, preserving before the recovery according to the user.
2. according to the described restoration methods of claim 1, it is characterized in that, described configuration item comprises system file type and the working document type of supporting the computer operating system operation, the corresponding configuration item of each file, the common formation of the configuration item of all synchronizations one complete configuration.
3. according to the described restoration methods of claim 2, it is characterized in that described configuration item also comprises the Application Type of operating system installation or is stored in data file class or software type on the hard disk.
4. according to claim 1,2 or 3 described restoration methods, it is characterized in that, write down described configuration item type, described step 1.2 when appending described step 1.1)) in recover to select all types or the part specified type of configuration item in the described configuration are carried out according to the user.
5. according to the described restoration methods of claim 1, it is characterized in that described step 1.1) in append specifically and comprise:
1.1.1) the described configuration variation corresponding label of record in described configuration database, and the configuration item corresponding record that changes of record number;
1.1.2) configuration item that changes is added the above corresponding record number append and to be saved in the described configuration database.
6. according to the described restoration methods of claim 5, it is characterized in that, described configuration database comprises the configuration item record sheet of the configuration item colophon table of record described corresponding label and corresponding record number and the described corresponding record of record number and configuration item, also comprises the database version record sheet of describing described corresponding label and sets up the data base directory database table of described configuration item catalog views.
7. according to the described restoration methods of claim 6, it is characterized in that, described configuration database is kept in unsuppressible system file of user or the hiding memory block in the mode of compression or compression and encryption, and each record in described configuration item colophon table, configuration item record sheet, database version record sheet and the data base directory database table also comprises electronic signature information.
8. according to claim 1 or 6 described restoration methods, it is characterized in that, each record in the described database version record sheet all comprises described corresponding label, update time and annotation information, described step 1.2) in the user to select be to carry out according to described each intrarecord information and corresponding label.
9. according to the described restoration methods of claim 1, it is characterized in that this method intactly is saved in initial configuration in the original described configuration database after also being included in the initial installation of computer operating system.
10. according to the described restoration methods of claim 1, it is characterized in that described step 1.1) in the computing machine current operation system, carry out; Described step 1.2) can in the computing machine current operation system, carry out, also can in the configuration restore system of another set of independently self-starting, carry out.
CNB2006100626631A 2006-09-18 2006-09-18 Recovery method for computer system or data Expired - Fee Related CN100422948C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100626631A CN100422948C (en) 2006-09-18 2006-09-18 Recovery method for computer system or data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100626631A CN100422948C (en) 2006-09-18 2006-09-18 Recovery method for computer system or data

Publications (2)

Publication Number Publication Date
CN1920788A CN1920788A (en) 2007-02-28
CN100422948C true CN100422948C (en) 2008-10-01

Family

ID=37778516

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100626631A Expired - Fee Related CN100422948C (en) 2006-09-18 2006-09-18 Recovery method for computer system or data

Country Status (1)

Country Link
CN (1) CN100422948C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199686A (en) * 2007-11-27 2021-01-08 波音公司 Method and apparatus for distributing Loadable Software Aircraft Parts (LSAP)
CN101262375B (en) * 2008-04-21 2011-07-20 北京星网锐捷网络技术有限公司 A dynamic configuration recovery method and system for network devices
CN101742254B (en) * 2008-11-25 2013-11-06 北京中星微电子有限公司 Backup method for video monitoring system information and central platform server
CN101826039B (en) * 2009-03-06 2013-11-06 宏碁股份有限公司 System setting recovery method and computer system
CN103136014B (en) * 2011-12-02 2016-07-13 北京市电力公司 The method and system of installing DB
US9836230B2 (en) * 2015-04-16 2017-12-05 Netapp, Inc. Data backup with rolling baselines
CN105607970A (en) * 2015-12-21 2016-05-25 联想(北京)有限公司 Information processing method and electronic equipment
CN109918386B (en) * 2019-01-31 2021-04-30 北京明略软件系统有限公司 Data recovery method and device and computer readable storage medium
CN113438095B (en) * 2020-03-23 2022-12-02 华为技术有限公司 Method, device and equipment for managing configuration data and storage medium
CN112380583B (en) * 2021-01-11 2021-04-20 北京拓课网络科技有限公司 Online education platform configuration item processing method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5991772A (en) * 1997-10-31 1999-11-23 Oracle Corporation Method and apparatus for restoring a portion of a database
CN1437365A (en) * 2002-02-04 2003-08-20 华为技术有限公司 Off-line data configuration method for communication equipment
CN1517918A (en) * 2003-01-17 2004-08-04 深圳市中兴通讯股分有限公司 Method for back-up and restoring important data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5991772A (en) * 1997-10-31 1999-11-23 Oracle Corporation Method and apparatus for restoring a portion of a database
CN1437365A (en) * 2002-02-04 2003-08-20 华为技术有限公司 Off-line data configuration method for communication equipment
CN1517918A (en) * 2003-01-17 2004-08-04 深圳市中兴通讯股分有限公司 Method for back-up and restoring important data

Also Published As

Publication number Publication date
CN1920788A (en) 2007-02-28

Similar Documents

Publication Publication Date Title
CN100422948C (en) Recovery method for computer system or data
CN101253484B (en) Method for storing data from client and the client
US20040193953A1 (en) Method, system, and program for maintaining application program configuration settings
US8510271B1 (en) Application and file system data virtualization from image backup
EP2494456B1 (en) Backup using metadata virtual hard drive and differential virtual hard drive
US8868858B2 (en) Method and apparatus of continuous data backup and access using virtual machines
JP4107370B2 (en) Distributed data archiving system
EP2936352B1 (en) Filtered reference copy of secondary storage data in a data storage system
US7523149B1 (en) System and method for continuous protection of working set data using a local independent staging device
US5684991A (en) Modification metadata set, abstracted from database write requests
US8117168B1 (en) Methods and systems for creating and managing backups using virtual disks
US8005797B1 (en) File-level continuous data protection with access to previous versions
US8296264B1 (en) Method and system for file-level continuous data protection
CN102012852B (en) Method for implementing incremental snapshots-on-write
JP4160933B2 (en) Fast restore of file system usage on very large file systems
US8468136B2 (en) Efficient data backup
JP4464340B2 (en) Distributed data archiving system
CN109582443A (en) Virtual machine standby system based on distributed storage technology
US20110145196A1 (en) System and method for providing a backup/restore interface for third party hsm clients
US20070250673A1 (en) Computer backup system
CN101167058B (en) Apparatus, method and system for restoring files
KR20050009696A (en) Method and system for disaster recovery
US20070061540A1 (en) Data storage system using segmentable virtual volumes
CN103077043A (en) Method for fast starting and operating Linux
CN112800019A (en) Data backup method and system based on Hadoop distributed file system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081001

Termination date: 20110918