JPS622335A - Back-up processing system for file device - Google Patents
Back-up processing system for file deviceInfo
- Publication number
- JPS622335A JPS622335A JP60141625A JP14162585A JPS622335A JP S622335 A JPS622335 A JP S622335A JP 60141625 A JP60141625 A JP 60141625A JP 14162585 A JP14162585 A JP 14162585A JP S622335 A JPS622335 A JP S622335A
- Authority
- JP
- Japan
- Prior art keywords
- data
- backup
- file
- updated
- processing
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〔概要〕
処理装置がファイル装置を使用してデータ処理中でも、
同一時象のバックアップを可能とするため、バックアヅ
プ処理期間中のファイル装置の更新領域を示すジャーナ
ルブイレフ) 17と、更新前のデータを格納するジャ
ーナルバッファを備え、ファイル装置のバックアップ処
理対象領域が更新されている場合には、ジャーナルバッ
ファよりデータのバックアップを取得するようkした。[Detailed Description of the Invention] [Summary] Even when the processing device is processing data using a file device,
In order to enable simultaneous backup, a journal buffer (17) indicating the updated area of the file device during the backup processing period and a journal buffer for storing data before updating are provided, so that the area to be backed up on the file device is If the data has been updated, a backup of the data is taken from the journal buffer.
本発明は、磁気ディスク装置等のファイル装置のデータ
を磁気テープ装置等のバックアップ装置に格納するため
のバヴクアップ処理方式に係り、特にデータ処理を中断
する事なく同一時象のデータをバックアップ可能とした
ファイル装置のバツクアップ処理方式に関する。The present invention relates to a backup processing method for storing data in a file device such as a magnetic disk device to a backup device such as a magnetic tape device, and in particular makes it possible to back up data at the same time without interrupting data processing. This invention relates to a backup processing method for a file device.
銀行のバンキングシステムなどのよ5に、信頼性を要求
するものマ、データの保全性を高めるために、データの
控を採る事が一般的に行なわれている。In systems that require reliability, such as bank banking systems, it is common practice to take a copy of data in order to improve data integrity.
このバックアップを行なうため釦要求される条件として
は、全てのバックアップ対象のデータを同一状態で採取
する事、及びバックアップ処浬のためにデータ処理に対
する影響を最小限とする事が要求されている。The conditions required by the button to perform this backup include that all data to be backed up be collected in the same state, and that the impact on data processing be minimized for backup processing.
従来よりバ雫りアツブ処理の対象は、磁気ディスク装置
で、バックアップを採る装置として磁気テープ装置が使
用されているが、
バッタブップ処浬を行なうタイミングとしては、データ
処理が行なわれていない夜間等に、磁気ディスク装置に
格納されているデータを磁気テープ装置に複写する事に
より行なっていた。Traditionally, the target of backup processing is magnetic disk devices, and magnetic tape devices are used as backup devices, but the timing for performing backup processing is at night when data processing is not being performed. This was done by copying data stored in a magnetic disk device to a magnetic tape device.
従来の方法釦おいては、必らず、データ処理装置tl[
よる処理が行なわれていない時にバックアップを行なわ
なければならなかった。In the conventional method, the data processing device tl [
The backup had to be performed at a time when no other processes were being performed.
これは、バックアップ処理中、バックアップ対象の磁気
ディスク装置のデータが更新されると、既にバックアッ
プを採ってじまりた部分との間に矛盾が生じるためであ
る0
即ち、バッファ9プを採取するための条件として、上述
したようにファイル装置に記憶されたデータが全て同一
の時数同−のタイミング情報のデータをバックアップと
しなければならない。This is because when the data on the magnetic disk device to be backed up is updated during backup processing, there will be a conflict with the part that has already been backed up. As a condition for this, as mentioned above, all the data stored in the file device must be backed up with timing information data of the same number of hours.
第1図は、本発明の原卸ブロック図を示す0データ処理
装[11に対してファイル装置2が接続されている。ジ
ャーナルバッファ4は、ファイル装r!!t2と接続さ
れ、パ9クアツプ処理期間中のデータ更新される領域の
更新前のデータが採納される。FIG. 1 shows a block diagram of an original wholesaler according to the present invention, in which a file device 2 is connected to a data processing device [11]. The journal buffer 4 is a file storage r! ! It is connected to t2 and stores the unupdated data of the area where the data is updated during the backup processing period.
ジャーナルディレクトリ5は、バックアップ処理期間中
のデータ更新が行なわれたファイル装置2の領域を示す
データが格納される。The journal directory 5 stores data indicating areas of the file device 2 where data has been updated during the backup processing period.
バックアップファイル装[3は、ファイル装置2のデー
タをバックアップする。The backup file device [3 backs up data in the file device 2.
第1図に示したよう匹ファイル装置2に格納されたデー
タをバ・Iクアップファイル装置3に複写する事でパ9
クアーIプを取るときに、データ処理装置1がファイル
装置2を使用してデータ処理中でもファイル装置2のバ
ックアップが採取出来るようにするために、バックアッ
プ処理期間中にファイル装置2に対してデータ更新が行
なわれる場合に、更新があった領域を示すデータをジャ
ーナルディレクトリ5VC格納するとともに、その領域
の更新前のデータをジャーナルバッファ41C格納する
事により、ファイル装置2の未更新部分についてはファ
イル装置2よりバックアップファイル装置3に複写し、
ファイル装置20更新部分については、ジャーナルバッ
ファ4よりバックアップファイル装置3に複写する事導
より、データ処理中であっても、同一時数のファイル装
置2の内容をバックアップする事が可能となる。As shown in FIG. 1, by copying the data stored in the file device 2 to the backup file device 3,
When taking a backup, data is updated for the file device 2 during the backup processing period so that the data processing device 1 can take a backup of the file device 2 while processing data using the file device 2. is performed, by storing data indicating the updated area in the journal directory 5VC and storing the data before the update in the journal buffer 41C, the unupdated portion of the file device 2 is stored in the file device 2. Copy it to the backup file device 3,
By copying the updated portion of the file device 20 from the journal buffer 4 to the backup file device 3, it is possible to back up the contents of the file device 2 at the same time even during data processing.
第2図は本発明の一実施例構成図、第3図は、本発明の
バックアップ処理フローチャートを示す0図において、
第1図と同記号のものに同一のものは示し、さらに図に
おいて 1/はチャネル装置、6は、コントロールスト
レージC8,7は70セツサ、8はチャネルインタフェ
ース、9.10はデータ転送回路、11はデータ転送バ
ッファをそれぞれ示す。FIG. 2 is a configuration diagram of an embodiment of the present invention, and FIG. 3 is a backup processing flowchart of the present invention.
Components with the same symbols as those in FIG. indicate data transfer buffers, respectively.
尚、第1図の構成を参照しながら第2図の処理フローチ
ャートにより説明する。The process flowchart shown in FIG. 2 will be explained with reference to the configuration shown in FIG. 1.
コントロールストレージ6は、プロセッサ7が動作する
ためのプログラムが格納される。The control storage 6 stores programs for the processor 7 to operate.
転送回路9.10は磁気テープ装置3とDASD(ダイ
レクトアクセスストレージデバイス) 2間ホ
のデータ転送及びキス)CPUIとDASD2の間のデ
ータ転送を行なう。The transfer circuits 9 and 10 transfer data between the magnetic tape device 3 and a DASD (Direct Access Storage Device) 2, and transfer data between the CPUI and the DASD 2.
データ転送バー/7ア4は磁気テープ装置3とDASD
2との間のデータ転送を行なうため釦、データを一時格
納するためのデータ転送バッファである。Data transfer bar/7a 4 is magnetic tape device 3 and DASD
2 and a data transfer buffer for temporarily storing data.
ホストCPU1がチャネル8経由でバ、クア。Host CPU 1 performs backup via channel 8.
プ指示を発すると、この指示をプロセッサ7で受ケ、コ
ントロールストレージCSS上のダノプモードプログラ
ムCバックアッグ処理用プログラム)が起動するための
75グをセ、)し、バックアップを開始する。When a backup instruction is issued, this instruction is received by the processor 7, and the Danop mode program C (backup processing program) on the control storage CSS executes a step 75 to start up, and starts backup.
バックアップを開始する最初に指示された磁気テープ装
置(実施例忙おいて磁気テープ装置は一台しか示されて
いないが、複数台する場合を想定している。)Kファイ
ル名を示すへ・・ダレコードを書込む。次くグロセ叩す
7は、DASD2から1トラック単位で転送回路10を
介してデータの読出しを開始し、転送バッファ11に格
納するとともに、転送回路9を介して転送バッファII
Vc格納されたデータを磁気テープ装W13に曹き込む
。The magnetic tape device that is first instructed to start the backup (only one magnetic tape device is shown in the example, but it is assumed that there will be more than one magnetic tape device).K Indicates the file name... Write a record. Next, the gross data 7 starts reading data from the DASD 2 via the transfer circuit 10 track by track, stores it in the transfer buffer 11, and transfers the data via the transfer circuit 9 to the transfer buffer II.
The data stored in Vc is written to the magnetic tape device W13.
DASD2がらのデータの続出し、及び磁気テ〜グ装鐙
3へのデータの書込みについては、一般に周知の制御に
て処理が行なわれるので省略する0DASD2より磁気
テープ装置3への会込みは、DASD2のシリンダ10
1I、ヘット101I/シリンダ、011.ヘット11
”・1・のよ5に順番に行なって行く。Continuous output of data from the DASD 2 and writing of data to the magnetic tag stirrup 3 are generally performed using well-known controls, so they will be omitted.0The transfer from the DASD 2 to the magnetic tape device 3 will be omitted from the DASD 2. cylinder 10
1I, head 101I/cylinder, 011. Het 11
”・1・Noyo5 in order.
尚、DASD上のどこまでデータのバックアップは取得
したかは、このシリンダ及びヘッド番号をコントロール
ストレージ6に記憶する事で認識する。The extent to which data on the DASD has been backed up can be recognized by storing the cylinder and head numbers in the control storage 6.
次にジャーナルバッフア4及びジャーナルディレクトリ
イ5を使用した動作について説明する。Next, operations using the journal buffer 4 and journal directory 5 will be explained.
このバックアップ処理中ではボス)CP’UIは、デー
タ処理中であるため、DASD2に対してデータの更新
な行なう可能性がある。During this backup process, the boss CP'UI is processing data, so there is a possibility that data will be updated on the DASD2.
このデータ更新が行なわれるとDASDZ上のデータが
同一時数ではなくなる。When this data update is performed, the data on the DASDZ no longer has the same number of hours.
そこで後述する手法和よりジャーナルバッフ・ア4にデ
ータの更新が行なわれたトラックの更11r@のデータ
を格納するとともに、ジャーナルディレクトリイ5にデ
ータ更新の行なわれたトラックを示すデータを格納する
。Therefore, according to a method to be described later, additional data 11r@ of the track whose data has been updated is stored in the journal buffer 4, and data indicating the track whose data has been updated is stored in the journal directory 5.
従ってバ・シフアップ処理のため[、DASD2よりデ
ータを読出すトラックを予じめジャーナルディククトリ
イ5内を参照し、データ更新が行なわれていなげれば、
DASD2より転送回路10を介してデータを読出して
転送バ噌ファ11に格納するとともに当該トラックのデ
ィレクトリイ5のエンドl)を削除し、その後転送回路
9を介して磁気テープ装置3にデータを格納する。Therefore, for the backup process, refer to the journal directory 5 in advance for the track from which data is to be read from the DASD 2, and if the data has not been updated,
Data is read from the DASD 2 via the transfer circuit 10 and stored in the transfer buffer 11, and the end l) of the directory 5 of the track concerned is deleted, and then the data is stored in the magnetic tape device 3 via the transfer circuit 9. do.
尚、バックアップ処理を何処まで行なったかは、バック
アンプデータをデータ転送バッファIIK収容した時点
で、コントロールストレージ6上忙記憶される。The extent to which the backup process has been performed is stored in the control storage 6 when the backup amplifier data is stored in the data transfer buffer IIK.
データ転送バッファ11は、少なくとも2トラック分の
データが記憶可能な領域を備えている。The data transfer buffer 11 has an area capable of storing at least two tracks of data.
次にバックアップ処理が完了したトラック番号が格納さ
れたコントロールストレージ6上のデータを参照してバ
ックアップ処理が完了したトラックが最後のトラックh
−fチェ・ツクする。Next, referring to the data on the control storage 6 in which the track number for which the backup process has been completed is stored, the track for which the backup process has been completed is the last track h.
-fCheck.
最後のトラックでなければ、上述の処理を繰り返す。If it is not the last track, the above process is repeated.
尚、DASD2より、データを読出して転送バリファ1
1に格納するタイミング若しくは転送時間と、転送バッ
ファ11より磁気テープ装置3へのデータの書込みタイ
ミング若しくは、転送時間が異なるため、転送バー/7
ア11は、同時にDASDZ上の複数トラック分のデー
タを順次格納出来、順次読出しを可能としている。Note that the data is read from DASD2 and transferred to the transfer buffer 1.
Since the timing or transfer time for storing data in 1 and the timing or transfer time for writing data from the transfer buffer 11 to the magnetic tape device 3 are different, the transfer bar/7
The data storage area 11 can sequentially store data for a plurality of tracks on the DASDZ at the same time, and enable sequential reading.
DASDZ上のデータのバックアップをjlMのトラ噌
りまで終了すると、Dump Mode (ダンプモ
ード)である事を示すフラグをコントロールストレージ
C86上よりリセットし、転送バーI7ア11に残って
いるデータを磁気テープ装置3に書込み指示を与えて、
それが終了するとトレーラレコードを書込んでバックア
ップ処理を終了する。When the backup of the data on the DASDZ is completed until jlM's failure, the flag indicating Dump Mode is reset from the control storage C86, and the data remaining on the transfer bar I7A11 is transferred to the magnetic tape. Give a write instruction to device 3,
When this is completed, a trailer record is written and the backup process is completed.
以上の動作は、プロセッサの所定の処理レベルで行なわ
れるが、通常のホスト処理は、この処理より優先する高
い処理レベルで行なわれる〇次に、このバックアップタ
ー中のホス)1よりのDASD2のデータ更新(ライト
命令ンの処理について説明する。The above operations are performed at a predetermined processing level of the processor, but normal host processing is performed at a higher processing level that takes priority over this processing. Update (write command processing will be explained.
第4図は、このライト命令の処即フローチャーF″社・
凌
プロセッサ9は、ホスト1よりチャネル1′はびチャネ
ルインタフェース8を介してライト命令を受付けると、
ライト命令を受付けたDASD2がダンプモードか否か
をコントロールストレージ6に設定されたフラグよりチ
ェ叩りし、ダンプモードの場合、ライト命令処理対象ト
ラックがバックアップ中のトラックよりも大かどうか、
即ち、バックアップの取得を完了しでいるか否かをコン
トロールストレージ6上に格納されたバックアダプ最終
トラックと比較する事により調べ、バックアップの取得
が完了されていないトラックの場合には、さらに、ジャ
ーナルディレクトリイ5を参屑して、スでにダンプモー
ド中に当該トラックにデータの更新が行なわれていない
かる詞べ、データの更新が行なわれていなければ、当該
トラックのデータをDASD2上よりジャーナルバッフ
ァ4上に格納し、ジャーナルディレクトlJ5に当該ト
−)9りを登録する。Figure 4 shows the immediate flowchart of this write command.
When the processor 9 receives a write command from the host 1 via the channel 1' channel interface 8,
Check whether the DASD 2 that received the write command is in dump mode or not based on the flag set in the control storage 6, and if it is in dump mode, check whether the track to be processed by the write command is larger than the track being backed up.
That is, it is checked whether the backup acquisition has been completed by comparing it with the last track of the backup adapter stored on the control storage 6, and in the case of a track for which the backup acquisition has not been completed, the journal directory is further checked. Referring to step 5 above, if data has not been updated on the track during dump mode, if the data has not been updated, the data on the track will be transferred from the DASD2 to the journal buffer. 4 and register the corresponding tor)9 in the journal directory lJ5.
この処理が終了した事により、ホスト1よりのライト命
令を実行する。Upon completion of this process, the write command from the host 1 is executed.
一方、バックアップの取得を完了しているトラックに対
するライト命令若しくは既にダンプモード中にデータの
更新が行なわれているトラックに対するライト命令の場
合にはそのままライト命令を実行する。On the other hand, in the case of a write command for a track for which backup acquisition has been completed or a write command for a track for which data has already been updated during dump mode, the write command is executed as is.
このようKしてライト命令の実行が終了したら、プロセ
ッサ7はバックアップ処浬に戻る。When the execution of the write command is completed in this way, the processor 7 returns to the backup process.
尚、ライト命令以外のホスト1からの命令は単基実施例
においては、バックアップデータを格納するファイル装
置として磁気テープ装置を例に説明したが、磁気ディス
ク装置等、他のファイル装置でも良い。In the single-unit embodiment, commands from the host 1 other than write commands have been explained using a magnetic tape device as an example of a file device for storing backup data, but other file devices such as a magnetic disk device may be used.
以上のように本発明においでは、ホスト処理を中断する
事なく、同一時数のデータのバックアップが可能となる
。As described above, according to the present invention, data can be backed up for the same amount of time without interrupting host processing.
第1図は、本発明の原理ブロック図、
第2図は、本発明の詳細な説明図、
第3図は、本発明のバックアップ処理フローチャート、
第4図は、本発明のライト命令処理フローチャン≧
一トをそれぞれ示す。
図においてダし
lは、データタブ装虹(ホスト)、
2は、ファイル装置、
3は、バックアップファイル装置、
4は、ジャーナルバッファ、
5は、ジャーナルディレクトリイ
を示す。
ハ゛ツファッ7″
ファイノVhe Jり
全岨の原理プロ・ンフロ
1 図
八゛°・ソファ・ソフ6′X!L理フD−+イートオ・
3T5
τ■1込みレヘ”)L/
Write コマンド、pqフυ−+タート葵4Tf
JFIG. 1 is a principle block diagram of the present invention. FIG. 2 is a detailed explanatory diagram of the present invention. FIG. 3 is a backup processing flowchart of the present invention. FIG. 4 is a write instruction processing flowchart of the present invention. ≧ Indicate each item. In the figure, numeral 1 indicates a data tab installation (host), 2 indicates a file device, 3 indicates a backup file device, 4 indicates a journal buffer, and 5 indicates a journal directory. Hearts Fat 7'' Fino Vhe J Ri Quan's Principle Pro Nfro 1 Figure 8゛° Sofa Soft 6'X!L Rifu D- + Eato
3T5 τ■1 included rehe") L/Write command, pqfu υ-+Tart Aoi 4Tf
J
Claims (1)
装置と、 該ファイル装置に格納されたデータのバックアップを行
なうためのバックアップファイル装置と、バックアップ
処理期間に該処理装置より該ファイル装置に対するデー
タの更新が行なわれる際に、更新前のデータを格納する
ジャーナルバッファと、更新が行なわれた事を示すジャ
ーナルディレクトリとを備え、 バックアップ処理期間中に前記処理装置より前記ファイ
ル装置に対するデータの更新があった場合に、更新前の
データを前記ジャーナルバッファに格納するとともに、
更新された領域のデータをジャーナルディレクトリに格
納し、 前記ファイル装置よりバックアップファイル装置にデー
タをバックアップする場合に、更新された領域のバック
アップは、ジャーナルバッファより行なう事を特徴とす
るファイル装置のバックアップ処理方式。[Scope of Claims] A file device connected to a processing device and used for data processing; a backup file device for backing up data stored in the file device; When data is updated on the file device, the processing device is provided with a journal buffer for storing the data before the update and a journal directory indicating that the update has been performed, and the processing device is configured to update the data on the file device during the backup processing period. When data is updated, the data before the update is stored in the journal buffer, and
A file device backup process characterized in that when data in an updated area is stored in a journal directory and the data is backed up from the file device to a backup file device, the updated area is backed up from a journal buffer. method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60141625A JPS622335A (en) | 1985-06-28 | 1985-06-28 | Back-up processing system for file device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60141625A JPS622335A (en) | 1985-06-28 | 1985-06-28 | Back-up processing system for file device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS622335A true JPS622335A (en) | 1987-01-08 |
Family
ID=15296388
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60141625A Pending JPS622335A (en) | 1985-06-28 | 1985-06-28 | Back-up processing system for file device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS622335A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01214947A (en) * | 1988-02-23 | 1989-08-29 | Hitachi Ltd | Data preservation method |
| JPH0371752A (en) * | 1989-08-11 | 1991-03-27 | Nec Corp | Method for countermeasuring and processing occurrence of power interruption |
| JPH0997201A (en) * | 1995-09-30 | 1997-04-08 | Nec Corp | Backup preparation system for data base |
-
1985
- 1985-06-28 JP JP60141625A patent/JPS622335A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01214947A (en) * | 1988-02-23 | 1989-08-29 | Hitachi Ltd | Data preservation method |
| JPH0371752A (en) * | 1989-08-11 | 1991-03-27 | Nec Corp | Method for countermeasuring and processing occurrence of power interruption |
| JPH0997201A (en) * | 1995-09-30 | 1997-04-08 | Nec Corp | Backup preparation system for data base |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5193154A (en) | Buffered peripheral system and method for backing up and retrieving data to and from backup memory device | |
| US7085900B2 (en) | Backup technique for data stored on multiple storage devices | |
| JPH0743676B2 (en) | Back-up data dump control method and device | |
| KR100710767B1 (en) | Copy controller and method thereof | |
| JPS60256866A (en) | Data processing system | |
| JPH06250906A (en) | Backup/recovery system for data developed in main storage device | |
| US6636876B1 (en) | Database copy apparatus, database copy method and recording medium recorded with database copy program | |
| JPS622335A (en) | Back-up processing system for file device | |
| JPH06149485A (en) | Data completion guarantee processing method | |
| JPH04311219A (en) | Data backup system | |
| JPH10312329A (en) | Data backup / restore device | |
| JPH0793101A (en) | Data backup device | |
| JP3022011B2 (en) | Data backup system | |
| JPH11212845A (en) | Device and method for backup data management and recording medium | |
| JP3599138B2 (en) | Journal backup method and system | |
| JPS61156340A (en) | Trouble recorder | |
| JP2658265B2 (en) | Disaster recovery method | |
| JP2656499B2 (en) | Computer system | |
| JPH05181613A (en) | Information processor | |
| JPH10333961A (en) | Data base recovery system and computer-readable recording medium recording recovery program | |
| JPH0232652B2 (en) | ||
| JPH0944317A (en) | Registering system for alternate sector | |
| JP3009168B2 (en) | Data processing device | |
| JPS6254347A (en) | Processing system for fault of file | |
| JPS6389944A (en) | Managing system for file updating history |