CN1456980A - Hard disc data duplicating and reproducing method - Google Patents

Hard disc data duplicating and reproducing method Download PDF

Info

Publication number
CN1456980A
CN1456980A CN 02117605 CN02117605A CN1456980A CN 1456980 A CN1456980 A CN 1456980A CN 02117605 CN02117605 CN 02117605 CN 02117605 A CN02117605 A CN 02117605A CN 1456980 A CN1456980 A CN 1456980A
Authority
CN
China
Prior art keywords
backup
data
recovery
district
operating system
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.)
Granted
Application number
CN 02117605
Other languages
Chinese (zh)
Other versions
CN1241125C (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN 02117605 priority Critical patent/CN1241125C/en
Publication of CN1456980A publication Critical patent/CN1456980A/en
Application granted granted Critical
Publication of CN1241125C publication Critical patent/CN1241125C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The method sets up a hidden operation system back-up region and a hidden user data back-up region in the hard disc and to back up the operation system data and the user data in it separately. They are restored separately when it is required.

Description

The method of hard disc data backup and recovery
Technical field
The present invention relates to computer application field, particularly relate to a kind of method that data in the computing machine are backed up and recover, be used for the significant data of simple backup and recovery computing machine.
Background technology
The hard disk data protection technology is along with the application popularization of electronic data information grows up, and the application of electronic data is increasingly extensive, the maintenance of information just occurred and has prevented the requirement that accident is lost.Hard disk is as a kind of the most frequently used external memory storage of computing machine, it often faces the situations such as infection of misoperation of users, computer virus, thereby the backup of hard disc data just seemed extremely important, so that can recover some crucial data contents when being necessary.
In hard disc data backup of the prior art and the restoration methods, having a kind of is that data backup with subregion or hard disk becomes a file to exist in the hard disk, opens this document during recovery, with the content recovery of backup in former subregion or hard disk.This backup method because it is based upon on the basis of file system, in case therefore file system is destroyed, then can not recover the information that is backed up rapidly.
Summary of the invention
The objective of the invention is to propose a kind of hard disc data backup and restoration methods, the significant data that is used for simple backup and recovery computing machine, wherein, in hard disk, set up a hiding operating system backup area and a hiding user data backup district, operating system data and user data are backed up respectively therein, recover respectively when needed.
Preferably, in hard disk, set up a hiding system bootstrap district backup area, with the data backup of system bootstrap district therein, recover when needed.
The computer program of carrying out described user data backup and restoration methods can be stored in the BIOS of computing machine.
Preferably, in of the backup of described operating system backup area, password-protected at the operating system data.Password can be grasped and the open user of giving by computer vendors, avoids because misoperation of users etc. and the data of operating system backup area are caused damage realize the reliable recovery of data.
Described system backup district can back up and recovers at C dish, and does not change the partition table of hard disk reality, occupies himself requisite space of spatial division by the backup of reality.
Described user data backup district can carry out data backup and recovery at the user data dish, and does not change the partition table of hard disk reality, occupies himself requisite space of spatial division by last backup actual.The user data dish can be D dish or other fdisks.
The present invention adopts the method set up hidden partition that data are backed up, thereby has avoided in the prior art having improved the security of backing up owing to Backup Data being created as the dependence to file system that file causes.And the present invention treats operating system data and user data difference, has solved the direct contradiction of system recovery and user data backup well, gives computer knowledge is understood few user with easy to use greatly.Make the user can restore the system to the kilter before dispatching from the factory after computer has used a period of time, also can freely user data be backed up and recover simultaneously, operation is simple and reliable, do not have trouble and worry.
Description of drawings
Fig. 1 shows the mode of setting up according to system bootstrap district backup area, operating system backup area and the user data backup district of a preferred embodiment of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, by the following examples, and with reference to accompanying drawing the present invention is described in more detail.
The objective of the invention is to propose a kind of hard disc data backup and restoration methods, be used for the significant data of simple backup and recovery computing machine, be user-friendly to, lower the after service cost of computer vendors simultaneously.Fig. 1 shows the mode of setting up according to system bootstrap district backup area 101, operating system backup area 102 and the user data backup district 103 of a preferred embodiment of the present invention.Please refer to Fig. 1, the foundation in system bootstrap district backup area 101, operating system backup area 102 and user data backup district 103, can comprise following steps: (1) is since a specific logical address, set up a system bootstrap district backup area 101, its size is fixing, does not adjust with backup procedure; (2) after system bootstrap district backup area 101, set up an operating system backup area 102, back up and recover at C dish, and do not change the partition table of hard disk reality, occupy himself requisite space of spatial division by the backup of reality; (3) after operating system backup area 102, set up a user data backup district 103, back up and recover at the user data dish, and do not change the partition table of hard disk reality, occupy himself requisite space of spatial division by last backup actual.Specific logical address described in the step (1) can be the actual maximum address of hard disk.After the user carries out the recovery of C disc system, state, i.e. factory state when the C dish is system backup.This moment, the C dish did not have other data.After the user carried out the recovery of D dish data, state when the D dish is got back to last data backup did not have other data.
In the present embodiment, in the backup of operating system backup area 102 at the operating system data, should be in user data backup district 103 data for empty or discharged under all customer data backup area 103 data conditions and carry out.
Please refer to Fig. 1,, realize the foundation of each backup area in the present embodiment by following concrete steps.
At first mark off the data backup zone of one section hard drive space as hard disc data, this section zone is a hidden area, and is invisible under operating system, is not subjected to the influence of FDISK software, can not be formatted.The specific implementation method is to mark the data backup hidden area of the high-end continuous regional space of one section logical address on the hard disk as DISK to Image by the maximum address that hard disk is set.The foundation of hidden area can order the maximum address that hard disk is set to be realized by the SET MAX that the hard disk areas defencive function that hard disk itself is had is supported.
As shown in Figure 1, the maximum address recognized that hard disk is set by SET MAX order is mAd, and just the hard disk address hAd with reality comes out to the area dividing between the mAd, as hidden area.Hidden area is divided into system bootstrap district backup area 101, operating system backup area 102 and user data backup district 103, and this three subregion is separate, but places in order.
As shown in Figure 1, the actual maximum address of hard disk is defined as hAd, and the end address of system bootstrap district backup area 101 is defined as sAd1, and the end address of operating system backup area 102 is defined as sAd2, and the end address in user data backup district 103 is defined as mAd.Like this, among the whole hidden partition between the mAd, seamlessly be divided into three zones at hAd, i.e. system bootstrap district backup area 101, operating system backup area 102, user data backup district 103 by sAd1 and sAd2.
The size of system bootstrap district backup area 101 is fixed, and will no longer change in case divide.By the quantity of calculating the actual subregion of hard disk, the type of subregion, the information such as size of hard disk partition table, can calculate its maximum possible value, its length may be defined as fLength, and unit is a byte.Can calculate sAd1 according to sAd1=hAd-fLength.
The size of operating system backup area 102 is decided according to the size of operating system by producer according to the C dish, may be defined as sysLength.103 when being empty in the user data backup district, promptly during mAd=sAd2, and operating system backup area 102 adjustable size.Can calculate sAd2 according to sAd2=sAd1-sysLength.When carrying out system backup in producer, the calculating of operating system backup area 102 sizes carries out.When not backing up, sysLength=0, i.e. mAd=sAd1.103 when being empty in the user data backup district, promptly during mAd=sAd2, and operating system backup area 102 adjustable size.It is backup operation system repeatedly of producer.Size when its size is last the backup.In case user data backup district 103 is not empty, promptly during mAd ≠ sAd2, operating system backup area 102 sizes are just no longer adjustable.Be that sAd2 will fix.System can not back up again.When not being empty, change the size in user data backup district 103 if desired, promptly need again the backup operation system, then need at first to discharge user data backup district 103, make mAd=sAd2 again in user data backup district 103.
The size in user data backup district 103 decides according to the size of the data content that the user deposited in the D dish, may be defined as dataLength.User data backup district 103 sizes always can dynamically be adjusted.Can calculate mAd according to mAd=sAd2-dataLength.The calculating of user data backup district 103 sizes is carried out when the user carries out data backup.When not backing up, dataLength=0, i.e. mAd=sAd2.Under any circumstance, with backing up user data repeatedly per family.D dish user data size when the size in its user data backup district 103 is last the backup.Carried out data backup as the user, then backup operation system again of producer.Unless at first discharge user data backup district 103, with the data deletion of user ID, just backup operation system again.
If the user changes partition table, then need backup partition table separately, but do not influence the system recovery of C dish and the user data restore funcitons of D dish.If the partition table after the user change has only 1 or 2 subregions, promptly the user with DISK to Image only for C dish or C, the D dish, then data backup function should be forbidden automatically.Hard disk remaining space deficiency when backing up as data should be able to provide prompting and forbidden data backup functionality.
Above preferred embodiment, respectively at system bootstrap district backup area 101, operating system backup area 102, and the length setting in user data backup district 103, have been described in detail, on the basis of above accurate Calculation, the hidden area that is used for data backup on the hard disk can satisfy compression to greatest extent on the basis of using, and has improved the utilization ratio of hard disk.
According to the present invention, because system data back-up and user data backup and the complete separate operation of recovery are independent of each other, it is simple more clear and definite that the user is operated.Because system recovery is nonupdatable, does not bring damage so the user worries the maloperation meeting of oneself to system, simultaneously, does not worry the virus problems that the user has a headache most.If generation poisoning intrusion, or the damage that brings operating system owing to misoperation of users, the user only need start shooting and press resetkey again, just can be with the state of operating system recovery before dispatch from the factory, but also do not worry losing of important documents.Simultaneously, for the user problem that can not solve has taken place, do not had faults such as sound as computer, also only need simply carry out system recovery can repair problem to the user.
For user data backup, time and cycle that the user can own design data timed backup, guarantee in back user's the loss minimum that breaks down.If the user does not in time carry out data backup, cause operating system to damage and at this moment run into virus infections, still can carry out system recovery relievedly, and can not damage the data of D dish.At last, after system recovery is finished, user's data, even comprise that the account can not be damaged.This is because the benefit of independently bringing separately of system recovery and user data backup.
Thus, the present invention can reduce the after sale service of computer significantly, simultaneously again to having guaranteed that the computer that the user reports for repairment is not a software issue, has saved the system manufacturer after-sale service cost greatly.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, the method for a kind of hard disc data backup and recovery, it is characterized in that, in hard disk, set up a hiding operating system backup area and a hiding user data backup district, operating system data and user data are backed up respectively therein, recover respectively when needed.
2, the method for hard disc data backup as claimed in claim 1 and recovery is characterized in that, sets up a hiding system bootstrap district backup area in hard disk, with the data backup of system bootstrap district therein, recovers when needed.
3, the method for hard disc data backup as claimed in claim 1 and recovery is characterized in that, the computer program of carrying out described user data backup and restoration methods is stored in the BIOS of computing machine.
4, the method for hard disc data backup as claimed in claim 1 and recovery is characterized in that, and is in the backup of described operating system backup area at the operating system data, password-protected.
5, the method for hard disc data backup as claimed in claim 1 and recovery, it is characterized in that, described operating system backup area backs up at C dish and recovers, and does not change the partition table of hard disk reality, occupies himself requisite space of spatial division by the backup of reality.
6, the method for hard disc data backup as claimed in claim 1 and recovery, it is characterized in that, described user data backup district, carry out data backup and recovery at the user data dish, and do not change the partition table of hard disk reality, occupy himself requisite space of spatial division by last backup actual.
7, the method for the backup of hard disc data as claimed in claim 6 and recovery is characterized in that, described user data dish is the D dish.
8, the method for the backup of hard disc data as claimed in claim 2 and recovery is characterized in that, the foundation in described system bootstrap district backup area, operating system backup area and user data backup district comprises following steps:
(1) since a specific logical address, set up a boot section backup area, its size is fixing, does not adjust with backup procedure;
(2) after described system bootstrap district backup area, set up an operating system backup area, back up and recover at C dish, and do not change the partition table of hard disk reality, occupy himself requisite space of spatial division by the backup of reality;
(3) after described operating system backup area, set up a user data backup district, back up and recover at the user data dish, and do not change the partition table of hard disk reality, occupy himself requisite space of spatial division by last backup actual.
9, the method for the backup of hard disc data as claimed in claim 8 and recovery is characterized in that, described specific logical address is the actual maximum address of hard disk.
10, the method for the backup of hard disc data as claimed in claim 8 and recovery, it is characterized in that, backup in described system backup district at the operating system data must be in user data backup district data for empty or discharged under all customer data backup area data conditions and carry out.
CN 02117605 2002-05-08 2002-05-08 Hard disc data duplicating and reproducing method Expired - Lifetime CN1241125C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02117605 CN1241125C (en) 2002-05-08 2002-05-08 Hard disc data duplicating and reproducing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02117605 CN1241125C (en) 2002-05-08 2002-05-08 Hard disc data duplicating and reproducing method

Publications (2)

Publication Number Publication Date
CN1456980A true CN1456980A (en) 2003-11-19
CN1241125C CN1241125C (en) 2006-02-08

Family

ID=29410317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02117605 Expired - Lifetime CN1241125C (en) 2002-05-08 2002-05-08 Hard disc data duplicating and reproducing method

Country Status (1)

Country Link
CN (1) CN1241125C (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100397364C (en) * 2005-11-08 2008-06-25 英业达股份有限公司 Method for executing backup and rerun routine to backup and rerun data in hard disk
CN101183324B (en) * 2007-12-10 2010-06-23 上海北大方正科技电脑系统有限公司 Recovery method of computer system
CN102541739A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Test method and device of Linux operating system
CN102841863A (en) * 2012-07-10 2012-12-26 上海德拓信息技术有限公司 Method for backuping data through adopting dual-disk read-write operation
CN103455387A (en) * 2012-05-30 2013-12-18 深圳市祈飞科技有限公司 Method and system for backing up and restoring operation system in UEFI (united extensible firmware interface) BIOS (basic input /output system)
CN104182301A (en) * 2014-08-26 2014-12-03 山东超越数控电子有限公司 Backup method and restore method for Kylin operating system
CN105893178A (en) * 2016-03-30 2016-08-24 苏州美天网络科技有限公司 Data backup method for mobile hard disk
CN105893179A (en) * 2016-03-30 2016-08-24 苏州美天网络科技有限公司 Backup method for data of mobile hard disk drive
CN106055430A (en) * 2016-05-27 2016-10-26 北京奇虎科技有限公司 System backup updating method and device for PTZ camera
CN108009447A (en) * 2017-12-27 2018-05-08 湖南国科微电子股份有限公司 A kind of fdisk hidden method, device and hard disk
CN108776577A (en) * 2018-05-04 2018-11-09 新华三技术有限公司成都分公司 Disk management method, device, electronic equipment and storage medium
CN109144779A (en) * 2018-08-01 2019-01-04 中影环球(北京)科技有限公司 The backup and restoration methods of TMS server, (SuSE) Linux OS
CN110807186A (en) * 2019-11-06 2020-02-18 杭州华澜微电子股份有限公司 Method, device, equipment and storage medium for safe storage of storage equipment

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100397364C (en) * 2005-11-08 2008-06-25 英业达股份有限公司 Method for executing backup and rerun routine to backup and rerun data in hard disk
CN101183324B (en) * 2007-12-10 2010-06-23 上海北大方正科技电脑系统有限公司 Recovery method of computer system
CN102541739B (en) * 2011-12-31 2016-01-13 曙光信息产业股份有限公司 The method of testing of (SuSE) Linux OS and device
CN102541739A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Test method and device of Linux operating system
CN103455387A (en) * 2012-05-30 2013-12-18 深圳市祈飞科技有限公司 Method and system for backing up and restoring operation system in UEFI (united extensible firmware interface) BIOS (basic input /output system)
CN102841863A (en) * 2012-07-10 2012-12-26 上海德拓信息技术有限公司 Method for backuping data through adopting dual-disk read-write operation
CN104182301A (en) * 2014-08-26 2014-12-03 山东超越数控电子有限公司 Backup method and restore method for Kylin operating system
CN105893178A (en) * 2016-03-30 2016-08-24 苏州美天网络科技有限公司 Data backup method for mobile hard disk
CN105893179A (en) * 2016-03-30 2016-08-24 苏州美天网络科技有限公司 Backup method for data of mobile hard disk drive
CN106055430A (en) * 2016-05-27 2016-10-26 北京奇虎科技有限公司 System backup updating method and device for PTZ camera
CN108009447A (en) * 2017-12-27 2018-05-08 湖南国科微电子股份有限公司 A kind of fdisk hidden method, device and hard disk
CN108009447B (en) * 2017-12-27 2021-05-14 湖南国科微电子股份有限公司 Hard disk partition hiding method and device and hard disk
CN108776577A (en) * 2018-05-04 2018-11-09 新华三技术有限公司成都分公司 Disk management method, device, electronic equipment and storage medium
CN109144779A (en) * 2018-08-01 2019-01-04 中影环球(北京)科技有限公司 The backup and restoration methods of TMS server, (SuSE) Linux OS
CN110807186A (en) * 2019-11-06 2020-02-18 杭州华澜微电子股份有限公司 Method, device, equipment and storage medium for safe storage of storage equipment

Also Published As

Publication number Publication date
CN1241125C (en) 2006-02-08

Similar Documents

Publication Publication Date Title
CN1241125C (en) Hard disc data duplicating and reproducing method
EP1907935B1 (en) System and method for virtualizing backup images
US6167494A (en) Method and system for recovering from operating system failure
CA2178213C (en) Incremental backup system
EP1510920B1 (en) Apparatus and method for controlling booting operation of a computer system
US7000231B1 (en) Method of manufacturing operating system master template, method of manufacturing a computer entity and product resulting therefrom, and method of producing a production version of an operating system
CN110188000A (en) Application disaster recovery method and system based on virtualization and iSCSI or FC
EP2454670B1 (en) Operating system restoration using remote backup system and local system restore function
WO2004090722A1 (en) Data isolation system and method
CN1877539A (en) Data backup/recovery system under cold start mode and implementing method therefor
US20050044548A1 (en) Efficient replication of embedded operating system with a write filter and overlay partition
JPH09160725A (en) Method and system for configuration management of mass storage device
CN104040512A (en) Method and device for processing storage space and non-volatile computer readable storage medium
JPH0991099A (en) Disk update log recording system
CN102968358A (en) Quick recovery method of soft RAID1 deployment system
CN1220945C (en) Computer system backup and restoring method
CN111475334A (en) TiDB database maintenance method and device, computer equipment and storage medium
CN101008908B (en) Synchronous data copy system and method
US6907506B2 (en) Security device for a mass storage
CN101833487A (en) Realization method of automation synchronous mirror image and restoration
EP2490123A2 (en) An embedded appliance
CN101201796A (en) Method for self-regulating write-in synchronous copy diskette space size of snap equipment
KR20010046058A (en) Non-stop auto backup/restore program for pc's
KR20020037610A (en) A process for Backup and recovery of Computer Marddisk
JP4130076B2 (en) Database management program and recording medium

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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
CX01 Expiry of patent term

Granted publication date: 20060208

CX01 Expiry of patent term