JP2738245B2 - File recovery system - Google Patents

File recovery system

Info

Publication number
JP2738245B2
JP2738245B2 JP4331542A JP33154292A JP2738245B2 JP 2738245 B2 JP2738245 B2 JP 2738245B2 JP 4331542 A JP4331542 A JP 4331542A JP 33154292 A JP33154292 A JP 33154292A JP 2738245 B2 JP2738245 B2 JP 2738245B2
Authority
JP
Japan
Prior art keywords
file
journal
record
size
journal record
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
Application number
JP4331542A
Other languages
Japanese (ja)
Other versions
JPH06342393A (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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4331542A priority Critical patent/JP2738245B2/en
Publication of JPH06342393A publication Critical patent/JPH06342393A/en
Application granted granted Critical
Publication of JP2738245B2 publication Critical patent/JP2738245B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は計算機システムにおける
ファイルのリカバリシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file recovery system in a computer system.

【0002】[0002]

【従来の技術】記録装置の障害が発生し、この装置上の
ファイルが最新退避テープにより復元されると、これら
のファイル状態は退避時点の状態に戻される。退避テー
プを用いて退避時点にまでファイル状態を戻す操作は復
元と呼ばれる。これに対し、更新の度に記録をジャーナ
ルテープに採るジャーナル機能の指定がジャーナルに対
してなされている場合には、退避時点以降の更新イメー
ジが含まれているジャーナルデータを用いることによ
り、ファイル状態をさらに現在の状態までもっていくこ
とが可能である。このようなジャーナルテープをもとに
ファイルを回復することを「ロールフォワード」とい
う。
2. Description of the Related Art When a failure occurs in a recording apparatus and files on the apparatus are restored by the latest save tape, the state of these files is returned to the state at the time of save. The operation of returning the file state to the save point using the save tape is called restoration. On the other hand, if the journal function is specified for the journal that records on a journal tape each time it is updated, the journal status that contains the updated image after the evacuation point is used to determine the file status. Can be further brought to the current state. Recovering files based on such a journal tape is called "roll forward".

【0003】従来、このロールフォワードにより復旧さ
れることを前提として作成されたファイルの場合、縮小
というファイルサイズの変更操作が禁止されていた。こ
れは、ファイル縮小により必要なファイルが削除される
ため、ジャーナルテープの使用の際、不適切なものとし
て復旧できないようになっていた。
Conventionally, in the case of a file created on the assumption that the file is restored by the roll forward, a file size changing operation of reducing the file size has been prohibited. This is because the necessary files are deleted due to the file reduction, so that when the journal tape is used, it cannot be recovered as inappropriate.

【0004】[0004]

【発明が解決しようとする課題】さらに、ファイル拡張
というファイルサイズの増加を許すと、予めデータ増加
を予測し十分なファイル領域を確保しておかなければな
らない。このため、二次記憶媒体の使用効率が低いとい
う欠点がある。
Further, if an increase in the file size, that is, file expansion, is allowed, it is necessary to predict in advance the data increase and secure a sufficient file area. For this reason, there is a disadvantage that the use efficiency of the secondary storage medium is low.

【0005】また、ファイルを長年使用していたデータ
の増加によりファイルの拡張が必要になった場合、ファ
イルを一旦再作成しなければならず、利用者にとり使い
勝手が良くないという欠点を有していた。
[0005] Further, when the file needs to be expanded due to an increase in data which has been used for many years, the file must be recreated once, which is not convenient for the user. Was.

【0006】[0006]

【課題を解決するための手段】本発明のファイルリカバ
リシステムは、二次記憶媒体上に存在しロールフォワー
ドにより復旧されることを前提として作成されるファイ
ルと、ファイル障害時のファイルサイズと現在のファイ
ルサイズとを比較し、障害発生時のファイルサイズに変
更するファイルサイズ調整手段と、このファイルサイズ
調整手段から呼び出されファイルを拡張または縮小、す
なわち変更するファイル変更手段とを含む。このファイ
ル変更手段は、本発明の一実施例におけるファイル拡張
手段またはファイル縮小手段の少なくとも一方を含む。
SUMMARY OF THE INVENTION A file recovery system according to the present invention includes a file which exists on a secondary storage medium and is created on the assumption that it is recovered by roll forward, a file size at the time of a file failure, and a current file size. File size adjusting means for comparing the file size and changing to the file size at the time of occurrence of a failure, and file changing means for expanding or reducing, that is, changing the file called from the file size adjusting means. The file changing means includes at least one of the file expanding means and the file reducing means in one embodiment of the present invention.

【0007】[0007]

【実施例】次に、本発明の一実施例について図面を参照
して詳細に説明する。
Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0008】図1を参照すると、本発明の一実施例は、
ファイル更新時の処理のため、ロールフォワードによる
復旧を前提に作成されたファイル7,このファイル7を
参照,更新,拡張および縮小するプロセス1,このプロ
セス1からファイル7に対する種々の要求を受付けるフ
ァイル管理部2,このファイル管理部2からの指示によ
り拡張,縮小,および更新の各ジャーナルレコードを作
成し出力するジャーナルレコード作成出力手段8,この
ジャーナルレコード作成出力手段8により作成出力され
たジャーナルレコードを記録するジャーナルテープ群
9,およびファイル7への更新前にファイルイメージを
予め退避しておくためのセーブテープ10を含む。
Referring to FIG. 1, one embodiment of the present invention is:
For processing at the time of updating a file, a file 7 created on the premise of restoration by roll forward, a process of referring to, updating, expanding and reducing this file 7, a file management for receiving various requests from the process 1 to the file 7 Unit 2, a journal record creation and output unit 8 for creating and outputting each of the extended, reduced, and updated journal records in accordance with an instruction from the file management unit 2, and records journal records created and output by the journal record creation and output unit 8 A journal tape group 9 to be updated and a save tape 10 for saving a file image in advance before updating the file 7 are included.

【0009】ファイル管理部2は、プロセス1からファ
イル7に対する拡張処理要求に応答してファイル7の拡
張処理を行うファイル拡張手段3,該プロセス1からフ
ァイル7に対する縮小処理要求に応答してファイル7の
縮小処理を行なう縮小処理手段4,前記プロセス1から
ファイル7に対する更新処理要求に応答してファイル7
の更新処理を行う更新処理手段5,および前記プロセス
1からファイル7に対する参照処理要求に応答してファ
イル7の参照処理を行うファイル参照手段6を含む。
The file management unit 2 includes a file expansion unit 3 for expanding the file 7 in response to an expansion processing request for the file 7 from the process 1 and a file 7 in response to a reduction processing request for the file 7 from the process 1. Processing means 4 for reducing the size of the file 7 in response to an update processing request for the file 7 from the process 1
And a file reference means 6 for performing a reference process of the file 7 in response to a reference process request for the file 7 from the process 1.

【0010】次に、本発明の一実施例は、ファイル復旧
のため、ファイル7の障害時ジャーナルレコードを用い
てファイル7を復旧するロールフォワード手段11およ
び復元されるファイル7を備えている。
Next, one embodiment of the present invention includes a roll-forward means 11 for restoring the file 7 using a journal record at the time of failure of the file 7 and a file 7 to be restored for the purpose of file restoration.

【0011】本発明の特徴の1つであるロールフォワー
ド手段11は、ジャーナルテープ群9からファイル7に
関するジャーナルレコードを抽出するジャーナルレコー
ド抽出手段12、このジャーナルレコード抽出手段12
で抽出されたジャーナルレコードをジャーナルレコード
の種類,更新位置および時系列順に並べ替えるソート手
段13、ファイル障害時のファイルサイズと現在のファ
イルサイズとを比較し障害時のファイルサイズに戻すた
めに拡張または縮小のどちらが必要かを判定するファイ
ルサイズ調整手段14,ファイル7を拡張する必要が生
じた際ファイルサイズ調整手段14から呼び出されファ
イル7を実際に拡張するファイル拡張手段15,ファイ
ル7を縮小する必要が生じた際にファイルサイズ調整手
段14から呼び出され実際にファイル7を縮小するファ
イル縮小手段16、および更新ジャーナルレコードに応
じてファイル7に対する更新を行うファイル更新手段1
7を含む。
The roll forward means 11, which is one of the features of the present invention, comprises: a journal record extracting means 12 for extracting a journal record relating to the file 7 from the journal tape group 9;
Sorting means 13 for rearranging the journal records extracted in step 1 in the order of journal record type, update position and chronological order, comparing the file size at the time of file failure with the current file size, and expanding or reducing the size to return to the file size at the time of failure. File size adjusting means 14 for determining which of the file sizes is required; file expanding means 15 which is called from file size adjusting means 14 when file 7 needs to be expanded and which actually expands file 7; file 7 needs to be reduced File reducing means 16 which is called from the file size adjusting means 14 when the file size occurs and which actually reduces the file 7, and the file updating means 1 which updates the file 7 in accordance with the updated journal record
7 inclusive.

【0012】次に本発明の一実施例の動作の説明の前
に、各レコードの形式について図を参照しながら詳細に
説明する。
Next, before describing the operation of one embodiment of the present invention, the format of each record will be described in detail with reference to the drawings.

【0013】図2を参照すると、拡張ジャーナルレコー
ドは、ジャーナルレコードの型を示すレコードタイプ2
01,ファイル7をシステム内で一意に識別できるファ
イルID202,拡張サイズ211,および拡張後のフ
ァイル7のファイルサイズ212を備えている。
Referring to FIG. 2, the extended journal record has a record type 2 indicating the type of the journal record.
01, a file ID 202 for uniquely identifying the file 7 in the system, an expansion size 211, and a file size 212 of the file 7 after expansion.

【0014】図3を参照すると、縮小ジャーナルレコー
ドは、ジャーナルレコードの型を示すレコードタイプ2
01,ファイル7をシステム内で一意に識別できるファ
イルID202,ファイル7の縮小サイズを示す縮小サ
イズ221,および縮小後のファイル7のサイズを示す
ファイルサイズ222を備えている。
Referring to FIG. 3, the reduced journal record has a record type 2 indicating the type of the journal record.
01, a file ID 202 for uniquely identifying the file 7 in the system, a reduced size 221 indicating the reduced size of the file 7, and a file size 222 indicating the size of the file 7 after the reduction.

【0015】図4を参照すると、更新ジャーナルレコー
ドは、ジャーナルレコードの型を示すレコードタイプ2
01、ファイル7をシステム内で一意に識別できるファ
イルID202、更新後のイメージを示す更新後イメー
ジ232および、この更新後イメージ232のファイル
7内相対位置情報231を備えている。
Referring to FIG. 4, the update journal record has a record type 2 indicating the type of the journal record.
01, a file ID 202 for uniquely identifying the file 7 in the system, an updated image 232 indicating an updated image, and relative position information 231 of the updated image 232 in the file 7.

【0016】なお、本実施例おいて、図2に示される拡
張ジャーナルレコードと図3に示される縮小ジャーナル
レコードとを総称して、以後変更ジャーナルレコードと
呼ぶ。
In this embodiment, the extended journal record shown in FIG. 2 and the reduced journal record shown in FIG. 3 are collectively called a changed journal record.

【0017】次に本発明の一実施例の動作特に、図5を
参照してファイル更新時の動作を、また図6を参照して
ファイル復旧時の動作を詳細に説明する。
Next, the operation of the embodiment of the present invention, in particular, the operation at the time of updating a file with reference to FIG. 5 and the operation at the time of file recovery with reference to FIG. 6 will be described in detail.

【0018】まず、ファイル7のイメージをセーブテー
プ10に予め退避しておくものとする。なお、ここでフ
ァイルの退避/復元動作は本発明に特に関与しないた
め、その詳細は省略する。
First, it is assumed that the image of the file 7 is saved on the save tape 10 in advance. Note that the file saving / restoring operation does not particularly relate to the present invention, and thus details are omitted.

【0019】図5を参照すると、ファイル更新時には、
プロセス1からファイル7への各種要求に応じてそれぞ
れ以下の各処理が行われる[310,320,330,
340]。
Referring to FIG. 5, when updating a file,
The following processes are respectively performed in response to various requests from the process 1 to the file 7 [310, 320, 330,
340].

【0020】プロセス1からファイル7に対して参照要
求が与えられる[310]と、ファイル管理部2中のフ
ァイル参照手段6が呼び出され、ファイル7が読み込ま
れてファイル7のイメージがプロセス1に返される[3
11]。
When a reference request is given to the file 7 from the process 1 [310], the file reference means 6 in the file management unit 2 is called, the file 7 is read, and the image of the file 7 is returned to the process 1. [3
11].

【0021】プロセス1からファイル7に対して拡張要
求が発生すると[320]、ファイル管理部2中のファ
イル拡張手段3が呼び出される。ファイル拡張手段3は
まずファイルを拡張し[321]、その後ジャーナルレ
コード作成・出力手段8を呼び出して拡張ジャーナルレ
コードを作成し、ジャーナルテープ群9に出力させる
[322]。
When an extension request is issued from the process 1 to the file 7 [320], the file extension means 3 in the file management unit 2 is called. The file extension means 3 first expands the file [321], and then calls the journal record creation / output means 8 to create an extended journal record and output it to the journal tape group 9 [322].

【0022】プロセス1からファイル7に対して縮小要
求が発生すると[320]、ファイル管理部2中のファ
イル縮小手段4が呼び出される。ファイル縮小手段4は
まずファイルの縮小を行い[331]、その後ジャーナ
ルレコード作成・出力手段8を呼び出して、縮小ジャー
ナルレコードを作成し、ジャーナルテープ群9に出力さ
せる[332]。
When a reduction request is issued from the process 1 to the file 7 [320], the file reduction means 4 in the file management unit 2 is called. The file reduction means 4 first reduces the file [331], and then calls the journal record creation / output means 8 to create a reduced journal record and output it to the journal tape group 9 [332].

【0023】変更ジャーナルレコードの作成・出力と実
際の変更処理の順序が、更新ジャーナルレコードの作成
・出力時と逆になっているのは、ファイルサイズの変更
失敗時にジャーナルレコード内のサイズ情報が実際のフ
ァイルサイズと食い違うことを避けるためである。
The order of the creation / output of the change journal record and the actual change processing is opposite to the order of the creation / output of the update journal record because the size information in the journal record is actually changed when the file size change fails. This is to avoid conflict with the file size.

【0024】プロセス1からファイル7に対して更新要
求が与えられた場合、ファイル管理部2中のファイル更
新手段5が呼び出される。ファイル更新手段5は、まず
ジャーナルレコード作成・出力手段8を呼び出して更新
ジャーナルレコードを作成し、ジャーナルテープ群9に
出力させる[341]。その後、ファイル更新手段5は
ファイル7への更新を行う[342]。
When an update request is given to the file 7 from the process 1, the file update means 5 in the file management unit 2 is called. The file update means 5 first calls the journal record creation / output means 8 to create an updated journal record and causes the journal tape group 9 to output the updated journal record [341]. Thereafter, the file updating means 5 updates the file 7 [342].

【0025】装置障害等によりファイル7が壊れた場合
には、以下のようにしてファイル7が復旧される。
When the file 7 is damaged due to a device failure or the like, the file 7 is restored as follows.

【0026】まずセーブテープ10によりファイル7が
別の装置上に復元される。
First, the file 7 is restored on another device by the save tape 10.

【0027】次に以下のようにしてロールフォワード処
理が行われる。
Next, roll forward processing is performed as follows.

【0028】図1および図6を参照すると、ロールフォ
ワード手段11が自身内のジャーナル抽出手段12を呼
び出し、ファイル7に対するジャーナルレコードをジャ
ーナルテープ群9から抽出する[401]。
Referring to FIGS. 1 and 6, the roll forward means 11 calls the journal extracting means 12 in itself, and extracts the journal record for the file 7 from the journal tape group 9 [401].

【0029】ロールフォワード手段11は抽出されたジ
ャーナルレコードにソート用のキーを付加して、ソート
手段13によりキーの昇順に並べ替える[402]。
The roll-forward means 11 adds a sort key to the extracted journal records, and the sort means 13 sorts the journal records in ascending key order [402].

【0030】図1,図4および図6を参照すると、ジャ
ーナルレコードをソートするためのキーは、以下の5つ
とする。第1キーはファイルID 202、第2キーは
ジャーナルレコードタイプ201、第3キーは更新ジャ
ーナルイメージのファイル内相対位置情報231、第4
キーはジャーナルテープ群9内での相対テープ番号、お
よび第5キーはジャーナルテープ中での相対レコード番
号である。なお、ここで第4、および第5キーはジャー
ナルレコード中には存在しないため、ジャーナルレコー
ド抽出手段12が各ジャーナルレコード中に付加するも
のとする。また、第4、および第5キーはジャーナルレ
コードを時系列に並べるために使用される。
Referring to FIGS. 1, 4 and 6, the following five keys are used to sort the journal records. The first key is the file ID 202, the second key is the journal record type 201, the third key is the relative position information 231 of the updated journal image in the file, the fourth key
The key is a relative tape number in the journal tape group 9, and the fifth key is a relative record number in the journal tape. Here, since the fourth and fifth keys do not exist in the journal record, the journal record extracting means 12 adds them to each journal record. The fourth and fifth keys are used to arrange journal records in chronological order.

【0031】第2キーであるジャーナルレコードタイプ
201は、変更ジャーナルレコードが1、更新ジャーナ
ルレコードが2であるとする。
Assume that the journal record type 201 as the second key has a change journal record of 1 and an update journal record of 2.

【0032】また、変更ジャーナルレコードの第3キー
の値は0であるとする。
It is also assumed that the value of the third key of the change journal record is 0.

【0033】ソート完了後、ロールフォワード手段11
は障害直前の変更ジャーナルレコードを得るために、変
更ジャーナルレコードを1レコード分だけ保存しながら
[405]更新ジャーナルレコードが見つかるまでジャ
ーナルレコードを読み込む[403,および404]。
更新ジャーナルを見つけた場合には、保存しておいた変
更ジャーナル内の拡張後のファイルサイズ212または
縮小後のファイルサイズ222により障害発生直前のフ
ァイル7のファイルサイズを得る[406]。
After the sorting is completed, the roll forward means 11
Reads the journal records [403] and [404] while storing only one change journal record until an updated journal record is found in order to obtain the change journal record immediately before the failure.
When an update journal is found, the file size of the file 7 immediately before the occurrence of the failure is obtained from the expanded file size 212 or the reduced file size 222 in the saved change journal [406].

【0034】ファイルサイズ調整手段14は、得られた
ファイルサイズと現在のファイル7のファイルサイズを
比較して、現在のファイルサイズの方が小さければファ
イル拡張手段15を用いてファイル7を拡張し[40
7,および408]、逆に大きければファイル縮小手段
16を用いてファイル7を縮小する[409,および4
10]。
The file size adjusting means 14 compares the obtained file size with the file size of the current file 7, and if the current file size is smaller, expands the file 7 using the file expanding means 15 [ 40
7, and 408], on the contrary, if large, the file 7 is reduced using the file reducing means 16 [409, 4]
10].

【0035】その後、ファイル更新手段17は、各更新
ジャーナルレコードを用いたロールフォワードを行う。
なお、この際ジャーナルレコード中の更新イメージのフ
ァイル内相対位置情報231とファイル7の現在のファ
イルサイズとを比較し、障害発生時には存在しないファ
イル位置に対する更新ジャーナルレコードを見つける
か、または全てのジャーナルレコードの処理終了時点で
ロールフォワード処理を終了する[412および41
1]。
Thereafter, the file updating means 17 performs a roll forward using each updated journal record.
At this time, the in-file relative position information 231 of the update image in the journal record is compared with the current file size of the file 7, and when a failure occurs, an update journal record for a non-existent file position is found. The roll-forward process is terminated at the end of the process [412 and 41].
1].

【0036】障害発生時には存在しないファイル位置に
対する更新ジャーナルレコードを見つけた時点でロール
フォワード処理を終了するのは、縮小処理により切り捨
てられた部分のジャーナルレコードを更新することによ
る無駄を省くためである。
The reason why the roll-forward processing is terminated when an updated journal record corresponding to a non-existent file position is found when a failure occurs is to eliminate waste caused by updating the journal record of a portion truncated by the reduction processing.

【0037】このようにしてロールフォワードによる復
旧を前提に作成されたファイルであっても、自由にファ
イルサイズを変更することができる。
The file size can be freely changed even if the file is created on the premise of the roll-forward recovery.

【0038】[0038]

【発明の効果】本発明では、ロールフォワードによる復
旧を前提として作成されたファイルであっても、通常の
ファイルと同様に自由にファイルサイズの変更を行える
ようにし、これによって二次記憶媒体の有効利用を図る
こと、および利用者の使い勝手を向上させることができ
るという効果を有する。
According to the present invention, it is possible to freely change the file size of a file created on the premise of roll-forward recovery in the same manner as a normal file, thereby enabling the secondary storage medium to be effectively used. There is an effect that utilization can be achieved and user convenience can be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例を示す図FIG. 1 shows an embodiment of the present invention.

【図2】拡張ジャーナルレコードの形式を示す図FIG. 2 is a diagram showing a format of an extended journal record.

【図3】縮小ジャーナルレコードの形式を示す図FIG. 3 is a diagram showing a format of a reduced journal record.

【図4】更新ジャーナルレコードの形式を示す図FIG. 4 is a diagram showing a format of an updated journal record.

【図5】ファイル更新時の処理動作を説明するための図FIG. 5 is a diagram for explaining a processing operation at the time of updating a file;

【図6】ファイル復旧時の処理動作を説明するための図FIG. 6 is a diagram for explaining a processing operation at the time of file recovery.

【符号の説明】[Explanation of symbols]

1 プロセス 2 ファイル管理部 3 ファイル拡張手段 4 ファイル縮小手段 5 ファイル更新手段 6 ファイル参照手段 7 ファイル 8 ジャーナルレコード作成・出力手段 9 ジャーナルテープ群 10 セーブテープ 11 ロールフォワード手段 12 ジャーナルレコード抽出手段 13 ソート手段 14 ファイルサイズ調整手段 15 ファイル拡張手段 16 ファイル縮小手段 17 ファイル更新手段 DESCRIPTION OF SYMBOLS 1 Process 2 File management part 3 File expansion means 4 File reduction means 5 File update means 6 File reference means 7 File 8 Journal record creation / output means 9 Journal tape group 10 Save tape 11 Roll forward means 12 Journal record extraction means 13 Sorting means 14 file size adjusting means 15 file expanding means 16 file reducing means 17 file updating means

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 二次記憶媒体上に存在しロールフォワー
ドにより復旧されることを前提として作成されるファイ
ルと、 前記ファイルのファイルイメージを退避するセーブテー
プと、 前記ファイルに対するジャーナルレコードを作成し、ジ
ャーナルテープ群へ出力するジャーナルレコード作成・
出力手段と、 前記ファイルに対する拡張処理要求に応じて、該ファイ
ルを拡張し、前記ジャーナルレコード作成・出力手段に
より拡張ジャーナルレコードを作成し、前記ジャーナル
テープ群に出力するファイル拡張手段と、 前記ファイルに対する縮小処理要求に応じて、該ファイ
ルを縮小し、前記ジャーナルレコード作成・出力手段に
より縮小ジャーナルレコードを作成し、前記ジャーナル
テープ群に出力するファイル縮小手段と、 前記ファイルの復旧時に、 前記セーブテープに格納されているファイルイメージを
基にして前記ファイルを復元し、前記ジャーナルテープ
群から障害直前の該ファイルに対応する前記拡張ジャー
ナルレコードまたは前記縮小ジャーナルレコードを読み
出し、該拡張ジャーナルレコードまたは該縮小ジャーナ
ルレコードから拡張後または縮小後の前記ファイルのサ
イズを得るロールフォワード手段と、 前記ロールフォワード手段が得た拡張後または縮小後の
前記ファイルのサイズと復元時の該ファイルのサイズと
を比較し、復元時の該ファイルのサイズの方が小さけれ
ば前記ファイル拡張手段により該ファイルを拡張し、復
元時の該ファイルのサイズの方が大きければ前記ファイ
ル縮小手段により該ファイルを縮小するファイルサイズ
調整手段とを備えたことを特徴とするファイルリカバリ
システム。
1. A file that exists on a secondary storage medium and is created on the assumption that it is restored by roll forward, a save tape that saves a file image of the file, and a journal record for the file is created. Create journal records to output to journal tapes
An output unit, a file expansion unit that expands the file in response to an expansion processing request for the file, creates an extended journal record by the journal record creation / output unit, and outputs the extended journal record to the journal tape group; In response to a request for reduction processing, the file is reduced, the reduced journal record is created by the journal record creation / output means, and output to the journal tape group. Restoring the file based on the stored file image, reading the extended journal record or the reduced journal record corresponding to the file immediately before the failure from the journal tape group, and reading the extended journal record or the reduced journal Roll forward means for obtaining the size of the file after expansion or reduction from the record; comparing the size of the file after expansion or reduction obtained by the roll forward means with the size of the file at the time of restoration, and restoring If the size of the file at the time is smaller, the file is expanded by the file expanding means, and if the size of the file at the time of restoration is larger, the file reducing means reduces the file by the file reducing means. A file recovery system characterized by comprising:
JP4331542A 1992-12-11 1992-12-11 File recovery system Expired - Lifetime JP2738245B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4331542A JP2738245B2 (en) 1992-12-11 1992-12-11 File recovery system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4331542A JP2738245B2 (en) 1992-12-11 1992-12-11 File recovery system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP7280189A Division JP2643918B2 (en) 1995-10-27 1995-10-27 File recovery system

Publications (2)

Publication Number Publication Date
JPH06342393A JPH06342393A (en) 1994-12-13
JP2738245B2 true JP2738245B2 (en) 1998-04-08

Family

ID=18244832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4331542A Expired - Lifetime JP2738245B2 (en) 1992-12-11 1992-12-11 File recovery system

Country Status (1)

Country Link
JP (1) JP2738245B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2748402B2 (en) * 1988-05-20 1998-05-06 株式会社日立製作所 Database failure recovery method

Also Published As

Publication number Publication date
JPH06342393A (en) 1994-12-13

Similar Documents

Publication Publication Date Title
US20050262033A1 (en) Data recording apparatus, data recording method, program for implementing the method, and program recording medium
JP2001344139A (en) Database management device
JP2738245B2 (en) File recovery system
JP2643918B2 (en) File recovery system
JPH07152627A (en) File recovery system
CN110362424B (en) Rapid recovery method and system based on continuous data protection
JP2925042B2 (en) Information link generation method
JP2679602B2 (en) Evacuation medium creation system
JPH07306802A (en) Data base management system
JP2587417B2 (en) File backup and restoration method
JP2822869B2 (en) Library file management device
JP2001188690A (en) Computer system and checkpoint information preserving method
JPH0385650A (en) Disk volume restoration system
JPH0378042A (en) Automatic saving/reloading processing system for file
JP4167578B2 (en) Backup system, backup method and program
JPH0485635A (en) Forward recover/restoration system for data base file
JPH01140353A (en) System for maintaining data in data base
JP2806342B2 (en) Database failure recovery method and device
JPH05250243A (en) Data processing system for extended storage device
JP2001109618A (en) History managing file system
JPH02257229A (en) File recovery system for computer system
JPH09244907A (en) Data restoration system
JP2001337857A (en) Database restoration system
JPH04209044A (en) Data base control system
JP2004171529A (en) Data backup system and data backup method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19960312

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19971216