CN201947287U - Tape data restorer - Google Patents
Tape data restorer Download PDFInfo
- Publication number
- CN201947287U CN201947287U CN2010206851870U CN201020685187U CN201947287U CN 201947287 U CN201947287 U CN 201947287U CN 2010206851870 U CN2010206851870 U CN 2010206851870U CN 201020685187 U CN201020685187 U CN 201020685187U CN 201947287 U CN201947287 U CN 201947287U
- Authority
- CN
- China
- Prior art keywords
- recovery
- tape
- data
- server
- target environment
- 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 - Lifetime
Links
- 238000007781 pre-processing Methods 0.000 claims abstract description 20
- 238000011084 recovery Methods 0.000 claims description 198
- 238000012544 monitoring process Methods 0.000 claims description 8
- 238000012806 monitoring device Methods 0.000 claims description 6
- 239000013307 optical fiber Substances 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 5
- 238000000034 method Methods 0.000 abstract description 9
- 230000005540 biological transmission Effects 0.000 abstract 1
- 230000003287 optical effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 238000013500 data storage Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Teh utility model provides a tape data restorer comprising: a client terminal, a restoration server, a a restoration target environment server and a magnetic tape unit, wherein the client terminal is connected with the restoration server through a TCP/IP (Transmission Control Protocol/Internet Protocol) network; the restoration server is connected with the restoration target environment server through the TCP/IP network and with the magnetic tape unit through an optical network. The tape data restorer aims at solving the problems in connection with the preprocessing of tape type and restoration environment information in tape data restoration and timely handling of fault interruption during restoring process.
Description
Technical Field
The utility model relates to a computer data backup and recovery technique, especially the backup and recovery technique about computer tape data, specifically say a tape data recovery equipment.
Background
At present, tape data recovery in a computer system is generally a recovery process with simple operations, such as finding a tape containing recovered data by checking, and then recovering the tape to a corresponding target environment. However, the simple operation recovery processing method has the following disadvantages:
firstly, the recovery target environment is usually complex, the recovery data types are different, and the tape type cannot be analyzed in advance during recovery, so that the recovery target environment cannot be judged and checked in advance, and the recovery processing efficiency is influenced.
And secondly, the monitoring of the recovery process cannot be realized, and the data recovery time is usually extremely long because the recovery process often has interruption caused by faults and cannot be recovered in time.
SUMMERY OF THE UTILITY MODEL
The embodiment of the utility model provides a magnetic tape data recovery equipment to solve the magnetic tape type in the magnetic tape data recovery and resume the preliminary treatment problem of target environment information, and the timely processing problem of trouble interrupt among the recovery process.
An object of the present invention is to provide a tape data recovery apparatus, which includes: the system comprises a client terminal, a recovery server, a recovery target environment server and a tape unit; the client terminal is connected with the recovery server through a TCP/IP network; the recovery server is connected with the recovery target environment server through a TCP/IP network and is connected with the magnetic tape unit through an optical fiber network;
the recovery server includes: a restoration instruction receiving device connected to the TCP/IP network, for receiving tape information and restoration target environment information including the machine IP inputted by the user; the tape preprocessing device is connected with the recovery instruction receiving device and used for preprocessing the current tape according to the tape marking information of the tape; the tape type storage device is connected with the tape preprocessing device and is used for storing tape type data comprising tape marks, media types and data types into a tape type storage table; the environment type storage device is connected with the recovery instruction receiving device and is used for storing target environment type data including machine IP, machine names, machine types and database type detection into a target environment type storage table; a recovery strategy storage device which is respectively connected with the tape type storage device and the environment type storage device and stores the recovery strategy data containing the tape data recovery strategy into a recovery strategy storage table; the information set generating device is respectively connected with the tape type storage device, the environment type storage device and the recovery strategy storage device and generates a data recovery information set which is required by the tape data recovery and contains tape type data records, target environment type data records and recovery strategy data records;
the restoration target environment server includes: the recovery script generating device is connected with the optical fiber network, decodes the data recovery information set transmitted by the recovery server and translates the data recovery information set into a data recovery script; the recovery script running device is connected with the recovery script generating device and runs the data recovery script in the corresponding recovery target environment; and the recovery script monitoring device is connected with the recovery script running device and is used for monitoring the running state of the data recovery script.
And the recovery script monitoring device determines that the running error of the recovery script is monitored, and repeatedly submits the data recovery script.
The beneficial effects of the utility model reside in that, adopt the analytical method based on the tape type, realized data recovery's intellectuality, avoided frequent human-computer interaction process, reduced human misoperation's risk. The recovery process can be monitored in real time, the enterprise management and maintenance cost is reduced, each link of data recovery can be carried out continuously, the delay of the recovery progress is avoided, and the efficiency of data recovery is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a schematic diagram of a tape data recovery system according to an embodiment of the present invention;
FIG. 2 is a block diagram of a magnetic tape data recovery system according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating the operation of a tape data recovery system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a target environment set of a magnetic tape data recovery system according to an embodiment of the present invention;
fig. 5 is a signaling flow diagram of a tape data recovery system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
The workflow of the tape data recovery apparatus of the present embodiment is: receiving tape information and recovery target environment information containing machine IP input by a user; reading the tape content according to the tape information to generate tape type data including tape, media type and data type; inquiring the recovery target cluster according to the recovery target environment information to generate target environment type data including machine IP, machine name, machine type and database type detection; storing recovery policy data comprising a tape data recovery policy; according to the tape type data and the target environment type data, inquiring in the recovery strategy data to generate a data recovery information set which is required by the tape data recovery and contains tape type data records, target environment type data records and recovery strategy data records; decoding the data recovery information set and translating the data recovery information set into a data recovery script; running a data recovery script in the corresponding recovery target environment; and monitoring the running state of the data recovery script.
In the embodiment, the tape is imported, the tape content is read in advance, the tape type is analyzed, the recovery target environment type is automatically identified by using a method of querying in the recovery target environment, a recovery strategy table is retrieved to generate a corresponding information set, the information set is translated into a proper data recovery script, the data recovery script is executed through a scheduling program, the recovery of the tape data is realized, and the operation of the data recovery script is monitored through the scheduling program.
As shown in fig. 1, the magnetic tape data recovery apparatus of the present embodiment includes: a client terminal 100, a restore server 200, a restore target environment server 300, and a tape drive 400; the client terminal 100 is connected to the recovery server 200 through a TCP/IP network; the restoration server 200 is connected to the restoration target environment server 300 through a TCP/IP network and is connected to the tape drive 400 through a fiber network. Restore target environment server 300 may be a cluster of application servers, which may include, for example, restore target environment server 1, restore target environment server 2.
As shown in fig. 2, the recovery server 200 includes: a restoration instruction receiving device 201 connected to the TCP/IP network, for receiving tape information and restoration target environment information including the machine IP input by the user; a tape preprocessing device 206 connected to the recovery command receiving device for preprocessing the current tape according to the tape marking information; a tape type storage device 202, connected to the tape preprocessing device, for storing tape type data including tape flags, media types, and data types in a tape type storage table; an environment type storage device 203 connected to the recovery instruction receiving device for storing target environment type data including machine IP, machine name, machine type and database type detection into a target environment type storage table; a recovery policy storage device 204, respectively connected to the tape type storage device and the environment type storage device, and storing recovery policy data including a tape data recovery policy in a recovery policy storage table; an information set generating device 205, connected to the tape type storage device, the environment type storage device and the recovery policy storage device, respectively, for generating a data recovery information set including a tape type data record, a target environment type data record and a recovery policy data record, which are required for one-time tape data recovery;
the restoration target environment server 300 includes: a recovery script generating device 301, connected to the optical fiber network, for decoding the data recovery information set transmitted from the recovery server and translating the decoded data recovery information set into a data recovery script; a recovery script running device 302, connected to the recovery script generating device, for running the data recovery script in the corresponding recovery target environment; and a recovery script monitoring device 303 connected to the recovery script running device and used for monitoring the running state of the data recovery script.
As shown in fig. 5, the recovery server is responsible for receiving user input data of the user terminal and analyzing two types of information requested by the user from the user input data, namely: and recovering the required tape label information and the IP information of the target environment, judging whether tape preprocessing is performed according to the tape label information, and storing the IP information of the target environment.
The tape preprocessing device of the recovery server is responsible for establishing a tape information index table by taking a single-disk tape as a recording unit. And inquiring whether the tape information index table has the preprocessing record of the tape or not according to the received tape information, and preprocessing the tape if the tape has no preprocessing record.
The information index table is usually recorded in a built-in database of various backup management software, and includes information such as tape label, start address of each image structure inside the tape, and the like. In an environment where backup management software is not used, a tape preprocessing apparatus maintains an information index table containing tape flags and start addresses of image structures in the tape.
The tape preprocessing device is responsible for reading the tape content in advance according to tape marking information of the tape, analyzing the tape type, and sending the tape marking, the media type, the data type, the supplementary data type, the source machine name, the source machine type, the database instance name, the database DBID, the data time point and other information to the tape type storage table.
And the target environment type storage device of the recovery server is responsible for reading the IP information of the target environment, inquiring on the target environment server cluster, generating corresponding machine IP, machine name, machine type, database type detection, data recovery expectation, expected directory space, backup software information, data recovery mode, hardware information and other information, and sending the information to the target environment type storage table. The recovery policy storage means of the recovery server is responsible for storing the recovery policy information.
A tape type storage table (see table 1) that receives and stores tape type information for policy retrieval.
TABLE 1
And a target environment type storage table (see table 2) for receiving and storing the target environment type information for strategy retrieval.
TABLE 2
And the recovery strategy table (see table 3) receives the specific recovery strategy information which is recorded or deleted by the administrator through the recovery server and is used for strategy retrieval.
TABLE 3
The information set generating device of the recovery server is responsible for reading the related contents in the storage tape type storage table (table 1) and the target environment type storage table (table 2), searching in the recovery policy table (table 3), and returning the information set containing the recovered record in the tape type storage table, the target environment type storage table and the recovery policy table.
And the recovery target environment server is responsible for generating and scheduling the recovery script, monitoring the subsequent operation and repeatedly submitting if an error is reported. Wherein,
and the recovery script generating device is responsible for decoding the information set returned by the recovery server and translating the information set into the data recovery script.
And the recovery script running device is responsible for submitting the data recovery script and running the data recovery script.
And the recovery script monitoring device monitors the running state of the script, and if an error is reported, the script is repeatedly submitted.
As shown in fig. 3, the specific steps of the data intelligent recovery process based on tape type in this embodiment are as follows:
step 501: the recovery server 200 receives the information data such as tape flags and target environments sent by the user terminal 100, and concurrently executes the processing flows of step 502 and step 506, which may be implemented by creating two threads or control flows in the implementation of tool code.
Step 502: the tape preprocessing unit 206 of the restore server 200 refers to the tape type storage table (table 1) based on the tape identification information input, and determines whether or not the tape needs to be preprocessed.
Step 503: the tape preprocessing device 206 preprocesses the tape to complete the tape loading process.
Step 504: the tape type storage device 202 analyzes the tape data and extracts information required for the tape type storage table (table 1).
Step 505: the tape type storage device 202 stores the information extracted in step 504 in a tape type storage table (table 1).
Step 506: the target environment storage device 203 extracts information necessary for the target environment type storage table (table 2) based on the input target environment information.
Step 507: the target environment storage means 203 stores the information extracted in step 506 in the target environment type storage table (table 2).
Step 508: the restoration policy storage device 204 stores restoration policy data including a tape data restoration policy in advance in a restoration policy table (see table 3), and the information set generation device 205 reads information in the tape type storage table and the target environment type storage table.
Step 509: the information set generating means 205 searches the restoration policy table and returns an information set including the record of the restoration in the tape type storage table, the target environment type storage table, and the restoration policy table.
Step 510: the recovery script generating means 301 of the recovery target environment server 300 decodes the information set returned in step 509 and translates it into a data recovery script.
Step 511: the recovery script executing means 302 schedules the data recovery script returned in step 510, and the recovery script monitoring means 303 monitors the running state of the script, and if an error occurs, the script is repeatedly submitted.
Step 512: the recovery script monitoring means 303 ends the flow when detecting that the script is normally completed.
The following describes the application of the method of the present invention with an example shown in fig. 4. A ring recovery instruction receiving device, a tape preprocessing device, a tape type storage device, a recovery policy storage device and an information set generating device are deployed on a recovery server. And deploying a recovery script generating device, a recovery script executing device and a recovery script monitoring device on each recovery target environment server. And the recovery server and the recovery target environment server complete data interaction through TCP/IP network communication. The recovery server completes data interaction with the tape drive through the optical fiber network.
After the administrator configures the recovery policy table in the data storage device on the recovery server, the user can input the tape information and the recovery target environment information in the recovery server. And after the recovery server automatically analyzes the information, the tape type information and the target environment type are stored in a data storage device of the recovery server. And after being processed by the data storage device, sending the generated information set to a recovery target environment server for scheduling and managing recovery jobs. And the recovery target environment server decodes according to the received information, generates a recovery script, then performs data recovery from the tape drive by scheduling corresponding recovery jobs, monitors subsequent operation of the jobs, and repeatedly submits the jobs when errors occur.
Compared with the prior art, the utility model has the advantages of as follows: by adopting the analysis method based on the tape type, the intellectualization of data recovery is realized, the frequent human-computer interaction process is avoided, and the risk of human misoperation is reduced. The recovery process can be monitored in real time, the enterprise management and maintenance cost is reduced, each link of data recovery can be carried out continuously, the delay of the recovery progress is avoided, and the efficiency of data recovery is greatly improved.
The present invention has been explained by using specific embodiments, and the explanation of the above embodiments is only used to help understand the method and the core idea of the present invention; meanwhile, for the general technical personnel in the field, according to the idea of the present invention, there are changes in the specific implementation and application scope, to sum up, the content of the present specification should not be understood as the limitation of the present invention.
Claims (1)
1. A magnetic tape data recovery apparatus, said apparatus comprising: the system comprises a client terminal, a recovery server, a recovery target environment server and a tape unit;
the client terminal is connected with the recovery server through a TCP/IP network; the recovery server is connected with the recovery target environment server through a TCP/IP network and is connected with the tape unit through an optical fiber network;
the recovery server comprises:
a recovery command receiving device connected to the TCP/IP network, for receiving tape information inputted by a user and recovery target environment information including a machine IP;
the tape preprocessing device is connected with the recovery instruction receiving device and used for preprocessing the current tape according to the tape marking information of the tape;
the tape type storage device is connected with the tape preprocessing device and is used for storing tape type data comprising tape marks, media types and data types into a tape type storage table;
the environment type storage device is connected with the recovery instruction receiving device and is used for storing target environment type data including machine IP, machine name, machine type and database type detection into a target environment type storage table;
a recovery strategy storage device which is respectively connected with the tape type storage device and the environment type storage device and stores the recovery strategy data containing the tape data recovery strategy into a recovery strategy storage table;
the information set generating device is respectively connected with the tape type storage device, the environment type storage device and the recovery strategy storage device and generates a data recovery information set which is required by the tape data recovery and contains tape type data records, target environment type data records and recovery strategy data records;
the restoration target environment server comprises:
the recovery script generating device is connected with the optical fiber network, decodes the data recovery information set transmitted by the recovery server and translates the data recovery information set into a data recovery script;
a recovery script running device which is connected with the recovery script generating device and runs the data recovery script in the corresponding recovery target environment;
and the recovery script monitoring device is connected with the recovery script running device and is used for monitoring the running state of the data recovery script.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010206851870U CN201947287U (en) | 2010-12-28 | 2010-12-28 | Tape data restorer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010206851870U CN201947287U (en) | 2010-12-28 | 2010-12-28 | Tape data restorer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201947287U true CN201947287U (en) | 2011-08-24 |
Family
ID=44474621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010206851870U Expired - Lifetime CN201947287U (en) | 2010-12-28 | 2010-12-28 | Tape data restorer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201947287U (en) |
-
2010
- 2010-12-28 CN CN2010206851870U patent/CN201947287U/en not_active Expired - Lifetime
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112486786B (en) | Calling link tracking method and device | |
US20150142825A1 (en) | Converting procedural text to an actionable knowledge form | |
CN110851324B (en) | Log-based routing inspection processing method and device, electronic equipment and storage medium | |
US8914798B2 (en) | Production control for service level agreements | |
US10083070B2 (en) | Log file reduction according to problem-space network topology | |
CN114254008B (en) | Information generation method and device and electronic equipment | |
CN110134538B (en) | Method, device, medium and electronic equipment for quickly positioning problem log | |
CN112015467A (en) | Point burying method, medium, device and computing equipment | |
CN110245059B (en) | Data processing method, device and storage medium | |
CN111865673A (en) | Automatic fault management method, device and system | |
CN110716804A (en) | Method and device for automatically deleting useless resources, storage medium and electronic equipment | |
CN116088846A (en) | Processing method, related device and equipment for continuous integrated code format | |
CN201947287U (en) | Tape data restorer | |
CN111628924B (en) | E-mail sending method, system, storage medium and electronic equipment | |
CN102063347B (en) | Magnetic tape data recovery method and system | |
CN112527497B (en) | Serialized multithreaded data processing system | |
CN112685370B (en) | Log collection method, device, equipment and medium | |
CN111061580B (en) | Computer system emergency plan exercise method, server and system | |
EP1127441A2 (en) | Enterprise communication protocol | |
CN113934595A (en) | Data analysis method and system, storage medium and electronic terminal | |
CN111522900B (en) | Automatic analysis method, system, equipment and storage medium for unstructured data | |
CN113204360B (en) | System upgrading method and device | |
CN111385361B (en) | Cloth inspecting machine communication method and device, electronic equipment and storage medium | |
CN115766278B (en) | Firewall policy generation method, device, equipment and storage medium | |
US20230185691A1 (en) | Differential logging of computing processes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term | ||
CX01 | Expiry of patent term |
Granted publication date: 20110824 |