JPS59125460A - Saving and restoring system of file - Google Patents

Saving and restoring system of file

Info

Publication number
JPS59125460A
JPS59125460A JP57234061A JP23406182A JPS59125460A JP S59125460 A JPS59125460 A JP S59125460A JP 57234061 A JP57234061 A JP 57234061A JP 23406182 A JP23406182 A JP 23406182A JP S59125460 A JPS59125460 A JP S59125460A
Authority
JP
Japan
Prior art keywords
file
volume
evacuation
evacuated
files
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
JP57234061A
Other languages
Japanese (ja)
Inventor
Kazuji Kobayashi
一二 小林
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57234061A priority Critical patent/JPS59125460A/en
Publication of JPS59125460A publication Critical patent/JPS59125460A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To shorten the saving and restoring time of a file by using direct access storage device as a saving media and producing a file control block in this device. CONSTITUTION:A data set from a volume 6 to be saved is saved in direct access storage devices (DASD) 8-1-8-n by physical saving processing 7. This file control block is used to search for a desired file when restored. Therefore, when the desired file is present in the (n)th DASD8-n and this is restored, file control blocks are accessed in order from the DASD8-1 to search for the desired file. When the desired file in the (n)th DASD8-n is restored, only the file control blocks of (n-1) units of DASDs are searched, so time loss is small.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発BA#′i、、複数個の直接アクセス記憶装置をフ
ァイルの退避媒体として使用し1直接アクセス記憶装置
上にファイル・コントロール・ブロック(PCB)’を
作成し、復元ファイルはファイル・コントロール・ブロ
ックを使ってサーチするようにしたファイルの退避・復
元処理方式に関するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present BA #'i uses a plurality of direct access storage devices as a file backup medium and stores a file control block (PCB) on one direct access storage device. This relates to a file saving and restoring processing method in which a file is created and the restored file is searched using a file control block.

〔従来技術と問題点〕[Prior art and problems]

第1図は従来のファイルの退避・復元方式全説明する図
、第2図は磁気テープ上の退避ファイルの配列例を示す
図である。図において、1は被退避ボリューム、2は論
理的退避処理、3−1ないし3−ルは磁気テープ、4は
論理的復元処理、5は復元ボリュームを示す。
FIG. 1 is a diagram illustrating the entire conventional file saving and restoring method, and FIG. 2 is a diagram showing an example of the arrangement of saved files on a magnetic tape. In the figure, 1 is a volume to be saved, 2 is a logical save process, 3-1 to 3-1 are magnetic tapes, 4 is a logical restore process, and 5 is a restore volume.

データ処理装置において、ファイルの退避−・復元が行
われるが、ファイルの退避を行う場合、従来は、第1図
に示すように磁気テープ全退避媒体としている。磁気テ
ープ3−1ないし3−ルを退避媒体として使用する従来
の方式では、被退避ボリューム1からデータ・セットが
磁気テープ3−1ないし3− nに論理的退避処理2に
より退避される。そして復元するときには、例えばル番
目の目的ファイルを見つげるまでにn −1巻の磁気テ
ープ3−1ないし3−rL−1(図示せず)全サーチし
、リワインドする処理が行われ、データ・セットが論理
的復元処理4によって復元ボリューム5に復元される。
In a data processing device, files are saved and restored. Conventionally, when files are saved, a magnetic tape is used as an entire saving medium as shown in FIG. In the conventional method of using magnetic tapes 3-1 to 3-n as evacuation media, data sets are evacuated from evacuation target volume 1 to magnetic tapes 3-1 to 3-n by logical evacuation processing 2. When restoring, for example, all n-1 volumes of magnetic tapes 3-1 to 3-rL-1 (not shown) are searched and rewinded until the second target file is found. The set is restored to the restoration volume 5 by the logical restoration process 4.

通常使用される磁気テープの例では、長さが2400フ
イートのものがあり、これ全サーチし、さらにリワイン
ドするという処理は時間的にロスが太きい。例えば第2
図に示すようにファイルが退避された磁気テープ3Aが
ある場合において、ファイルAとF(斜線部分)を復元
しようとするときに^、磁気テープ3Aは最終ファイル
までサーチされる。
An example of a commonly used magnetic tape is 2,400 feet long, and the process of searching all of it and then rewinding it requires a large amount of time loss. For example, the second
As shown in the figure, when there is a magnetic tape 3A on which files have been saved, when attempting to restore files A and F (shaded areas), the magnetic tape 3A is searched up to the last file.

このように磁気テープを退避媒体とする従来の方式では
、復元時に、磁気テープ上の後方にあるファイル名が指
定されると、前から1@にファイルをスキップして目的
ファイルをさがし出して復元するという処理が行われる
ため、時間的ロスが大きく復元に時間がかかるという問
題がある。
In the conventional method that uses magnetic tape as a backup medium, when restoring, if a later file name on the magnetic tape is specified, the file is skipped from the previous one to 1@ and the target file is found and restored. Since this process is performed, there is a problem that there is a large time loss and restoration takes a long time.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の問題を解決するものでらって1指定フ
アイルの復元処理が、時間的ロスを小さくして効率的に
行い得るファイルの退避・復元処理方式を提供すること
を目的とするものである。
SUMMARY OF THE INVENTION The present invention aims to solve the above-mentioned problems by providing a file backup/restoration processing method that can efficiently perform the restoration processing of one designated file with less time loss. It is something.

〔発明の構成〕[Structure of the invention]

そのために本発明のファイルの退避・復元処理方式は、
ファイルの退避媒体を複数個備え、被退避ボリュームか
らのファイルを退避し、復元ボリュームに目的ファイル
金復元するファイルの退避・復元処理方式において、上
記退避媒体として直接アクセス記憶装置を使用すると共
に、上記被退避ボリュームからファイルを退避する際に
は、上記退避媒体上に退避ファイルの制御情報を含むフ
ァイル制御ブロックを作成し、全てのデータ・セットに
被退避ボリュームの制御情報を1データ・セットとして
加えて退避する処理全行い、上記復元ボリュームにファ
イルを復元する際には、上記ファイル制御ブロック金サ
ーチして目的ファイルを見つけ復元する処理及び上記被
退避ボリュームの制御情報の内容により退避時と同じ物
理的復元処理を行い得るようになったことを特徴とする
ものである。
For this purpose, the file backup/restore processing method of the present invention is as follows:
In a file evacuation and restoration processing method that includes a plurality of file evacuation media, evacuates files from a volume to be evacuated, and restores the target file to a restoration volume, a direct access storage device is used as the evacuation medium, and a direct access storage device is used as the evacuation medium. When evacuating files from the evacuation volume, create a file control block containing the control information of the evacuation file on the above evacuation medium, and add the control information of the volume to be evacuated to all data sets as one data set. After performing all the evacuation processes, when restoring files to the above-mentioned restoration volume, the process of searching the file control block to find the target file and restoring it, and the content of the control information of the above-mentioned volume to be evacuated, ensure that the same physical location as at the time of evacuation is performed. This feature is characterized by the ability to perform restoration processing.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面全参照しつつ説明する。 Embodiments of the present invention will be described below with reference to all the drawings.

第3図は本発明の1実施例を説明するための図、第4図
は本発明が適用されるファイルの退避・復元処理の例を
説明するための図、第5図は本発明が適用されるファイ
ルの退避例を示す図でおる。
Fig. 3 is a diagram for explaining one embodiment of the present invention, Fig. 4 is a diagram for explaining an example of file backup/restore processing to which the present invention is applied, and Fig. 5 is a diagram to explain an example of file saving/restoring processing to which the present invention is applied. This figure shows an example of how files are saved.

図において、6は被退避ボリューム、7は物理的退避処
理、8−1ないし8−nはDASD(直接アクセス記憶
装置)、9は論理的復元処理、9′は物理的復元処理、
10と10′は復元ボリューム、11はVTOC’(V
olume ’l’able Qf (::onten
ts ) 、 12はデータ・セット、13はファイル
制御ブロック(PCB)を示す。
In the figure, 6 is a volume to be evacuated, 7 is a physical evacuation process, 8-1 to 8-n are DASDs (direct access storage devices), 9 is a logical restoration process, 9' is a physical restoration process,
10 and 10' are recovery volumes, 11 is VTOC' (V
olume 'l'able Qf (::onten
ts ), 12 indicates a data set, and 13 indicates a file control block (PCB).

本発明は、退避媒体としてDASD(直接アクセス記憶
装置)全使用し、さらにDASD上にファイル制御ブロ
ック全作成するもので、第3図において、DASD8−
1ないし8−ルが退避媒体である。
The present invention uses all DASD (direct access storage devices) as backup media, and also creates all file control blocks on the DASD.
1 to 8 files are the evacuation medium.

退避するDASD8−1ないし8− n Kは、被退避
ボリューム6から物理的退避処理7によってデータ・セ
ットが退避される。この物理的退避処理7では、被退避
ボリューム6の全てのデータ・セットがその制御情報(
VTOC)と共に退避され、そしてDASD8−1ない
し8−n上にファイルのインデックスとなるファイル制
御ブロックが作成される。このファイル制御ブロックは
復元するときにj的ファイルをサーチするために使用さ
れる。
For the DASDs 8-1 to 8-nK to be evacuated, data sets are evacuated from the evacuated volume 6 by physical evacuation processing 7. In this physical evacuation process 7, all data sets of the volume to be evacuated 6 are saved with their control information (
VTOC), and a file control block serving as a file index is created on DASD 8-1 to 8-n. This file control block is used to search for the desired file when restoring.

したがって、ル番目のDASD8−nに目的ファイルが
あってこれを復元するときには、DASD8−1から順
にファイル制御ブロックをアクセスして目的ファイルの
サーチが行われる。DASD8−2.8−3・・・・・
・8−ルまでサーチが行われると目的7アイルが論理的
復元処理9によって復元ボリューム10に復元される。
Therefore, when there is a target file on the second DASD 8-n and it is to be restored, the file control blocks are sequentially accessed from DASD 8-1 to search for the target file. DASD8-2.8-3...
- When the search is performed up to the 8-file, the purpose 7 file is restored to the restoration volume 10 by the logical restoration process 9.

このようにファイル制御ブロック金有するDASD8−
1ないし8−ル全退避媒体にすることによって、ル番目
のDASD8−nにある目的ファイルを復元するときに
も、n−1個のDASDの7アイル制御ブロツクのサー
チのみでよいので時間的ロスが小さい。又、本発明では
第4図に示すように物理的復元も行うことができる。図
において、物理的復元処理7では、DASD8−1ない
し8−nで示すように複数ボリューム1処理金行い、被
退避ボリュームのV T OC(Volume’l’a
ble Qf (’ontents )情報t−1デー
タ・セットとして退避する。VTOCは通常ボリューム
上のデータ・セン)を制御するためのラベルで構成され
ているボリュームの制御情報である。DASD8−1な
いし8−nには、このVTOC情報を1データ・セット
とし、全てのデータ・セン)t−退避する。
DASD8- with file control block gold like this
By using files 1 to 8 as all backup media, when restoring the target file on the 1st DASD 8-n, it is only necessary to search the 7-aisle control block of n-1 DASDs, reducing time loss. is small. Further, according to the present invention, physical restoration can also be performed as shown in FIG. In the figure, in the physical restoration process 7, one process is performed for multiple volumes as indicated by DASDs 8-1 to 8-n, and the V T OC (Volume'l'a
ble Qf ('contents) information is saved as a t-1 data set. The VTOC is usually volume control information consisting of a label for controlling the data center on the volume. This VTOC information is set as one data set in DASDs 8-1 to 8-n, and all data centers are saved.

又、退避データ・セットは1エクステント(連続域)で
退避する。その結果、ファイル制御ブロック1小さくす
ることができる。以上のような物理的退避処理により得
られたファイルの退避例を示したのが第5図である。
Also, the save data set is saved in one extent (continuous area). As a result, the file control block 1 can be made smaller. FIG. 5 shows an example of saving files obtained by the above physical saving process.

論理的復元処理9では、再アロケーションにより退避デ
ータの内容を復元する。その内容は・退避前と比べて物
理的には異なるが、論理的なデータ・セットとしては等
価であり、物理的退避データが、論理的復元用データと
して使用可能になっている。
In the logical restoration process 9, the contents of the saved data are restored by reallocation. Although the contents are physically different from those before evacuation, they are equivalent as logical data sets, and the physically evacuation data can be used as data for logical restoration.

又、物理的退避処理7によりVTOC情報も1データ・
セットとして退避されているので、第4図に示すように
物理的復元処理9′も可能になる。物理的復元処理9′
では、VTOCの内容により物理的に再アロケーション
全行い、データの復元を行う。
Also, due to the physical evacuation process 7, VTOC information is also reduced to 1 data.
Since they are saved as a set, physical restoration processing 9' as shown in FIG. 4 is also possible. Physical restoration process 9'
Now, all physical reallocation is performed according to the contents of the VTOC, and the data is restored.

したがって、データ・セット単位に物理的復元ができ、
ボリューム全体を退避時と同一に復元できる。
Therefore, it is possible to physically restore data set by data set,
The entire volume can be restored to the same state as when it was evacuated.

退避媒体(直接アクセス記憶装置: DASD)上には
、第5図に示すように、被退避ボリュームの制御情報で
あるVTOCI 1と共に全データ・セン・ト12が退
避され、これら全制御するためにファイルのインデック
スとなるファイル制御ブロック13が作成される。退避
するデータ・セット12が退避媒体の上側から格納され
、ファイル制御ブロック13が反対の下側に作成される
第5図に示すような構成にすると退避媒体が無駄なく有
効に活用することができる。このようKして被退避ボリ
ュームのデータ・セットは複数個の退避媒体に退避され
る。
On the evacuation medium (direct access storage device: DASD), as shown in FIG. A file control block 13 is created that serves as an index. If the data set 12 to be evacuated is stored from the top of the evacuated medium and the file control block 13 is created at the opposite bottom, as shown in FIG. 5, the evacuated medium can be used effectively without wasting it. . In this manner, the data set of the volume to be evacuated is evacuated to a plurality of evacuated media.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように1′本発明によれば、退
避媒体として直接アクセス記憶装置(DASD)を用い
、しかも直接アクセス記憶装置上にファイル・コントロ
ール・ブロック(FCB)’e作成するので、ファイル
の退避・復元の時間が短縮でき、さらにはデータ・セッ
ト単位/ボリューム単位の退避・復元が実現できる。
As is clear from the above description, 1'According to the present invention, a direct access storage device (DASD) is used as an evacuation medium, and a file control block (FCB) is created on the direct access storage device. The time for backup and restoration can be shortened, and furthermore, backup and restoration can be realized in units of data sets/volumes.

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

第1図は従来のファイルの退避・復元方式全説明するた
めの図、第2図は磁気テープ上の退避ファイルの配列例
を示す図、第3図は本発明の1実施例を説明するための
図、第4図は本発明が適用されるファイルの退避・復元
処理を説明するための図、第5図は本発明が適用される
ファイルの退避例金示す図である。 1と6・・・被退避ボリューム、2・・・論理的退避処
理、3−1ないし3− nと3A・・・磁気テープ、4
と9・・・論理的復元処理、5.10と10′・・・復
元ボリューム、7・・・物理的退避処理、8−1ないし
8−ル・・・DASD(直接アクセス記憶装置)、9′
・・・物理的復元処理、11− VTOC(Volum
e TableQf Contents ) 、12 
・・・データ・セット、13 ・・・7アイル制御ブロ
ツク。 特許出願人 富士通株式会社 代理人弁理士 京 谷 四 部 ゲ 1  図 ヤ ′3 図 ズ 4 区
Fig. 1 is a diagram for explaining the entire conventional file saving and restoring method, Fig. 2 is a diagram showing an example of the arrangement of saved files on a magnetic tape, and Fig. 3 is for explaining one embodiment of the present invention. FIG. 4 is a diagram for explaining file saving/restoring processing to which the present invention is applied, and FIG. 5 is a diagram showing an example of file saving to which the present invention is applied. 1 and 6...volume to be evacuated, 2...logical evacuation processing, 3-1 to 3-n and 3A...magnetic tape, 4
and 9... logical restoration processing, 5.10 and 10'... restoration volume, 7... physical evacuation processing, 8-1 to 8-rule... DASD (direct access storage device), 9'
...Physical restoration processing, 11-VTOC (Volume
eTableQf Contents), 12
...data set, 13 ...7-aisle control block. Patent Applicant: Fujitsu Ltd. Representative Patent Attorney Kyotani Shibuge 1 Figure 3 '3 Figure 4 Ward

Claims (1)

【特許請求の範囲】[Claims] ファイルの退避媒体全複数個備え、被退避ポリニームか
らのファイルを退−避し、復元ボリュームに目的ファイ
ルを復元するファイルの退避・復元処理方式において、
上記退避媒体として直接アクセス記憶装置を使用すると
共に、上記被退避ボリュームからファイルを退避する際
には、上記退避媒体上に退避ファイルの制御情報を含む
ファイル制御ブロックを作成し、全てのデータ・セット
に被退避ボリュームの制御情報′t−1データ・セット
として加えて退避する処理を行い、上記復元ボリューム
にファイルを復元する際には1上記フアイル制御ブロツ
クをサーチして目的ファイル金兄つけ復元する処理及び
上記被退避ボリュームの制御情報の内容により退避時と
同じ物理的復元処理全行い得るよ5になったことを特徴
とするファイルの退避・復元処理方式。
In a file backup/restoration processing method that includes multiple file backup media, saves files from the polyneme to be saved, and restores the target file to the recovery volume,
In addition to using a direct access storage device as the evacuation medium, when evacuating files from the volume to be evacuated, a file control block containing control information for the evacuation files is created on the evacuation medium, and all data sets are The control information of the volume to be evacuated is added as a 't-1 data set and is evacuated.When restoring a file to the restoration volume, the process of searching for the file control block 1 and restoring the target file is carried out. and 5. A method for saving and restoring files, characterized in that, depending on the content of the control information of the volume to be evacuated, it is possible to perform all the same physical restoration processes as at the time of evacuation.
JP57234061A 1982-12-30 1982-12-30 Saving and restoring system of file Pending JPS59125460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57234061A JPS59125460A (en) 1982-12-30 1982-12-30 Saving and restoring system of file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57234061A JPS59125460A (en) 1982-12-30 1982-12-30 Saving and restoring system of file

Publications (1)

Publication Number Publication Date
JPS59125460A true JPS59125460A (en) 1984-07-19

Family

ID=16964970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57234061A Pending JPS59125460A (en) 1982-12-30 1982-12-30 Saving and restoring system of file

Country Status (1)

Country Link
JP (1) JPS59125460A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63196959A (en) * 1987-02-10 1988-08-15 Nec Corp Saving and restoring system for file

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5233443A (en) * 1975-09-10 1977-03-14 Hitachi Ltd System down restoring system
JPS5557959A (en) * 1978-10-25 1980-04-30 Fujitsu Ltd On-line recovery control system
JPS57109048A (en) * 1980-12-26 1982-07-07 Fujitsu Ltd Recovery system of data set

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5233443A (en) * 1975-09-10 1977-03-14 Hitachi Ltd System down restoring system
JPS5557959A (en) * 1978-10-25 1980-04-30 Fujitsu Ltd On-line recovery control system
JPS57109048A (en) * 1980-12-26 1982-07-07 Fujitsu Ltd Recovery system of data set

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63196959A (en) * 1987-02-10 1988-08-15 Nec Corp Saving and restoring system for file

Similar Documents

Publication Publication Date Title
AU624966B2 (en) Digital data management system
AU622566B2 (en) Transferring data between storage media while maintaining host processor access for i/o operations
US5778393A (en) Adaptive multitasking for dataset storage
CA2063379A1 (en) Method of operating a data processing system
JPS59125460A (en) Saving and restoring system of file
JPS62224843A (en) Database medium content maintaining system
JP2587417B2 (en) File backup and restoration method
JPH0296277A (en) Picture data control system
JPH0378042A (en) Automatic saving/reloading processing system for file
JPS61147292A (en) Multiwindow control system
JPH0330033A (en) File copying processor
JPH05250243A (en) Data processing system for extended storage device
JPS58223858A (en) Integrated backup restorage processing system
JPS63138442A (en) Restoring and processing system for deleted file
JPH02281319A (en) Storage subsystem
JPS6125256A (en) File shunt system
JPS63257962A (en) Data saving/recovering system for magnetic disk at the time of reformatting
JPH04134541A (en) Recovering system for saving / reprogramming volume
JPH05134815A (en) Data management processing system
JPH06214858A (en) File restoring method
JPH04364546A (en) Space reconstitution system at disk data saving time
JPS62280941A (en) Save and restore system for disk volume
JPS63188223A (en) Virtual disk control system for extended storage device
JPH02118823A (en) Data file saving and restoring device
JPH02224156A (en) File saving system