Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4894789B2 - Data back system and data backup control method - Google Patents
[go: Go Back, main page]

JP4894789B2 - Data back system and data backup control method - Google Patents

Data back system and data backup control method Download PDF

Info

Publication number
JP4894789B2
JP4894789B2 JP2008056404A JP2008056404A JP4894789B2 JP 4894789 B2 JP4894789 B2 JP 4894789B2 JP 2008056404 A JP2008056404 A JP 2008056404A JP 2008056404 A JP2008056404 A JP 2008056404A JP 4894789 B2 JP4894789 B2 JP 4894789B2
Authority
JP
Japan
Prior art keywords
data
output
input
storage means
backup
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
JP2008056404A
Other languages
Japanese (ja)
Other versions
JP2009211635A (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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2008056404A priority Critical patent/JP4894789B2/en
Publication of JP2009211635A publication Critical patent/JP2009211635A/en
Application granted granted Critical
Publication of JP4894789B2 publication Critical patent/JP4894789B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、コンピュータのデータを、別のコンピュータに接続されたバックアップ装置でバックアップするデータバックアップシステムにおいて、無駄なシステム資源を使用せずにバックアップの転送性能を向上させることができるデータバックシステムおよびデータバックアップ制御方法に関する。   The present invention provides a data backup system and data capable of improving backup transfer performance without using useless system resources in a data backup system that backs up computer data with a backup device connected to another computer. The present invention relates to a backup control method.

ストレージ装置の高性能化や大容量化に伴って、企業で扱うデータ量も増加している。災害対策や法規制への対応の観点から、これらのデータのバックアップが重要である。   The amount of data handled by companies is increasing as the performance and capacity of storage devices increase. From the viewpoint of disaster countermeasures and compliance with laws and regulations, backup of these data is important.

バックアップ環境に関して、企業で保有するサーバ台数の増加に伴うバックアップ設備の増加や運用の煩雑さを解消するために、サーバ毎に個別にバックアップを行う方式から、1台のバックアップ装置で複数サーバのバックアップを実施する傾向にある。複数サーバのバックアップを実施するバックアップ環境では、バックアップサーバを1台設置し、複数サーバのデータをバックアップサーバに接続されたバックアップ装置でバックアップする形態が取られることがある。   Regarding the backup environment, in order to eliminate the increase in backup facilities accompanying the increase in the number of servers owned by companies and the complexity of operation, backup is performed on multiple servers with a single backup device from the method of performing backup individually for each server. Tend to implement. In a backup environment in which a backup of a plurality of servers is performed, a configuration may be employed in which one backup server is installed and data of the plurality of servers is backed up by a backup device connected to the backup server.

また、業務ディスクをバックアップサーバから直接アクセスさせることができない場合に、サーバとバックアップサーバとの間でデータを転送する方法として、双方に接続されたストレージ装置(共有ディスク)上の循環ファイルを用いることがある(例えば、特許文献1参照)。   In addition, when the business disk cannot be accessed directly from the backup server, a circulating file on the storage device (shared disk) connected to both servers can be used as a method of transferring data between the server and the backup server. Yes (see, for example, Patent Document 1).

特許文献1に記載された循環ファイル処理方式は、データ処理装置と循環ファイルとで構成され、循環ファイルは、順ファイルの物理的終了位置に続く位置がその順ファイルの物理的開始位置になるように定義することによって構成されている。データ処理装置は、データ出力部、データ入力部および循環ファイル管理部を含む。循環ファイル管理部は、ファイルデータ最終位置管理部とファイルデータ先頭位置管理部とを備えている。データ出力部がデータを循環ファイルに格納する際に、または、データ入力部がデータを循環ファイルから参照する際に、それぞれ書き込み位置または読み込み位置を次のポイントにずらす。そのような手法によって、無限にデータを1つのファイルに格納できるようにしている。   The circular file processing method described in Patent Document 1 is composed of a data processing device and a circular file. In the circular file, the position following the physical end position of the sequential file is the physical start position of the sequential file. It is configured by defining. The data processing device includes a data output unit, a data input unit, and a circular file management unit. The circular file management unit includes a file data final position management unit and a file data head position management unit. When the data output unit stores data in a circular file or when the data input unit refers to data from the circular file, the writing position or the reading position is shifted to the next point, respectively. By such a method, data can be stored infinitely in one file.

特開平2−242350号公報(第3,4頁、第7図)JP-A-2-242350 (pages 3, 4 and 7)

バックアップ/リストア性能は、ストレージ装置と業務サーバとの間のデータ転送性能に左右される。一般に、データ転送用バッファのバッファ長を大きくすると転送性能が高くなる。バッファ長を大きくする場合には、バッファとして使用するメモリや転送処理に使用するCPUなどのシステム資源を多く使用するために、データ転送用バッファのバッファ長を適切な値に設定する必要がある。   The backup / restore performance depends on the data transfer performance between the storage device and the business server. In general, the transfer performance increases when the buffer length of the data transfer buffer is increased. When increasing the buffer length, it is necessary to set the buffer length of the data transfer buffer to an appropriate value in order to use a lot of system resources such as a memory used as a buffer and a CPU used for transfer processing.

しかし、共有ディスク上の循環ファイルを使用してバックアップする場合には、業務サーバにおける業務ディスク−共有ディスク間のデータ転送と、バックアップサーバにおける共有ディスク−バックアップ装置間のデータ転送が並列に実行されるために、業務サーバ側のバッファ長とバックアップサーバ側のバッファ長との両方を、ストレージ装置の性能やサーバのシステム資源、処理能力等を考慮して適切な値に設定する必要がある。   However, when backing up using a circular file on the shared disk, data transfer between the business disk and the shared disk in the business server and data transfer between the shared disk and the backup device in the backup server are executed in parallel. Therefore, it is necessary to set both the buffer length on the business server side and the buffer length on the backup server side to appropriate values in consideration of storage device performance, server system resources, processing capacity, and the like.

また、複数の業務サーバのデータを1台のバックアップサーバでバックアップする形態をとる場合には、各業務サーバからのバックアップ要求量が、バックアップサーバのシステム資源や処理能力に影響するので、バッファ長を適切な値に設定することは難しい。   Also, when taking the form of backing up the data of multiple business servers with a single backup server, the amount of backup requests from each business server affects the system resources and processing capacity of the backup server. It is difficult to set an appropriate value.

そこで、本発明は、バッファ長を適切に制御して、無駄なシステム資源を使用せずに、転送性能を向上させることができるデータバックシステムおよびデータバックアップ制御方法を提供することを目的とする。   Therefore, an object of the present invention is to provide a data back system and a data backup control method capable of appropriately controlling the buffer length and improving transfer performance without using useless system resources.

本発明によるデータバックアップシステムは、データのバックアップおよびリストアを要求可能なコンピュータにおけるデータを、未読み出しデータが記憶されている領域には新たなデータを書き込まないことを制約条件としてデータを一時記憶する循環形式記憶手段を介して、他のコンピュータに接続されたバックアップ装置にバックアップさせるデータバックアップシステムであって、コンピュータは、循環形式記憶手段に出力するデータを一時記憶する一時記憶手段と、一時記憶手段のデータを循環形式記憶手段に出力するときに制約条件にもとづくデータ出力待ちが生じたか否かと、他のコンピュータが循環形式記憶手段からデータを読み出しているときに循環形式記憶手段に読み出し可能なデータが存在せずデータ入力を待ち合わせている状態であるデータ入力待ちが生じたか否かとを検出する出力待ち/入力待ち検出手段と、一時記憶手段のデータを循環形式記憶手段に出力したときに、出力待ち/入力待ち検出手段がデータ出力待ちが生じたことを検出した場合に、一時記憶手段の記憶可能量を減少させ、出力待ち/入力待ち検出手段がデータ入力待ちが生じたことを検出した場合に、一時記憶手段の記憶可能量を増加させる記憶可能量決定手段とを備え、出力待ち/入力待ち検出手段が、循環形式記憶手段から一時記憶手段にデータを入力するときに制約条件にもとづく他のコンピュータのデータ出力待ちが生じたか否かと、循環形式記憶手段からデータを読み出しているときにデータ入力待ちが生じたか否かとを検出し、記憶可能量決定手段が、循環形式記憶手段から一時記憶手段にデータを入力したときに、出力待ち/入力待ち検出手段がデータ入力待ちが生じたことを検出した場合に、一時記憶手段の記憶可能量を減少させ、出力待ち/入力待ち検出手段がデータ出力待ちが生じたことを検出した場合に、一時記憶手段の記憶可能量を増加させることを特徴とする。 The data backup system according to the present invention is a circulation that temporarily stores data in a computer that can request backup and restore of data, with the restriction that new data is not written in an area in which unread data is stored. A data backup system for backing up to a backup device connected to another computer via a format storage means, the computer temporarily storing data to be output to the circulation format storage means, and a temporary storage means Whether or not data output waiting based on the constraint conditions occurred when outputting data to the cyclic format storage means, and data that can be read to the cyclic format storage means when another computer is reading data from the cyclic format storage means Does not exist, waits for data input Output waiting / input waiting detecting means for detecting whether or not data input waiting that is in the state is generated, and the output waiting / input waiting detecting means when the data in the temporary storage means is output to the circular format storage means. When it is detected that an output wait has occurred, the storage capacity of the temporary storage means is decreased, and when the output wait / input wait detection means detects that a data input wait has occurred, the temporary storage means can be stored. Storable amount determination means for increasing the amount, and when the output wait / input wait detection means inputs data from the cyclic format storage means to the temporary storage means, a data output wait of another computer occurs based on the constraint condition And whether or not a data input wait has occurred when data is being read from the cyclic storage means, and the storable amount determination means When data is input to the temporary storage means, if the output wait / input wait detection means detects that a data input wait has occurred, the storable amount of the temporary storage means is decreased and the output wait / input wait detection is detected. When the means detects that a data output wait has occurred, the storable amount of the temporary storage means is increased .

本発明によるデータバックアップ制御方法は、一時記憶手段を有しデータのバックアップおよびリストアを要求可能なコンピュータにおけるデータを、未読み出しデータが記憶されている領域には新たなデータを書き込まないことを制約条件としてデータを一時記憶する循環形式記憶手段を介して、他のコンピュータに接続されたバックアップ装置にバックアップさせるシステムに適用されるデータバックアップ方法であって、コンピュータが、一時記憶手段のデータを循環形式記憶手段に出力するときに制約条件にもとづくデータ出力待ちが生じたか否かと、他のコンピュータが循環形式記憶手段からデータを読み出しているときに循環形式記憶手段に読み出し可能なデータが存在せずデータ入力を待ち合わせている状態であるデータ入力待ちが生じたか否かとを検出する検出処理を行い、一時記憶手段のデータを循環形式記憶手段に出力したときに、データ出力待ちが生じたことを検出処理で検出した場合に、一時記憶手段の記憶可能量を減少させ、データ入力待ちが生じたことを検出処理で検出した場合に、一時記憶手段の記憶可能量を増加させ、循環形式記憶手段から一時記憶手段にデータを入力するときに制約条件にもとづく他のコンピュータのデータ出力待ちが生じたか否かと、循環形式記憶手段からデータを読み出しているときにデータ入力待ちが生じたか否かとを検出する処理を行い、循環形式記憶手段から一時記憶手段にデータを入力したときに、データ入力待ちが生じたことを検出処理で検出した場合に、一時記憶手段の記憶可能量を減少させ、データ出力待ちが生じたことを検出処理で検出した場合に、一時記憶手段の記憶可能量を増加させることを特徴とする。 The data backup control method according to the present invention is such that data in a computer that has temporary storage means and can request data backup and restoration is not written to an area in which unread data is stored. As a data backup method applied to a system for backing up to a backup device connected to another computer via a cyclic storage means for temporarily storing data, the computer stores the data in the temporary storage means in a circular format Whether there is a data output wait based on the constraints when outputting to the means, and when other computers are reading data from the circular form storage means, there is no readable data in the circular form storage means and data input Data input that is waiting for When the detection process detects that a data output wait has occurred when the data in the temporary storage means is output to the cyclic storage means, the detection process detects whether or not the error occurred. When the detection process detects that the amount of data that can be stored is reduced and waiting for data input, the amount of data that can be stored in the temporary storage unit is increased , and restrictions are imposed when data is input from the cyclic storage unit to the temporary storage unit. Performs processing to detect whether waiting for data output from another computer based on the condition has occurred and whether or not waiting for data input has occurred while reading data from the cyclic format storage means, and temporarily stores it from the cyclic format storage means When data is input to the means, and the detection process detects that a data input wait has occurred, the storable amount of the temporary storage means is reduced and the data output wait Wherein the increased detection process when detecting in the storable amount of the temporary storage means that has occurred.

本発明によれば、データのバックアップ時およびリストア時に、無駄なシステム資源を使用せずに、転送性能を向上させることができる。   According to the present invention, it is possible to improve transfer performance without using useless system resources at the time of data backup and restoration.

まず、業務サーバとバックアップサーバとを例にして、本発明の概要を説明する。   First, the outline of the present invention will be described using a business server and a backup server as examples.

業務サーバとバックアップサーバとの双方に接続された共有ディスク上に循環ファイルとともに循環ファイル管理情報を設ける。循環ファイルは、ファイル領域が循環使用される順編成ファイルであり、ファイルの物理的終了位置に続く位置がそのファイルの物理的開始位置となるファイルである。循環ファイル管理情報は、循環ファイルの入出力状態を管理する情報として、出力済み位置情報と入力済み位置情報とを含む。   Circulating file management information is provided along with a circulating file on a shared disk connected to both the business server and the backup server. A circular file is a sequential file in which a file area is cyclically used, and a position following a physical end position of the file is a physical start position of the file. The circulation file management information includes output position information and input position information as information for managing the input / output state of the circulation file.

業務サーバとバックアップサーバとは、それぞれ、バックアップ/リストア手段を有し、業務サーバのバックアップ/リストア手段は、ストレージ装置と循環ファイルとの間の転送処理を実施し、転送処理の開始時に、バックアップサーバのバックアップ/リストア手段にバックアップ/リストア要求の通知を行う。   The business server and the backup server each have backup / restore means, and the backup / restore means of the business server performs the transfer process between the storage device and the circular file, and at the start of the transfer process, the backup server The backup / restore request is notified to the backup / restore means.

バックアップサーバのバックアップ/リストア手段は、業務サーバからバックアップ/リストア要求を受けると、循環ファイルとバックアップ装置との間のデータ転送処理を実施する。   When the backup / restore means of the backup server receives a backup / restore request from the business server, it executes data transfer processing between the circular file and the backup device.

双方のバックアップ/リストア手段は、循環ファイルの入出力に循環ファイル入出力手段を使用する。循環ファイル入出力手段は、循環ファイル管理情報における出力済み位置情報と入力済み位置情報とを参照し、循環ファイルへの出力待ち、または、入力待ちを検出した場合には、入出力完了通知とともに待ちが発生した旨をバックアップ/リストア手段に通知する。   Both backup / restore means use the circular file input / output means for inputting / outputting the circular file. The circular file input / output means refers to the output position information and the input position information in the circular file management information, and waits together with an input / output completion notification when waiting for output to the circular file or waiting for input is detected. The backup / restore means is notified that the error has occurred.

循環ファイルへの出力待ちまたは入力待ちの検出方法は、以下のとおりである。すなわち、出力済み位置が入力済み位置に追いついていることを検出すると、循環ファイルへの出力待ち状態であると判断し、入力済み位置が出力済み位置に追いついていることを検出すると、循環ファイルへの出力待ち状態であると判断する。   The detection method of waiting for output or waiting for input to the circular file is as follows. In other words, when it is detected that the output position has caught up with the input position, it is determined that the output is waiting for the circulation file, and when it is detected that the input position has caught up with the output position, it is transferred to the circulation file. It is determined that it is waiting for output.

循環ファイルへの入出力待ちの発生は、待ちが発生している側の転送処理能力と比較して、待ちが発生している側と反対側の転送処理能力が低いことを示す。例えば、業務サーバの循環ファイルに対する出力処理において出力待ちが発生した場合には、業務サーバの循環ファイルに対する出力処理と比較して、バックアップサーバの循環ファイルに対する入力処理の処理能力が低いことを示す。   The occurrence of waiting for input / output to the circular file indicates that the transfer processing capacity on the opposite side to the side on which the wait is occurring is lower than the transfer processing capacity on the side on which the wait is occurring. For example, when an output wait occurs in the output process for the circulation file of the business server, it indicates that the processing capacity of the input process for the circulation file of the backup server is lower than the output process for the circulation file of the business server.

バックアップ/リストア性能は、低い側の転送性能で抑えられてしまうので、循環ファイルへの入出力待ちが発生することは非効率である。そこで、バックアップ/リストア手段は、待ち発生を検出した場合には、バッファ長決定手段によってバッファ長を変更し、次回の転送処理を行う。バッファ長決定手段における、バッファ長の決定方法は、以下のとおりである。   Since the backup / restore performance is suppressed by the transfer performance on the lower side, it is inefficient to wait for input / output to the circular file. Therefore, when detecting the occurrence of waiting, the backup / restore means changes the buffer length by the buffer length determining means and performs the next transfer process. The method for determining the buffer length in the buffer length determining means is as follows.

循環ファイルに対する出力処理において、出力可能な領域がないことを検出した場合には、バッファ長を縮小する。また、循環ファイルに対する出力処理において、入力処理側のデータ待ち発生を検出した場合には、バッファ長を拡大する。循環ファイルに対する入力処理において、データ待ちとなった場合には、バッファ長を縮小する。また、循環ファイルに対する入力処理において、出力処理側の領域待ち発生を検出した場合には、バッファ長を拡大する。循環ファイルの入出力で待ちが発生した場合、待ちが発生している側のバッファ長を縮小することによって、バッファとして使用するメモリ量を必要量だけに抑え、資源の無駄を省くことができる。また、循環ファイルの入出力で待ちが発生している側と反対側のバッファ長を拡大することによって、ボトルネックとなる側の転送性能を上げ、全体の転送性能を向上することができる。   In the output process for the circular file, if it is detected that there is no area that can be output, the buffer length is reduced. In addition, in the output processing for the circular file, when the occurrence of data waiting on the input processing side is detected, the buffer length is increased. In the input process for the circular file, the buffer length is reduced when waiting for data. In addition, in the input processing for the circular file, when the occurrence of waiting for the area on the output processing side is detected, the buffer length is increased. When waiting occurs in the input / output of the circular file, the buffer length on the side where the waiting is generated is reduced, so that the amount of memory used as a buffer can be limited to the necessary amount, and waste of resources can be saved. In addition, by increasing the buffer length on the opposite side to the side where waiting is occurring in the input / output of the circular file, the transfer performance on the bottleneck side can be increased, and the overall transfer performance can be improved.

つまり、本発明では、循環ファイルの特徴である循環ファイルに対する入力と出力によって入力待ちおよび出力待ちが発生することを利用し、入力待ちおよび出力待ちが発生した場合に、循環ファイルの入力側および出力側のバッファ長を変化させる。具体的には、入力側コンピュータ(業務サーバまたはバックアップサーバ)のバッファ長と出力側コンピュータ(バックアップサーバまたは業務サーバ)のバッファ長とを変化させる。すなわち、各コンピュータのバッファ長決定手段は、自コンピュータの循環ファイルへの入力待ちおよび出力待ち発生状況だけではなく、循環ファイルを使用する他方のコンピュータ循環ファイルへの入力待ちおよび出力待ち発生状況も参照して自コンピュータのバッファ長を決定する。   In other words, the present invention utilizes the fact that input waiting and output waiting occur due to input and output to the circulating file, which is a feature of the circulating file. When input waiting and output waiting occur, the input side and output of the circulating file The buffer length on the side is changed. Specifically, the buffer length of the input computer (business server or backup server) and the buffer length of the output computer (backup server or business server) are changed. That is, the buffer length determining means of each computer refers not only to the waiting status of input and output waiting for the circulating file of its own computer, but also to the waiting status of waiting for input and output waiting for the other computer circulating file using the circulating file. To determine the buffer length of the local computer.

以上の処理を継続することによって、入力処理および出力処理の待ちの発生を低減させることができ、バックアップ/リストア処理の転送性能を向上させることができる。   By continuing the above processing, it is possible to reduce the occurrence of waiting for input processing and output processing, and to improve the transfer performance of backup / restore processing.

なお、低い転送性能で安定しないようにするために、バッファ長決定手段は、目標転送性能に未達の場合には、バッファ長を拡大する。目標転送性能は、ストレージ装置や業務サーバの処理能力の理論値からあらかじめ算出して設定される。   Note that the buffer length determining means increases the buffer length when the target transfer performance has not been reached in order to prevent the transfer performance from becoming unstable with low transfer performance. The target transfer performance is set by calculating in advance from the theoretical value of the processing capacity of the storage device or business server.

以下、本発明の実施形態を図面を参照して説明する。図1は、本発明によるデータバックアップ/リストア方法が適用されるデータバックシステムの構成例を示すブロック図である。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration example of a data back system to which a data backup / restore method according to the present invention is applied.

図1に示すデータバックシステムには、業務サーバ群100と、プログラム制御によって動作するバックアップサーバ200と、ストレージ装置群300と、業務サーバ群100とバックアップサーバ200との双方に接続されているストレージ装置400と、バックアップサーバ200にのみ接続されているバックアップ装置500とが含まれている。   The data back system shown in FIG. 1 includes a business server group 100, a backup server 200 that operates under program control, a storage device group 300, and a storage device connected to both the business server group 100 and the backup server 200. 400 and a backup apparatus 500 connected only to the backup server 200 are included.

業務サーバ群100は、プログラム制御によって動作する複数の業務サーバ100A,100B,・・・,100Nを含む。ストレージ装置群300は、業務サーバ100Aにのみ接続されているストレージ装置300Aと、業務サーバ100Bにのみ接続されているストレージ装置300Bと、業務サーバ100Nにのみ接続されているストレージ装置300Nを含む。なお、図1には、3台の業務サーバ100A,100B,100Nと3台のストレージ装置300A,300B,300Nとが示されているが、業務サーバ群100およびストレージ装置群300には、それぞれ、1台または2台の装置が含まれていてもよいし、4台以上の装置が含まれていてもよい。   The business server group 100 includes a plurality of business servers 100A, 100B,..., 100N that operate by program control. The storage device group 300 includes a storage device 300A connected only to the business server 100A, a storage device 300B connected only to the business server 100B, and a storage device 300N connected only to the business server 100N. In FIG. 1, three business servers 100A, 100B, and 100N and three storage devices 300A, 300B, and 300N are shown, but the business server group 100 and the storage device group 300 each include One or two devices may be included, or four or more devices may be included.

以下、業務サーバ100Aの構成を説明するが、業務サーバ100B〜100Nの構成は、業務サーバ100Aの構成と同じである。   Hereinafter, the configuration of the business server 100A will be described. The configuration of the business servers 100B to 100N is the same as the configuration of the business server 100A.

業務サーバ100Aは、バックアップ/リストア手段110と、ストレージ装置300Aにデータを出力しストレージ装置300Aからデータを入力する入出力手段120と、ストレージ装置400にデータを出力しストレージ装置400Aからデータを入力する循環ファイル入出力手段121と、バッファ(一時記憶手段)130とを備えている。   The business server 100A outputs backup / restore means 110, input / output means 120 that outputs data to the storage apparatus 300A and inputs data from the storage apparatus 300A, and outputs data to the storage apparatus 400 and inputs data from the storage apparatus 400A. A circulating file input / output unit 121 and a buffer (temporary storage unit) 130 are provided.

バックアップ/リストア手段110は、ストレージ装置300Aとストレージ装置400とを対象としたデータコピー機能を有する。すなわち、バックアップ時にはストレージ装置300Aのデータをストレージ装置400にコピーし、リストア時にはストレージ装置400のデータをストレージ装置300Aにコピーする機能を有する。また、バックアップ/リストア手段110は、バックアップサーバ200にバックアップ/リストア要求を通知する機能とを有する。   The backup / restore means 110 has a data copy function for the storage apparatus 300A and the storage apparatus 400. That is, it has a function of copying data in the storage apparatus 300A to the storage apparatus 400 at the time of backup and copying data in the storage apparatus 400 to the storage apparatus 300A at the time of restoration. Further, the backup / restore means 110 has a function of notifying the backup server 200 of a backup / restore request.

また、バックアップ/リストア手段110には、バッファ長決定手段111が設けられている。バッファ長決定手段111は、循環ファイル420の入出力待ち発生状態を基にバッファ長を決定する機能を有する。また、定期的に循環ファイル420とバッファ130との間の転送性能を計測し、メモリ(例えば、バックアップ/リストア手段110に含まれている。)に記憶する機能を有する。   Further, the backup / restore means 110 is provided with a buffer length determining means 111. The buffer length determination unit 111 has a function of determining the buffer length based on the input / output waiting state of the circulation file 420. Further, it has a function of periodically measuring the transfer performance between the circulation file 420 and the buffer 130 and storing it in a memory (for example, included in the backup / restore means 110).

バックアップサーバ200は、バックアップ/リストア手段210と、バックアップ装置500にデータを出力しバックアップ装置500からデータを入力する入出力手段220と、ストレージ装置400にデータを出力しストレージ装置400からデータを入力する循環ファイル入出力手段221と、バッファ230とを備えている。   The backup server 200 includes a backup / restore unit 210, an input / output unit 220 that outputs data to the backup device 500 and inputs data from the backup device 500, and outputs data to the storage device 400 and inputs data from the storage device 400. A circular file input / output unit 221 and a buffer 230 are provided.

バックアップ/リストア手段210は、業務サーバ100Aから通知されるバックアップ/リストア要求にもとづいて、ストレージ装置400とバックアップ装置500とを対象としたデータコピー機能を有する。   The backup / restore means 210 has a data copy function for the storage apparatus 400 and the backup apparatus 500 based on the backup / restore request notified from the business server 100A.

また、バックアップ/リストア手段210には、バッファ長決定手段211が設けられている。バッファ長決定手段211は、循環ファイル420の入出力待ち発生状態を元にバッファ長を決定する機能を有する。また、定期的に循環ファイル420とバッファ230との間の転送性能を計測し、メモリに記憶する機能を有する。   Further, the backup / restore means 210 is provided with a buffer length determination means 211. The buffer length determination unit 211 has a function of determining the buffer length based on the input / output waiting state of the circulation file 420. Further, it has a function of periodically measuring the transfer performance between the circulation file 420 and the buffer 230 and storing it in the memory.

ストレージ装置400は、循環ファイル管理情報410と、循環ファイル420とを備えている。循環ファイル420は、ファイル領域が循環使用される順編成ファイルであり、ファイルの物理的終了位置に続く位置がそのファイルの物理的開始位置になるファイルである。   The storage apparatus 400 includes circular file management information 410 and a circular file 420. The circular file 420 is a sequential file in which a file area is cyclically used, and a position following the physical end position of the file is a physical start position of the file.

図2は、循環ファイル管理情報410の構成例を示す説明図である。循環ファイル管理情報410は、循環ファイルの入出力状態を管理する情報として、出力済み位置情報411と、入力済み位置情報412とを含む。なお、循環ファイル管理情報410は、物理的には、ストレージ装置400における所定のメモリ領域に記憶される情報である。   FIG. 2 is an explanatory diagram showing a configuration example of the circulating file management information 410. The circulation file management information 410 includes output position information 411 and input position information 412 as information for managing the input / output state of the circulation file. The circulating file management information 410 is physically information stored in a predetermined memory area in the storage apparatus 400.

図3は、循環ファイル420における出力済み位置と入力済み位置の遷移の例を示す説明図である。   FIG. 3 is an explanatory diagram showing an example of transition between the output position and the input position in the circulation file 420.

なお、以下の説明において、「データの出力」は、循環ファイル420へのデータの出力を意味し、「データの読み出し」は、循環ファイル420からデータを読み出すことを意味する。また、図3において、「出力済、未入力領域」は、番号1〜Nで示されている領域(メモリ領域)に対してデータが出力されたが、未だデータが読み出されていない(バックアップの場合には、バックアップサーバ200に入力されていないことを示す。)領域を示す。「出力済、入力済領域」は、番号1〜Nで示されている領域に対してデータが出力され、かつ、その領域からデータが読み出されたことを示す。「出力済位置」は、その位置までデータの出力がなされたことを示す。「入力済位置」は、その位置までデータの読み出しがなされたことを示す。   In the following description, “output data” means output data to the circulation file 420, and “read data” means read data from the circulation file 420. Further, in FIG. 3, “output completed, non-input area” has data output to the area (memory area) indicated by numbers 1 to N, but the data has not been read yet (backup In this case, it indicates that the data has not been input to the backup server 200.) Indicates an area. “Output completed, input completed area” indicates that data is output to an area indicated by numbers 1 to N and data is read from the area. The “output position” indicates that data has been output up to that position. “Input position” indicates that data has been read up to that position.

図3(A)には、循環ファイル420にデータが出力された状態が示されている。番号4の位置まで未読み出しの出力データが存在する。図3(A)に示す状態の循環ファイル管理情報410において、出力済み位置情報411:「4」、入力済み位置情報412:「0」である。   FIG. 3A shows a state where data is output to the circulation file 420. Unread output data exists up to the position of number 4. In the circular file management information 410 in the state shown in FIG. 3A, the output position information 411: “4” and the input position information 412: “0”.

図3(B)には、図3(A)に示す状態から、データの出力と、データの読み出しとが実施された状態が示されている。番号16の位置まで未読み出しの出力データが存在し、番号8の位置までデータが入力されていることを示す。図3(B)に示す状態の循環ファイル管理情報410において、出力済み位置情報411:「16」、入力済み位置情報412:「8」である。   FIG. 3B shows a state in which data output and data reading are performed from the state shown in FIG. It indicates that there is unread output data up to the position of number 16 and data has been input up to the position of number 8. In the circular file management information 410 in the state shown in FIG. 3B, the output position information 411: “16” and the input position information 412: “8”.

図3(C)には、図3(B)に示す状態から、データの出力が進んだ状態が示されている。番号Nの位置まで未読み出しの出力データが存在することを示す。図3(C)に示す状態の循環ファイル管理情報410において、出力済み位置情報411:「N」、入力済み位置情報412:「8」である。   FIG. 3C shows a state in which data output has advanced from the state shown in FIG. It indicates that there is unread output data up to the position of number N. In the circular file management information 410 in the state shown in FIG. 3C, the output position information 411: “N” and the input position information 412: “8”.

図3(D)には、図3(C)に示す状態から、データの出力が進んだ状態が示されている。ファイルの物理的終了位置(図3に示す例では、番号Nの位置)まで出力済みであるから、ファイルの物理的開始位置(図3に示す例では、番号1の位置)に戻り、番号1の位置にデータを出力した状態を示す。図3(D)に示す状態の循環ファイル管理情報410において、出力済み位置情報411:「1」、入力済み位置情報412:「8」である。   FIG. 3D shows a state in which data output has advanced from the state shown in FIG. Since the file has been output up to the physical end position (number N in the example shown in FIG. 3), it returns to the physical start position of the file (number 1 in the example shown in FIG. 3). The state where data is output at the position of is shown. In the circular file management information 410 in the state shown in FIG. 3D, the output position information 411: “1” and the input position information 412: “8”.

図4は、循環ファイル420の入出力待ち発生状態の例を示す説明図である。図4(E)には、図3の(D)に示す状態から、データの出力が進んだ状態が示されている。番号7の位置まで未読み出しの出力データが存在することを示す。この状態でさらにデータの出力を実施すると、読み出しが完了していないデータを破壊してしまうため、出力待ちになる。すなわち、循環ファイル420には、未読み出しデータが記憶されている領域には新たなデータを書き込まないことを制約条件としてデータが一時記憶される。図4(E)に示す状態の循環ファイル管理情報410において、出力済み位置情報411:「7」、入力済み位置情報412:「8」である。   FIG. 4 is an explanatory diagram showing an example of an input / output wait occurrence state of the circulation file 420. FIG. 4E shows a state in which data output has advanced from the state shown in FIG. This indicates that unread output data exists up to the position of number 7. If data is further output in this state, data that has not been read is destroyed, and output is awaited. In other words, the circulation file 420 temporarily stores data on the condition that new data is not written in an area where unread data is stored. In the circular file management information 410 in the state shown in FIG. 4E, the output position information 411: “7” and the input position information 412: “8”.

なお、説明を簡単にするために、出力済み位置情報411が示す値が入力済み位置情報412が示す値よりも1小さいときには出力待ちになるとしたが、入力済み位置情報412で示される領域の全データが読み出し済みを示すように定義されている場合には、出力済み位置情報411が示す値=入力済み位置情報412が示す値であるときに、出力待ちになる。すなわち、出力済み位置情報411が示す値=入力済み位置情報412が示す値であるときに、出力済み位置情報411が入力済み位置情報412に追いついていることになる。   For the sake of simplicity, it is assumed that the output is waited when the value indicated by the output position information 411 is 1 smaller than the value indicated by the input position information 412. When the data is defined to indicate that it has been read, the output waits when the value indicated by the output position information 411 is equal to the value indicated by the input position information 412. That is, when the value indicated by the output position information 411 = the value indicated by the input position information 412, the output position information 411 has caught up with the input position information 412.

図4(F)は、図4(E)に示す状態から、データの読み出しが進んだ状態が示されている。番号6の位置まで読み出し済み(入力済み)であることを示す。この状態でさらにデータの読み出しを実施すると、出力済みデータが存在しなので、入力待ちになる。図4(F)に示す状態の循環ファイル管理情報410において、出力済み位置情報411:「7」、入力済み位置情報412:「6」である。   FIG. 4F illustrates a state in which data reading has progressed from the state illustrated in FIG. It indicates that the position of number 6 has been read (input completed). If further data reading is performed in this state, the output waits for input because there is already output data. In the circular file management information 410 in the state shown in FIG. 4F, the output position information 411: “7” and the input position information 412: “6”.

次に、データバックシステムの動作を説明する。まず、データのバックアップの動作、すなわち業務サーバ100Aからストレージ装置400を介してバックアップサーバ200の側にデータを転送する場合の動作を図5のフローチャートを参照して説明する。   Next, the operation of the data back system will be described. First, a data backup operation, that is, an operation when data is transferred from the business server 100A to the backup server 200 via the storage apparatus 400 will be described with reference to the flowchart of FIG.

業務サーバ100Aのバックアップ/リストア手段110は、バックアップ開始時に、バックアップサーバ200にバックアップ要求を通知する(ステップA1)。バックアップ要求には、循環ファイル420のファイル名が含まれる。   The backup / restore means 110 of the business server 100A notifies the backup server 200 of a backup request at the start of backup (step A1). The backup request includes the file name of the circulation file 420.

その後、バックアップ/リストア手段110は、入出力手段120を介して、ストレージ装置300Aに格納されているバックアップ対象データをバッファ130に読み出す(ステップA2)。そして、循環ファイル入出力手段121に対して、バッファ130から循環ファイル420への出力を要求する。   Thereafter, the backup / restore unit 110 reads the backup target data stored in the storage apparatus 300A to the buffer 130 via the input / output unit 120 (step A2). The circulation file input / output unit 121 is requested to output from the buffer 130 to the circulation file 420.

循環ファイル入出力手段121は、循環ファイル管理情報410における出力済み位置情報411と入力済み位置情報412とを参照し、データの出力が可能か否か判断する(ステップA3)。出力が可能な場合、つまり、出力済み位置情報411が入力済み位置情報412に追いついていない場合には、データの出力を行う(ステップA4)。出力が可能でない場合、つまり、出力済み位置情報411が入力済み位置情報412に追いついている場合には、入力済み位置情報412が進むのを待ち合わせる(ステップA5)。なお、循環ファイル入出力手段121は、循環ファイル420における1つの領域全体にデータを出力したときに、出力済み位置情報411の値を1増やす。   The circular file input / output unit 121 refers to the output position information 411 and the input position information 412 in the circular file management information 410 and determines whether data can be output (step A3). If the output is possible, that is, if the output position information 411 does not catch up with the input position information 412, data is output (step A4). If the output is not possible, that is, if the output position information 411 has caught up with the input position information 412, the process waits for the input position information 412 to proceed (step A5). The circulating file input / output unit 121 increments the value of the output position information 411 by 1 when data is output to one entire area in the circulating file 420.

入力済み位置情報412が進み出力可能になったか否か判断する方法として、例えば、定期的に循環ファイル管理情報410を参照する方法や、バックアップサーバ200における循環ファイル入出力手段221が、循環ファイル管理情報410の入力済み位置情報412の値を進めたタイミングで循環ファイル入出力手段121に通知する方法などが考えられる。   As a method of determining whether the input position information 412 has been advanced and can be output, for example, a method of periodically referring to the circulating file management information 410 or a circulating file input / output unit 221 in the backup server 200 A method of notifying the circular file input / output means 121 at the timing when the value of the input position information 412 of the information 410 is advanced is conceivable.

循環ファイル入出力手段121は、出力が完了すると、バックアップ/リストア手段110に、処理結果とともに出力待ち発生情報を通知する。   When the output is completed, the circulating file input / output unit 121 notifies the backup / restore unit 110 of the output waiting occurrence information together with the processing result.

なお、循環ファイル入出力手段121は、循環ファイル管理情報410における出力済み位置情報411と入力済み位置情報412とを参照した際に、入力待ちが発生していることを検出した場合には、つまり、入力済み位置情報412が出力済み位置情報411に追いついている場合には、バックアップ/リストア手段110に、処理結果とともに入力待ちが発生していた旨を通知する。   When the circular file input / output means 121 detects that an input wait has occurred when referring to the output position information 411 and the input position information 412 in the circular file management information 410, that is, When the input position information 412 catches up with the output position information 411, the backup / restore means 110 is notified of the input wait along with the processing result.

バックアップ/リストア手段110は、循環ファイル入出力手段121から出力待ち発生情報の通知を受けると、バッファ長決定手段111を使用して次回使用するバッファ130のバッファ長を決定する。   When the backup / restore unit 110 receives the notification of the output waiting occurrence information from the circular file input / output unit 121, the backup / restore unit 110 uses the buffer length determination unit 111 to determine the buffer length of the buffer 130 to be used next time.

バッファ長決定手段111は、出力待ちが発生した場合には、次回使用するバッファ130のバッファ長を縮小する(ステップA6,A7)。すなわち、バッファサイズを小さくする。出力待ちが発生しなかった場合には、入力待ちが発生していたか否か確認する(ステップA8)。入力待ちが発生していた場合には、次回使用するバッファ130のバッファ長を拡大する(ステップA9)。すなわち、バッファサイズを大きくする。   When waiting for output, the buffer length determining unit 111 reduces the buffer length of the buffer 130 to be used next time (steps A6 and A7). That is, the buffer size is reduced. If no output wait has occurred, it is checked whether an input wait has occurred (step A8). If waiting for input has occurred, the buffer length of the buffer 130 to be used next time is expanded (step A9). That is, the buffer size is increased.

出力待ちも入力待ちも発生していない場合には、目標転送性能に達しているか確認し(ステップA12)、目標転送性能に達していない場合には、次回使用するバッファ130のバッファ長を拡大する(ステップA13)。すなわち、バッファサイズを大きくする。   If neither output waiting nor input waiting has occurred, it is confirmed whether the target transfer performance has been reached (step A12). If the target transfer performance has not been reached, the buffer length of the buffer 130 to be used next time is increased. (Step A13). That is, the buffer size is increased.

なお、バッファ長の縮小の仕方として、縮小前のバッファ長に対して所定の比率(例えば、90%)のバッファ長にしたり、縮小前のバッファ長に対して所定量(例えば、バッファ130として確保可能な最大バイト数の10%)減らしたりすることが考えられる。また、バッファ長の拡大の仕方として、拡大前のバッファ長に対して所定の比率(例えば、110%)のバッファ長にしたり、拡大前のバッファ長に対して所定量(例えば、バッファ130として確保可能な最大バイト数の10%)増やしたりすることが考えられる。ただし、拡大後のバッファ長は、バッファ130として確保可能な最大バイト数を限度とする。   As a method of reducing the buffer length, the buffer length is set to a predetermined ratio (for example, 90%) with respect to the buffer length before the reduction, or a predetermined amount (for example, secured as the buffer 130) with respect to the buffer length before the reduction. Or 10% of the maximum possible number of bytes). Further, as a method of expanding the buffer length, the buffer length is set to a predetermined ratio (for example, 110%) with respect to the buffer length before the expansion, or secured as a predetermined amount (for example, the buffer 130) relative to the buffer length before the expansion. It may be possible to increase 10% of the maximum possible number of bytes). However, the buffer length after expansion is limited to the maximum number of bytes that can be secured as the buffer 130.

また、バッファ長を縮小するときに、出力待ちの発生回数や出力待ち時間に応じて縮小量を決めるようにしてもよい。すなわち、出力待ちの発生回数が所定値よりも多かった場合や出力待ち時間が所定時間よりも長かった場合には、縮小量を大きくするようにしてもよい。また、バッファ長を拡大するときに、入力待ちの発生回数や入力待ち時間に応じて拡大量を決めるようにしてもよい。すなわち、入力待ちの発生回数が所定値よりも多かった場合や入力待ち時間が所定時間よりも長かった場合には、拡大量を大きくするようにしてもよい。   Further, when the buffer length is reduced, the reduction amount may be determined according to the number of output waiting occurrences or the output waiting time. That is, when the number of output waiting occurrences is greater than a predetermined value or when the output waiting time is longer than a predetermined time, the reduction amount may be increased. Further, when the buffer length is expanded, the expansion amount may be determined according to the number of occurrences of input waiting and the input waiting time. That is, when the number of occurrences of input waiting is greater than a predetermined value or when the input waiting time is longer than a predetermined time, the enlargement amount may be increased.

その後、バックアップ/リストア手段110は、ストレージ装置300Aに格納されているバックアップ対象データを全て循環ファイル420へ出力したかどうかを確認し(ステップA10)、全データの出力が完了した場合には、バックアップサーバ200からのバックアップ結果を待ち合わせる(ステップA11)。循環ファイル420に出力されていないデータがある場合には、バッファ130への読み出し処理を行う(ステップA2)。   Thereafter, the backup / restore means 110 confirms whether or not all the backup target data stored in the storage apparatus 300A has been output to the circular file 420 (step A10). Wait for the backup result from the server 200 (step A11). If there is data that has not been output to the circulation file 420, a read process to the buffer 130 is performed (step A2).

バックアップサーバ200において、バックアップ/リストア手段210は、業務サーバ100Aからバックアップ要求の通知を受けると(ステップB1)、通知されたバックアップ要求にもとづいて、循環ファイル入出力手段221を使用してストレージ装置400からバッファ230にデータを読み出し、入出力手段220を使用してバッファ230からバックアップ装置500に出力する。   In the backup server 200, when the backup / restore means 210 receives a notification of the backup request from the business server 100A (step B1), the storage apparatus 400 uses the circular file input / output means 221 based on the notified backup request. The data is read from the buffer 230 to the buffer 230 and output from the buffer 230 to the backup device 500 using the input / output means 220.

循環ファイル入出力手段221は、循環ファイル管理情報410における出力済み位置情報411と入力済み位置情報412とを参照し、データの入力が可能か否か判断する(ステップB2)。入力が可能な場合、つまり、入力済み位置情報412が出力済み位置情報411に追いついていない場合には、データの入力を行う(ステップB3)。入力が可能でない場合、つまり、入力済み位置情報412が出力済み位置情報411に追いついている場合には、出力済み位置情報411が進むのを待ち合わせて(ステップB4)、データの入力を行う。なお、循環ファイル入出力手段221は、循環ファイル420における1つの領域の全データを読み出したしたときに、入力済み位置情報412の値を1増やす。   The circulating file input / output means 221 refers to the output position information 411 and the input position information 412 in the circulating file management information 410 and determines whether data can be input (step B2). If input is possible, that is, if the input position information 412 does not catch up with the output position information 411, data is input (step B3). When the input is not possible, that is, when the input position information 412 catches up with the output position information 411, the output position information 411 is waited for to proceed (step B4), and data is input. The circulating file input / output unit 221 increments the value of the input position information 412 by 1 when all data in one area in the circulating file 420 is read.

出力済み位置情報411が進み入力可能になったか否か判断する方法として、例えば、定期的に循環ファイル管理情報410を参照する方法や、業務サーバ100Aにおける循環ファイル入出力手段121が、循環ファイル管理情報410の出力済み位置情報411の値を進めたタイミングで循環ファイル入出力手段221に通知する方法などが考えられる。   As a method for determining whether or not the output position information 411 has been advanced and can be input, for example, a method of periodically referring to the circulating file management information 410, or the circulating file input / output means 121 in the business server 100A is used for the circulating file management. A method of notifying the circular file input / output means 221 at the timing when the value of the output position information 411 of the information 410 is advanced is conceivable.

循環ファイル入出力手段221は、入力が完了すると、バックアップ/リストア手段210へ処理結果とともに入力待ち発生情報を通知する。   When the input is completed, the circular file input / output unit 221 notifies the backup / restore unit 210 of the input wait occurrence information together with the processing result.

なお、循環ファイル入出力手段221は、循環ファイル管理情報410における出力済み位置情報411と入力済み位置情報412とを参照した際に、出力待ちが発生していることを検出した場合には、つまり、出力済み位置情報411が入力済み位置情報412に追いついている場合には、バックアップ/リストア手段210に、処理結果とともに出力待ちが発生していた旨を通知する。   When the circulating file input / output unit 221 refers to the output position information 411 and the input position information 412 in the circulating file management information 410 and detects that output waiting has occurred, that is, When the output position information 411 has caught up with the input position information 412, the backup / restore means 210 is notified of the output waiting together with the processing result.

バックアップ/リストア手段210は、循環ファイル入出力手段221から待ち発生情報の通知を受けると、バッファ長決定手段211を使用して次回使用するバッファ230のバッファ長を決定する。   When the backup / restore unit 210 receives notification of the waiting occurrence information from the circular file input / output unit 221, the backup / restore unit 210 uses the buffer length determination unit 211 to determine the buffer length of the buffer 230 to be used next time.

バッファ長決定手段211は、入力待ちが発生した場合には、次回使用するバッファ230のバッファ長を縮小する(ステップB5,B6)。すなわち、バッファサイズを小さくする。入力待ちが発生しなかった場合には、業務サーバ100Aに出力待ちが発生していたか否か確認する(ステップB7)。出力待ちが発生していた場合には、次回使用するバッファ230のバッファ長を拡大する(ステップB8)。すなわち、バッファサイズを大きくする。   The buffer length determination unit 211 reduces the buffer length of the buffer 230 to be used next time when an input wait occurs (steps B5 and B6). That is, the buffer size is reduced. If no input wait has occurred, it is checked whether an output wait has occurred in the business server 100A (step B7). If output waiting has occurred, the buffer length of the buffer 230 to be used next time is expanded (step B8). That is, the buffer size is increased.

入力待ちも出力待ちも発生していない場合には、目標転送性能に達しているか確認し(ステップB12)、目標転送性能に達していない場合には、次回使用するバッファ230のバッファ長を拡大する(ステップB13)。すなわち、バッファサイズを大きくする。   If neither input wait nor output wait has occurred, it is confirmed whether the target transfer performance has been reached (step B12). If the target transfer performance has not been reached, the buffer length of the buffer 230 to be used next time is increased. (Step B13). That is, the buffer size is increased.

その後、バックアップ/リストア手段210は、入出力手段220を使用して、バッファ230の内容をバックアップ装置500に出力する(ステップB9)。   Thereafter, the backup / restore means 210 uses the input / output means 220 to output the contents of the buffer 230 to the backup device 500 (step B9).

そして、バックアップ/リストア手段210は、循環ファイル420のデータを全てバックアップ装置500に出力したかどうかを確認し(ステップB10)、全データの出力が完了した場合には、業務サーバ100Aにバックアップ結果を通知する(ステップB11)。バックアップ装置500に出力されていないデータがある場合には、バッファ230への読み出し処理を行う(ステップB2)。   Then, the backup / restore means 210 confirms whether or not all the data of the circular file 420 has been output to the backup device 500 (step B10), and when the output of all the data is completed, the backup result is sent to the business server 100A. Notification is made (step B11). If there is data that has not been output to the backup device 500, a read process to the buffer 230 is performed (step B2).

次に、データのリストアの動作、すなわちバックアップサーバ200からストレージ装置400を介して業務サーバ100Aの側にデータを転送する場合の動作を図6のフローチャートを参照して説明する。   Next, an operation of restoring data, that is, an operation when transferring data from the backup server 200 to the business server 100A via the storage apparatus 400 will be described with reference to a flowchart of FIG.

業務サーバ100Aのバックアップ/リストア手段110は、リストア開始時に、バックアップサーバ200にリストア要求を通知する(ステップC1)。リストア要求には、循環ファイル420のファイル名が含まれる。   The backup / restore unit 110 of the business server 100A notifies the backup server 200 of a restore request at the start of the restore (step C1). The restore request includes the file name of the circular file 420.

その後、バックアップ/リストア手段110は、循環ファイル入出力手段121を使用してストレージ装置400からバッファ130にリストアデータを読み出し、入出力手段120を使用してバッファ130からストレージ装置300Aにデータを出力する。   Thereafter, the backup / restore means 110 reads the restored data from the storage apparatus 400 to the buffer 130 using the circular file input / output means 121, and outputs the data from the buffer 130 to the storage apparatus 300A using the input / output means 120. .

循環ファイル入出力手段121は、循環ファイル管理情報410における出力済み位置情報411と入力済み位置情報412とを参照し、データの入力が可能か否か判断する(ステップC2)。入力が可能な場合、つまり、入力済み位置情報412が出力済み位置情報411に追いついていない場合には、データの入力を行う(ステップC3)。入力が可能でない場合、つまり、入力済み位置情報412が出力済み位置情報411に追いついている場合には、出力済み位置情報411が進むのを待ち合わせて(ステップC4)、データの入力を行う。なお、循環ファイル入出力手段121は、循環ファイル420における1つの領域の全データを読み出したしたときに、入力済み位置情報412の値を1増やす。   The circulating file input / output unit 121 refers to the output position information 411 and the input position information 412 in the circulating file management information 410 and determines whether or not data can be input (step C2). If input is possible, that is, if the input position information 412 does not catch up with the output position information 411, data is input (step C3). If input is not possible, that is, if the input position information 412 catches up with the output position information 411, the output position information 411 is waited for to proceed (step C4), and data is input. The circular file input / output unit 121 increments the value of the input position information 412 by 1 when all data of one area in the circular file 420 is read.

出力済み位置情報411が進み入力可能になったか否か判断する方法として、例えば、定期的に循環ファイル管理情報410を参照する方法や、バックアップサーバ200における循環ファイル入出力手段221が、循環ファイル管理情報410の出力済み位置情報411の値を進めたタイミングで循環ファイル入出力手段121へ通知する方法などが考えられる。   As a method of determining whether the output position information 411 has been advanced and can be input, for example, a method of periodically referring to the circulating file management information 410 or a circulating file input / output means 221 in the backup server 200 A method of notifying the circular file input / output means 121 at the timing when the value of the output position information 411 of the information 410 is advanced is conceivable.

循環ファイル入出力手段121は、入力が完了すると、バックアップ/リストア手段110に、処理結果とともに入出力待ち発生情報を通知する。   When the input is completed, the circular file input / output unit 121 notifies the backup / restore unit 110 of the input / output wait occurrence information together with the processing result.

なお、循環ファイル管理情報410の出力済み位置情報411と入力済み位置情報412とを参照した際に、バックアップサーバ200において出力待ちが発生していることを検出した場合、つまり、出力済み位置情報411が入力済み位置情報412に追いついている場合には、バックアップ/リストア手段110に、処理結果とともに出力待ちが発生していた旨を通知する。   Note that when referring to the output position information 411 and the input position information 412 of the circular file management information 410, it is detected that the backup server 200 is waiting for output, that is, the output position information 411. Is caught up with the input position information 412, the backup / restore means 110 is notified of the output waiting together with the processing result.

バックアップ/リストア手段110は、循環ファイル入出力手段121から待ち発生情報の通知を受けると、バッファ長決定手段111を使用して次回使用するバッファ130のバッファ長を決定する。   When the backup / restore unit 110 receives the notification of the waiting occurrence information from the circular file input / output unit 121, the backup / restore unit 110 uses the buffer length determination unit 111 to determine the buffer length of the buffer 130 to be used next time.

バッファ長決定手段111は、入力待ちが発生した場合には、次回使用するバッファ130のバッファ長を縮小する(ステップC5,C6)。すなわち、バッファサイズを小さくする。入力待ちが発生しなかった場合には、出力待ちが発生していたか否か確認する(ステップC7)。出力待ちが発生していた場合には、次回使用するバッファ130のバッファ長を拡大する(ステップC8)。すなわち、バッファサイズを大きくする。   The buffer length determination unit 111 reduces the buffer length of the buffer 130 to be used next time when an input wait occurs (steps C5 and C6). That is, the buffer size is reduced. If no input wait has occurred, it is checked whether an output wait has occurred (step C7). If output waiting has occurred, the buffer length of the buffer 130 to be used next time is expanded (step C8). That is, the buffer size is increased.

入力待ちも出力待ちも発生していない場合には、目標転送性能に達しているか否か確認する(ステップC12)。そして、目標転送性能に達していない場合には、次回使用するバッファ130のバッファ長を拡大する(ステップC13)。すなわち、バッファサイズを大きくする。   If neither input wait nor output wait has occurred, it is confirmed whether or not the target transfer performance has been reached (step C12). If the target transfer performance has not been reached, the buffer length of the buffer 130 to be used next time is expanded (step C13). That is, the buffer size is increased.

その後、バックアップ/リストア手段110は、入出力手段120を使用して、バッファ130の内容をストレージ装置300Aに出力する(ステップC9)。   Thereafter, the backup / restore means 110 uses the input / output means 120 to output the contents of the buffer 130 to the storage apparatus 300A (step C9).

バックアップ/リストア手段110は、循環ファイル420のデータを全てストレージ装置300Aに出力したかどうかを確認し(ステップC10)、全データの出力が完了した場合には、バックアップサーバ200からのリストア結果を待ち合わせる(ステップC11)。ストレージ装置300Aに出力されていないデータがある場合には、バッファ130への読み出し処理を行う(ステップC2)。   The backup / restore means 110 confirms whether all the data of the circular file 420 has been output to the storage apparatus 300A (step C10), and when the output of all the data is completed, waits for the restore result from the backup server 200. (Step C11). If there is data that has not been output to the storage apparatus 300A, a read process to the buffer 130 is performed (step C2).

バックアップサーバ200において、バックアップ/リストア手段210は、業務サーバ100Aからリストア要求の通知を受けると(ステップD1)、通知されたリストア要求にもとづいて、入出力手段220を使用して、バックアップ装置500からバッファ230にデータを読み出し(ステップD2)、循環ファイル入出力手段221に対して循環ファイル420への出力を要求する。   In the backup server 200, when the backup / restore unit 210 receives a restore request notification from the business server 100A (step D1), the backup / restore unit 210 uses the input / output unit 220 based on the notified restore request from the backup device 500. Data is read into the buffer 230 (step D2), and the circulation file input / output means 221 is requested to output to the circulation file 420.

循環ファイル入出力手段221は、循環ファイル管理情報410における出力済み位置情報411と入力済み位置情報412とを参照し、データの出力が可能か否か判断する(ステップD3)。出力が可能な場合、つまり、出力済み位置情報411が入力済み位置情報412に追いついていない場合には、データの出力を行う(ステップD4)。出力が可能でない場合、つまり、出力済み位置情報411が入力済み位置情報412に追いついている場合には、入力済み位置情報412が進むのを待ち合わせる(ステップD5)。なお、循環ファイル入出力手段221は、循環ファイル420における1つの領域全体にデータを出力したときに、出力済み位置情報411の値を1増やす。   The circulating file input / output unit 221 refers to the output position information 411 and the input position information 412 in the circulating file management information 410 and determines whether data can be output (step D3). If output is possible, that is, if the output position information 411 does not catch up with the input position information 412, data is output (step D4). If output is not possible, that is, if the output position information 411 has caught up with the input position information 412, the process waits for the input position information 412 to proceed (step D5). The circulating file input / output unit 221 increments the value of the output position information 411 by 1 when data is output to one entire area in the circulating file 420.

入力済み位置情報412が進み出力可能になったか否か判断する方法として、例えば、定期的に循環ファイル管理情報410を参照する方法や、業務サーバ100Aにおける循環ファイル入出力手段121が、循環ファイル管理情報410の入力済み位置情報412の値を進めたタイミングで循環ファイル入出力手段221に通知する方法などが考えられる。   As a method for determining whether or not the input position information 412 has been advanced and can be output, for example, a method of referring to the circular file management information 410 periodically, or the circular file input / output means 121 in the business server 100A is a circular file management. A method of notifying the circular file input / output means 221 at the timing when the value of the input position information 412 of the information 410 is advanced is conceivable.

循環ファイル入出力手段221は、出力が完了すると、バックアップ/リストア手段210に、処理結果とともに出力待ち発生情報を通知する。   When the output is completed, the circular file input / output unit 221 notifies the backup / restore unit 210 of the output wait occurrence information together with the processing result.

なお、循環ファイル管理情報410の出力済み位置情報411と、入力済み位置情報412を参照した際、入力待ちが発生していることを検出した場合、つまり、入力済み位置情報412が出力済み位置情報411に追いついている場合には、バックアップ/リストア手段210に、処理結果とともに入力待ちが発生していた旨を通知する。   When the output position information 411 of the circular file management information 410 and the input position information 412 are referred to, when it is detected that input waiting has occurred, that is, the input position information 412 is output position information. If it has caught up to 411, it notifies the backup / restore means 210 that the input wait has occurred together with the processing result.

バックアップ/リストア手段210は、循環ファイル入出力手段221から出力待ち発生情報の通知を受けると、バッファ長決定手段211を使用して次回使用するバッファ230のバッファ長を決定する。   When the backup / restore means 210 receives the notification of the output waiting occurrence information from the circular file input / output means 221, the backup / restore means 210 uses the buffer length determination means 211 to determine the buffer length of the buffer 230 to be used next time.

バッファ長決定手段211は、出力待ちが発生した場合には、次回使用するバッファ230のバッファ長を縮小する(ステップD6,D7)。すなわち、バッファサイズを小さくする。出力待ちが発生しなかった場合には、入力待ちが発生していたか否か確認する(ステップD8)。入力待ちが発生していた場合には、次回使用するバッファ230のバッファ長を拡大する(ステップD9)。すなわち、バッファサイズを大きくする。   When waiting for output, the buffer length determining unit 211 reduces the buffer length of the buffer 230 to be used next time (steps D6 and D7). That is, the buffer size is reduced. If no output wait has occurred, it is checked whether an input wait has occurred (step D8). If waiting for input has occurred, the buffer length of the buffer 230 to be used next time is expanded (step D9). That is, the buffer size is increased.

出力待ちも入力待ちも発生していない場合には、目標転送性能に達しているか否か確認する(ステップD12)。目標転送性能に達していない場合には、次回使用するバッファ230のバッファ長を拡大する(ステップD13)。すなわち、バッファサイズを大きくする。   If neither output waiting nor input waiting has occurred, it is confirmed whether or not the target transfer performance has been reached (step D12). If the target transfer performance has not been reached, the buffer length of the buffer 230 to be used next time is expanded (step D13). That is, the buffer size is increased.

以上に説明したように、本実施形態では、無駄なシステム資源を使用せずに、転送性能を向上させることができる。バックアップ/リストア時に、循環ファイルへの出力処理側と入力処理側の双方のバッファ長を変化させるからである。循環ファイルの入出力で待ちが発生した場合に、待ちが発生している側のバッファ長を縮小することによって、バッファとして使用するメモリ量を必要量だけに抑え、資源の無駄を省くことができる。また、循環ファイルの入出力で待ちが発生している側と反対側のバッファ長を拡大することによって、バッファ−ストレージ装置間のデータ入出力開始制御回数を減らし、ボトルネックになる側の転送性能を上げ、全体の転送性能を向上させることができる。   As described above, in this embodiment, transfer performance can be improved without using useless system resources. This is because the buffer length on both the output processing side and the input processing side to the circular file is changed at the time of backup / restoration. When waiting for circular file I / O, by reducing the buffer length of the waiting side, the amount of memory used as a buffer can be reduced to the required amount, and resources can be saved. . In addition, by increasing the buffer length on the opposite side to the side that is waiting for circular file I / O, the number of data I / O start control times between the buffer and storage device is reduced, and the transfer performance on the bottleneck side And the overall transfer performance can be improved.

また、複数の業務サーバのデータを1台のバックアップサーバでバックアップする形態において、各業務サーバからのバックアップ要求量に応じてバックアップサーバの処理能力が変化するが、そのような環境においても無駄なシステム資源を使用せずにバックアップ負荷に応じて転送性能を向上させることができる。   In addition, in a form in which data of a plurality of business servers is backed up by a single backup server, the processing capacity of the backup server changes according to the backup request amount from each business server. Transfer performance can be improved according to the backup load without using resources.

図7は、本発明によるデータバックシステムの主要構成を示すブロック図である。データバックシステムは、図7に示すように、データのバックアップおよびリストアを要求可能なコンピュータ1と、バックアップ装置4に接続された他のコンピュータ2と、コンピュータ1とコンピュータ2とが、それぞれ、データ入出力可能な循環ファイル形式でデータを記憶する循環形式記憶手段3とを備え、コンピュータ1は、循環形式記憶手段3に出力するデータを一時記憶する一時記憶手段1Aと、一時記憶手段1Aのデータを循環形式記憶手段3に出力するときに制約条件(未読み出しデータが記憶されている領域には新たなデータを書き込まないこと)にもとづくデータ出力待ちが生じたか否かと、他のコンピュータ2が循環形式記憶手段3からデータを読み出しているときに循環形式記憶手段3に読み出し可能なデータが存在せずデータ入力を待ち合わせている状態であるデータ入力待ちが生じたか否かとを検出する出力待ち/入力待ち検出手段1Cと、一時記憶手段1Aのデータを循環形式記憶手段3に出力したときに、出力待ち/入力待ち検出手段1Cがデータ出力待ちが生じたことを検出した場合に、一時記憶手段1Aの記憶可能量を減少させ、出力待ち/入力待ち検出手段1Cがデータ入力待ちが生じたことを検出した場合に、一時記憶手段1Aの記憶可能量を増加させる記憶可能量決定手段1Bとを備えている。   FIG. 7 is a block diagram showing the main configuration of the data back system according to the present invention. As shown in FIG. 7, the data back system includes a computer 1 capable of requesting data backup and restoration, another computer 2 connected to the backup device 4, and the computer 1 and the computer 2 respectively. The computer 1 includes a circulation format storage means 3 for storing data in a cyclic file format that can be output, and the computer 1 temporarily stores data to be output to the circulation format storage means 3 and data in the temporary storage means 1A. Whether or not the data output wait based on the constraint condition (do not write new data in the area in which unread data is stored) occurs when the data is output to the circulation format storage means 3, and the other computer 2 When data is being read from the storage means 3, data that can be read out to the circular format storage means 3 Output waiting / input waiting detecting means 1C for detecting whether or not there is a data input waiting state that is waiting for data input, and data in the temporary storage means 1A is output to the cyclic storage means 3 When the output wait / input wait detection means 1C detects that data output wait has occurred, the storable amount of the temporary storage means 1A is decreased, and the output wait / input wait detection means 1C has waited for data input. When this is detected, there is provided a storable amount determining means 1B for increasing the storable amount of the temporary storage means 1A.

また、出力待ち/入力待ち検出手段1Cは、循環形式記憶手段3から一時記憶手段1Aにデータを入力するときに制約条件にもとづく他のコンピュータ2のデータ出力待ちが生じたか否かと、循環形式記憶手段3からデータを読み出しているときにデータ入力待ちが生じたか否かとを検出し、記憶可能量決定手段1Bは、循環形式記憶手段3から一時記憶手段1Aにデータを入力したときに、出力待ち/入力待ち検出手段1Cがデータ入力待ちが生じたことを検出した場合に、一時記憶手段1Aの記憶可能量を減少させ、出力待ち/入力待ち検出手段1Cがデータ出力待ちが生じたことを検出した場合に、一時記憶手段1Aの記憶可能量を増加させる。   Further, the output waiting / input waiting detecting means 1C determines whether or not the data output waiting of the other computer 2 has occurred based on the constraint conditions when data is input from the circulating form storage means 3 to the temporary storage means 1A. It is detected whether or not a data input wait has occurred while reading data from the means 3, and the storable amount determination means 1B waits for an output when data is input from the cyclic storage means 3 to the temporary storage means 1A. / When the input wait detection means 1C detects that data input wait has occurred, the storable amount of the temporary storage means 1A is decreased, and the output wait / input wait detection means 1C detects that data output wait has occurred. In this case, the storable amount of the temporary storage unit 1A is increased.

なお、一時記憶手段1Aと、出力待ち/入力待ち検出手段1Cの機能および記憶可能量決定手段1Bの機能に相当するものが、他のコンピュータ2にも備えられている。   The other computer 2 is equipped with functions corresponding to the functions of the temporary storage means 1A, the output waiting / input waiting detection means 1C, and the function of the storable amount determination means 1B.

本発明によるデータバックアップ/リストア方法が適用されるデータバックシステムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the data back system with which the data backup / restore method by this invention is applied. 循環ファイル管理情報の構成例を示す説明図である。It is explanatory drawing which shows the structural example of circulating file management information. 循環ファイルにおける出力済み位置と入力済み位置の遷移の例を示す説明図である。It is explanatory drawing which shows the example of the transition of the output completed position and input completed position in a circulation file. 循環ファイルの入出力待ち発生状態の例を示す説明図である。It is explanatory drawing which shows the example of the input / output waiting generation state of a circulation file. まず、データのバックアップの動作を示すフローチャートである。First, it is a flowchart showing a data backup operation. データのリストアの動作を示すフローチャートである。It is a flowchart which shows the operation | movement of data restoration. 本発明によるデータバックシステムの主要構成を示すブロック図である。It is a block diagram which shows the main structures of the data back system by this invention.

符号の説明Explanation of symbols

1 コンピュータ
1A 一時記憶手段
1B 記憶可能量決定手段
1C 出力待ち/入力待ち検出手段
2 他のコンピュータ
3 循環形式記憶手段
100 業務サーバ群
100A,100B,100N 業務サーバ
110 バックアップ/リストア手段
111 バッファ長決定手段
120 入出力手段
121 循環ファイル入出力手段
130 バッファ
200 バックアップサーバ
210 バックアップ/リストア手段
211 バッファ長決定手段
220 入出力手段
221 循環ファイル入出力手段
230 バッファ
300 ストレージ装置群
300A,300B,300N ストレージ装置
400 ストレージ装置
410 循環ファイル管理情報
411 出力済み位置情報
412 入力済み位置情報
420 循環ファイル
500 バックアップ装置
DESCRIPTION OF SYMBOLS 1 Computer 1A Temporary storage means 1B Memory | storage amount determination means 1C Output waiting / input waiting detection means 2 Other computer 3 Circulation type storage means 100 Business server group 100A, 100B, 100N Business server 110 Backup / restoration means 111 Buffer length determination means 120 I / O Unit 121 Circular File I / O Unit 130 Buffer 200 Backup Server 210 Backup / Restore Unit 211 Buffer Length Determining Unit 220 I / O Unit 221 Circular File I / O Unit 230 Buffer 300 Storage Device Group 300A, 300B, 300N Storage Device 400 Storage Device 410 Circular file management information 411 Output location information 412 Input location information 420 Circular file 500 Backup device

Claims (7)

データのバックアップおよびリストアを要求可能なコンピュータにおけるデータを、未読み出しデータが記憶されている領域には新たなデータを書き込まないことを制約条件としてデータを一時記憶する循環形式記憶手段を介して、他のコンピュータに接続されたバックアップ装置にバックアップさせるデータバックアップシステムであって、
前記データのバックアップおよびリストアを要求可能なコンピュータは、
前記循環形式記憶手段に出力するデータを一時記憶する一時記憶手段と、
前記一時記憶手段のデータを前記循環形式記憶手段に出力するときに前記制約条件にもとづくデータ出力待ちが生じたか否かと、前記他のコンピュータが前記循環形式記憶手段からデータを読み出しているときに前記循環形式記憶手段に読み出し可能なデータが存在せずデータ入力を待ち合わせている状態であるデータ入力待ちが生じたか否かとを検出する出力待ち/入力待ち検出手段と、
前記一時記憶手段のデータを前記循環形式記憶手段に出力したときに、前記出力待ち/入力待ち検出手段がデータ出力待ちが生じたことを検出した場合に、前記一時記憶手段の記憶可能量を減少させ、前記出力待ち/入力待ち検出手段がデータ入力待ちが生じたことを検出した場合に、前記一時記憶手段の記憶可能量を増加させる記憶可能量決定手段とを備え
前記出力待ち/入力待ち検出手段は、前記循環形式記憶手段から前記一時記憶手段にデータを入力するときに前記制約条件にもとづく他のコンピュータのデータ出力待ちが生じたか否かと、前記循環形式記憶手段からデータを読み出しているときにデータ入力待ちが生じたか否かとを検出し、
前記記憶可能量決定手段は、前記循環形式記憶手段から前記一時記憶手段にデータを入力したときに、前記出力待ち/入力待ち検出手段がデータ入力待ちが生じたことを検出した場合に、前記一時記憶手段の記憶可能量を減少させ、前記出力待ち/入力待ち検出手段がデータ出力待ちが生じたことを検出した場合に、前記一時記憶手段の記憶可能量を増加させる
ことを特徴とするデータバックアップシステム。
The data in the computer that can request backup and restore of data is transferred via a circular storage means that temporarily stores data with the restriction that new data is not written in the area where unread data is stored. A data backup system for backing up to a backup device connected to a computer of
A computer capable of requesting backup and restore of the data is:
Temporary storage means for temporarily storing data to be output to the circulation format storage means;
Whether or not data output waiting based on the constraint condition occurred when outputting the data in the temporary storage means to the circulation format storage means, and when the other computer is reading data from the circulation format storage means An output wait / input wait detection means for detecting whether or not a data input wait has occurred in a state where there is no readable data in the circulation format storage means and waiting for data input;
When the data stored in the temporary storage unit is output to the circulation format storage unit, the storable amount of the temporary storage unit is reduced when the output wait / input wait detection unit detects that data output wait has occurred. A storable amount determining means for increasing the storable amount of the temporary storage means when the output wait / input wait detection means detects that a data input wait has occurred ,
The output wait / input wait detection means is configured to determine whether a data output wait of another computer based on the constraint condition occurs when data is input from the circulation form storage means to the temporary storage means, and the circulation form storage means. Detecting whether data input wait occurred while reading data from
The storable amount determining means, when data is input from the circulation format storage means to the temporary storage means, and the output wait / input wait detection means detects that the data input wait has occurred, A data backup characterized by decreasing the storable amount of the storage means and increasing the storable amount of the temporary storage means when the output wait / input wait detection means detects that a data output wait has occurred system.
データのバックアップおよびリストアを要求可能なコンピュータは、ストレージ装置から入力したデータを一時記憶手段に記憶させた後に、循環形式記憶手段に出力する制御を行うバックアップ手段を備えた
請求項記載のデータバックアップシステム。
Backup and restore can be requested computer data, after storing in the temporary storage data inputted from the storage device, data backup according to claim 1, further comprising a backup means for controlling to output the circulation format storing means system.
データのバックアップおよびリストアを要求可能なコンピュータは、循環形式記憶手段から入力したデータを一時記憶手段に記憶させた後に、ストレージ装置に出力する制御を行うリストア手段を備えた
請求項記載のデータバックアップシステム。
3. The data backup according to claim 2 , wherein the computer capable of requesting backup and restore of data comprises a restore means for controlling the data inputted from the circular storage means to be output to the storage device after being stored in the temporary storage means. system.
バックアップ装置に接続された他のコンピュータは、
循環形式記憶手段に出力するデータを一時記憶する一時記憶手段と、
前記一時記憶手段のデータを前記循環形式記憶手段に出力するときに制約条件にもとづくデータ出力待ちが生じたか否かと、データのリストアを要求したコンピュータにデータ入力待ちが生じたか否かとを検出する出力待ち/入力待ち検出手段と、
前記一時記憶手段のデータを前記循環形式記憶手段に出力したときに、前記出力待ち/入力待ち検出手段がデータ出力待ちが生じたことを検出した場合に、前記一時記憶手段の記憶可能量を減少させ、前記出力待ち/入力待ち検出手段がデータ入力待ちが生じたことを検出した場合に、前記一時記憶手段の記憶可能量を増加させる記憶可能量決定手段とを備えた
請求項1から請求項のうちのいずれか1項に記載のデータバックアップシステム。
Other computers connected to the backup device
Temporary storage means for temporarily storing data to be output to the circulation format storage means;
An output for detecting whether or not a data output wait based on a restriction condition has occurred when outputting the data of the temporary storage means to the circulation format storage means and whether or not a data input wait has occurred in the computer that requested the data restoration. Wait / input wait detection means;
When the data stored in the temporary storage unit is output to the circulation format storage unit, the storable amount of the temporary storage unit is reduced when the output wait / input wait detection unit detects that data output wait has occurred. The storable amount determining means for increasing the storable amount of the temporary storage means when the output wait / input wait detection means detects that a data input wait has occurred. 4. The data backup system according to any one of 3 .
バックアップ装置に接続された他のコンピュータにおける出力待ち/入力待ち検出手段は、循環形式記憶手段から一時記憶手段にデータを入力するときに制約条件にもとづく、データのバックアップおよびリストアを要求可能なコンピュータのデータ出力待ちが生じたか否かと、前記循環形式記憶手段からデータを読み出しているときに読み出し可能なデータが存在しない状態であるデータ入力待ちが生じたか否かとを検出し、
バックアップ装置に接続された他のコンピュータにおける記憶可能量決定手段は、前記循環形式記憶手段から前記一時記憶手段にデータを入力したときに、前記出力待ち/入力待ち検出手段がデータ入力待ちが生じたことを検出した場合に、前記一時記憶手段の記憶可能量を減少させ、前記出力待ち/入力待ち検出手段がデータ出力待ちが生じたことを検出した場合に、前記一時記憶手段の記憶可能量を増加させる
請求項記載のデータバックアップシステム。
The output waiting / input waiting detecting means in another computer connected to the backup device is a computer that can request backup and restoration of data based on the constraint condition when inputting data from the cyclic storage means to the temporary storage means. Detecting whether a data output wait has occurred and whether a data input wait has occurred in a state in which no readable data exists when reading data from the circular storage means;
The storable amount determining means in the other computer connected to the backup device, when the data is input from the cyclic storage means to the temporary storage means, the output wait / input wait detection means is waiting for data input. Is detected, the storable amount of the temporary storage unit is decreased, and the storable amount of the temporary storage unit is decreased when the output wait / input wait detection unit detects that data output wait has occurred. The data backup system according to claim 4 , wherein the data backup system is increased.
データのバックアップおよびリストアを要求可能なコンピュータを複数含む
請求項1から請求項のうちのいずれか1項に記載のデータバックアップシステム。
The data backup system according to any one of claims 1 to 5 , comprising a plurality of computers capable of requesting data backup and restoration.
一時記憶手段を有しデータのバックアップおよびリストアを要求可能なコンピュータにおけるデータを、未読み出しデータが記憶されている領域には新たなデータを書き込まないことを制約条件としてデータを一時記憶する循環形式記憶手段を介して、他のコンピュータに接続されたバックアップ装置にバックアップさせるシステムに適用されるデータバックアップ方法であって、
前記データのバックアップおよびリストアを要求可能なコンピュータが、
前記一時記憶手段のデータを前記循環形式記憶手段に出力するときに前記制約条件にもとづくデータ出力待ちが生じたか否かと、前記他のコンピュータが前記循環形式記憶手段からデータを読み出しているときに前記循環形式記憶手段に読み出し可能なデータが存在せずデータ入力を待ち合わせている状態であるデータ入力待ちが生じたか否かとを検出する検出処理を行い、
前記一時記憶手段のデータを前記循環形式記憶手段に出力したときに、データ出力待ちが生じたことを前記検出処理で検出した場合に、前記一時記憶手段の記憶可能量を減少させ、データ入力待ちが生じたことを前記検出処理で検出した場合に、前記一時記憶手段の記憶可能量を増加させ
前記循環形式記憶手段から前記一時記憶手段にデータを入力するときに制約条件にもとづく他のコンピュータのデータ出力待ちが生じたか否かと、前記循環形式記憶手段からデータを読み出しているときにデータ入力待ちが生じたか否かとを検出する処理を行い、
前記循環形式記憶手段から前記一時記憶手段にデータを入力したときに、データ入力待ちが生じたことを前記検出処理で検出した場合に、前記一時記憶手段の記憶可能量を減少させ、データ出力待ちが生じたことを前記検出処理で検出した場合に、前記一時記憶手段の記憶可能量を増加させる
ことを特徴とするデータバックアップ制御方法。
Circular format storage that temporarily stores data on a computer that has temporary storage means and can request backup and restore of data, with the restriction that new data is not written in the area where unread data is stored A data backup method applied to a system for backing up to a backup device connected to another computer via means,
A computer capable of requesting backup and restore of the data,
Whether or not data output waiting based on the constraint condition occurred when outputting the data in the temporary storage means to the circulation format storage means, and when the other computer is reading data from the circulation format storage means A detection process is performed to detect whether or not there is a data input wait in a state where there is no readable data in the circulation format storage means and data input is waiting,
When the data stored in the temporary storage means is output to the circulation format storage means, and the detection process detects that a data output wait has occurred, the storable amount of the temporary storage means is decreased, and data input wait When the detection process detects that the error occurred, increase the storable amount of the temporary storage means ,
Waiting for data input when data is being read from the cyclic storage means whether or not another computer has been waiting for data output based on the constraints when inputting data from the cyclic storage means to the temporary storage means Process to detect whether or not
When data is input from the cyclic format storage unit to the temporary storage unit and the detection process detects that a data input wait has occurred, the storable amount of the temporary storage unit is decreased and data output is waited for. A data backup control method characterized by increasing the storable amount of the temporary storage means when it is detected by the detection processing that the occurrence of the error has occurred .
JP2008056404A 2008-03-06 2008-03-06 Data back system and data backup control method Expired - Fee Related JP4894789B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008056404A JP4894789B2 (en) 2008-03-06 2008-03-06 Data back system and data backup control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008056404A JP4894789B2 (en) 2008-03-06 2008-03-06 Data back system and data backup control method

Publications (2)

Publication Number Publication Date
JP2009211635A JP2009211635A (en) 2009-09-17
JP4894789B2 true JP4894789B2 (en) 2012-03-14

Family

ID=41184684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008056404A Expired - Fee Related JP4894789B2 (en) 2008-03-06 2008-03-06 Data back system and data backup control method

Country Status (1)

Country Link
JP (1) JP4894789B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0261721A (en) * 1988-08-29 1990-03-01 Oki Electric Ind Co Ltd Buffer memory controller
JPH02242350A (en) * 1989-03-15 1990-09-26 Fujitsu Ltd Circulating file processing system for data processing system
JP3906231B2 (en) * 1995-09-18 2007-04-18 株式会社東芝 Packet transfer device
JP2000137636A (en) * 1998-10-30 2000-05-16 Hitachi Ltd Backup device
JP3951084B2 (en) * 1999-03-10 2007-08-01 セイコーエプソン株式会社 Storage control device and printer having the storage control device

Also Published As

Publication number Publication date
JP2009211635A (en) 2009-09-17

Similar Documents

Publication Publication Date Title
JP3250156B2 (en) Method and apparatus for data transfer and data storage in a highly parallel computer network environment
CN109656895B (en) Distributed storage system, data writing method, device and storage medium
WO2020107829A1 (en) Fault processing method, apparatus, distributed storage system, and storage medium
CN106537364A (en) Storage transactions
CN109947712A (en) Automatically merge method, system, equipment and the medium of file in Computational frame
WO2024259890A1 (en) Data backup method, electronic device, and computer-readable storage medium
CN110737716A (en) A method and device for writing data
WO2026012485A1 (en) Data storage method and apparatus, product, and non-volatile readable storage medium
US20110295803A1 (en) Database system, method, and recording medium of program
JP5154843B2 (en) Cluster system, computer, and failure recovery method
JP4376787B2 (en) Event notification method, device, and processor system
JP4894789B2 (en) Data back system and data backup control method
JP2003058324A (en) Disk array device
JP2012185605A (en) Virtual machine system, virtual disk management method and virtual disk management program
CN105760114A (en) Method, device and system for managing resources of parallel file system
JP2016057658A (en) Fault information management system and fault information management method
WO2023030013A1 (en) Data processing method and apparatus
CN107193692B (en) A Fault Tolerant Approach for Checkpoint-Based Computers
US20240095076A1 (en) Accelerating data processing by offloading thread computation
CN119356939B (en) A secure storage method, system, electronic device, and storage medium
JP7007017B2 (en) Storage systems, control methods, and programs
JP2019159416A (en) Data management device, file system, data management method, and program
US12346196B2 (en) Extended protection storage system PUT operation
JP5352310B2 (en) Batch processing execution system and method
JP2010026626A (en) Method, system and program for recording data

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110615

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110628

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110815

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111129

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111212

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150106

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees