JP5213488B2 - Backup system and generation data management method - Google Patents

Backup system and generation data management method Download PDF

Info

Publication number
JP5213488B2
JP5213488B2 JP2008066050A JP2008066050A JP5213488B2 JP 5213488 B2 JP5213488 B2 JP 5213488B2 JP 2008066050 A JP2008066050 A JP 2008066050A JP 2008066050 A JP2008066050 A JP 2008066050A JP 5213488 B2 JP5213488 B2 JP 5213488B2
Authority
JP
Japan
Prior art keywords
recording medium
recording
data
medium group
switching
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
JP2008066050A
Other languages
Japanese (ja)
Other versions
JP2009223508A (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.)
Hitachi Information and Telecommunication Engineering Ltd
Original Assignee
Hitachi Computer Peripherals Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Computer Peripherals Co Ltd filed Critical Hitachi Computer Peripherals Co Ltd
Priority to JP2008066050A priority Critical patent/JP5213488B2/en
Publication of JP2009223508A publication Critical patent/JP2009223508A/en
Application granted granted Critical
Publication of JP5213488B2 publication Critical patent/JP5213488B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、コンピュータシステムのデータを世代毎に記録媒体にバックアップを行うバックアップシステム及び該バックアップシステムにおける時刻経過を伴う記録単位である世代を管理する世代データ管理方法に係り、特にバックアップデータの消失を低減することができるバックアップシステム及び世代データ管理方法に関する。   The present invention relates to a backup system that backs up data of a computer system to a recording medium for each generation, and a generation data management method for managing a generation that is a recording unit with the passage of time in the backup system. The present invention relates to a backup system and a generation data management method that can be reduced.

近年のコンピュータシステムは、大量のデータが災害発生時等に消失するのを防止するため、コンピュータシステムから遠隔地のバックアップシステムにデータバックアップを行うバックアップシステムが構築されており、この記録媒体としてはビット単価が安価であり且つ可搬性のある磁気テープカートリッジ(以下、磁気テープと呼ぶ)が採用されている。   In recent computer systems, a backup system for backing up data from a computer system to a remote backup system has been constructed in order to prevent a large amount of data from being lost in the event of a disaster or the like. A magnetic tape cartridge (hereinafter referred to as a magnetic tape) having a low unit price and being portable is employed.

この磁気テープを使用したバックアップシステムは、例えば金融機関等における預貯金のバックアップジョブ及び貸付のバックアップジョブを、月内の週毎(所定時間経過毎)の世代別データをバックアップすることにより、災害発生時においても、バックアップを行った世代までのデータ復旧が可能な様に構成されている。   This backup system using magnetic tape can back up generation data for each week of the month (every predetermined time), for example, savings and backup backup jobs for financial institutions, etc. Is configured so that data can be recovered up to the generation that performed the backup.

尚、前述した磁気テープバックアップシステムにおける世代管理技術が記載された文献としては、下記特許文献が挙げられ、この特許文献には、人為的なミスを防止して世代別に確実にバックアップを行うため、磁気テープのヘッダ部にバックアップジョブIDやバックアップ日時等をバックアップ情報として記録しておき、予め定められたスケジュールに従ってバックアップを行う際、前記バックアップ情報を監視しながらバックアップを行う技術が記載されている。
特開2000−322298号公報
In addition, as a document describing generation management technology in the magnetic tape backup system described above, the following patent document can be cited, and in this patent document, in order to prevent human error and reliably perform backup for each generation, A technique is described in which a backup job ID, a backup date and time, etc. are recorded as backup information in the header of a magnetic tape, and backup is performed while monitoring the backup information when performing backup according to a predetermined schedule.
JP 2000-322298 A

前述の特許文献記載技術は、磁気テープを記録媒体とした世代管理を行うことができるもの、磁気テープに障害が発生した場合、世代別にバックアップ管理を行っているにも係わらず、同一ジョブのバックアップデータを全て消失してしまう可能性があると言う不具合があった。   The technology described in the above-mentioned patent document can perform generation management using a magnetic tape as a recording medium. When a failure occurs in a magnetic tape, the backup of the same job is performed even though backup management is performed for each generation. There was a problem that all data could be lost.

この従来技術による不具合を具体的に説明すると、例えば図11に示す如く、磁気テープである物理メディア(記録媒体)1にシステムAの週単位の世代別バックアップデータa1〜a4を記録し、磁気テープである物理メディア2にシステムBの週単位の世代別バックアップデータa1〜a4を記録し、例えば物理メディア1に障害が発生した場合、同一の記録媒体に複数世代のデータバックアップを行っているため、Aシステムの複数世代のバックアップデータを消失してしまう可能性があると言う不具合があった。従来は本課題を回避するために、使用者が複数世代のデータを同一物理メディアに記録しないように運用設計する必要があり、管理が煩雑になると言う不具合もあった。また従来システムにおいては、仮想テープライブラリのように、仮想テープをどの物理メディアに配置するかを使用者が制御することができず、前述の複数世代のデータを同一物理メディアに記録しないように運用設計することが困難であった。   Specifically describing the problems with this conventional technique, for example, as shown in FIG. 11, weekly generation backup data a1 to a4 of the system A are recorded on a physical medium (recording medium) 1 which is a magnetic tape, and the magnetic tape is recorded. For example, when a failure occurs in the physical medium 1 in the case where a failure occurs in the physical medium 1, data backup of a plurality of generations is performed on the same recording medium. There was a problem that multiple generations of backup data of the A system might be lost. Conventionally, in order to avoid this problem, it has been necessary to design the operation so that the user does not record multiple generations of data on the same physical medium, and there is a problem that management becomes complicated. Also, in the conventional system, unlike the virtual tape library, the user cannot control which physical media the virtual tape is placed on, so that the above-mentioned multiple generations of data are not recorded on the same physical media. It was difficult to design.

本発明の目的は、磁気テープ等の記録媒体に障害が発生した際にも全世代別データの消失を防止することができるバックアップシステム及び世代データ管理方法を提供することである。   An object of the present invention is to provide a backup system and a generation data management method capable of preventing the loss of all generation data even when a failure occurs in a recording medium such as a magnetic tape.

前記目的を達成するために本発明は、グループ番号を付してグループ分けした複数の記録媒体にデータの記録再生を行うデータ記録再生部と、該データ記録再生部によりデータの記録再生を行う記録媒体を選択的に切り替える記録媒体切替部と、該記録媒体切替部に対して同一ジョブの所定時間経過毎の世代別データ記録を要求するデータ記憶要求部と、前記媒体切替部を制御する制御部とを備え、受信したジョブ別及び世代別データを所定の時間的間隔をもってバックアップするバックアップシステムであって、
前記制御部が、
前記ジョブを識別するジョブ識別子と、該ジョブ識別子に設定した記録媒体グループ番号と、記録媒体を世代別に切り替える日時を指定する記録媒体切替日時情報とを格納した記録媒体グループ切替管理テーブル格納部と、
前記媒体グループ番号を、最小記録媒体グループ番号から最大記録媒体グループ番号の間で循環的に変更する番号循環手段とを有し、
前記データ記憶要求部からジョブを指定した世代別データのバックアップ指令を受け付ける受付工程と、
該受付工程により受け付けたバックアップ指令のジョブに対応したジョブ識別子に記録媒体グループ番号が設定されているか否かを、前記媒体グループ切替管理テーブル格納部に格納したジョブ識別子の有無により判定する識別子判定工程と、
該識別子判定工程において記録媒体グループ番号が設定されていると判定したとき、前記媒体グループ切替管理テーブル格納部の記録媒体切替日時情報により指定された切り替え日時に達しているか否かを判定する切替日時判定工程と、
該切替日時判定工程により切り替え日時に達していると判定したとき、前記番号循環手段により記録媒体グループ番号を最小記録媒体グループ番号から最大記録媒体グループ番号の間で番号を1つ変更するグループ切替工程と、
前記グループ切替工程により変更した記録媒体グループ番号の記録媒体に世代別データをデータ記録再生部を用いて記録する記録工程とを実行することを第1の特徴とする。
To achieve the above object, the present invention provides a data recording / reproducing unit for recording / reproducing data on / from a plurality of recording media grouped by group numbers, and a recording / reproducing unit for recording / reproducing data by the data recording / reproducing unit. A recording medium switching unit that selectively switches media; a data storage request unit that requests the recording medium switching unit to record generation data for each predetermined time of the same job; and a control unit that controls the medium switching unit A backup system that backs up received job and generation data at a predetermined time interval,
The control unit is
A recording medium group switching management table storage unit storing a job identifier for identifying the job, a recording medium group number set in the job identifier, and recording medium switching date and time information for specifying a date and time for switching the recording medium by generation;
Number circulation means for cyclically changing the medium group number between a minimum recording medium group number and a maximum recording medium group number;
A receiving step of receiving a generation data backup command specifying a job from the data storage request unit;
An identifier determination step for determining whether or not a recording medium group number is set in a job identifier corresponding to a backup command job received by the reception step, based on the presence or absence of a job identifier stored in the medium group switching management table storage unit When,
When it is determined in the identifier determination step that a recording medium group number is set, a switching date and time for determining whether or not the switching date and time specified by the recording medium switching date and time information in the medium group switching management table storage unit has been reached A determination process;
A group switching step of changing the recording medium group number by one from the minimum recording medium group number to the maximum recording medium group number by the number circulation means when it is determined in the switching date determination step that the switching date has been reached When,
It is a first feature that a recording step of recording generation-specific data on a recording medium with a recording medium group number changed by the group switching step using a data recording / reproducing unit is performed .

また、本発明は、前記第1の特徴のバックアップシステムにおいて、
前記媒体グループ番号と、該記録媒体グループ番号に定義された記録媒体番号と、前記媒体グループ番号に定義された記録媒体のアイドル状態又はアクティブ状態か何れかの状態情報とを格納し、前記媒体グループ番号の記録媒体に対応してアクティブ状態又はアイドル状態を選択的に設定する記録媒体グループ管理テーブル格納部を備え、
前記制御部が、
前記識別子判定工程において記録媒体グループ番号が設定されていると判定したとき、該設定されている記録媒体グループ番号の記録媒体の状態を、前記媒体グループ管理
テーブル格納部に格納した状態情報を参照して判定する状態判定工程と、
該状態判定工程においてアイドル状態と判定した記録媒体グループ番号の記録媒体をアクティブ状態に変更し、該変更した状態情報を記録媒体グループ管理テーブル格納部に格
納する状態変更工程とを実行することを第2の特徴とする。
Further, the present invention provides the backup system according to the first feature,
Storing the medium group number, a recording medium number defined in the recording medium group number, and status information of either an idle state or an active state of the recording medium defined in the medium group number; A recording medium group management table storage unit that selectively sets an active state or an idle state corresponding to a recording medium of a number;
The control unit is
When it is determined in the identifier determining step that the recording medium group number is set, the status of the recording medium with the set recording medium group number is referred to the status information stored in the medium group management table storage unit. A state determination step for determining
Changing the recording medium of the recording medium group number determined to be in the idle state in the state determination step to the active state, and executing the state changing step of storing the changed state information in the recording medium group management table storage unit. Two features.

また、本発明は、前記何れかの特徴のバックアップシステムにおいて、前記制御部が、前記識別子判定工程において記録媒体グループ番号が設定されていないと判定したとき、前記受付工程により受け付けたバックアップ指令の新規ジョブ識別子を、記録媒体グループ切替管理テーブル格納部の記録媒体グループに登録する登録工程を実行することを第3の特徴とする。 Further, according to the present invention, in the backup system of any one of the above characteristics, when the control unit determines that a recording medium group number is not set in the identifier determination step, the backup command received by the reception step is new A third feature is that a registration step of registering the job identifier in the recording medium group in the recording medium group switching management table storage unit is executed.

また、本発明は、前記第3の特徴のバックアップシステムにおいて、前記制御部が、前記登録工程を行うとき、各記録媒体グループに割り当てたジョブの数を記録媒体グループ切替管理テーブル格納部の記録媒体グループ毎に計数し、該計数した数が最も少ない記録媒体グループに新規ジョブ識別子を追加登録することを第4の特徴とする。 According to the present invention, in the backup system of the third feature, when the control unit performs the registration process, the number of jobs assigned to each recording medium group is recorded in the recording medium group switching management table storage unit. A fourth feature is that a new job identifier is additionally registered in the recording medium group that counts for each group and has the smallest number.

また、本発明は、前記何れかの特徴のバックアップシステムにおいて、制御部が、前記工程において、世代別データをデータ記録再生部を用いて記録するとき、この記録する世代別データの容量が記録媒体の残記録容量を超えるか否かを判定し、超えると判定したとき、同一記録媒体グループの複数の記録媒体に世代別データを分割して記録する複数記録工程を実行することを第5の特徴とする。 According to the present invention, in the backup system of any one of the above characteristics, when the control unit records generation data by using the data recording / reproducing unit in the step, the capacity of the generation data to be recorded is a recording medium. It is determined whether or not the remaining recording capacity is exceeded, and when it is determined that the recording capacity is exceeded, a plurality of recording steps of dividing and recording generation data on a plurality of recording media in the same recording medium group are executed. And

また、本発明は、前記何れかの特徴のバックアップシステムにおいて、前記制御部が、前記工程において、受信したジョブ数が、前記媒体グループ切替管理テーブル格納部に格納した記録媒体グループの数を超えるか否かを判定し、超えると判定したとき、該記録媒体グループ数を超える数のジョブを待機させる待機工程を実行することを第6の特徴とする。 Further, according to the present invention, in the backup system according to any one of the above characteristics, whether the number of jobs received by the control unit in the step exceeds the number of recording medium groups stored in the medium group switching management table storage unit. A sixth feature is to execute a standby step of waiting for the number of jobs exceeding the number of recording medium groups when it is determined whether or not the number is exceeded.

更に本発明は、グループ番号を付してグループ分けした複数の記録媒体にデータの記録再生を行うデータ記録再生部と、該データ記録再生部によりデータの記録再生を行う記録媒体を選択的に切り替える記録媒体切替部と、該記録媒体切替部に対して同一ジョブの所定時間経過毎の世代別データ記録を要求するデータ記憶要求部と、前記媒体切替部を制御する制御部とを備え、受信したジョブ別及び世代別データを所定の時間的間隔をもってバックアップするコンピュータシステムの世代データ管理方法であって、
前記制御部に、
前記ジョブを識別するジョブ識別子と、該ジョブ識別子に設定した記録媒体グループ番号と、記録媒体を世代別に切り替える日時を指定する記録媒体切替日時情報とを格納した記録媒体グループ切替管理テーブル格納部と、
前記媒体グループ番号を、最小記録媒体グループ番号から最大記録媒体グループ番号の間で循環的に変更する番号循環手段とを設け、
前記データ記憶要求部からジョブを指定した世代別データのバックアップ指令を受け付ける受付工程と、
該受付工程により受け付けたバックアップ指令のジョブに対応したジョブ識別子に記録媒体グループ番号が設定されているか否かを、前記媒体グループ切替管理テーブル格納部に格納したジョブ識別子の有無により判定する識別子判定工程と、
該識別子判定工程において記録媒体グループ番号が設定されていると判定したとき、前記媒体グループ切替管理テーブル格納部の記録媒体切替日時情報により指定された切り替え日時に達しているか否かを判定する切替日時判定工程と、
該切替日時判定工程により切り替え日時に達していると判定したとき、前記番号循環手段により記録媒体グループ番号を最小記録媒体グループ番号から最大記録媒体グループ番号の間で番号を1つ変更するグループ切替工程と、
前記グループ切替工程により変更した記録媒体グループ番号の記録媒体に世代別データをデータ記録再生部を用いて記録する記録工程とを実行させることを第7の特徴とする。
Furthermore , the present invention selectively selects a data recording / reproducing unit for recording / reproducing data on / from a plurality of recording media grouped by group numbers, and a recording medium for recording / reproducing data by the data recording / reproducing unit. A recording medium switching unit for switching, a data storage requesting unit for requesting the recording medium switching unit to record generation data for each predetermined time of the same job, and a control unit for controlling the medium switching unit. A generation data management method for a computer system for backing up job-specific and generation-specific data at a predetermined time interval,
In the control unit,
A recording medium group switching management table storage unit storing a job identifier for identifying the job, a recording medium group number set in the job identifier, and recording medium switching date and time information for specifying a date and time for switching the recording medium by generation;
A number circulation means for cyclically changing the medium group number between a minimum recording medium group number and a maximum recording medium group number;
A receiving step of receiving a generation data backup command specifying a job from the data storage request unit;
An identifier determination step for determining whether or not a recording medium group number is set in a job identifier corresponding to a backup command job received by the reception step, based on the presence or absence of a job identifier stored in the medium group switching management table storage unit When,
When it is determined in the identifier determination step that a recording medium group number is set, a switching date and time for determining whether or not the switching date and time specified by the recording medium switching date and time information in the medium group switching management table storage unit has been reached A determination process;
A group switching step of changing the recording medium group number by one from the minimum recording medium group number to the maximum recording medium group number by the number circulation means when it is determined in the switching date determination step that the switching date has been reached When,
According to a seventh aspect of the present invention, a recording step of recording generation-specific data using a data recording / reproducing unit on the recording medium of the recording medium group number changed by the group switching step is performed.

また、本発明は、前記第7の特徴の世代データ管理方法において、前記媒体グループ番号と、該記録媒体グループ番号に定義された記録媒体番号と、前記媒体グループ番号に定義された記録媒体のアイドル状態又はアクティブ状態か何れかの状態情報とを格納し、前記媒体グループ番号の記録媒体に対応してアクティブ状態又はアイドル状態を選択的に設定する記録媒体グループ管理テーブル格納部を設け、
前記制御部に、
前記識別子判定工程において記録媒体グループ番号が設定されていると判定したとき、該設定されている記録媒体グループ番号の記録媒体の状態を、前記媒体グループ管理テーブル格納部に格納した状態情報を参照して判定する状態判定工程と、
該状態判定工程においてアイドル状態と判定した記録媒体グループ番号の記録媒体をアクティブ状態に変更し、該変更した状態情報を記録媒体グループ管理テーブル格納部に格納する状態変更工程とを実行させることを第8の特徴とする。
According to the present invention, in the generation data management method of the seventh feature, the medium group number, the recording medium number defined in the recording medium group number, and the idle of the recording medium defined in the medium group number A recording medium group management table storage unit that stores state information of either a state or an active state, and selectively sets an active state or an idle state corresponding to the recording medium of the medium group number,
In the control unit ,
When it is determined in the identifier determining step that the recording medium group number is set, the status of the recording medium with the set recording medium group number is referred to the status information stored in the medium group management table storage unit. A state determination step for determining
The recording medium group number determined to be in the idle state in the state determination step is changed to the active state, and the state change step of storing the changed state information in the recording medium group management table storage unit is executed. Eight features.

また、本発明は、前記何れかの特徴の世代データ管理方法において、前記制御部が、前記識別子判定工程において記録媒体グループ番号が設定されていないと判定したとき、前記受付工程により受け付けたバックアップ指令の新規ジョブ識別子を、記録媒体グループ切替管理テーブル格納部の記録媒体グループに追加登録する登録工程を実行させることを第9の特徴とする。 In the generation data management method of any of the above characteristics, the present invention provides a backup command received by the receiving step when the control unit determines that a recording medium group number is not set in the identifier determining step. A ninth feature is that a registration step of additionally registering the new job identifier in the recording medium group of the recording medium group switching management table storage unit is executed.

また、本発明は、前記何れかの特徴の世代データ管理方法において、前記制御部が、前記登録工程を行うとき、各記録媒体グループに登録した記録媒体の数を記録媒体グループ管理テーブル格納部の記録媒体番号の数を基に算出し、算出した数が最も少ない記録媒体グループに新規ジョブ識別子を追加登録させることを第10の特徴とする。 According to the present invention, in the generation data management method according to any one of the above characteristics, when the control unit performs the registration step, the number of recording media registered in each recording medium group is stored in the recording medium group management table storage unit. A tenth feature is that a new job identifier is additionally registered in a recording medium group that is calculated based on the number of recording medium numbers and has the smallest number.

また、本発明は、前記何れかの特徴の世代データ管理方法において、前記制御部が、前記工程において、世代別データをデータ記録再生部を用いて記録するとき、この記録する世代別データの容量が記録媒体の残記録容量を超えるか否かを判定し、超えると判定したとき、同一記録媒体グループの複数の記録媒体に世代別データを分割して記録する複数記録工程を実行させることを第11の特徴とする。 According to the present invention, in the generation data management method of any one of the above characteristics, when the control unit records generation data by using the data recording / reproducing unit in the step, the capacity of generation data to be recorded is recorded. Determining whether or not the recording capacity exceeds the remaining recording capacity of the recording medium, and determining that the recording capacity is exceeded, executing a plurality of recording steps for dividing and recording generation data on a plurality of recording media in the same recording medium group. Eleven features.

また、本発明は、前記何れかの特徴の世代データ管理方法において、前記制御部が、前記工程において、受信したジョブ数が、前記媒体グループ切替管理テーブル格納部に格納した記録媒体グループの数を超えるか否かを判定し、超えると判定したとき、該記録媒体グループ数を超える数のジョブを待機させる待機工程を実行させることを第12の特徴とする。


Further, the present invention provides the generation data management method according to any one of the above features, wherein the number of jobs received by the control unit in the step is the number of recording medium groups stored in the medium group switching management table storage unit. A twelfth feature is that a standby process is performed to wait for the number of jobs exceeding the number of recording medium groups when it is determined whether or not the number exceeds the number of recording medium groups.


本発明によるバックアップシステム及び世代データ管理方法は、ジョブ識別子毎に設定した記録媒体グループ番号及び記録媒体を世代別に切り替える日時を指定する記録媒体切替日時情報とを格納した記録媒体グループ切替管理テーブル格納部と、記録媒体グループ番号を最小から最大番号の間で循環的に変更する番号循環手段とを設け、制御部が、前記記録媒体グループ切替管理テーブル格納部に格納した記録媒体グループ番号を番号循環手段を用いて循環的に変更することによって、バックアップ取得周期ごとに物理メディアを切り替えて世代別データのバックアップを行うことができる。従って磁気テープ等の記録媒体に障害が発生した際にも世代別データの消失を防止することができる。   A backup system and a generation data management method according to the present invention include a recording medium group switching management table storage unit that stores a recording medium group number set for each job identifier and recording medium switching date and time information for specifying a date and time for switching the recording medium for each generation. And a number circulation means for cyclically changing the recording medium group number from the smallest to the largest number, and the control section uses the number circulation means to store the recording medium group number stored in the recording medium group switching management table storage section. By cyclically changing the data using, it is possible to switch the physical media at each backup acquisition cycle and back up generational data. Therefore, it is possible to prevent generation data from being lost even when a failure occurs in a recording medium such as a magnetic tape.

以下、本発明による世代データ管理方法を適用したバックアップシステムの一実施形態を図面を参照して詳細に説明する。図1は本発明が適用されるバックアップシステムの基本構成の概念図、図2は本実施形態の第1原理による世代データ管理方法を説明するための図、図3は本実施形態の第2原理による世代データ管理方法を説明するための図、図4は本実施形態の第3原理による世代データ管理方法を説明するための図、図5は本実施形態による物理メディアグループの切り替え処理フローを示す図、図6は本実施形態による物理メディア割当処理フローを示す図、図7は、本実施形態による物理メディア割当処理フローを示す図、図8は本実施形態によるバックアップジョブ開始処理フロー図、図9はバックアップジョブ終了処理フロー図、図10は本実施形態による物理メディアグループ切替管理テーブルを示す図、図11は本実施形態による物理メディアグループ管理テーブルを示す図である。   Hereinafter, an embodiment of a backup system to which a generation data management method according to the present invention is applied will be described in detail with reference to the drawings. 1 is a conceptual diagram of a basic configuration of a backup system to which the present invention is applied, FIG. 2 is a diagram for explaining a generation data management method according to the first principle of the present embodiment, and FIG. 3 is a second principle of the present embodiment. FIG. 4 is a diagram for explaining a generation data management method according to the third principle of this embodiment, and FIG. 5 is a flow chart of physical media group switching processing according to this embodiment. FIG. 6, FIG. 6 is a diagram showing a physical media allocation processing flow according to this embodiment, FIG. 7 is a diagram showing a physical media allocation processing flow according to this embodiment, and FIG. 8 is a backup job start processing flowchart according to this embodiment. 9 is a backup job end processing flowchart, FIG. 10 is a diagram showing a physical media group switching management table according to the present embodiment, and FIG. 11 is a physical media group according to the present embodiment. Is a diagram showing an A group management table.

[構成]
本実施形態によるバックアップシステムは、ホストコンピュータの磁気ディスク装置に記憶したデータを外部記憶装置である磁気テープ記憶装置にバックアップするものであって、基本的構成としては、図1に示す如く、ホストコンピュータとのデータ送受信と予め設定された手順に従ってバックアップ制御を行うデータ記録要求部100と、該データ記録要求部100からの指示によりホストコンピュータのデータを記録する物理メディア(記録媒体)を選択してデータ記録を行う物理メディア切替部400と、前記データ記録要求部100からの指示に従ってホストコンピュータのデータを物理メディア切替部400により切り替えられた物理メディアにバックアップ制御を行う制御部500とを備える。
[Constitution]
The backup system according to the present embodiment backs up data stored in a magnetic disk device of a host computer to a magnetic tape storage device which is an external storage device. As shown in FIG. Data recording request unit 100 that performs backup control according to data transmission / reception and a preset procedure, and a physical medium (recording medium) for recording data of the host computer in accordance with an instruction from the data recording request unit 100 to select data A physical media switching unit 400 that performs recording, and a control unit 500 that performs backup control of the data of the host computer to the physical media switched by the physical media switching unit 400 in accordance with an instruction from the data recording requesting unit 100.

尚、本実施形態による物理メディアとは、例えば巻成した磁気テープを収納する磁気テープカートリッジであるが、これに限られるものではなく、ハードディスクドライブ、テープメディア、RAID構成のパリティグループのハードディスクドライブであっても良く、前記物理メディア切替部400は、記録媒体を磁気テープとした場合、データ記録要求部100から指定された物理メディアを格納庫から搬送する搬送機構や、磁気テープに対してデータの記録再生を行うデータ記録再生部も含むものとする。   The physical medium according to the present embodiment is, for example, a magnetic tape cartridge that stores a wound magnetic tape, but is not limited to this, and is a hard disk drive, a tape medium, or a hard disk drive in a RAID group with a parity group. When the recording medium is a magnetic tape, the physical media switching unit 400 may be a transport mechanism that transports the physical medium designated by the data recording request unit 100 from the storage, or data recording to the magnetic tape. A data recording / reproducing unit that performs reproduction is also included.

本実施形態による制御部500は、図9及び図10に示す管理テーブル(格納部)及び図示しないジョブ待ちリスト情報を格納するジョブ待ちリスト情報テーブル(格納部)を備え、本バックアップシステムが2つのジョブシステムA及びB(例えば、金融機関における預貯金ジョブ及び貸付ジョブ)のデータを毎週毎に世代別バックアップを行い、記録媒体として2つの物理メディアグループ1及び2を使用するものとしたとき、図9に示した管理テーブル(格納部)が、前記ジョブの種別を示すジョブ識別子と、このジョブ識別子毎に予め定められた物理メディアのバックアップ物理メディアグループを指定するグループ番号と、前記ジョブ識別子毎に予め定められた物理メディアの切り替え日時の各欄に格納された各情報から成り、図10に示した管理テーブル(格納部)が、前記物理メディアグループと、該物理メディアグループに対応した使用状況(Idle/Active/無効)と、前記物理メディアグループに対応して割り当てられた物理メディアの番号を示す所属物理メディア番号の各欄に格納された各情報とから構成される。尚、前述した各テーブル(格納部)はメモリ等の記憶部上に形成される。   The control unit 500 according to the present embodiment includes a management table (storage unit) illustrated in FIGS. 9 and 10 and a job wait list information table (storage unit) that stores job wait list information (not illustrated). When data of job systems A and B (for example, savings and lending jobs at financial institutions) is backed up by generation every week and two physical media groups 1 and 2 are used as recording media, FIG. The management table (storage unit) shown in FIG. 2 stores a job identifier indicating the type of the job, a group number designating a backup physical media group of a physical medium predetermined for each job identifier, and a predetermined number for each job identifier. Consists of each piece of information stored in each column of the specified physical media switching date and time. The management table (storage unit) shown in 0 indicates that the physical media group, the usage status (Idle / Active / invalid) corresponding to the physical media group, and the physical media allocated to the physical media group Each piece of information is stored in each column of the belonging physical media number indicating the number. Each table (storage unit) described above is formed on a storage unit such as a memory.

前記物理メディアのグループ番号とは、同一の物理メディアに記録する特定のシステム(ジョブ)及び世代対応の複数のデータをグループ化したものであり、例えば、物理メディア1に、Aシステムの第1週世代データとBシステムの第2週世代データと、Aシステムの第3週世代データとBシステムの第4週世代データとを記録するとき、これら世代データを物理メディアグループ1としてグループ化したものである。   The group number of the physical media is a grouping of a plurality of data corresponding to a specific system (job) and generation to be recorded on the same physical media. For example, the physical media 1 includes the first week of the A system. When the generation data, the second week generation data of the B system, the third week generation data of the A system, and the fourth week generation data of the B system are recorded, these generation data are grouped as a physical media group 1. is there.

従って図9に示した物理メディアグループ切り替え管理テーブルは、ジョブ識別子が「Aシステム」のジョブに対してバックアップ対象の物理メディアグループが「1」であることを設定しており、図10に示した物理メディアグループ管理テーブルは、例えば前記物理メディアグループ「1」の使用状況がアイドル状態であり、当該物理メディアグループ「1」に割り当てられた物理メディア(所属物理メディア)番号が「1」「6」「7」であることを予め設定している。   Therefore, the physical media group switching management table shown in FIG. 9 sets that the physical media group to be backed up is “1” for the job with the job identifier “A system”, as shown in FIG. In the physical media group management table, for example, the usage status of the physical media group “1” is in an idle state, and the physical media (affiliated physical media) numbers assigned to the physical media group “1” are “1” “6”. “7” is set in advance.

[基本原理]
本願の発明者らは、通常のバックアップデータは週毎等の定期的にバックアップが行われることに着目し、バックアップ周期ごとに物理メディアを切り替えて異なる物理メディアにバックアップデータを記録することによって、物理メディアの障害により全てのバックアップデータが同時に失われるのを回避し且つバックアップ作業を自動化する本願発明を成した。
[Basic principle]
The inventors of the present application pay attention to the fact that normal backup data is backed up regularly, such as weekly, and by switching the physical media for each backup cycle and recording the backup data on different physical media, The present invention has been made to avoid the simultaneous loss of all backup data due to a media failure and to automate the backup operation.

また発明者らは、物理メディアの格納効率が要求される場合に対応するため、物理メディアを共用して複数ジョブデータを配置(テープの場合は追記)することにより、物理メディアへの効率的な格納も実現する。   In addition, in order to cope with the case where storage efficiency of the physical media is required, the inventors can efficiently share the physical media by allocating multiple job data by sharing the physical media (addition in case of tape). Storage is also realized.

更に性能が要求される場合に対応するために、物理メディアの切り替えをジョブ単位に管理し、予め定義された並列処理数分の物理メディアを使用して複数ジョブの並列処理を実現する。   Further, in order to cope with a case where performance is required, switching of physical media is managed in units of jobs, and parallel processing of a plurality of jobs is realized using physical media corresponding to a predetermined number of parallel processing.

次に前記基本原理に基づいた世代データ管理方法の形態例を図2〜図4に示した各例を参照して説明する。
[第1例]
まず、図2に示す例は、記録媒体としては物理メディア1及び2の2個があり、物理メディア1に、Aシステムの第1週データa1及び第3週データa3とを記録する物理メディアグループ1を設定し、物理メディア2に、Aシステムの第2週データa2及び第4週データa4を記録する物理メディアグループ2を設定した例を示し、これら物理メディアと物理メディアグループとの関係が図9及び図10に示した管理テーブルに格納されているものとする。尚、後述する例においても物理メディアと物理メディアグループとの関係が格納されるものとして説明する。
Next, exemplary embodiments of the generation data management method based on the basic principle will be described with reference to the examples shown in FIGS.
[First example]
First, in the example shown in FIG. 2, there are two physical media 1 and 2 as recording media, and a physical media group for recording the first week data a1 and the third week data a3 of the A system on the physical medium 1. 1 shows an example in which the physical media 2 for recording the second week data a2 and the fourth week data a4 of the A system is set on the physical medium 2, and the relationship between these physical media and the physical media group is illustrated. 9 and the management table shown in FIG. In the example described later, the relationship between the physical media and the physical media group is assumed to be stored.

この様に本例による世代データ管理方法は、バックアップ取得周期ごとの物理メディアの切換えによる世代データ自動分離を行うものであって、例えば第1週目のAシステムのバックアップでは、物理メディアグループ1に切り替え、物理メディア1を割り当てた後に、バックアップデータを記録する。次に第2週目のAシステムのバックアップでは、1週間が経過しているため、物理メディアグループ2に切り替え、物理メディア2を割り当てた後に、バックアップデータを記録する。第3週目のAシステムのバックアップでは、物理メディアグループ数が2であるため、物理メディアグループ1に切り替え、物理メディア1の空き容量部分にバックアップデータを記録する。以降の処理を同様に行うことによって、本システムは、物理メディアの障害で全てのバックアップデータが同時に失われるのを避けると共に、その作業を自動化することができる。   In this way, the generation data management method according to this example performs automatic generation data separation by switching physical media at every backup acquisition cycle. For example, in the backup of the A system in the first week, the generation data management method After switching and assigning the physical medium 1, the backup data is recorded. Next, in the backup of the A system in the second week, since one week has passed, after switching to the physical media group 2 and assigning the physical media 2, the backup data is recorded. In the backup of the A system in the third week, since the number of physical media groups is 2, the system is switched to the physical media group 1 and the backup data is recorded in the free capacity portion of the physical media 1. By performing the subsequent processing in the same manner, the present system can avoid losing all backup data at the same time due to a physical media failure and can automate the operation.

[第2例]
図3に示す例は、物理メディア共用によるデータ格納効率向上例を説明するためのものであって、記録媒体としては物理メディア1〜6の6個があり、物理メディア1に、Aシステムの第1週データa1及びBシステムの第2週データb2の一部を記録し、物理メディア4に、前記Bシステムの第2週データb2の残りデータとAシステムの第3週データa3とBシステムの第4週データb4の一部を記録し、物理メディア6に、前記Bシステムデータb4の残りデータとを記録する物理メディアグループ1を設定し、更に物理メディア2に、Bシステムの第1週データb1及びAシステムの第2週データa2の一部を記録し、物理メディア3に、前記Aシステムの第2週データa2の残りデータとBシステムの第3週データb3とAシステムの第4週データa4の一部とを記録し、物理メディア5に、前記Aシステムの第4週データa4の残りデータとを記録する物理メディアグループ2を設定している。
[Second example]
The example shown in FIG. 3 is for explaining an example of improving the data storage efficiency by sharing the physical media. There are six recording media 1 to 6 as the recording media. The first week data a1 and a part of the second week data b2 of the B system are recorded, and the remaining data of the second week data b2 of the B system, the third week data a3 of the A system, and the B system of the B system are recorded on the physical medium 4. A part of the fourth week data b4 is recorded, the physical medium group 1 for recording the remaining data of the B system data b4 is set on the physical medium 6, and the first week data of the B system is further set on the physical medium 2. b1 and a part of the second week data a2 of the A system are recorded, and the remaining data of the second week data a2 of the A system, the third week data b3 of the B system, and the A system are recorded on the physical medium 3. And a portion is recorded in the fourth week data a4 of the physical media 5, and configure a physical media group 2 for recording and the remaining data of the fourth week data a4 of the A system.

本システムは、第1回目のAシステムのバックアップでは、物理メディアグループ1に物理メディア1を割り当てた後に、バックアップデータを記録する。同じく第1週目のBシステムのバックアップでは、物理メディアグループ2に切り替え、物理メディア2を割り当てた後に、バックアップデータを記録する。第2週目のバックアップでは、1週間が経過しているため、Aシステムのバックアップでは、物理メディアグループ2に切り替え、バックアップデータを記録する。データの記録中に物理メディアが満杯になった場合、物理メディアグループに物理メディアを追加で割り当てる。以降同様にして図4に示した如くバックアップデータを記録する。   In the first backup of the system A, this system records the backup data after assigning the physical medium 1 to the physical media group 1. Similarly, in the backup of the B system in the first week, after switching to the physical media group 2 and assigning the physical media 2, the backup data is recorded. Since one week has passed in the backup of the second week, the backup data is recorded by switching to the physical media group 2 in the backup of the A system. If the physical media becomes full during data recording, additional physical media is allocated to the physical media group. Thereafter, backup data is recorded in the same manner as shown in FIG.

即ち、本例においては、物理メディア1,4,6を物理メディアグループ1として設定すると共に、物理メディア2,3,5を物理メディアグループ2として設定しておき、各物理メディア1〜6に、少なくともあるシステムのある世代のバックアップデータの全てを記録する管理情報を図9及び図10に示した管理テーブルに格納している。   That is, in this example, the physical media 1, 4 and 6 are set as the physical media group 1, and the physical media 2, 3, and 5 are set as the physical media group 2. Management information for recording at least all generations of backup data in a certain system is stored in the management tables shown in FIGS.

本例によれば、A、Bシステムのバックアップで物理メディアを共用せずに格納する場合に比べ、効率的なデータ格納を行うと共に、各システムにわたって全世代のバックアップデータが消失することを防止することができる。これを具体的に説明すると、物理メディア容量が800GB、各バックアップデータ容量を500GBとしたとき、A、Bシステムのバックアップデータを物理メディアの共用なしに格納する場合は、物理メディアが8個必要になるのに対し、本方式で格納した場合に必要な物理メディア数を6個に低減することができる。   According to this example, compared with the case where the physical media are not shared in the backup of the A and B systems, the data is stored efficiently and the backup data of all generations are prevented from being lost across the respective systems. be able to. More specifically, assuming that the physical media capacity is 800 GB and each backup data capacity is 500 GB, if the backup data of the A and B systems is stored without sharing the physical media, 8 physical media are required. On the other hand, the number of physical media required when stored by this method can be reduced to six.

[第3例]
図4に示す例は、物理メディアの切り替えをジョブ単位に管理した並列処理例を説明するためのものであって、記録媒体としては物理メディア1及び2の2個があり、物理メディア1に、Aシステムの第1週データa1とBシステムの第2週データb2とAシステムの第3週データa3とBシステムの第4週データb4とを記録する物理メディアグループ1を設定し、更に物理メディア2に、Bシステムの第1週データb1とAシステムの第2週データa2とBシステムの第3週データb3とAシステムの第4週データa4を記録する物理メディアグループ2を設定している。
[Third example]
The example shown in FIG. 4 is for explaining an example of parallel processing in which switching of physical media is managed in units of jobs. There are two recording media, physical media 1 and 2, and the physical media 1 includes The physical media group 1 for recording the first week data a1 of the A system, the second week data b2 of the B system, the third week data a3 of the A system, and the fourth week data b4 of the B system is set, and further physical media 2, the physical media group 2 for recording the first week data b1 of the B system, the second week data a2 of the A system, the third week data b3 of the B system, and the fourth week data a4 of the A system is set. .

即ち、本例においては、2つの物理メディア1及び2に、各システムの世代毎のバックアップデータが世代毎に交互に記録する管理情報を図9及び図10に示した管理テーブルに格納している。   That is, in this example, management information in which backup data for each generation of each system is recorded alternately for each generation is stored in the management tables shown in FIGS. 9 and 10 in the two physical media 1 and 2. .

本例においては、第1週目のA、Bシステムのバックアップでは、並列処理数が2のため、物理メディアグループ1、2に物理メディア1、2を割り当て、物理メディアグループ1にAシステムのバックアップデータを物理メディアグループ2にBシステムのバックアップデータを並列処理で記録する。第2週目のA、Bシステムのバックアップでは、1週間が経過しているため、物理メディアグループ2にAシステムのバックアップデータを物理メディアグループ1にBシステムのバックアップデータを並列処理で記録する。以降同様にして図4のようにバックアップデータを記録することができる。   In this example, in the backup of the A and B systems in the first week, since the number of parallel processes is 2, physical media 1 and 2 are allocated to the physical media groups 1 and 2, and the A system backup is allocated to the physical media group 1. Data is recorded in the physical media group 2 with backup data of the B system by parallel processing. In the backup of the A and B systems in the second week, since one week has passed, the backup data of the A system is recorded in the physical media group 2 and the backup data of the B system is recorded in the physical media group 1 by parallel processing. Thereafter, backup data can be recorded as shown in FIG.

この図4に示した構成の場合、仮に1つの物理メディアが破損したとしても、他の物理メディアに他の世代のバックアップデータを必ず記録しているため、各システムの一方は最新世代、他システムは一世代前のバックアップデータを確保し、各システムにわたって全世代のバックアップデータが消失することを防止することができる。   In the case of the configuration shown in FIG. 4, even if one physical medium is damaged, backup data of another generation is always recorded on another physical medium, so that one of the systems is the latest generation and the other system. Can secure the previous generation of backup data and prevent the loss of all generations of backup data across systems.

[動作]
次に本実施形態による世代データ管理方法を実現する制御部500による制御フローを図面を参照して説明する。
本バックアップシステムは、データ記録要求部100から指定されたシステムのバックアップジョブを実行する命令を受けたとき、ジョブ開始処理を実行する。このジョブ開始処理は、図7に示す如く、制御部500が、図10の管理テーブルを参照してアクティブな物理メディアグループの数が複数ジョブのバックアップを平行して行う並列処理数より小さいか否かを判定するステップS70と、該ステップS70において小さいと判定したとき、物理メディアグループを切り替える処理を実行するステップS71と、該ステップS71により切り替えた物理メディアグループの状態がアイドル状態か否かを判定するステップS72と、該ステップS72においてアイドル状態と判定したときにアクティブ状態に変更するステップS73と、このアクティブ状態に変更した物理メディアグループの物理メディアにバックアップ処理のジョブを開始するステップS74と、前記ステップS70において小さくない(アクティブな物理メディアグループ数が並列処理数以上)と判定したとき、又は前記ステップS72によりアイドル状態でないと判定したとき、ジョブ待ちリストに登録するステップS75とを実行することによって、アイドル状態の物理メディアグループの物理メディアをアクティブに変更してバックアップ処理を開始することができると共に、物理メディアグループの物理メディアがアイドル状態でない(アクティブ又は無効状態)のとき、ジョブ終了待ちリストに当該バックアップジョブを登録し、実行中のジョブが終了してから当該バックアップジョブを実行することができる。
[Operation]
Next, a control flow by the control unit 500 that realizes the generation data management method according to the present embodiment will be described with reference to the drawings.
When the backup system receives an instruction to execute a backup job of the designated system from the data recording request unit 100, the backup system executes job start processing. In this job start process, as shown in FIG. 7, the control unit 500 refers to the management table of FIG. 10 to determine whether the number of active physical media groups is smaller than the number of parallel processes for performing backup of a plurality of jobs in parallel. Step S70 for determining whether or not when it is determined in Step S70 that it is small, Step S71 for executing processing for switching the physical media group, and determining whether or not the state of the physical media group switched in Step S71 is an idle state Step S72, step S73 for changing to the active state when it is determined that the idle state is determined in step S72, step S74 for starting a backup processing job on the physical media of the physical media group changed to the active state, In step S70 If it is determined that the number of active physical media groups is not equal to or greater than the number of parallel processes, or if it is determined in step S72 that it is not in the idle state, executing step S75 for registering in the job waiting list causes the idle state Backup processing can be started by changing the physical media of the physical media group to active, and when the physical media of the physical media group is not idle (active or invalid), the backup job is added to the job completion waiting list. And the backup job can be executed after the job being executed is completed.

前記物理メディアグループを切り替える処理を実行するステップS71の詳細動作は、図5に示す如く、制御部500が、当該ジョブにカレント物理メディアグループが設定されているか否かを図9の物理メディアグループ切替管理テーブルを参照して判定するステップS50と、該ステップS50において物理メディアグループが設定されているジョブと判定したとき、現在時刻(コンピュータのシステム時刻)が図9の管理テーブルに設定されている物理メディア切替日時を超えているか否かを判定し、超えていないと判定したときに処理を終了するステップS51と、該ステップS51において設定日時刻を越えていると判定したとき、カレント物理メディアグループ番号に、カレント物理メディアグループ番号を物理メディアグループ数で割った余り(剰余)に1を加えた数(値)を設定するステップS52を実行する。このステップS52による処理は、物理メディアグループ番号を、最小物理メディアグループ番号から最大物理メディアグループ番号の間で循環的に変更するためのものであって、物理メディアグループ番号が2つのときは、1→2→1→2・・の如く循環させるためのものである。   As shown in FIG. 5, the detailed operation of step S71 for executing the process of switching the physical media group is performed by the controller 500 as to whether or not the current physical media group is set for the job, as shown in FIG. When determining with reference to the management table in step S50 and the job in which the physical media group is set in step S50, the current time (computer system time) is the physical set in the management table of FIG. It is determined whether or not the media switching date / time has been exceeded. When it is determined that the media switching date / time has not been exceeded, the process is terminated, and when it is determined in step S51 that the set date / time has been exceeded, The current physical media group number. It executes step S52 to set the number (value) obtained by adding 1 to the remainder (modulo) divided by the number. The processing in step S52 is for cyclically changing the physical media group number between the minimum physical media group number and the maximum physical media group number. When there are two physical media group numbers, 1 → 2 → 1 → 2... For circulation.

次いで制御部500は、前記ステップS52により物理メディアグループ番号を変更した後、図9の管理テーブル中の「物理メディアグループ切り替え日時」に「バックアップ基準日時とバックアップ周期の整数倍」を加算することにより近未来の日時を設定するステップS53を実行することによって、図9に示した管理テーブルにおける次回のバックアップを実行する日時を更新する様に動作し、バックアップ取得周期ごとに物理メディアを切り替えることができる。   Next, after changing the physical media group number in step S52, the control unit 500 adds "backup reference date and time and integer multiple of backup cycle" to "physical media group switching date and time" in the management table of FIG. By executing step S53 for setting the date and time in the near future, the operation is performed so as to update the date and time for executing the next backup in the management table shown in FIG. 9, and the physical media can be switched at each backup acquisition cycle. .

また制御部500は、前記ステップS50において物理メディアグループ番号が設定されていないと判定したとき、定義済みジョブのカレント物理メディアグループ番号を検索し、ジョブへの割り当て数が最も少ない物理メディアグループの物理メディアグループ番号(同数の場合は、最も若いグループ番号)を設定するステップS57を実行して前述のステップS53に移行することによって、物理メディアグループのジョブの割り当て数を平均化することができる。例えば、物理メディアグループ数が2つであり、各物理メディアグループのジョブの割り当て数が異なる場合、少ない方の物理メディアグループのジョブに追加ジョブを割り当て、各物理メディアグループのジョブの割り当て数が同数の場合、物理メディアグループ番号が若い(少ない)物理メディアグループに追加ジョブを割り当てるためのものである。   When the control unit 500 determines that the physical media group number is not set in step S50, the control unit 500 searches the current physical media group number of the defined job, and the physical unit of the physical media group with the smallest number of assignments to the job. By executing step S57 for setting the media group number (the youngest group number in the case of the same number) and proceeding to step S53 described above, the number of jobs assigned to the physical media group can be averaged. For example, if the number of physical media groups is two and the number of jobs assigned to each physical media group is different, an additional job is assigned to the job of the smaller physical media group, and the number of jobs assigned to each physical media group is the same. In this case, an additional job is assigned to a physical media group having a small (small) physical media group number.

これら図5に示した各ステップにより物理メディアグループ切り替え処理を実行することによって本実施形態による制御部500は、バックアップを行う物理メディアグループを切り替えると共に、新規ジョブのバックアップが上位から追加された場合、新規ジョブを割当数が少ない物理メディアグループに割り当てることができる。   By executing the physical media group switching process according to each step shown in FIG. 5, the control unit 500 according to the present embodiment switches the physical media group to be backed up, and when a backup of a new job is added from the upper level, New jobs can be assigned to physical media groups with a small number of assignments.

また本システムは、図7のステップS74によるバックアップジョブ実行中に物理メディアが満杯になった場合、新たな物理メディアを物理メディアグループに追加する物理メディア割り当て処理を行うこともでき、この処理を次に説明する。   In addition, when the physical medium becomes full during the execution of the backup job in step S74 in FIG. 7, this system can also perform a physical media allocation process for adding a new physical medium to the physical media group. Explained.

この物理メディア割当処理は、図6に示す如く、制御部500が、物理メディアグループに設定した物理メディアに空き容量があるか否かを判定するステップS60と、該ステップS60において空き容量がないと判定したとき、物理メディアグループに割り当てる新たな物理メディアを選出するステップS61と、該選出した物理メディアを物理メディアグループに割り当てるステップS62によって、新たな物理メディアを物理メディアグループに追加することができる。   In this physical media allocation process, as shown in FIG. 6, the control unit 500 determines whether or not the physical media set in the physical media group has free capacity, and if there is no free capacity in step S60. When the determination is made, the new physical medium can be added to the physical media group by step S61 of selecting a new physical medium to be allocated to the physical media group and step S62 of allocating the selected physical medium to the physical media group.

本システムは、図7のステップS74によるバックアップジョブが終了した後、ジョブ終了処理を実行するものであり、このジョブ終了処理を次に説明する。
このジョブ終了処理は、図8に示す如く、制御部500が、バックアップ処理が終了した物理メディアグループの状態をアイドル状態に変更するステップS80と、ジョブ待ちリストに登録された待ちジョブが有るか否かを判定し、待ちジョブがないと判定したときに処理を終了するステップS81と、該ステップS81において待ちジョブがあると判定したとき、ジョブ待ちリストに登録した待ちジョブを抽出するステップS82と、該抽出した待ちジョブを図7に示した処理を実行してバックアップジョブを開始するステップS83と、該ステップS83に続いてバックアップの結果がジョブ開始か否かを判定し、開始と判定したときに前記ステップS81にもどるステップS84によって、あるバックアップジョブが終了してから未処理の待ちジョブの有無を判定し、待ちジョブがあるときには待ちジョブを開始することができる。
This system executes job end processing after the backup job in step S74 of FIG. 7 is completed. This job end processing will be described next.
As shown in FIG. 8, in this job end process, the control unit 500 changes the state of the physical media group for which the backup process has ended to the idle state, and whether there is a waiting job registered in the job waiting list. Step S81 for ending the process when it is determined that there is no waiting job, Step S82 for extracting the waiting job registered in the job waiting list when it is determined that there is a waiting job in Step S81, Step S83 for starting the backup job by executing the processing shown in FIG. 7 for the extracted waiting job, and determining whether or not the backup result is a job start following step S83. Returning to step S81, the process is not completed after a backup job is completed in step S84. Of determining whether the waiting job can start a waiting job when there is a waiting job.

以上述べた如く本実施形態による世代データ管理方法及びバックアップシステムは、バックアップ取得周期ごとに物理メディアを切り替えてジョブ別及び世代別のデータのバックアップを行うことによって、磁気テープ等の物理メディアに障害が発生した際にも、少なくとも一世代前の世代別データの消失を防止することができる。   As described above, the generation data management method and the backup system according to the present embodiment cause a failure in a physical medium such as a magnetic tape by switching the physical medium at each backup acquisition period and performing backup of data by job and generation. Even when it occurs, at least one generation before generation data can be prevented from being lost.

本発明が適用されるバックアップシステムの基本構成の概念図。1 is a conceptual diagram of a basic configuration of a backup system to which the present invention is applied. 本実施形態の第1原理による世代データ管理方法を説明する図。The figure explaining the generation data management method by the 1st principle of this embodiment. 本実施形態の第2原理による世代データ管理方法を説明する図。The figure explaining the generation data management method by the 2nd principle of this embodiment. 本実施形態の第3原理による世代データ管理方法を説明する図。The figure explaining the generation data management method by the 3rd principle of this embodiment. 本実施形態による物理メディアグループの切り替え処理フロー図。FIG. 10 is a flowchart of physical media group switching processing according to the present embodiment. 本実施形態による物理メディア割当処理フロー図。The physical media allocation processing flow figure by this embodiment. 本実施形態による物理メディア割当処理フローを示す図。The figure which shows the physical media allocation processing flow by this embodiment. 本実施形態によるバックアップジョブ開始処理フロー図。The backup job start processing flowchart by this embodiment. バックアップジョブ終了処理フロー図。The backup job end processing flowchart. 本実施形態による物理メディアグループ切替管理テーブル図。The physical media group switching management table figure by this embodiment. 本実施形態による物理メディアグループ管理テーブル図。The physical media group management table figure by this embodiment.

符号の説明Explanation of symbols

1〜6:物理メディア、100:データ記録要求部、200:ユーザインタフェース部、400:物理メディア切替部、500:制御部、a1〜a4、b1〜b4:ジョブ別及び世代別バックアップデータ。 1-6: Physical media, 100: Data recording request unit, 200: User interface unit, 400: Physical media switching unit, 500: Control unit, a1 to a4, b1 to b4: Backup data by job and generation.

Claims (12)

グループ番号を付してグループ分けした複数の記録媒体にデータの記録再生を行うデータ記録再生部と、該データ記録再生部によりデータの記録再生を行う記録媒体を選択的に切り替える記録媒体切替部と、該記録媒体切替部に対して同一ジョブの所定時間経過毎の世代別データ記録を要求するデータ記憶要求部と、前記媒体切替部を制御する制御部とを備え、受信したジョブ別及び世代別データを所定の時間的間隔をもってバックアップするバックアップシステムであって、
前記制御部が、
前記ジョブを識別するジョブ識別子と、該ジョブ識別子に設定した記録媒体グループ番号と、記録媒体を世代別に切り替える日時を指定する記録媒体切替日時情報とを格納した記録媒体グループ切替管理テーブル格納部と、
前記媒体グループ番号を、最小記録媒体グループ番号から最大記録媒体グループ番号の間で循環的に変更する番号循環手段とを有し、
前記データ記憶要求部からジョブを指定した世代別データのバックアップ指令を受け付ける受付工程と、
該受付工程により受け付けたバックアップ指令のジョブに対応したジョブ識別子に記録媒体グループ番号が設定されているか否かを、前記媒体グループ切替管理テーブル格納部に格納したジョブ識別子の有無により判定する識別子判定工程と、
該識別子判定工程において記録媒体グループ番号が設定されていると判定したとき、前記媒体グループ切替管理テーブル格納部の記録媒体切替日時情報により指定された切り替え日時に達しているか否かを判定する切替日時判定工程と、
該切替日時判定工程により切り替え日時に達していると判定したとき、前記番号循環手段により記録媒体グループ番号を最小記録媒体グループ番号から最大記録媒体グループ番号の間で番号を1つ変更するグループ切替工程と、
前記グループ切替工程により変更した記録媒体グループ番号の記録媒体に世代別データをデータ記録再生部を用いて記録する記録工程とを実行するバックアップシステム。
A data recording / reproducing unit for recording / reproducing data on / from a plurality of recording media grouped with a group number, and a recording medium switching unit for selectively switching a recording medium for recording / reproducing data by the data recording / reproducing unit; A data storage requesting unit that requests the recording medium switching unit to record data by generation every predetermined time of the same job, and a control unit that controls the medium switching unit. A backup system for backing up data at predetermined time intervals,
The control unit is
A recording medium group switching management table storage unit storing a job identifier for identifying the job, a recording medium group number set in the job identifier, and recording medium switching date and time information for specifying a date and time for switching the recording medium by generation;
Number circulation means for cyclically changing the medium group number between a minimum recording medium group number and a maximum recording medium group number;
A receiving step of receiving a generation data backup command specifying a job from the data storage request unit;
An identifier determination step for determining whether or not a recording medium group number is set in a job identifier corresponding to a backup command job received by the reception step, based on the presence or absence of a job identifier stored in the medium group switching management table storage unit When,
When it is determined in the identifier determination step that a recording medium group number is set, a switching date and time for determining whether or not the switching date and time specified by the recording medium switching date and time information in the medium group switching management table storage unit has been reached A determination process;
A group switching step of changing the recording medium group number by one from the minimum recording medium group number to the maximum recording medium group number by the number circulation means when it is determined in the switching date determination step that the switching date has been reached When,
A backup system that executes a recording step of recording generation-specific data on a recording medium with a recording medium group number changed by the group switching step using a data recording / reproducing unit.
前記媒体グループ番号と、該記録媒体グループ番号に定義された記録媒体番号と、前記媒体グループ番号に定義された記録媒体のアイドル状態又はアクティブ状態か何れかの状態情報とを格納し、前記媒体グループ番号の記録媒体に対応してアクティブ状態又はアイドル状態を選択的に設定する記録媒体グループ管理テーブル格納部を備え、
前記制御部が、
前記識別子判定工程において記録媒体グループ番号が設定されていると判定したとき、該設定されている記録媒体グループ番号の記録媒体の状態を、前記媒体グループ管理
テーブル格納部に格納した状態情報を参照して判定する状態判定工程と、
該状態判定工程においてアイドル状態と判定した記録媒体グループ番号の記録媒体をアクティブ状態に変更し、該変更した状態情報を記録媒体グループ管理テーブル格納部に格
納する状態変更工程とを実行する請求項1記載のバックアップシステム。
Storing the medium group number, a recording medium number defined in the recording medium group number, and status information of either an idle state or an active state of the recording medium defined in the medium group number; A recording medium group management table storage unit that selectively sets an active state or an idle state corresponding to a recording medium of a number;
The control unit is
When it is determined in the identifier determining step that the recording medium group number is set, the status of the recording medium with the set recording medium group number is referred to the status information stored in the medium group management table storage unit. A state determination step for determining
2. The state change step of changing the recording medium of the recording medium group number determined to be in the idle state in the state determination step to an active state and storing the changed state information in a recording medium group management table storage unit is executed. The described backup system.
前記制御部が、前記識別子判定工程において記録媒体グループ番号が設定されていないと判定したとき、前記受付工程により受け付けたバックアップ指令の新規ジョブ識別子を、記録媒体グループ切替管理テーブル格納部の記録媒体グループに登録する登録工程を実行する請求項1又は2記載のバックアップシステム。 When the control unit determines that a recording medium group number is not set in the identifier determining step, the new job identifier of the backup command received by the receiving step is recorded in the recording medium group of the recording medium group switching management table storage unit. The backup system according to claim 1, wherein a registration step of registering in the system is executed. 前記制御部が、前記登録工程を行うとき、各記録媒体グループに割り当てたジョブの数を記録媒体グループ切替管理テーブル格納部の記録媒体グループ毎に計数し、該計数した数が最も少ない記録媒体グループに新規ジョブ識別子を追加登録する請求項3記載のバックアップシステム。 When the control unit performs the registration step, the number of jobs assigned to each recording medium group is counted for each recording medium group in the recording medium group switching management table storage unit, and the recording medium group with the smallest number is counted. The backup system according to claim 3, wherein a new job identifier is additionally registered in. 前記制御部が、前記工程において、世代別データをデータ記録再生部を用いて記録するとき、この記録する世代別データの容量が記録媒体の残記録容量を超えるか否かを判定し、超えると判定したとき、同一記録媒体グループの複数の記録媒体に世代別データを分割して記録する複数記録工程を実行する請求項1から4何れかに記載のバックアップシステム。 When the control unit records generation data by using the data recording / reproducing unit in the step, it determines whether or not the capacity of the generation data to be recorded exceeds the remaining recording capacity of the recording medium. The backup system according to any one of claims 1 to 4, wherein when the determination is made, a plurality of recording steps are performed in which generation data is divided and recorded on a plurality of recording media in the same recording medium group. 前記制御部が、前記工程において、受信したジョブ数が、前記媒体グループ切替管理テーブル格納部に格納した記録媒体グループの数を超えるか否かを判定し、超えると判定したとき、該記録媒体グループ数を超える数のジョブを待機させる待機工程を実行する請求項1から5何れかに記載のバックアップシステム。 In the step, the control unit determines whether or not the number of received jobs exceeds the number of recording medium groups stored in the medium group switching management table storage unit. The backup system according to claim 1, wherein a standby process for waiting for a job exceeding the number is executed. グループ番号を付してグループ分けした複数の記録媒体にデータの記録再生を行うデータ記録再生部と、該データ記録再生部によりデータの記録再生を行う記録媒体を選択的に切り替える記録媒体切替部と、該記録媒体切替部に対して同一ジョブの所定時間経過毎の世代別データ記録を要求するデータ記憶要求部と、前記媒体切替部を制御する制御部とを備え、受信したジョブ別及び世代別データを所定の時間的間隔をもってバックアップするコンピュータシステムの世代データ管理方法であって、
前記制御部に、
前記ジョブを識別するジョブ識別子と、該ジョブ識別子に設定した記録媒体グループ番号と、記録媒体を世代別に切り替える日時を指定する記録媒体切替日時情報とを格納した記録媒体グループ切替管理テーブル格納部と、
前記媒体グループ番号を、最小記録媒体グループ番号から最大記録媒体グループ番号の間で循環的に変更する番号循環手段とを設け、
前記データ記憶要求部からジョブを指定した世代別データのバックアップ指令を受け付ける受付工程と、
該受付工程により受け付けたバックアップ指令のジョブに対応したジョブ識別子に記録媒体グループ番号が設定されているか否かを、前記媒体グループ切替管理テーブル格納部に格納したジョブ識別子の有無により判定する識別子判定工程と、
該識別子判定工程において記録媒体グループ番号が設定されていると判定したとき、前記媒体グループ切替管理テーブル格納部の記録媒体切替日時情報により指定された切り替え日時に達しているか否かを判定する切替日時判定工程と、
該切替日時判定工程により切り替え日時に達していると判定したとき、前記番号循環手段により記録媒体グループ番号を最小記録媒体グループ番号から最大記録媒体グループ番号の間で番号を1つ変更するグループ切替工程と、
前記グループ切替工程により変更した記録媒体グループ番号の記録媒体に世代別データをデータ記録再生部を用いて記録する記録工程とを実行させる世代データ管理方法。
A data recording / reproducing unit for recording / reproducing data on / from a plurality of recording media grouped with a group number, and a recording medium switching unit for selectively switching a recording medium for recording / reproducing data by the data recording / reproducing unit; A data storage requesting unit that requests the recording medium switching unit to record data by generation every predetermined time of the same job, and a control unit that controls the medium switching unit. A generation data management method for a computer system that backs up data at predetermined time intervals,
In the control unit,
A recording medium group switching management table storage unit storing a job identifier for identifying the job, a recording medium group number set in the job identifier, and recording medium switching date and time information for specifying a date and time for switching the recording medium by generation;
A number circulation means for cyclically changing the medium group number between a minimum recording medium group number and a maximum recording medium group number;
A receiving step of receiving a generation data backup command specifying a job from the data storage request unit;
An identifier determination step for determining whether or not a recording medium group number is set in a job identifier corresponding to a backup command job received by the reception step, based on the presence or absence of a job identifier stored in the medium group switching management table storage unit When,
When it is determined in the identifier determination step that a recording medium group number is set, a switching date and time for determining whether or not the switching date and time specified by the recording medium switching date and time information in the medium group switching management table storage unit has been reached A determination process;
A group switching step of changing the recording medium group number by one from the minimum recording medium group number to the maximum recording medium group number by the number circulation means when it is determined in the switching date determination step that the switching date has been reached When,
A generation data management method for executing a recording step of recording generation-specific data on a recording medium with a recording medium group number changed by the group switching step using a data recording / reproducing unit.
前記媒体グループ番号と、該記録媒体グループ番号に定義された記録媒体番号と、前記媒体グループ番号に定義された記録媒体のアイドル状態又はアクティブ状態か何れかの状態情報とを格納し、前記媒体グループ番号の記録媒体に対応してアクティブ状態又はアイドル状態を選択的に設定する記録媒体グループ管理テーブル格納部を設け、
前記制御部に、
前記識別子判定工程において記録媒体グループ番号が設定されていると判定したとき、該設定されている記録媒体グループ番号の記録媒体の状態を、前記媒体グループ管理テーブル格納部に格納した状態情報を参照して判定する状態判定工程と、
該状態判定工程においてアイドル状態と判定した記録媒体グループ番号の記録媒体をアクティブ状態に変更し、該変更した状態情報を記録媒体グループ管理テーブル格納部に格納する状態変更工程とを実行させる請求項7記載の世代データ管理方法。
Storing the medium group number, a recording medium number defined in the recording medium group number, and status information of either an idle state or an active state of the recording medium defined in the medium group number; A recording medium group management table storage unit that selectively sets an active state or an idle state corresponding to the recording medium of the number;
In the control unit ,
When it is determined in the identifier determining step that the recording medium group number is set, the status of the recording medium with the set recording medium group number is referred to the status information stored in the medium group management table storage unit. A state determination step for determining
8. A state change step of changing a recording medium having a recording medium group number determined to be in an idle state in the state determination step to an active state and storing the changed state information in a recording medium group management table storage unit is executed. The generation data management method described.
前記制御部が、前記識別子判定工程において記録媒体グループ番号が設定されていないと判定したとき、前記受付工程により受け付けたバックアップ指令の新規ジョブ識別子を、記録媒体グループ切替管理テーブル格納部の記録媒体グループに追加登録する登録工程を実行させる請求項7又は8記載の世代データ管理方法。 When the control unit determines that a recording medium group number is not set in the identifier determining step, the new job identifier of the backup command received by the receiving step is recorded in the recording medium group of the recording medium group switching management table storage unit. The generation data management method according to claim 7 or 8, wherein a registration step of additionally registering the data is executed. 前記制御部が、前記登録工程を行うとき、各記録媒体グループに登録した記録媒体の数を記録媒体グループ管理テーブル格納部の記録媒体番号の数を基に算出し、算出した数が最も少ない記録媒体グループに新規ジョブ識別子を追加登録させる請求項9記載の世代データ管理方法。 When the control unit performs the registration step, the number of recording media registered in each recording medium group is calculated based on the number of recording medium numbers in the recording medium group management table storage unit, and the recording with the smallest number is calculated. The generation data management method according to claim 9 , wherein a new job identifier is additionally registered in the medium group. 前記制御部が、前記工程において、世代別データをデータ記録再生部を用いて記録するとき、この記録する世代別データの容量が記録媒体の残記録容量を超えるか否かを判定し、超えると判定したとき、同一記録媒体グループの複数の記録媒体に世代別データを分割して記録する複数記録工程を実行させる請求項7から10何れかに記載の世代データ管理方法。 When the control unit records generation data by using the data recording / reproducing unit in the step, it determines whether or not the capacity of the generation data to be recorded exceeds the remaining recording capacity of the recording medium. The generation data management method according to any one of claims 7 to 10, wherein when the determination is made, a plurality of recording steps of dividing and recording generation-specific data on a plurality of recording media in the same recording medium group are executed. 前記制御部が、前記工程において、受信したジョブ数が、前記媒体グループ切替管理テーブル格納部に格納した記録媒体グループの数を超えるか否かを判定し、超えると判定したとき、該記録媒体グループ数を超える数のジョブを待機させる待機工程を実行させる請求項7から11何れかに記載の世代データ管理方法。 In the step, the control unit determines whether or not the number of received jobs exceeds the number of recording medium groups stored in the medium group switching management table storage unit. The generation data management method according to any one of claims 7 to 11, wherein a standby step for waiting for a number of jobs exceeding the number is executed.
JP2008066050A 2008-03-14 2008-03-14 Backup system and generation data management method Expired - Fee Related JP5213488B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008066050A JP5213488B2 (en) 2008-03-14 2008-03-14 Backup system and generation data management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008066050A JP5213488B2 (en) 2008-03-14 2008-03-14 Backup system and generation data management method

Publications (2)

Publication Number Publication Date
JP2009223508A JP2009223508A (en) 2009-10-01
JP5213488B2 true JP5213488B2 (en) 2013-06-19

Family

ID=41240237

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008066050A Expired - Fee Related JP5213488B2 (en) 2008-03-14 2008-03-14 Backup system and generation data management method

Country Status (1)

Country Link
JP (1) JP5213488B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015087906A (en) * 2013-10-30 2015-05-07 富士通株式会社 Tape device, storage controller, and storage control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3063664B2 (en) * 1997-02-27 2000-07-12 日本電気株式会社 Data file monitoring system
JP4064033B2 (en) * 2000-02-24 2008-03-19 富士通株式会社 Data backup device and program storage medium using a plurality of recording media
JP2005190259A (en) * 2003-12-26 2005-07-14 Hitachi Ltd Management of multigenerational backup data
JP4643597B2 (en) * 2004-08-30 2011-03-02 株式会社日立製作所 Storage system and data relocation control device
JP4126706B2 (en) * 2006-03-03 2008-07-30 インターナショナル・ビジネス・マシーンズ・コーポレーション Apparatus, method, and program for data backup

Also Published As

Publication number Publication date
JP2009223508A (en) 2009-10-01

Similar Documents

Publication Publication Date Title
JP4933861B2 (en) Storage control device, data management system, and data management method
JP3588311B2 (en) Method for determining whether to issue a command to a disk drive and disk controller
JP6024296B2 (en) Information processing apparatus, copy control program, and copy control method
JP4464378B2 (en) Computer system, storage system and control method for saving storage area by collecting the same data
US20140254042A1 (en) Dynamic allocation of lba to un-shingled media partition
US8065466B2 (en) Library apparatus, library system and method for copying logical volume to disk volume in cache disk with smallest access load
CN101517548A (en) Cache disk storage upgrade
JP4490451B2 (en) Request scheduling method, request scheduling apparatus, and program in hierarchical storage management system
JP5584422B2 (en) Information processing apparatus, schedule management apparatus, schedule management method, and schedule management program
US10162564B2 (en) Selecting a virtual tape server in a storage system to provide data copy while minimizing system job load
RU2475818C2 (en) Data exchange methods and systems
JP2000163288A (en) Data storage system, data rearranging method, and recording medium
JP6617461B2 (en) Control device, control program, and control method
JP5233733B2 (en) Storage device, storage control device, and storage control program
JP6019940B2 (en) Information processing apparatus, copy control program, and copy control method
CN103677660A (en) Information processing apparatus and area release control method
JP5213488B2 (en) Backup system and generation data management method
JP2007286975A (en) Computing system, storage system, and volume allocation method
JP2011159363A (en) Tape library control device, tape library control method and tape library control program
JP2006004078A (en) Disk control device, disk patrol method, and disk patrol program
JP2005293224A (en) Backup system and backup method
JP4997063B2 (en) Computer startup method and computer system
JP6464606B2 (en) Storage device, storage device control program, and storage device control method
JP4045482B2 (en) Periodic automatic backup schedule method and apparatus
CN112835521B (en) Storage space allocation method and device

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20091211

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110308

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130122

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: 20130222

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130226

R150 Certificate of patent or registration of utility model

Ref document number: 5213488

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20160308

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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