CN101201767A - System and method for backup and recovery of magnetic disc mirroring of computer system data - Google Patents

System and method for backup and recovery of magnetic disc mirroring of computer system data Download PDF

Info

Publication number
CN101201767A
CN101201767A CNA2006101646986A CN200610164698A CN101201767A CN 101201767 A CN101201767 A CN 101201767A CN A2006101646986 A CNA2006101646986 A CN A2006101646986A CN 200610164698 A CN200610164698 A CN 200610164698A CN 101201767 A CN101201767 A CN 101201767A
Authority
CN
China
Prior art keywords
data
disk
server
disk sector
client computer
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
CNA2006101646986A
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNA2006101646986A priority Critical patent/CN101201767A/en
Publication of CN101201767A publication Critical patent/CN101201767A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention discloses a backup and restoration system and method for disk images of computer system data and is used for a data image backup and restoration system which is provided with a plurality of client computers and servers, and the invention uses a client program running in the basic input and output system (BIOS) of each client computer and a data backup and restoration software running in the server for image backup and restoration of system and data of each client computer. The backup and restoration system and method for disk images of computer system data does not need to run any data processing and parsing software in the client computer, and the client computer utilizes functions of the client program running in the BIOS, which is only responsible for reading and writing disk sector data, receiving and sending network data, all the processing and parsing jobs of data to be backed up and restored are finished in the server end.

Description

The disk mirroring backup of computer system data and recovery system and method
Technical field
The present invention relates to a kind of operating system in the computing machine and data be backed up and the system and method that recovers, relate in particular to a kind of in having a plurality of client computers and data in server mirror back-up and recovery system, utilization runs on the Basic Input or Output System (BIOS) of each client computer, and (Basic InputOutput System, BIOS) client-side program in and the data backup restoration software that runs in the server carry out the disk mirroring backup and the system and method that recovers of system and data to each client computer.
Background technology
Along with wide application of information technology, increasing industry begins to adopt that computing machine manages, control and application operating.Simultaneously, along with popularizing of personal computer, make people can realize various educations for computer, electronic business transaction, recreation and amusement at home.Therefore, computing machine plays the important and pivotal role to social production efficient and human living standard's raising.But, along with increasing that computing machine uses, the possibility that it breaks down or file system data is lost is just big more, and for the vast computing machine practitioner and the colony of non-computer industry, when computer system breaks down or before its file system data loses, adopt what kind of method can disk sector with computer system in useful file system data back up timely and effectively, and break down or after its file system data loses in computer system, reliably computer system is returned to normal condition or carries out complete to the file system data of losing from malfunction rapidly, recover exactly, will have very significant meaning.
Now, comparatively popular computer data backup and restoration methods mostly adopt reflect tool (ImageTool) to be achieved, the function of reflect tool is that the total data content in the computer disk is backed up and recovery operation, it can judge the file system type of each sector on the disk voluntarily, and extract useful user data according to different file system structures and carry out mirror image (Image) backup, and in needs, these data are carried out image copying or recovery.In fact, all at present mirror back-up of data also are not always the case with the operational processes mode of recovering software, so both can save the time of backup and recovery operation, can save the required space of Backup Data again.
At present, in the local area network system environment of enterprise, it is a very important ingredient in the enterprise computer rwan management solution RWAN with recovery that the operating system of client computer and related data are carried out the disk mirroring backup, is the basis of computer data management.The disk mirroring backup and the restoration methods of system known per and data need be moved a client data backup and recovery routine in each client computer, this backup and recovery routine are responsible for backing up and recovering the operating system and the related data of local computer.When data backup, client data backup is handled in this locality after with recovery routine the system data in this client computer being read out, and the data after will handling send to server end and carry out the mirror image storage; When data were recovered, client data backup and recovery routine at first obtained in the image file from server and treat the data recovered content, are then written to after resolve this locality then in the corresponding disk sector of this client computer.
Yet the disk mirroring backup of this known client computer system data also exists the following problem and defective with reset mode:
1, must in every client computer, move very huge client data backup and the recovery routine of self shared data capacity, and on every client computer, all to carry out to be backed up or treat the processing or the parsing of data recovered, so under a fairly large number of situation of client computer, the efficient of data backup and recovery operation will be lower.
2, the support of data backup that moves in every client computer and the recovery routine system environments and the operating system that all need its each self-operating, the subordinate that so just can cause whole data backup and recovery system is complexity very.
3, because the major function of data backup and recovery system operates in client, can't in time know the running status of system, so cause the usefulness of system management and fault processing comparatively low at server end.
Summary of the invention
In order to solve problem and the defective in the above-mentioned known technology, the object of the present invention is to provide a kind of disk mirroring backup and the system and method that recovers of computer system data, in order in having a plurality of client computers and data in server mirror back-up and recovery system, utilize client-side program in the Basic Input or Output System (BIOS) (BIOS) that runs on above-mentioned each client computer and the data backup restoration software that operates in the server each client computer to be carried out the mirror back-up and the recovery of system and data.
Wherein, backup of the disk mirroring of a kind of computer system data provided by the present invention and the system of recovering comprise:
A plurality of client program module, be separately positioned in the Basic Input or Output System (BIOS) (BIOS) of a plurality of client computers, in order to receive the reading and writing disk requests packet that sends from a server, and according to disk sector structure (Disk Sector Structure in the reading and writing disk requests packet, DSS) content is carried out data reading and writing operation to the corresponding disk sector of each client computer, and the result with the reading and writing operation returns to server then; A mock disc module for reading and writing, be arranged in the server, content in order to disk sector structure in customization reading and writing disk requests packet and the reading and writing disk requests packet, and reading and writing disk requests packet sent to each client computer, receive the result of the reading and writing operation that each client computer returns then and the result of reading and writing operation is sent to a file system and handle parsing module; A file system is handled parsing module, be arranged in the server, in order to receive the result of the reading and writing operation that the mock disc module for reading and writing sends, and when needs carry out data backup, after handling, the data to be backed up that will read and duplicate from the disk sector of client computer write in the image file of server, when needs carry out the data recovery, from image file, read and treat the data recovered content, and after resolving, send to the mock disc module for reading and writing with the data field that deposits the disk sector structure in; And an image file read module, be arranged in the server, in order to carry out reading and writing operation image file.
The disk mirroring backup and the restoration methods of a kind of computer system data provided by the present invention comprise following steps:
Startup need be carried out a client computer of data backup, moves a client-side program in the Basic Input or Output System (BIOS) (BIOS) that sets in advance at this computing machine, and is connected with a server; This client computer receive from server read the disk requests packet, read the data of corresponding disk sector in this client computer according to the content of reading disk sector structure (DSS) in the disk requests packet; The disk sector data that successfully read are copied in the data field of disk sector structure, and this disk sector structure deposited in the packet send to server; Server extracts and also to handle the disk sector data after receiving packet, and the disk sector data after will handling then write in the disk mirroring file of server to finish data backup; Startup need be carried out a plurality of client computers that data are recovered, and moves a client-side program in the Basic Input or Output System (BIOS) (BIOS) that sets in advance at each computing machine, and is connected with server; Each client computer receives writes the disk requests packet from server, according to the content of writing disk sector structure (DSS) in the disk requests packet, the data content in the data field of this disk sector structure is written in each client computer in the corresponding disk sector; And will complete successfully disk sector structure after the write operation and deposit in and send to server in the packet and recover to finish data.
In addition, the content of the disk mirroring backup of the computer system data of the invention described above and the disk sector structure (DSS) in recovery system and the method comprises:
A disk start sector number is integer, in order to identify the reference position of the disk sector that need read or write; A number of sectors is integer, in order to write down the number of the disk sector that need read or write; An operation mark comprises 0 and 1 two integer, and this is operating as the reading disk sectors of data 0 expression, and this is operating as 1 expression the data content in the data field of disk sector structure is write in the disk sector; An operating result sign comprises 0 and 1 two integer, and 0 expression is operated successfully, 1 expression operation failure; And a data field, from disk sector, read the concrete data content that maybe will write in the disk sector in order to record.
In sum, the advantage of the disk mirroring backup of a kind of computer system data provided by the present invention and recovery system and method is:
1, because the disk mirroring backup of computer system data of the present invention and recovery system and method need not be moved the huge data backup of any complexity and recovery routine and data processing and parsing software in client computer, client computer only utilizes among its BIOS and to be provided with and the function of the client-side program that the volume of operation is very little is responsible for reading of disk sector data, write and the receipts of network data, send out, all are to be backed up and treat that the processing of data recovered and parsing work all finishes at server end, therefore, can not take the bigger system resource of client computer, guaranteed that under a fairly large number of situation of client computer, the efficient of data backup and recovery operation is still very high.
2, may reside among the BIOS of every client computer owing to client-side program, therefore having eliminated known client data backup all needs the system environments of its each self-operating and the limitation that operating system is supported with recovery routine, greatly reduces the complicacy of whole data backup of subordinate and recovery system.
3, because all are to be backed up and treat that the processing of data recovered and parsing work all move at server end, performance bottleneck when therefore having broken through known client data backup and having recovered running software has improved the utilization factor of server in disk mirroring backup and the recovery system.
4, because the major function of data backup and recovery system operates in server end, can in time know the running status of system at server end, so cause the speed and the usefulness of system management and fault processing are further improved.
Description of drawings
Fig. 1 is the disk mirroring backup of a kind of computer system data of the present invention and the system block diagrams of recovery system;
Fig. 2 is the workflow diagram of client program module in disk mirroring backup of the present invention and the recovery system;
Fig. 3 is the workflow diagram of mock disc module for reading and writing in disk mirroring backup of the present invention and the recovery system;
Fig. 4 is the workflow diagram of file system handles parsing module in disk mirroring backup of the present invention and the recovery system;
Fig. 5 is the workflow diagram of image file read module in disk mirroring backup of the present invention and the recovery system; And
Fig. 6 and Fig. 7 are the disk mirroring backup of a kind of computer system data of the present invention and the method flow diagram of restoration methods.
Wherein, description of reference numerals is as follows:
1 client computer
2 servers
10 client program module
11 disk sectors
20 mock disc module for reading and writing
21 file system are handled parsing module
22 image file read modules
23 image files
1 client computer
2 servers
10 client program module
11 disk sectors
20 mock disc module for reading and writing
21 file system are handled parsing module
22 image file read modules
23 image files
Step 200 is waited for the request data package that reception server sends
Step 201 judges whether to receive request data package
The request data package that step 202 resolution server sends
Step 203 is judged the type of request data package
The interrupt service routine (INT13) that step 204 is called BIOS reads the data of corresponding disk sector
The interrupt service routine (INT13) that step 205 is called BIOS writes corresponding disk sector with the data content in the data field of disk sector structure
Step 206 returns to server with operating result
Step 300 is inserted disk start sector number and number of sectors in the disk sector structure
Step 301 is judged the type of the request data package that needs customization
Step 302 is labeled as in the operation mark of disk sector structure and reads
Step 303 is labeled as in the operation mark of disk sector structure and writes
Step 304 will treat that the data recovered content replication is to the data field of disk sector structure
The disk requests packet that reads or writes that step 305 will comprise the disk sector structure sends to client computer
Step 306 is waited for the result of the read or write that the reception client computer returns
The result of the read or write that step 307 judges whether to receive that client computer returns
Step 308 sends to file system processing parsing module with the result of read or write
Step 400 decision operation type
Step 401 is called the mock disc module for reading and writing and read and duplicate data to be backed up from the disk sector of client computer
Step 402 is handled disk sector data to be backed up
Data after step 403 will be handled write in the image file of server
Whether step 404 judgment data backup operation is finished
Step 405 reads and treats the data recovered content in the image file
Step 406 is resolved in the image file and is treated the data recovered content
The data recovered content for the treatment of after step 407 will be resolved sends to the mock disc module for reading and writing with in the data field that deposits the disk sector structure in
Whether the recovery operation of step 408 judgment data is finished
Step 500 is waited for the request that image file is read or write that receives
Step 501 judges whether to receive the request that image file is read or write
Step 502 is judged the type of request
Step 503 is reading of data from image file
Step 504 writes data in the image file
Step 600 starts the data backup restoration software that sets in advance in a server, and wait is connected with the client computer that need carry out data backup
Step 601 starts a client computer that need carry out data backup
Step 602 is moved a client-side program in the Basic Input or Output System (BIOS) (BIOS) that sets in advance in client computer, and connects with server
Step 603 client computer receive from server read the disk requests packet, read the data of corresponding disk sector in the client computer according to the content of reading disk sector structure (DSS) in the disk requests packet
Step 604 is backfilled to the result of read operation in the disk sector structure
Step 605 is copied to the disk sector data that successfully read in the data field of disk sector structure, the disk sector structure is deposited in the packet send to server then
Step 606 server extracts and also to handle the disk sector data after receiving packet, and the disk sector data after will handling then write in the disk mirroring file of server to finish data backup
After step 607 server is finished data backup, disconnect and being connected of client computer, client computer detect with server be connected interruption after withdraw from the data backup process
Step 700 starts the data backup restoration software that sets in advance in server, and wait is connected with each client computer that need carry out the data recovery
Step 701 starts need carry out a plurality of client computers that data are recovered
Step 702 is moved a client-side program in the Basic Input or Output System (BIOS) (BIOS) that sets in advance at each client computer, and connects with server respectively
Each client computer of step 703 receives writes the disk requests packet from server, according to the content of writing disk sector structure (DSS) in the disk requests packet, the data content in the data field of disk sector structure is written in each client computer in the corresponding disk sector
Step 704 is backfilled to the result of write operation in the disk sector structure, and the data content in the data field of disk sector structure is removed
Step 705 will complete successfully disk sector structure after the write operation and deposit in and send to server in the packet and recover to finish data
After step 706 server is finished data and recovered, disconnect and being connected of each client computer, each client computer detect with server be connected interruption after withdraw from the data recovering process
Embodiment
Below, part elaborates to better embodiment of the present invention in conjunction with the accompanying drawings.
Please refer to Fig. 1, Fig. 1 is the disk mirroring backup of a kind of computer system data of the present invention and the system block diagrams of recovery system, and as shown in the figure, backup of the disk mirroring of a kind of computer system data of the present invention and recovery system comprise:
A plurality of client program module 10 (only having represented a client program module 10 in the accompanying drawing), be separately positioned in a plurality of client computers 1 Basic Input or Output System (BIOS) (BIOS) of (only having represented a client computer 1 in the accompanying drawing), in order to receive the reading and writing disk requests packet that sends from a server 2, and according to the content of disk sector structure (DSS) in the reading and writing disk requests packet the corresponding disk sector 11 of each client computer 1 is carried out the data reading and writing and operate, the result with the reading and writing operation returns to server 2 then;
A mock disc module for reading and writing 20, be arranged in the server 2, content in order to disk sector structure in customization reading and writing disk requests packet and the reading and writing disk requests packet, and reading and writing disk requests packet sent to each client computer 1, receive the result of the reading and writing operation that each client computer 1 returns then and the result of reading and writing operation is sent to a file system and handle parsing module 21;
A file system is handled parsing module 21, be arranged in the server 2, in order to receive the result of the reading and writing operation that mock disc module for reading and writing 20 sends, and when needs carry out data backup, after handling, the data to be backed up that will read and duplicate from the disk sector 11 of client computer 1 write in the image file 23 of server 2, when needs carry out the data recovery, from image file 23, read and treat the data recovered content, and after resolving, send to mock disc module for reading and writing 20 with the data field that deposits the disk sector structure in; And
One image file read module 22 is arranged in the server 2, in order to carry out the reading and writing operation to image file 23.
Wherein, what need be illustrated is: the disk mirroring backup of the computer system data of the invention described above and the disk sector structure in the recovery system (Disk Sector Structure, content DSS) comprises:
A disk start sector number is integer, in order to identify the reference position of the disk sector that need read or write;
A number of sectors is integer, in order to write down the number of the disk sector that need read or write;
An operation mark comprises 0 and 1 two integer, and this is operating as the reading disk sectors of data 0 expression, and this is operating as 1 expression the data content in the data field of disk sector structure is write in the disk sector;
An operating result sign comprises 0 and 1 two integer, and 0 expression is operated successfully, 1 expression operation failure; And
The concrete data content that maybe will write in the disk sector is read in order to record in a data field from disk sector.
Please refer to Fig. 2 now, this figure is the workflow diagram of client program module in disk mirroring backup of the present invention and the recovery system, as shown in the figure, client program module receives the reading and writing disk requests packet that sends from server, and according to the content of disk sector structure (DSS) in the reading and writing disk requests packet the corresponding disk sector of each client computer is carried out the data reading and writing and operate, result with the reading and writing operation returns to server then, and its concrete steps are as follows:
In step 200, wait for the request data package that reception server sends;
In step 201, judge whether to receive request data package, receive request data package after, execution in step 202, otherwise return step 200;
In step 202, the request data package that resolution server sends;
In step 203, judge the type of request data package, if read then execution in step 204 of disk requests packet, if write then execution in step 205 of disk requests packet;
In step 204, the interrupt service routine (INT13) that calls BIOS reads the data of corresponding disk sector, and execution in step 206 then;
In step 205, the interrupt service routine (INT13) that calls BIOS writes corresponding disk sector with the data content in the data field of disk sector structure, and execution in step 206 then;
In step 206, operating result is returned to server, return step 200 then.
Please refer to Fig. 3 now, this figure is the workflow diagram of mock disc module for reading and writing in disk mirroring backup of the present invention and the recovery system, as shown in the figure, the mock disc module for reading and writing is in order to the content of disk sector structure in customization reading and writing disk requests packet and the reading and writing disk requests packet, and reading and writing disk requests packet sent to each client computer, receive the result of the reading and writing operation that each client computer returns then and the result of reading and writing operation is sent to file system and handle parsing module, its concrete steps are as follows:
In step 300, in the disk sector structure, insert disk start sector number and number of sectors;
In step 301, judge the type of the request data package that needs customization, if read then execution in step 302 of disk requests packet; If write then execution in step 303 of disk requests packet, execution in step 304 then;
In step 302, in the operation mark of disk sector structure, be labeled as and read (that is: 0), execution in step 305 then;
In step 303, in the operation mark of disk sector structure, be labeled as and write (that is: 1);
In step 304, will treat the data recovered content replication to the data field of disk sector structure, execution in step 305 then;
In step 305, the disk requests packet that reads or writes that will comprise the disk sector structure sends to client computer;
In step 306, wait for the result of the read or write that the reception client computer returns;
In step 307, the result of the read or write that judges whether to receive that client computer returns if receive then execution in step 308, otherwise returns step 306;
In step 308, the result of read or write is sent to file system handle parsing module.
Please refer to Fig. 4 now, this figure is the workflow diagram of file system handles parsing module in disk mirroring backup of the present invention and the recovery system, as shown in the figure, file system is handled parsing module in order to receive reading of mock disc module for reading and writing transmission, the result of write operation, and when needs carry out data backup, after handling, the data to be backed up that will read and duplicate from the disk sector of client computer write in the image file of server, when needs carry out the data recovery, from image file, read and treat the data recovered content, and after resolving, send to the mock disc module for reading and writing with the data field that deposits the disk sector structure in, its concrete steps are as follows:
In step 400, the decision operation type is carried out data backup if desired and is operated then execution in step 401, carries out then execution in step 405 of data restore operation if desired;
In step 401, call the mock disc module for reading and writing and from the disk sector of client computer, read and duplicate data to be backed up;
In step 402, disk sector data to be backed up are handled;
In step 403, the data after handling are write in the image file of server;
In step 404, whether the judgment data backup operation is finished, if finish then end operation, otherwise returns step 401;
In step 405, read and treat the data recovered content in the image file;
In step 406, resolve in the image file and treat the data recovered content;
In step 407, the data recovered content for the treatment of after resolving is sent to the mock disc module for reading and writing with in the data field that deposits the disk sector structure in;
In step 408, whether the judgment data recovery operation is finished, if finish then end operation, otherwise returns step 405.
Please refer to Fig. 5 now, this figure is the workflow diagram of image file read module in disk mirroring backup of the present invention and the recovery system, and as shown in the figure, the image file read module is in order to carry out the reading and writing operation to image file, and its concrete steps are as follows:
In step 500, wait for the request that image file is read or write that receives;
In step 501, judge whether to receive the request that image file is read or write, if receive and ask then execution in step 502, otherwise return step 500;
In step 502, judge the type of request, if read request execution in step 503 then, if write request execution in step 504 then;
In step 503, reading of data from image file is returned step 500 then;
In step 504, data are write in the image file, return step 500 then.
Please refer to Fig. 6 and Fig. 7 at last, Fig. 6 and Fig. 7 are the disk mirroring backup of a kind of computer system data of the present invention and the method flow diagram of restoration methods, as shown in the figure, backup of the disk mirroring of a kind of computer system data of the present invention and restoration methods comprise following steps:
In step 600, start the data backup restoration software that sets in advance in a server, and wait is connected with the client computer that need carry out data backup;
In step 601, startup need be carried out a client computer of data backup, data such as the operating system that need carry out mirror back-up and other popular softwares wherein have been installed in this client computer in advance, and its operating system have been carried out default configuration;
In step 602, move a client-side program in the Basic Input or Output System (BIOS) (BIOS) that sets in advance at this client computer, and connect with server, wherein this client computer is obtained with server with the mode of seeking Internet Protocol (IP) address by input and is connected;
In step 603, this client computer receives reads the disk requests packet from server, read the data of corresponding disk sector in this client computer according to the content of reading disk sector structure (DSS) in the disk requests packet, disk sector structure (Disk Sector Structure wherein, DSS) content comprises: a disk start sector number, be integer, in order to identify the reference position of the disk sector that need read or write; A number of sectors is integer, in order to write down the number of the disk sector that need read or write; An operation mark comprises 0 and 1 two integer, and this is operating as the reading disk sectors of data 0 expression, and this is operating as 1 expression the data content in the data field of disk sector structure is write in the disk sector; An operating result sign comprises 0 and 1 two integer, and 0 expression is operated successfully, 1 expression operation failure; And data field, from disk sector, read the concrete data content that maybe will write in the disk sector in order to record, for example the content of disk sector structure is herein: disk start sector number=15, number of sectors=10, operation mark is 0, and expression need be read the data content from whole 10 disk sectors of disk sector numbers 15 to 24;
In step 604, the result of read operation is backfilled in the disk sector structure, the operating result that wherein is backfilled in the disk sector structure is designated 0, and it represents this read operation success, is this read operation failure of 1 expression;
In step 605, the disk sector data that successfully read are copied in the data field of disk sector structure, this disk sector structure is deposited in the packet send to server then;
In step 606, server extracts and also to handle the disk sector data after receiving packet, and the disk sector data after will handling then write in the disk mirroring file of server to finish data backup;
In step 607, after server is finished data backup, disconnection is connected with client computer, this client computer is detecting and is withdrawing from the data backup process after being connected of server interrupts, and the disk mirroring of computer system data of the present invention backup so far finishes with whole data backup process in the restoration methods;
In step 700, start the data backup restoration software that sets in advance in server, and wait is connected with each client computer that need carry out the data recovery;
In step 701, startup need be carried out a plurality of client computers that data are recovered;
In step 702, move a client-side program in the Basic Input or Output System (BIOS) (BIOS) that sets in advance at each client computer, and connect with server respectively, wherein each client computer is obtained with server with the mode of seeking Internet Protocol (IP) address by input and is connected;
In step 703, each client computer receives writes the disk requests packet from server, according to the content of writing disk sector structure (DSS) in the disk requests packet, data content in the data field of this disk sector structure is written in each client computer in the corresponding disk sector, disk sector structure (Disk Sector Structure wherein, DSS) content comprises: a disk start sector number, be integer, in order to identify the reference position of the disk sector that need read or write; A number of sectors is integer, in order to write down the number of the disk sector that need read or write; An operation mark is to comprise 0 and 1 two integer, and this is operating as the reading disk sectors of data 0 expression, and this is operating as 1 expression the data content in the data field of disk sector structure is write in the disk sector; An operating result sign comprises 0 and 1 two integer, and 0 expression is operated successfully, 1 expression operation failure; And data field, from disk sector, read the concrete data content that maybe will write in the disk sector in order to record, for example the content of disk sector structure is herein: disk start sector number=15, number of sectors=10, operation mark is 1, and expression need be written to the data content in the data field of disk sector structure in whole 10 disk sectors of disk sector numbers 15 to 24;
In step 704, the result of write operation is backfilled in the disk sector structure, and with the removing of the data content in the data field of disk sector structure, the operating result that wherein is backfilled in the disk sector structure is designated this write operation success of 0 expression, is this write operation failure of 1 expression;
In step 705, deposit in and send to server in the packet and recover to finish data with completing successfully disk sector structure after the write operation;
In step 706, after server is finished the data recovery, disconnection is connected with each client computer, each client computer is detecting and is withdrawing from the data recovering process after being connected of server interrupts, and the disk mirroring of computer system data of the present invention backup so far finishes with whole data recovering process in the restoration methods.
Though the present invention discloses as above with aforesaid better embodiment, so it is not in order to limit the present invention.The affiliated technician of this area should recognize that under the situation that does not break away from the appended scope and spirit of the present invention that claim disclosed of the present invention institute makes amendment to it and adds, and all belongs within the claim scope of the present invention.Please refer to appending claims about the protection domain that the present invention defined.

Claims (6)

1. the disk mirroring of a computer system data backs up and recovery system, in order in having a plurality of client computers and data in server mirror back-up and recovery system, described each client computer is carried out the mirror back-up and the recovery of system and data, and this system comprises:
A plurality of client program module, be separately positioned in the Basic Input or Output System (BIOS) of described each client computer, in order to receive the reading and writing disk requests packet that sends from a server, and according to the content of a disk sector structure in this reading and writing disk requests packet the corresponding disk sector of described each client computer is carried out the data reading and writing and operate, the result with this reading and writing operation returns to this server then;
One mock disc module for reading and writing, be arranged in this server, in order to customize the content of disk sector structure in this reading and writing disk requests packet and this reading and writing disk requests packet, and this reading and writing disk requests packet sent to described each client computer, receive the result of this reading and writing operation that described each client computer returns then and the result of this reading and writing operation is sent to a file system and handle parsing module;
One file system is handled parsing module, be arranged in this server, in order to receive the result of this reading and writing operation that this mock disc module for reading and writing sends, and when needs carry out data backup, after handling, the data to be backed up that will read and duplicate from the disk sector of client computer write in the image file of this server, when needs carry out the data recovery, from this image file, read and treat the data recovered content, and after resolving, send to this mock disc module for reading and writing with the data field that deposits this disk sector structure in; And
One image file read module is arranged in this server, in order to carry out the reading and writing operation to this image file.
2. the disk mirroring of computer system data as claimed in claim 1 backs up and recovery system, and wherein the content of this disk sector structure comprises:
One disk start sector number is integer, in order to identify the reference position of the disk sector that need read or write;
One number of sectors is integer, in order to write down the number of the disk sector that need read or write;
One operation mark comprises 0 and 1 two integer, and this is operating as the reading disk sectors of data 0 expression, and this is operating as 1 expression the data content in the data field of this disk sector structure is write in the disk sector;
One operating result sign comprises 0 and 1 two integer, and 0 expression is operated successfully, 1 expression operation failure; And
The concrete data content that maybe will write in the disk sector is read in order to record in one data field from disk sector.
3. the disk mirroring of a computer system data backs up and restoration methods, in order in having a plurality of client computers and data in server mirror back-up and recovery system, described each client computer is carried out the mirror back-up and the recovery of system and data, and the method includes the steps of:
Startup need be carried out a client computer of data backup, and operation sets in advance the client-side program in the Basic Input or Output System (BIOS) of this computing machine, and is connected with a server;
This client computer receive from this server read the disk requests packet, read corresponding disk sector data in this client computer according to this content of reading a disk sector structure in the disk requests packet;
These disk sector data that successfully read are copied in the data field of this disk sector structure, and this disk sector structure deposited in send to this server in the packet;
This server extracts and handles this disk sector data after receiving this packet, these disk sector data after will handling then write in the disk mirroring file of this server to finish data backup;
Startup need be carried out a plurality of client computers that data are recovered, and operation sets in advance the client-side program in the Basic Input or Output System (BIOS) of described each computing machine, and is connected with this server;
Described each client computer receives writes the disk requests packet from this server, write the content of a disk sector structure in the disk requests packet according to this, the data content in the data field of this disk sector structure is written in described each client computer in the corresponding disk sector; And
Deposit in and send to this server in the packet and recover completing successfully this disk sector structure after the write operation to finish data.
4. the disk mirroring of computer system data as claimed in claim 3 backs up and restoration methods, and wherein the content of this disk sector structure comprises:
One disk start sector number is integer, in order to identify the reference position of the disk sector that need read or write;
One number of sectors is integer, in order to write down the number of the disk sector that need read or write;
One operation mark comprises 0 and 1 two integer, and this is operating as the reading disk sectors of data 0 expression, and this is operating as 1 expression the data content in the data field of this disk sector structure is write in the disk sector;
One operating result sign comprises 0 and 1 two integer, and 0 expression is operated successfully, 1 expression operation failure; And
The concrete data content that maybe will write in the disk sector is read in order to record in one data field from disk sector.
5. the disk mirroring of computer system data as claimed in claim 3 backs up and restoration methods, wherein further comprises following steps:
Start a data backup restoration software that sets in advance in this server, and wait is connected with this client computer that need carry out data backup;
Read in this client computer the data of corresponding disk sector according to this content of reading this disk sector structure in the disk requests packet after, the result of this read operation is backfilled in this disk sector structure; And
After this server is finished data backup, disconnect and being connected of this client computer, this client computer detect with this server be connected interruption after withdraw from the data backup process.
6. the disk mirroring of computer system data as claimed in claim 3 backs up and restoration methods, wherein further comprises following steps:
Start a data backup restoration software that sets in advance in this server, and wait is connected with described each client computer that need carry out the data recovery;
Write the content of this disk sector structure in the disk requests packet according to this, after being written in described each client computer the data content in the data field of this disk sector structure in the corresponding disk sector, the result of this write operation is backfilled in this disk sector structure, and the data content in the data field of this disk sector structure is removed; And
After this server is finished data and is recovered, disconnect and being connected of described each client computer, described each client computer detect with this server be connected interruption after withdraw from the data recovering process.
CNA2006101646986A 2006-12-14 2006-12-14 System and method for backup and recovery of magnetic disc mirroring of computer system data Pending CN101201767A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101646986A CN101201767A (en) 2006-12-14 2006-12-14 System and method for backup and recovery of magnetic disc mirroring of computer system data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101646986A CN101201767A (en) 2006-12-14 2006-12-14 System and method for backup and recovery of magnetic disc mirroring of computer system data

Publications (1)

Publication Number Publication Date
CN101201767A true CN101201767A (en) 2008-06-18

Family

ID=39516942

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101646986A Pending CN101201767A (en) 2006-12-14 2006-12-14 System and method for backup and recovery of magnetic disc mirroring of computer system data

Country Status (1)

Country Link
CN (1) CN101201767A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101833486A (en) * 2010-04-07 2010-09-15 山东高效能服务器和存储研究院 Method for designing remote backup and recovery system
CN101394424B (en) * 2008-10-27 2011-11-09 中国科学院计算技术研究所 Hard disc stage network data backup system and method
CN102281159A (en) * 2011-09-06 2011-12-14 曙光信息产业(北京)有限公司 Recovery method for cluster system
CN105184647A (en) * 2015-08-25 2015-12-23 王子瑜 Transaction flow recovery method and system
US9497266B2 (en) 2013-02-22 2016-11-15 International Business Machines Corporation Disk mirroring for personal storage
CN106201772A (en) * 2016-06-23 2016-12-07 浪潮(北京)电子信息产业有限公司 The backup of a kind of operating system based on data center, restoration methods and device
CN106528345A (en) * 2016-11-11 2017-03-22 郑州云海信息技术有限公司 Cloud platform-based node hard disk automated recovery method
CN108540535A (en) * 2018-03-16 2018-09-14 成都虫洞奇迹科技有限公司 A kind of offline desktop implementation method under desktop cloud environment
CN113742129A (en) * 2020-05-28 2021-12-03 珠海信核数据科技有限公司 Data backup method and device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394424B (en) * 2008-10-27 2011-11-09 中国科学院计算技术研究所 Hard disc stage network data backup system and method
CN101833486B (en) * 2010-04-07 2014-08-20 浪潮电子信息产业股份有限公司 Method for designing remote backup and recovery system
CN101833486A (en) * 2010-04-07 2010-09-15 山东高效能服务器和存储研究院 Method for designing remote backup and recovery system
CN102281159A (en) * 2011-09-06 2011-12-14 曙光信息产业(北京)有限公司 Recovery method for cluster system
US9497266B2 (en) 2013-02-22 2016-11-15 International Business Machines Corporation Disk mirroring for personal storage
CN105184647B (en) * 2015-08-25 2018-12-21 王子瑜 The restoring method and system of transaction flow
CN105184647A (en) * 2015-08-25 2015-12-23 王子瑜 Transaction flow recovery method and system
CN106201772A (en) * 2016-06-23 2016-12-07 浪潮(北京)电子信息产业有限公司 The backup of a kind of operating system based on data center, restoration methods and device
CN106528345A (en) * 2016-11-11 2017-03-22 郑州云海信息技术有限公司 Cloud platform-based node hard disk automated recovery method
CN106528345B (en) * 2016-11-11 2020-03-06 郑州云海信息技术有限公司 Automatic node hard disk recovery method based on cloud platform
CN108540535A (en) * 2018-03-16 2018-09-14 成都虫洞奇迹科技有限公司 A kind of offline desktop implementation method under desktop cloud environment
CN113742129A (en) * 2020-05-28 2021-12-03 珠海信核数据科技有限公司 Data backup method and device
CN113742129B (en) * 2020-05-28 2024-05-28 珠海信核数据科技有限公司 Data backup method and device

Similar Documents

Publication Publication Date Title
CN101201767A (en) System and method for backup and recovery of magnetic disc mirroring of computer system data
US8868858B2 (en) Method and apparatus of continuous data backup and access using virtual machines
US8191078B1 (en) Fault-tolerant messaging system and methods
CN103810058B (en) Backup method, equipment and system for virtual machine
EP2335144B1 (en) Recovery of a computer that includes virtual disks
EP2593867B1 (en) Virtual machine aware replication method and system
CN100458716C (en) Data maintenance, backup and recovery system and its method
US9268659B2 (en) Detecting failover in a database mirroring environment
US20030061240A1 (en) Apparatus, method and system for writing data to network accessible file system while minimizing risk of cache data loss/ data corruption
CN101243446A (en) Online page restore from a database mirror
KR102016095B1 (en) System and method for persisting transaction records in a transactional middleware machine environment
CN101694635B (en) Control method and system based on virtual tape library backup and near-line storage node
JP2002287999A (en) Server duplexing method, duplex server system, and duplex database server
JP2008171387A (en) Backup system with continuous data protection
JP2011530127A (en) Method and system for maintaining data integrity between multiple data servers across a data center
CN103345470A (en) Database disaster tolerance method, database disaster tolerance system and server
US7146526B2 (en) Data I/O system using a plurality of mirror volumes
CN1645335A (en) Method, system, and article of manufacture for consistent copying of storage volumes
CN101836192A (en) Local flash memory and remote server hybrid continuous data protection
CN1682193A (en) Storage services and systems
CN106339278A (en) Data backup and recovery method of network file system
US8527454B2 (en) Data replication using a shared resource
CN115098299B (en) Backup method, disaster recovery method, device and equipment of virtual machine
US7752485B2 (en) Method and system for virtual removal of physical field replaceable units
CN101937378A (en) Method for carrying out back-up protection on data of storage equipment and computer 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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication