JP3043662B2 - Data backup method - Google Patents

Data backup method

Info

Publication number
JP3043662B2
JP3043662B2 JP9148976A JP14897697A JP3043662B2 JP 3043662 B2 JP3043662 B2 JP 3043662B2 JP 9148976 A JP9148976 A JP 9148976A JP 14897697 A JP14897697 A JP 14897697A JP 3043662 B2 JP3043662 B2 JP 3043662B2
Authority
JP
Japan
Prior art keywords
backup
data
file
file device
address conversion
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 - Fee Related
Application number
JP9148976A
Other languages
Japanese (ja)
Other versions
JPH10340215A (en
Inventor
修二 小島
Original Assignee
四国日本電気ソフトウェア株式会社
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 四国日本電気ソフトウェア株式会社 filed Critical 四国日本電気ソフトウェア株式会社
Priority to JP9148976A priority Critical patent/JP3043662B2/en
Publication of JPH10340215A publication Critical patent/JPH10340215A/en
Application granted granted Critical
Publication of JP3043662B2 publication Critical patent/JP3043662B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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 data backup system, and more particularly to a data backup system capable of performing an update process even during a data backup.

【0002】[0002]

【従来の技術】最近のデータ処理システムは、ノイズ・
バースト、ソフトウエア・バグ、媒体欠陥、及び書込み
経路エラー等による記憶データの精度低下ばかりでな
く、データ処理システム電源故障のような全体的な事象
からも、データを回復する必要がある。データ処理シス
テム内のデータの連続使用可能性を保証する最も一般的
な手法は、データ処理システム内の選択されたデータセ
ットの少なくとも1つのコピーを生成して、これらのコ
ピーを非揮発性記憶媒体に格納することである。このバ
ックアッププロセスは、通常外部記憶媒体システムで実
行される。
2. Description of the Related Art Recent data processing systems include noise and noise.
There is a need to recover data from overall events such as data processing system power failures, as well as loss of stored data accuracy due to bursts, software bugs, media defects, and write path errors. The most common approach to ensuring continuous availability of data in a data processing system is to generate at least one copy of a selected set of data in the data processing system and store these copies in a non-volatile storage medium. To be stored. This backup process is usually performed in an external storage medium system.

【0003】このようなデータバックアップ方式の一つ
として、例えば特開平6−83677号公報に、「デー
タの増分(Incremental)タイム・ゼロ・バックアップ
・コピーの方法及びシステム」として記載されているよ
うに、バックアップ開始時のデータをバックアップ終了
まで保持するために、以下の方式が採られていた。
As one of such data backup methods, for example, as described in Japanese Patent Application Laid-Open No. Hei 6-83677, "Method and System for Incremental Time Zero Backup Copy of Data" In order to retain the data at the start of the backup until the end of the backup, the following method has been adopted.

【0004】すなわち、タイム・ゼロ・バックアップ・
コピー・システムで、アプリケーションにより試みられ
たバックアップ用の追跡巡回記憶装置への更新が、現在
のコピーセッション中にはないボリュームのものである
かどうかの判定が最初に行われる。もしこのボリューム
が現在のコピーセッション内になければ、更新は正常に
終了する。
That is, the time zero backup
In the copy system, a determination is first made whether the update to the tracked patrol storage for backup attempted by the application is for a volume that is not in the current copy session. If this volume is not in the current copy session, the update ends normally.

【0005】代わりに、更新がコピーセッションの一部
であるボリュームのものであれば、一次セッション・ビ
ット・マップが検査され、当該トラックが保護されてい
るかどうかを調べる。もしビット・マップ内の対応する
ビットがオフであり、当該トラックが現在コピーセッシ
ョン内にないことを示すならば、更新は正常に終了す
る。
Alternatively, if the update is for a volume that is part of a copy session, the primary session bit map is examined to see if the track is protected. The update is successful if the corresponding bit in the bit map is off, indicating that the track is not currently in a copy session.

【0006】しかしながら、もし追跡巡回記憶装置の記
録トラックが保護されている(ビットマップ内の対応す
るビットがオンである)ならば、問題の記録トラックは
コピーセッションの一部であり、まだコピーの開始・終
了を通知する資源マネージャに読み取られていない。こ
のような場合、キャッシュメモリの記憶制御機構は一時
的に更新を緩衝記憶し、影響を受けたトラックのコピー
を追跡巡回記憶装置から記憶制御機構内のメモリに書き
込む。その後、追跡巡回記憶装置に対して更新を実施す
ることが可能になる。
[0006] However, if the recording track of the tracked cyclic storage is protected (the corresponding bit in the bitmap is on), the recording track in question is part of the copy session and is still in the copy session. Not read by the resource manager that notifies start / end. In such a case, the storage control mechanism of the cache memory temporarily buffers the update and writes a copy of the affected track from the tracked traversal storage to memory in the storage control mechanism. Thereafter, updates can be made to the tracking patrol storage device.

【0007】バックアップコピーを行う際は、更新され
ていない記録トラックは直に追跡巡回記憶装置からデー
タを転送し、更新されたトラックのデータは記憶制御機
構内のメモリに書き込まれたデータを転送する。
When a backup copy is performed, the data of a track that has not been updated is directly transferred from the tracking and revolving storage device, and the data of the updated track is data that has been written to the memory in the storage control mechanism. .

【0008】[0008]

【発明が解決しようとする課題】しかしながら、追跡巡
回記憶装置のコピーセッション中のエリアに対する更新
を行う前に、対象となる領域を記憶管理機構内のメモリ
に転送した後で、更新処理を行う必要があるので、アプ
リケーションが外部記憶装置のコピーセッション中のエ
リアに対する更新を行う場合に、バックアップ時間の増
加を要する性能の劣化を引き起こすことが問題である。
However, before updating the area in the copy session of the tracking and traveling storage device, it is necessary to perform the updating process after transferring the target area to the memory in the storage management mechanism. Therefore, when an application updates an area during a copy session of an external storage device, there is a problem in that performance is deteriorated which requires an increase in backup time.

【0009】従って、本発明の目的は、バックアップ処
理のために凍結しているデータの更新処理時間を短縮す
ることにある。
Accordingly, an object of the present invention is to reduce the update processing time of data frozen for backup processing.

【0010】[0010]

【課題を解決するための手段】本発明は、上記目的に鑑
みなされたもので、アプリケーションがデバイスドライ
バを介してファイル装置を制御するシステムのデータバ
ックアップ方式において、通常データを格納する運用フ
ァイル装置と、バックアップのためにバックアップ時に
使用する代替ファイル装置と、前記運用ファイル装置/
代替ファイル装置へのアクセス切替え手段と、前記バッ
クアップを制御する手段とを備え、前記アクセス切替え
手段は、前記バックアップ実行中に発生する前記運用フ
ァイル装置への書き込みを前記代替ファイル装置へ行
い、前記運用ファイル装置の読み込みが前記代替ファイ
ル装置に書き込んだエリアに対して行われたのであれば
前記代替ファイル装置から読み込むアクセス切替えを行
う機能を有し、前記バックアップを制御する手段は、
バックアップを終了後、前記代替ファイル装置へ書き
込んだデータを前記運用ファイル装置の該当エリアに転
送する機能を有することを特徴とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and has been made in consideration of the above-described problems, and provides a data backup method for a system in which an application controls a file device via a device driver. An alternative file device to be used at the time of backup for backup, and the operation file device /
And access switching means to alternate file system, and means for controlling the back <br/> up, the access switching means, the substitute file system to write to the management file unit generated during the backup execution If the operation file device is read to the area written to the alternative file device, has a function of performing access switching to read from the alternative file device, the means for controlling the backup, Previous
After completion of the serial backup, and having a function of transferring the data written to the alternate file system in the corresponding area of the running file system.

【0011】また、本発明は、アプリケーションプログ
ラムによってデバイスドライバを介してファイル装置を
制御するシステムのデータバックアップ方式において、
通常データを書き込み・読み出す運用ファイル装置と、
バックアップのためにバックアップ時に使用する代替フ
ァイル装置と、前記運用ファイル装置/代替ファイル装
置へのアクセスを切り替えるアクセス切替え手段とを備
え、前記アクセス切替え手段は、前記バックアップ実行
中に発生する前記運用ファイル装置への書き込みを前記
代替ファイル装置へ行い、前記運用ファイル装置の読み
込みが前記代替ファイル装置に書き込んだエリアに対し
て行われたのであれば前記代替ファイル装置から読み込
み、前記代替ファイル装置が前記運用ファイル装置の
バックアップを行う機能を有し、且つ、前記バックア
ップを終了後前記代替ファイル装置へ書き込んだデータ
を前記運用ファイル装置の該当エリアに転送する機能を
有することを特徴とする。
[0011] The present invention also provides an application program.
In a data backup method of a system in which a file device is controlled via a device driver by a RAM,
An operation file device for writing and reading normal data,
A backup file device used for backup for backup, and an access switching unit for switching access to the operation file device / alternate file device, wherein the access switching unit includes the operation file device generated during the backup execution Is written to the alternative file device, and if the operation file device is read from the area written to the alternative file device, the operation file is read from the alternative file device. In front of the device
It has the function of performing serial backup, and characterized by having a function of transferring the data written to the Backing <br/>-up to the end after the substitute file system in the corresponding area of the running file system.

【0012】また、上記データバックアップ方式におい
て、前記アクセス切替え手段は、アドレス変換モジュー
ルからなり、前記アクセス切替えはアドレス変換テーブ
ルの内容に従って、前記運用ファイル装置のアドレスと
前記代替ファイル装置のアドレスとを変換することを特
徴とする。
In the data backup method, the access switching means comprises an address conversion module, and the access switching converts the address of the active file device and the address of the substitute file device according to the contents of an address conversion table. It is characterized by doing.

【0013】又、本発明は、アプリケーションプログラ
ムによってデバイスドライバを介してファイルデバイス
を制御するデータバックアップ方式において、前記アプ
リケーションプログラムから入出力要求を受ける前記デ
バイスドライバと、前記デバイスドライバによりアドレ
ス変換モジュールを介して前記入出力要求を送出される
入出力バスと、バックアップ管理アプリケーションから
のバックアップ要求を受ける前記入出力バスに接続され
るバックアップモジュールと、前記バックアップモジュ
ールと前記アドレス変換モジュールとに接続されるアド
レス変換テーブルと、前記入出力バスに接続され前記ア
プリケーションプログラムに従って通常データを書込み
・読み出しを行う運用デバイスと、前記入出力バスに接
続されデータバックアップ用のバックアップデバイス
と、前記入出力バスに接続されバックアップ実行中の前
記運用デバイスへの書込み・読み出しの要求がある場合
に代替される代替デバイスとを備え、前記アドレス変換
テーブルは、前記バックアップ実行中の前記運用デバイ
スへの書込み・読み出しの要求時に書き込まれる前記運
用デバイスと前記代替デバイスのアドレス変換用のテー
ブルであることを特徴とする。
According to the present invention, in a data backup method for controlling a file device via a device driver by an application program, the device driver receives an input / output request from the application program, and the device driver transmits the input / output request via an address conversion module. An input / output bus for sending the input / output request, a backup module connected to the input / output bus for receiving a backup request from a backup management application, and an address converter connected to the backup module and the address conversion module. A table, an operating device connected to the input / output bus for writing / reading normal data in accordance with the application program, and a data buffer connected to the input / output bus. Comprising a backup device for up, and alternative devices to be replaced if there is a write-read request to the management device in the connected backup execution to said output bus, said address translation
The table shows the operating device during the backup.
The operation written when a write / read request to the
For address translation between the
Bull.

【0014】た、上記データバックアップ方式におい
て、前記バックアップ実行中に発生する前記運用ファイ
ル装置への書き込みを前記代替ファイル装置へ行い、前
記運用ファイル装置の読み込みが前記代替ファイル装置
に書き込んだエリアに対して行われたのであれば前記代
替ファイル装置から読み込み、前記代替ファイル装置が
前記運用ファイル装置のバックアップを行う機能を有す
ることを特徴とする。
[0014] Also, in the above-mentioned data backup system, writes to the operational file system that occurs during the backup execution to the alternative file system, the read of the operation file device area written to the alternate file system If it has been performed on the substitute file device, it is read from the substitute file device, and the substitute file device has a function of backing up the operation file device.

【0015】さらに、具体的には、本発明のデータバッ
クアップ方式は、図1を参照して、通常データを格納す
る運用デバイス(図1の7)とは別に、バックアップ時
に使用する代替デバイス(図1の9)と、運用/代替フ
ァイル装置へのアクセス切替え(図1の3)と、バック
アップを制御する機能(図1の5)と、およびアクセス
の切替えとバックアップ制御に使用するアドレス変換テ
ーブル(図1の6)とを有する。
More specifically, referring to FIG. 1, the data backup method of the present invention differs from the operation device (7 in FIG. 1) for storing normal data, and is replaced with an alternative device (FIG. 1) used at the time of backup. 1-9), access switching to the operation / alternate file device (3 in FIG. 1), a function of controlling backup (5 in FIG. 1), and an address conversion table (5) used for access switching and backup control. 1) of FIG.

【0016】バックアップ実行中に発生する運用ファイ
ル装置への書き込みを代替ファイル装置へ行い、運用デ
バイスのデータをバックアップ開始時の状態を保持す
る。バックアップ中の読み込みが、代替ファイル装置に
書き込んだエリアに対してであれば、代替ファイル装置
から読み込むことにより、一般アプリケーションは運用
デバイスに書き込んでいるのと同じ状態に見える。書き
込みに際しては、本来運用デバイスに書き込むべき個所
が代替デバイスへの書き込みになるだけなので、処理時
間に変わりはない。
The writing to the operation file device, which occurs during the execution of the backup, is performed to the alternative file device, and the data of the operation device is retained at the time when the backup was started. If the reading during backup is for an area written to the alternative file device, reading from the alternative file device makes the general application look the same as writing to the operating device. At the time of writing, there is no change in the processing time because the place that should originally be written to the operation device is merely writing to the substitute device.

【0017】[0017]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

〔第1の実施形態〕以下、本発明の第1の実施形態につ
いて図面を参照して詳細に説明する。
[First Embodiment] Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings.

【0018】図1は本発明の第1の実施形態の一例を示
すシステム構成例である。図1に示す実施形態は、一般
アプリケーションプログラム1からの入出力要求はデバ
イスドライバ2に発行され、デバイスドライバ2はアド
レス変換モジュール3を通して入出力バス10に接続さ
れる。また、バックアップ管理アプリケーション4から
のバックアップ要求はバックアップモジュール5に対し
て発行され、バックアップモジュール5は入出力バス1
0に接続される。バックアップモジュール5とアドレス
変換モジュール3は接続され、アドレス変換モジュール
3はアドレス変換テーブル6と接続され、バックアップ
モジュール5もアドレス変換テーブル6と接続される。
アドレス変換テーブル6には、代替元と代替先とをペア
として格納されており、代替元としては、運用ファイル
装置の運用デバイス7のIDと、アドレスおよびカウン
トと、それに対応する代替先としては、代替ファイル装
置の代替デバイス9上のアドレスが記録される。入出力
バス10には、記憶媒体として、運用デバイス7、バッ
クアップデバイス8および代替デバイス9が接続され
る。
FIG. 1 is a system configuration example showing an example of the first embodiment of the present invention. In the embodiment shown in FIG. 1, an input / output request from a general application program 1 is issued to a device driver 2, and the device driver 2 is connected to an input / output bus 10 through an address conversion module 3. A backup request from the backup management application 4 is issued to the backup module 5, and the backup module 5
Connected to 0. The backup module 5 is connected to the address conversion module 3, the address conversion module 3 is connected to the address conversion table 6, and the backup module 5 is also connected to the address conversion table 6.
The address translation table 6 stores a substitution source and a substitution destination as a pair. The substitution source includes the ID of the operation device 7 of the operation file device, the address and the count, and the corresponding substitution destination includes: The address of the substitute file device on the substitute device 9 is recorded. The operation device 7, the backup device 8, and the substitute device 9 are connected to the input / output bus 10 as storage media.

【0019】次に、図1による実施形態の動作について
図2、図3を参照しながら詳細に説明する。
Next, the operation of the embodiment shown in FIG. 1 will be described in detail with reference to FIGS.

【0020】通常、一般アプリケーション1からの入出
力要求は、デバイスドライバ2に対して発行され、続い
てその入出力要求は、デバイスドライバ2からアドレス
変換モジュール3を経由して入出力バス10に接続され
ている運用デバイス7に対して発行される。こうして、
通常の動作においては、一般のアプリケーションプログ
ラムは、入出力バス10を介して、運用デバイス7にデ
ータを格納したり、運用デバイス7に格納されているデ
ータを読み出して、所定の処理プログラムを実行してい
る。
Normally, an input / output request from the general application 1 is issued to the device driver 2, and the input / output request is subsequently connected to the input / output bus 10 from the device driver 2 via the address conversion module 3. It is issued to the operating device 7 that has been set. Thus,
In a normal operation, a general application program stores data in the operation device 7 or reads out data stored in the operation device 7 via the input / output bus 10 and executes a predetermined processing program. ing.

【0021】一方、バックアップ管理アプリケーション
4からのバックアップ要求は、バックアップモジュール
5に対して発行される。
On the other hand, a backup request from the backup management application 4 is issued to the backup module 5.

【0022】図2は本発明のバックアップモジュール5
の論理流れ図を示す。バックアップ処理が開始される
と、動作ステップS1でアドレス変換テーブル6の初期
化を実施する。その後、動作ステップS2で、アドレス
変換モジュール3に対してバックアップ処理を開始する
旨の通知を行う。すると、アドレス変換モジュール3が
後述する通り、必要に応じて運用デバイス7へのアクセ
スのアドレスから代替デバイス9のアドレスへの変換を
開始する。バックアップモジュール5は、動作ステップ
S3で、運用デバイス7のデータをバックアップデバイ
ス8へ転送する。
FIG. 2 shows the backup module 5 of the present invention.
FIG. When the backup process is started, the address translation table 6 is initialized in an operation step S1. Thereafter, in the operation step S2, a notice to start the backup processing is sent to the address conversion module 3. Then, as will be described later, the address conversion module 3 starts converting the address of access to the operation device 7 to the address of the substitute device 9 as necessary. The backup module 5 transfers the data of the operation device 7 to the backup device 8 in the operation step S3.

【0023】全データの転送が完了すると、動作ステッ
プS4で、データバックアップ中にアドレス変換モジュ
ール3によってアドレス変換テーブル6にアドレス変換
データが書き込まれているかどうかチェックする。チェ
ックの結果データが存在すると、動作ステップS5で、
アドレス変換テーブル6の先頭の代替データの復旧を開
始する事をアドレス変換モジュール3に通知する。そし
て、動作ステップS6で代替デバイス9に書き込まれた
更新データを運用デバイス7に復旧させ、動作ステップ
S7で、復旧が終了したアドレス変換テーブル6のデー
タをクリアする。その後、動作ステップS8にてそのデ
ータに対する復旧作業が終了した事を、アドレス変換モ
ジュール3に対して通知する。そして、動作ステップS
4に戻り、アドレス変換テーブル6のデータを再度チェ
ックする。代替処理された全てのデータの復旧が終了す
ると、動作ステップS9でバックアップ処理の終了をア
ドレス変換モジュール3に通知する。
When the transfer of all data is completed, in operation step S4, it is checked whether or not address conversion data is written in the address conversion table 6 by the address conversion module 3 during data backup. If the check result data exists, in operation step S5,
The address conversion module 3 is notified that the recovery of the first alternative data in the address conversion table 6 is to be started. Then, the update data written in the substitute device 9 is restored to the operation device 7 in the operation step S6, and the data of the restored address translation table 6 is cleared in the operation step S7. After that, in the operation step S8, the completion of the recovery work on the data is notified to the address conversion module 3. Then, the operation step S
4, the data of the address conversion table 6 is checked again. When the restoration of all the data subjected to the substitution processing is completed, the end of the backup processing is notified to the address conversion module 3 in operation step S9.

【0024】図3は本発明のアドレス変換モジュール3
の論理流れ図を示す。入出力処理が開始されると、動作
ステップS11で運用デバイス7がバックアップ中かど
うか判断する。バックアップ中であれば前述した通り、
バックアップモジュール5より、バックアップ中である
との情報が通知される。もし、バックアップ中でなけれ
ば、動作ステップS12でアドレス変換モジュール3は
アドレス変換を行わずにそのまま運用デバイス7に対し
て一般アプリケーション1の入出力要求を発行する。バ
ックアップ中であれば、動作ステップS13に移行し、
一般アプリケーション1が稼働中であるので、その稼働
中における一般アプリケーション1の入出力要求の領域
がアドレス変換テーブル6に存在するかどうか判断す
る。入出力要求の領域がアドレス変換テーブル6に存在
していない場合は、動作ステップS14にて入出力要求
がRead命令かどうかチェックし、もしRead命令
なら動作ステップS15にて運用デバイス7に対してR
ead命令を発行する。動作ステップS14のチェック
の結果、Write命令であれば、動作ステップS16
にて代替デバイス9のアドレスをアドレス変換テーブル
6に登録し、動作ステップS17で、代替デバイス9へ
のWrite命令を発行する。
FIG. 3 shows the address translation module 3 of the present invention.
FIG. When the input / output processing is started, it is determined in operation step S11 whether the operation device 7 is backing up. If you are backing up,
The backup module 5 notifies the user that the backup is being performed. If the backup is not being performed, the address conversion module 3 issues the input / output request of the general application 1 to the operation device 7 without performing the address conversion in the operation step S12. If the backup is being performed, the process proceeds to operation step S13,
Since the general application 1 is running, it is determined whether or not the area of the input / output request of the general application 1 during the operation exists in the address conversion table 6. If the area of the input / output request does not exist in the address translation table 6, it is checked in step S14 whether the input / output request is a Read command.
Issue an ead instruction. If the result of the check in operation step S14 is that the instruction is a Write instruction, operation step S16
Then, the address of the alternative device 9 is registered in the address conversion table 6, and a write instruction to the alternative device 9 is issued in operation S17.

【0025】また、動作ステップS13で、アドレス変
換テーブル6にすでに存在している場合は、動作ステッ
プS18にてライト要求であるかチェックし、リード要
求であれば、動作ステップS19にてアドレス変換テー
ブル6のデータよりアドレスを変換し、動作ステップS
20にて代替デバイス9へRead命令/Write命
令を発行する。動作ステップS18でのチェックでライ
ト要求なら動作ステップS21で対象となるエリアが復
旧中であるかどうか調べる。復旧中はバックアップモジ
ュール5より復旧中であるとの情報が通知される。復旧
中でなければ前述した動作ステップS19の処理を行
う。もし復旧中なら、動作ステップS22にてそのエリ
アに対する復旧作業が終了するまで待ち合わせる。復旧
作業が終了すれば動作ステップS23で運用デバイス7
へライト要求を発行する。
If the address conversion table 6 already exists in the operation step S13, it is checked in step S18 whether the request is a write request. If the request is a read request, the address conversion table 6 is checked in operation step S19. 6, the address is converted from the data of step 6, and the operation step S
At 20, a Read command / Write command is issued to the substitute device 9. If the check in operation step S18 indicates a write request, it is checked in operation step S21 whether the target area is being restored. During the recovery, information indicating that the recovery is being performed is notified from the backup module 5. If the recovery is not being performed, the processing of the above-described operation step S19 is performed. If the recovery is being performed, the operation waits until the recovery work for the area is completed in operation step S22. When the recovery work is completed, the operation device 7 is operated in operation step S23.
Issues a write request to

【0026】上述した実施形態では、バックアップ中の
更新データは代替デバイスに格納する例を示したが、こ
れはメインメモリに格納するようにしても良いし、キャ
ッシュメモリに格納しても良いことは言うまでもない。
In the above-described embodiment, an example has been described in which the update data being backed up is stored in the substitute device. However, this may be stored in the main memory or in the cache memory. Needless to say.

【0027】〔第2実施形態〕本発明の第2の実施形態
について、図4を参照しつつ説明する。一般アプリケー
ションプログラム11が、デバイスドライバ12を介し
てファイル装置13を制御するシステムにおいて、通常
の運用ファイル装置15とは別にバックアップ時に使用
する代替ファイル装置16と運用/代替ファイル装置へ
のアクセス切替えとバックアップを制御する機能を持
ち、バックアップ実行中に発生する運用ファイル装置1
5への書き込みは代替ファイル装置16へ行い、読み込
みが代替ファイル装置16に書き込んだエリアに対して
であれば、代替ファイル装置16から読み込み、運用フ
ァイル装置15のバックアップを行う。また、バックア
ップを終了後、代替ファイル装置16へ書き込んだデー
タを運用ファイル装置15の該当エリアに転送する。
[Second Embodiment] A second embodiment of the present invention will be described with reference to FIG. In a system in which the general application program 11 controls the file device 13 via the device driver 12, the alternative file device 16 used for backup separately from the normal operation file device 15 and the access switching to the operation / alternate file device and backup. File device 1 that has the function of controlling
5 is written to the alternative file device 16, and if the read is to the area written to the alternative file device 16, the data is read from the alternative file device 16 and the backup of the operation file device 15 is performed. After the backup is completed, the data written to the substitute file device 16 is transferred to the corresponding area of the operation file device 15.

【0028】一般アプリケーション11からの入出力要
求はデバイスドライバ12に対して発行され、デバイス
ドライバ12からアドレス管理モジュール13を通し運
用デバイス15に発行される。バックアップ管理アプリ
ケーション14は、運用デバイス15のバックアップの
必要が生じた場合、バックアップ実行中であるフラグを
立て、アドレス管理モジュール13に対してアクセスの
代替処理を指示する。この指示によりアドレス管理モジ
ュール13は、運用デバイス15への書き込み要求のア
ドレスを、その運用デバイスのデバイス名とその書き込
み容量を示すカウント数とともに、アドレス変換テーブ
ル20の代替元21に書き込むと共に、代替先22のデ
バイス名とそのアドレスとを決定し、書き込みを代替デ
バイス16に対して行う。一方、読み込み要求が来た場
合はアドレス変換テーブル20を検索して、代替デバイ
ス16に書き込んだエリアかどうか判断し、代替デバイ
ス16に書き込んだエリアなら、その代替デバイス16
からデータを読み込む。
An input / output request from the general application 11 is issued to the device driver 12, and is issued from the device driver 12 to the operation device 15 through the address management module 13. When the backup of the operation device 15 needs to be performed, the backup management application 14 sets a flag indicating that the backup is being performed, and instructs the address management module 13 to perform an alternative access process. In response to this instruction, the address management module 13 writes the address of the write request to the operation device 15 together with the device name of the operation device and the count number indicating the write capacity to the substitution source 21 of the address conversion table 20, and The device name and its address of the device 22 are determined, and writing is performed on the substitute device 16. On the other hand, when a read request is received, the address conversion table 20 is searched to determine whether or not the area has been written to the alternative device 16.
Read data from

【0029】また、バックアップ管理アプリケーション
14は前述の処理後、ディスクアドレス管理モジュール
13に対して運用デバイス15のデータをバックアップ
装置17にバックアップするよう指示する。この指示に
よりアドレス管理モジュール13は、前述の代替処理を
行いながら運用デバイス15のデータをバックアップ装
置17に転送する。バックアップが終了したら、バック
アップ管理アプリケーション14はアドレス管理モジュ
ール13に対して、代替デバイス16のデータを運用デ
バイス15の本来のエリアに書き込むよう指示する。ア
ドレス管理モジュール13は、内部のアドレス変換テー
ブル20を参照し代替デバイス16のデータを運用デバ
イス15へ戻す。
After the above processing, the backup management application 14 instructs the disk address management module 13 to back up the data of the operation device 15 to the backup device 17. In response to this instruction, the address management module 13 transfers the data of the operation device 15 to the backup device 17 while performing the above-described alternative processing. When the backup is completed, the backup management application 14 instructs the address management module 13 to write the data of the alternative device 16 to the original area of the operation device 15. The address management module 13 returns the data of the substitute device 16 to the operation device 15 with reference to the internal address conversion table 20.

【0030】以上より、バックアップデータはバックア
ップを起動した時点のデータの内容が保持され、データ
整合性が確保されながらバックアップ実行中に、アプリ
ケーションプログラムの動作を停止せずに、システム運
用が可能となる。
As described above, the backup data retains the contents of the data at the time of starting the backup, and the system can be operated without stopping the operation of the application program during the execution of the backup while ensuring data consistency. .

【0031】なお、上記実施形態では、バックアップ実
行スタートを指示した時点から、運用デバイス15への
書き込み・読出しを代替デバイス16に代替するように
したが、バックアップ管理アプリケーションにおいて、
定期的にバックアップを実行するとした場合には、定期
時間が来た時点で代替デバイス16に代替するようにし
てもよい。
In the above-described embodiment, the writing / reading to / from the operation device 15 is replaced with the alternative device 16 from the time when the backup execution start is instructed.
If the backup is performed periodically, the backup device may be replaced with the replacement device 16 when the regular time comes.

【0032】また、上記実施形態では、代替デバイス1
6が複数台使用される場合のために、アドレス変換テー
ブル20に代替先22のデバイス名を記録するようにし
ているが、代替デバイス16が1台の場合には、このデ
バイス名の欄は不要である。
In the above embodiment, the alternative device 1
6 is used, a device name of the substitution destination 22 is recorded in the address conversion table 20. However, when one substitution device 16 is used, this device name column is not required. It is.

【0033】[0033]

【発明の効果】本発明によれば、バックアップ対象デー
タを一旦読みだして退避し、そこに更新データを書き込
む代わりに、直接代替デバイスに書き込んだデータを読
み出して運用デバイスに書き込めばよいだけであり、バ
ックアップデバイスから読みだす必要が無いので、バッ
クアップ処理のために凍結しているデータの更新処理時
間を大幅に短縮できる。
According to the present invention, instead of once reading out and backing up data to be backed up and writing the updated data there, it is only necessary to read out the data written directly to the alternative device and write it to the operating device. Since there is no need to read data from the backup device, the time required to update data frozen for backup processing can be greatly reduced.

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

【図1】本発明の一実施の形態を示すシステム構成図で
ある。
FIG. 1 is a system configuration diagram showing an embodiment of the present invention.

【図2】図1に示すバックアップモジュールの動作を説
明するためのフローチャートである。
FIG. 2 is a flowchart for explaining the operation of the backup module shown in FIG. 1;

【図3】図2に示すアドレス変換モジュールの動作を説
明するためのフローチャートである。
FIG. 3 is a flowchart for explaining an operation of the address conversion module shown in FIG. 2;

【図4】本発明の一実施形態を示すシステム構成図であ
る。
FIG. 4 is a system configuration diagram showing an embodiment of the present invention.

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

1 一般アプリケーション 2 デバイスドライバ 3 アドレス変換モジュール 4 バックアップ管理アプリケーション 5 バックアップモジュール 6 アドレス変換テーブル 7 運用デバイス 8 バックアップデバイス 9 代替デバイス 10 入出力バス S1〜S9、S11〜S23 動作ステップ DESCRIPTION OF SYMBOLS 1 General application 2 Device driver 3 Address conversion module 4 Backup management application 5 Backup module 6 Address conversion table 7 Operation device 8 Backup device 9 Alternative device 10 I / O bus S1-S9, S11-S23 Operation steps

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平1−232449(JP,A) 特開 平2−133845(JP,A) 特開 平4−65733(JP,A) 特開 平4−235639(JP,A) 特開 平4−235645(JP,A) 特開 平6−83677(JP,A) 特開 平6−83679(JP,A) 特開 平6−83686(JP,A) 特開 平6−83687(JP,A) 特開 平7−281933(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-1-232449 (JP, A) JP-A-2-133845 (JP, A) JP-A-4-65733 (JP, A) JP-A-4-234 235639 (JP, A) JP-A-4-235645 (JP, A) JP-A-6-83677 (JP, A) JP-A-6-83679 (JP, A) JP-A-6-83686 (JP, A) JP-A-6-83687 (JP, A) JP-A-7-281933 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 12/00

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 アプリケーションがデバイスドライバを
介してファイル装置を制御するシステムのデータバック
アップ方式において、 通常データを格納する運用ファイル装置と、バックアッ
プ時に使用する代替ファイル装置と、前記運用ファイル
装置/代替ファイル装置へのアクセス切替え手段と、
バックアップを制御する手段とを備え、 前記アクセス切替え手段は、前記バックアップ実行中に
発生する前記運用ファイル装置への書き込みを前記代替
ファイル装置へ行い、前記運用ファイル装置の読み込み
が前記代替ファイル装置に書き込んだエリアに対して行
われたのであれば前記代替ファイル装置から読み込むア
クセス切替えを行う機能を有し、前記バックアップを制
御する手段は、前記バックアップを終了後、前記代替フ
ァイル装置へ書き込んだデータを前記運用ファイル装置
の該当エリアに転送する機能を有することを特徴とする
データバックアップ方式。
In a data backup method of a system in which an application controls a file device via a device driver, an operation file device for storing normal data, an alternative file device used at the time of backup, and the operation file device / alternative file and access switching means to the device, before
And means for controlling the serial backup, the access switching means performs writing into the running file system that occur while the backup execution to the substitute file device, for reading the operation file device the substitute file system has a function of performing read access switch from the alternate file system if the the in made to written area, means for controlling the backup, after completion of the backup, the data written to the alternate file system A data backup method having a function of transferring data to a corresponding area of the operation file device.
【請求項2】 アプリケーションプログラムによって
バイスドライバを介してファイル装置を制御するシステ
ムのデータバックアップ方式において、 通常データを書き込み・読み出す運用ファイル装置と、
バックアップ時に使用する代替ファイル装置と、前記運
用ファイル装置/代替ファイル装置へのアクセスを切り
替えるアクセス切替え手段とを備え、 前記アクセス切替え手段は、前記バックアップ実行中に
発生する前記運用ファイル装置への書き込みを前記代替
ファイル装置へ行い、前記運用ファイル装置の読み込み
が前記代替ファイル装置に書き込んだエリアに対して行
われたのであれば前記代替ファイル装置から読み込み、
前記代替ファイル装置が前記運用ファイル装置の前記
ックアップを行う機能を有し、且つ、前記バックアップ
を終了後前記代替ファイル装置へ書き込んだデータを前
記運用ファイル装置の該当エリアに転送する機能を有す
ることを特徴とするデータバックアップ方式。
2. A data backup system for controlling a file device via a device driver by an application program, comprising : an operating file device for writing / reading normal data;
Disconnect the alternate file device used for backup and access to the operation file device / alternate file device.
And an access switching means replacing said access switching means performs writing to the running file system that occur while the backup execution to the alternate file system, writing reading of the operation file device to the alternate file system If performed on the area, read from the alternative file device,
Has a function of the alternate file system performs the bus <br/> Kkuappu of the operation file device, and transfers the data written to the backup to the end after the substitute file system in the corresponding area of the running file system A data backup method characterized by having a function.
【請求項3】 請求項1又は2に記載のデータバックア
ップ方式において、前記アクセス切替え手段は、前記バ
ックアップ実行中に発生した前記運用ファイル装置への
書き込み・読出しと前記代替ファイル装置とのアドレス
変換関係のアドレス変換テーブルの内容に従って、前記
運用ファイル装置のアドレスと前記代替ファイル装置の
アドレスとを変換することを特徴とするデータバックア
ップ方式。
3. The data backup method according to claim 1, wherein the access switching unit writes and reads data from / to the operation file device generated during the execution of the backup, and performs an address conversion relationship with the substitute file device. A data backup method for converting the address of the operation file device and the address of the substitute file device in accordance with the contents of the address conversion table.
【請求項4】 アプリケーションプログラムによってデ
バイスドライバを介してファイルデバイスを制御するデ
ータバックアップ方式において、 前記アプリケーションプログラムから入出力要求を受け
る前記デバイスドライバと、前記デバイスドライバによ
りアドレス変換モジュールを介して前記入出力要求を送
出される入出力バスと、バックアップ管理アプリケーシ
ョンからのバックアップ要求を受ける前記入出力バスに
接続されるバックアップモジュールと、前記バックアッ
プモジュールと前記アドレス変換モジュールとに接続さ
れるアドレス変換テーブルと、前記入出力バスに接続さ
れ前記アプリケーションプログラムに従って通常データ
を書込み・読み出しを行う運用デバイスと、前記入出力
バスに接続されデータバックアップ用のバックアップデ
バイスと、前記入出力バスに接続されバックアップ実行
中の前記運用デバイスへの書込み・読み出しの要求があ
る場合に代替される代替デバイスとを備え 、前記アドレ
ス変換テーブルは、前記バックアップ実行中の前記運用
デバイスへの書込み・読み出しの要求時に書き込まれる
前記運用デバイスと前記代替デバイスのアドレス変換用
のテーブルであることを特徴とするデータバックアップ
方式。
4. An application program for decoding data.
Device that controls a file device through a device driver
Data input / output request from the application program
The device driver and the device driver
Sends the input / output request via the address conversion module.
Output I / O bus and backup management application
To the I / O bus that receives the backup request from the
Connected backup module and the backup module
Connected to the address conversion module and the address conversion module.
Address conversion table connected to the input / output bus.
Normal data according to the application program
An operation device for writing and reading
Backup data connected to the bus for data backup
And connected to the I / O bus to execute backup
Request for writing / reading to the operating device during
The address conversion table, wherein the address translation table is a table for address translation of the operation device and the substitution device written at the time of a write / read request to the operation device during the backup. Data backup method characterized by the following.
【請求項5】 請求項4に記載のデータバックアップ方
式において、前記バックアップ実行中に発生する前記運
用ファイル装置への書き込みを前記代替ファイル装置へ
行い、前記運用ファイル装置の読み込みが前記代替ファ
イル装置に書き込んだエリアに対して行われたのであれ
ば前記代替ファイル装置から読み込み、前記代替ファイ
ル装置が前記運用ファイル装置のバックアップを行う機
能を有することを特徴とするデータバックアップ方式。
5. The data backup method according to claim 4 , wherein writing to the operation file device, which occurs during the execution of the backup, is performed to the alternative file device, and reading of the operation file device is performed to the alternative file device. A data backup method for reading from the replacement file device if the writing has been performed on the written area, and the replacement file device having a function of backing up the operation file device.
JP9148976A 1997-06-06 1997-06-06 Data backup method Expired - Fee Related JP3043662B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9148976A JP3043662B2 (en) 1997-06-06 1997-06-06 Data backup method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9148976A JP3043662B2 (en) 1997-06-06 1997-06-06 Data backup method

Publications (2)

Publication Number Publication Date
JPH10340215A JPH10340215A (en) 1998-12-22
JP3043662B2 true JP3043662B2 (en) 2000-05-22

Family

ID=15464901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9148976A Expired - Fee Related JP3043662B2 (en) 1997-06-06 1997-06-06 Data backup method

Country Status (1)

Country Link
JP (1) JP3043662B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9513838B2 (en) 2011-07-07 2016-12-06 Huawei Technologies Co., Ltd. Method and apparatus for processing system command during memory backup

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100717273B1 (en) * 2000-11-07 2007-05-15 삼성전자주식회사 Processor device including backup cache memory and method for backup cache memory access thereof
JP4715777B2 (en) * 2007-03-07 2011-07-06 日本電気株式会社 Replication method, storage apparatus, and program
JP2011191906A (en) * 2010-03-12 2011-09-29 Fujitsu Ltd Data storage apparatus, data monitoring apparatus, control method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9513838B2 (en) 2011-07-07 2016-12-06 Huawei Technologies Co., Ltd. Method and apparatus for processing system command during memory backup

Also Published As

Publication number Publication date
JPH10340215A (en) 1998-12-22

Similar Documents

Publication Publication Date Title
US7991749B2 (en) Database recovery method applying update journal and database log
EP1160654B1 (en) Method for on-line, real time, data migration
US6557073B1 (en) Storage apparatus having a virtual storage area
US7325159B2 (en) Method and system for data recovery in a continuous data protection system
US7650533B1 (en) Method and system for performing a restoration in a continuous data protection system
JP4078039B2 (en) Snapshot image generation management method and generation management device
US6766491B2 (en) Parity mirroring between controllers in an active-active controller pair
KR100238925B1 (en) A recoverable disk control system with a non-volatile memory
JP2003223287A (en) Storage device, backup method of the same, and program therefor
KR19980024086A (en) Computer system and file management methods
JP2006268503A (en) Computer system, disk unit and data update control method
US20040199733A1 (en) Data transfer control system
JP2002149499A (en) Remote copy system with integrity of data
US6453396B1 (en) System, method and computer program product for hardware assisted backup for a computer mass storage system
JPS607818B2 (en) How to back up files
JP3136258B2 (en) Disk update log recording method
JP3260999B2 (en) Control method of disk controller
JP3610574B2 (en) Disk array device
JPH10326220A (en) File system and file managing method
JP3043662B2 (en) Data backup method
JPH1153123A (en) Backup system
JP2003099208A (en) Method for data transfer between disk arrays and disk array system
JPH09152983A (en) Reentrant garbage collection processing in file system immanent in flash memory
JPH1185594A (en) Information processing system for remote copy
JPH0973372A (en) Method and device for storage control

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees