JP2004341841A - Restoration method and system - Google Patents
Restoration method and system Download PDFInfo
- Publication number
- JP2004341841A JP2004341841A JP2003137866A JP2003137866A JP2004341841A JP 2004341841 A JP2004341841 A JP 2004341841A JP 2003137866 A JP2003137866 A JP 2003137866A JP 2003137866 A JP2003137866 A JP 2003137866A JP 2004341841 A JP2004341841 A JP 2004341841A
- Authority
- JP
- Japan
- Prior art keywords
- data file
- generation
- full
- backup
- restoration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、復元方法及びそのシステムに関し、特に、バックアップデータを世代管理する機能を有したバックアップ装置からバックアップデータを復元する方法及びそのシステムに関する。
【0002】
【従来の技術】
通常、バックアップ装置において、バックアップデータファイルは世代管理されている。これにより、ユーザーはデータの内容及びシステムの動作環境等を何世代か前の状態に復元することができる。
【0003】
バックアップデータファイルの世代管理を行うには、特許文献1で使用されている、各世代の差分データファイルを記憶して世代管理する方法が、従来から知られている。この方法では、最初のバックアップで第1世代(最古世代)のフルデータファイルがバックアップ装置の記憶媒体に複製される。その後、順次バックアップを実行して世代が更新されるたびに、最新世代のフルデータファイルと最新世代からみて1つ前の世代のフルデータファイルとの差分により得られる差分データファイルが、最新世代の差分データファイルとしてバックアップ装置の記憶媒体に複製される。この複製過程において、各差分データファイルの世代管理を行うために、バックアップ装置の記憶媒体の一部に格納された世代管理データベースに、各差分データファイルの世代番号、属性情報、及びアドレス情報などが書き込まれる。
【0004】
この方法を使用すれば、バックアップ装置の記憶媒体における、1世代あたりのデータ占有スペースが節約されるので、より多くの世代のバックアップをとることができる。また、世代管理データベースを参照しながら、復元対象の過去世代までの差分データファイルに基づき順次最古世代のフルデータファイルを更新することにより、復元対象の過去世代のフルデータファイルを復元できる。
【0005】
【特許文献1】
特許番号2845886号
【0006】
【発明が解決しようとする課題】
しかしながら、上述した従来の各世代の差分データファイルを記憶して世代管理する方法では、過去世代の復元処理を行うのに、世代管理データベースを参照しながら、最古世代のフルデータファイルを一旦復元し、さらに、復元対象の過去世代に達するまで、各過去世代の差分データファイルに基づき復元された最古世代のフルデータファイルを順次更新するので、復元対象の過去世代のフルデータファイルを一括して復元することができない。それゆえ、復元対象の過去世代のフルデータファイルの物理的配置が分散する可能性があり、復元後に、これらのデータファイルを使用する場合、操作効率が低下するといった問題が生じてしまう。さらに、バックアップ装置の記憶媒体の一部に世代管理データベータを格納しているので、バックアップされたデータファイルを格納するのに使用できる記憶容量が減ってしまう。
【0007】
本発明は、このような課題を解決するためになされたものであって、バックアップされたデータファイル以外のデータをバックアップ装置の記憶媒体に格納することなく、復元対象の過去世代のフルデータファイルを一括して復元できる復元方法及びそのシステムを提供することを目的とする。
【0008】
【課題を解決するための手段】
上記の目的を達成するために、請求項1の発明は、フルデータファイルが格納されるフルバックアップ領域部と、差分データファイルが格納される差分領域部と、を有するバックアップ装置から、復元対象の過去世代のデータファイルを、前記データファイルの処理を行う処理装置に復元するバックアップデータ復元方法であって、前記処理装置が、前記フルバックアップ領域部に格納された前記フルデータファイルの属性情報を読み取り、前記バックアップ装置における前記フルデータファイルの物理的な格納位置を示すマップ情報を作成し、復元開始指示として入力された復元対象の過去世代情報に応じて、前記復元対象の過去世代に達するまで、前記処理装置が、前記差分領域部に格納された前記差分データファイルの属性情報を読み取り、その属性情報に基づき以前に作成したマップ情報を順次更新して、前記バックアップ装置における前記復元対象の過去世代のフルデータファイルの物理的な格納位置を示すマップ情報を作成し、前記復元対象の過去世代のマップ情報に基づき、前記復元対象の過去世代のフルデータファイルを復元することを特徴とする。
【0009】
この復元方法では、フルデータファイルが格納されるフルバックアップ領域部と、差分データファイルが格納される差分領域部と、を有するバックアップ装置から、復元対象の過去世代のデータファイルが、データファイルの処理を行う処理装置に復元される。具体的には、処理装置が、フルバックアップ領域部に格納されたフルデータファイルの属性情報を読み取り、バックアップ装置におけるフルデータファイルの物理的な格納位置を示すマップ情報を作成する。それから、復元対象の過去世代に達するまで、処理装置が、差分領域部に格納された差分データファイルの属性情報を読み取り、その属性情報に基づき以前に作成したマップ情報を順次更新して、バックアップ装置における復元対象の過去世代のフルデータファイルの物理的な格納位置を示すマップ情報を作成し、復元対象の過去世代のマップ情報に基づき、復元対象の過去世代のフルデータファイルを復元する。したがって、バックアップされたデータファイル以外のデータをバックアップ装置の記憶媒体に格納することなく、復元対象の過去世代のフルデータファイルを一括して処理装置に復元できる。
【0010】
請求項2の発明は、請求項1に記載の復元方法であり、前記フルバックアップ領域部に格納される前記フルデータファイルは、最初にバックアップされた最古世代のフルデータファイルであり、前記差分領域部に格納される前記差分データファイルは、前記最古世代以降の過去世代の差分データファイルであることを特徴とする。
【0011】
この復元方法では、フルバックアップ領域部に格納されるフルデータファイルは、最初にバックアップされた最古世代のフルデータファイルであり、差分領域部に格納される差分データファイルは、最古世代以降の過去世代の差分データファイルである。したがって、最古世代のフルデータファイル、または最古世代に近い世代のフルデータファイルを、短い時間で一括して処理装置に復元できる。
【0012】
請求項3の発明は、請求項1に記載の復元方法であり、前記フルバックアップ領域部に格納される前記フルデータファイルは、最後にバックアップされた最新世代のフルデータファイルであり、前記差分領域部に格納される前記差分データファイルは、前記最新世代以前の過去世代の差分データファイルであることを特徴とする。
【0013】
この復元方法では、フルバックアップ領域部に格納されるフルデータファイルは、最後にバックアップされた最新世代のフルデータファイルであり、差分領域部に格納される差分データファイルは、最新世代以前の過去世代の差分データファイルである。したがって、最新世代のフルデータファイル、または最新世代に近い世代のフルデータファイルを、短い時間で一括して処理装置に復元できる。
【0014】
上記の目的を達成するために、請求項4の発明は、データファイルがバックアップされるバックアップ装置と、そのバックアップ装置にバックアップされた前記データファイルを復元して処理を行う処理装置と、を備えた復元システムであって、前記バックアップ装置は、フルデータファイルが格納されるフルバックアップ領域部と、差分データファイルが格納される差分領域部と、を有し、前記処理装置は、前記フルバックアップ領域部に格納された前記フルデータファイルの属性情報を読み取り、前記バックアップ装置における前記フルデータファイルの物理的な格納位置を示すマップ情報を作成し、復元開始指示として入力された復元対象の過去世代情報に応じて、前記復元対象の過去世代に達するまで、前記差分領域部に格納された前記差分データファイルの属性情報を読み取り、その属性情報に基づき以前に作成したマップ情報を順次更新して、前記バックアップ装置における前記復元対象の過去世代のフルデータファイルの物理的な格納位置を示すマップ情報を作成する問い合わせ部と、前記復元対象の過去世代に対応した前記マップ情報に基づき、前記復元対象の過去世代のフルデータファイルを復元する復元処理部と、を有することを特徴とする。
【0015】
この復元システムでは、データファイルがバックアップされるバックアップ装置と、そのバックアップ装置にバックアップされたデータファイルを復元して処理を行う処理装置と、を備える。具体的には、バックアップ装置は、フルデータファイルが格納されるフルバックアップ領域部と、差分データファイルが格納される差分領域部と、を有する。また、処理装置は、フルバックアップ領域部に格納されたフルデータファイルの属性情報を読み取り、バックアップ装置におけるフルデータファイルの物理的な格納位置を示すマップ情報を作成し、復元開始指示として入力された復元対象の過去世代情報に応じて、復元対象の過去世代に達するまで、差分領域部に格納された差分データファイルの属性情報を読み取り、その属性情報に基づき以前に作成したマップ情報を順次更新して、バックアップ装置における復元対象の過去世代のフルデータファイルの物理的な格納位置を示すマップ情報を作成する問い合わせ部と、復元対象の過去世代に対応したマッピ情報に基づき、復元対象の過去世代のフルデータファイルを復元する復元処理部と、を有する。したがって、バックアップされたデータファイル以外のデータをバックアップ装置の記憶媒体に格納することなく、復元対象の過去世代のフルデータファイルを一括して復元できる。
【0016】
請求項5の発明は、請求項4に記載の復元システムであって、前記フルバックアップ領域部に格納される前記フルデータファイルは、最初にバックアップされた最古世代のフルデータファイルであり、前記差分領域部に格納される前記差分データファイルは、前記最古世代以降の過去世代の差分データファイルであることを特徴とする。
【0017】
この復元システムでは、フルバックアップ領域部に格納されるフルデータファイルは、最初にバックアップされた最古世代のフルデータファイルであり、差分領域部に格納される差分データファイルは、最古世代以降の過去世代の差分データファイルである。したがって、最古世代のフルデータファイル、または最古世代に近い世代のフルデータファイルを、短い時間で一括して処理装置に復元できる。
【0018】
請求項6の発明は、請求項4に記載の復元システムであって、前記フルバックアップ領域部に格納される前記フルデータファイルは、最後にバックアップされた最新世代のフルデータファイルであり、前記差分領域部に格納される前記差分データファイルは、前記最新世代以前の過去世代の差分データファイルであることを特徴とする。
【0019】
この復元システムでは、フルバックアップ領域部に格納されるフルデータファイルは、最後にバックアップされた最新世代のフルデータファイルであり、差分領域部に格納される差分データファイルは、最新世代以前の過去世代の差分データファイルである。したがって、最新世代のフルデータファイル、または最新世代に近い世代のフルデータファイルを、短い時間で一括して処理装置に復元できる。
【0020】
【発明の実施の形態】
(第1実施形態)
以下に図面を参照しながら、本発明の第1実施形態について詳細に説明する。
【0021】
図1は、本発明の実施形態にかかるバックアップシステム(復元システム)1の構成図である。バックアップシステム1は、パーソナルコンピュータ(PC)10、入力部20、表示部22、バックアップ装置30、ユニバーサルシリアルバス(USB)インターフェース40、から構成される。PC10は、USBインターフェース40を介して、バックアップ装置30と双方向にデータ交換可能に接続される。また、PC10は、入出力インターフェースを介して、入力部20及び表示部22に接続される。なお、USBインターフェイス40は、他にもSCSIインターフェース、RS−232Cインターフェイス等であってもよい。
【0022】
PC10は、USBインターフェース制御部12、処理部14、データ格納部16、問い合わせ部18から構成される。USBインターフェース制御部12は、PC10がバックアップ装置20にUSBインターフェース40を介して接続されたとき、その接続を認識して、USBプロトコルを使用したバックアップ装置20とのデータ送受信を制御する。処理部14は、CPU及びメモリなどから構成され、一連のバックアップ処理及び復元処理を行う。また、処理部14は、入出力インターフェースを介して、入力部20及び表示部22に接続されており、入力部20及び表示部22との入出力を制御する。データ格納部16は、ハードディスク等の不揮発性の記憶媒体であり、PC10で使用されるユーザファイル及びシステムファイルなどを格納している。問い合わせ部18は、復元専用のアプリケーションの指令に基づき、USBインターフェース40を介して、バックアップ装置30に直接アクセスする。
【0023】
入力部20は、キーボード及びマウス等の入力機器から構成され、ユーザからの指示やデータ入力を受付け、これらの入力情報を処理部14に伝達する。表示部22は、CRTディスプレイ等の出力機器から構成され、処理部14の制御のもとで、入力部20から入力されたデータや制御情報、処理部14のメモリ上のデータを表示する。
【0024】
バックアップ装置30は、USBインターフェース制御部32、バックアップデータ格納部34から構成される。USBインターフェース制御部32は、バックアップ装置30がPC10にUSBインターフェース40を介して接続されたとき、その接続を認識して、USBプロトコルを使用したPC10とのデータ送受信を制御する。バックアップデータ格納部34は、ハードディスク等の不揮発性の記憶媒体であり、バックアップデータファイルを格納している。
【0025】
次に、バックアップ装置30のバックアップデータ格納部34における、データファイルの論理的な格納構造、及びデータファイルの構造について説明する。図2は、第1実施形態に係るバックアップデータファイルの論理的な格納構造を説明する図である。バックアップデータ格納部34は、最古世代のフルデータファイルが格納されるフルバックアップ領域AF、最古世代以降の各過去世代の差分データファイルがそれぞれ格納される差分領域AGi(ただし、1≦i≦n、第n世代は最新世代に対応する)に分けられる。なお、上述した差分領域AGiは、最初のバックアップから数えてi−1回目後のバックアップの後に、PC10側で変更、追加、及び削除が施されたデータを含むデータファイルが、最初のバックアップから数えてi回目後のバックアップにおいて、差分データファイルとして差分領域に移動することにより生成される。
【0026】
図3は、第1実施形態に係るバックアップデータファイルの構造を説明する図である。図3(a)に示すように、データファイルは可変長パケットであり、ファイル情報部FI1(またはFI2)とデータ部DTから構成される。ファイル情報部FI1及びFI2はデータファイルの属性情報を格納する場所であり、データ部DTはデータファイルの内容を格納する場所である。
【0027】
図3(b)に示すように、フルバックアップ領域AFに格納されるデータファイルのファイル情報部FI1は、ヘッディング情報SOH、アドレス情報AD、データサイズ情報DS、ファイル名FN、及びタイムスタンプTSを格納している。ヘッディング情報SOHは、引き続く領域に、ファイル情報部FI1(またはFI2)及びデータ部DTが存在することを表している。アドレス情報ADは、バックアップデータ格納部34の不揮発性の記憶媒体上における、データファイルが格納されている物理的な格納位置を表している。データサイズ情報DSはデータ部DTに格納されているデータ内容のサイズを表している。ファイル名FNはデータファイルのファイル名を表している。タイムスタンプSTはバックアップ処理が施されて、フルバックアップ領域AFまたは差分領域AGiに格納された時刻を表している。
【0028】
図3(c)に示すように、差分領域AGiに格納される差分データファイルのファイル情報FI2は、前述のファイル情報部FI1の内容に更に処理の種類PKを含んで構成されている。処理の種類PKは、対象の差分データファイルが差分領域AGiに移動する契機となった、対応するデータファイルに対してPC10で施された処理の種類、すなわち、変更、追加、及び削除を表している。
【0029】
このように構成されたバックアップシステム1を用いた、データファイルの復元方法を説明する。図4は、第1実施形態に係る復元方法を説明するフローチャートである。操作者は、USBインターフェイス40を介して、バックアップ装置30にPC10を接続させた後、PC10側で復元専用のアプリケーションを起動させて、表示部22の画面情報に基づいて復元対象の世代を、入力部20から処理部14に入力する(ステップS1)。
【0030】
復元対象の世代が処理部14で受付けられると、処理部14は現在の世代番号iを0にセットし(ステップS2)、問い合わせ部18に問い合わせ指令を出力する。
【0031】
問い合わせ指令が問い合わせ部18で受付けられると、問い合わせ部18は、USBインターフェース40を介して、バックアップ装置30のバックアップデータ格納部34のディレクトリ情報を参照して、フルバックアップ領域AFに直接アクセスする。それから、問い合わせ部18は最古世代の各データファイルのファイル情報部FI1を読み取る(ステップS3)。具体的には、問い合わせ部18は、ファイル情報部FI1に格納されたアドレス情報ADを読み取り、バックアップデータ格納部34の記憶媒体における、各データファイルの物理的な格納位置を認識する。
【0032】
問い合わせ部18が、バックアップデータ格納部34の記憶媒体における、各データファイルの物理的な格納位置を認識すると、問い合わせ部18は、そのアドレス情報を処理部14に出力する。処理部14が問い合わせ部18から送信されたアドレス情報を受け取ると、処理部14の内部に、バックアップデータ格納部34の記憶媒体における、最古世代の各データファイル間の物理的な格納位置の関係を表すAFマップ情報が作成される(ステップS4)。
【0033】
処理部14の内部でAFマップ情報が作成されると、処理部14は復元対象の世代が最古世代であるか否か判断する(ステップS5)。復元対象の世代が最古世代の場合にはステップS10に進み、復元対象の世代が最古世代でない場合にはステップS6に進む。
【0034】
復元対象の世代が最古世代でない場合には、処理部14は世代番号iに1を加える(ステップS6)。それから、処理部14は問い合わせ部18に追加問い合わせ指令を出力する。追加問い合わせ指令が問い合わせ部18で受け取られると、問い合わせ部18は、USBインターフェース40を介して、バックアップ装置30のバックアップデータ格納部34のディレクトリ情報を参照して、世代番号iと同じ値を有する、差分領域AGiに直接アクセスする。それから、問い合わせ部18は各差分データファイルのファイル情報部FI2を読み取る(ステップS7)。具体的には、問い合わせ部18は、ファイル情報部FI2に格納されたアドレス情報AD及び処理の種類PKを読み取り、バックアップデータ格納部34の記憶媒体における各データファイルの物理的な格納位置、及び、対象の差分データファイルが差分領域AGiに移動する契機となった、対応するデータファイルに対してPC10で施された処理の種類を認識する。
【0035】
問い合わせ部18が、バックアップデータ格納部34の記憶媒体における、各データファイルの物理的な格納位置及び処理の種類を認識すると、問い合わせ部18は、これらの情報を再び処理部14に出力する。処理部14は問い合わせ部18から送信された情報に基づき、以前に作成したマップ情報を更新して、処理部14の内部に、バックアップデータ格納部34の記憶媒体における、i世代後の過去世代の各データファイル間の物理的な格納位置の関係を表すAGiマップ情報を作成する(ステップS8)。具体的には、処理の種類が変更の場合には、以前に作成したマップ情報内の、対応するデータファイルのアドレス情報を差分データファイルのアドレス情報に書き換える。処理の種類が追加の場合には、以前に作成したマップ情報内の適切な位置に差分データファイルのアドレス情報を書き込む。処理の種類が削除の場合には、以前に作成したマップ情報内の、対応するデータファイルのアドレス情報を削除する。
【0036】
処理部14の内部でAGiマップ情報が作成されると、処理部14は復元対象の世代が現在の世代番号と同じであるか否か判断する(ステップS9)。復元対象の世代が現在の世代番号である場合にはステップS10に進み、復元対象の世代が現在の世代番号でない場合にはステップS6に戻る。
【0037】
ステップS5において復元対象の世代が最古世代の場合、処理部14の内部で作成されたAFマップ情報を参照しながら、処理部14は、バックアップ装置30のバックアップデータ格納部34から復元対象の世代のデータファイルを一括して復元する。また、ステップ9において復元対象の世代が現在の世代番号の場合、処理部14の内部で作成された復元対象の世代に適合するマップ情報を参照しながら、処理部14は、バックアップ装置30のバックアップデータ格納部34から復元対象の世代のデータファイルを一括して復元する(ステップS10)。
【0038】
かかる本発明の実施形態によれば、ステップS10において、一括して、復元対象の世代のフルデータファイルが復元されるので、フルデータファイルの物理的配置を分散させずに済む。
【0039】
(第2実施形態)
以下に図面を参照しながら、本発明の第2実施形態について詳細に説明する。
【0040】
なお、第2実施形態では、第1実施形態で使用されたバックアップデータの世代管理方法とは異なった世代管理方法が使用されている。また、第2実施形態で用いられるバックアップシステムは、第1実施形態で用いられるバックアップシステム1と同様な構成をしているので、詳細な説明は省略する。
【0041】
図5は、第2実施形態のバックアップデータの論理的な格納構造を説明する図である。バックアップデータ格納部34は、最新世代のフルデータファイルが格納されるフルバックアップ領域BF、最新世代以前の各過去世代の差分データファイルがそれぞれ格納される差分領域BGi(ただし、1≦i≦n、第n世代は最古世代に対応する)に分けられる。なお、上述した差分領域BGiは、最新のバックアップから数えてi+1回目前のバックアップの後に、PC10側で変更、追加、及び削除を施したデータを含むデータファイルが、最新のバックアップから数えてi回目前のバックアップにおいて、差分データファイルとして差分領域に移動することにより生成される。
【0042】
また、第2実施形態で使用されるバックアップデータ構造は、図3に示した、第1実施形態で使用されるバックアップデータ構造と同じなので、詳細な説明は省略する。ただし、ファイル情報FI1はフルバックアップ領域BFに格納されるデータファイルのファイル情報を表し、ファイル情報FI2は差分領域BGiに格納された差分データファイルのファイル情報を表している。また、タイムスタンプSTはバックアップ処理が施されて、フルバックアップ領域BFまたは差分領域BGiに格納された時刻を表している。
【0043】
このように構成されたバックアップシステム1を用いた、データの復元方法を説明する。図6は、第2実施形態に係る復元方法を説明するフローチャートである。操作者は、USBインターフェイス40を介して、バックアップ装置30にPC10を接続させた後、PC10側で復元専用のアプリケーションを起動させて、表示部22の画面情報に基づいて復元対象の世代を、入力部20から処理部14に入力する(ステップS20)。
【0044】
復元対象の世代が処理部14で受付けられると、処理部14は現在の世代番号iを0にセットし(ステップ21)、問い合わせ部18に問い合わせ指令を出力する。
【0045】
問い合わせ指令が問い合わせ部18で受付けられると、問い合わせ部18は、USBインターフェース40を介して、バックアップ装置30のバックアップデータ格納部34のディレクトリ情報を参照して、フルバックアップ領域BFに直接アクセスする。それから、問い合わせ部18は最新世代の各データファイルのファイル情報部FI1を読み取る(ステップS22)。具体的には、問い合わせ部18は、ファイル情報部FI1に格納されたアドレス情報ADを読み取り、バックアップデータ格納部34の記憶媒体における、各データファイルの物理的な格納位置を認識する。
【0046】
問い合わせ部18が、バックアップデータ格納部34の記憶媒体における、各データファイルの物理的な格納位置を認識すると、問い合わせ部18は、そのアドレス情報を処理部14に出力する。処理部14が問い合わせ部18から送信されたアドレス情報を受け取ると、処理部14の内部に、バックアップデータ格納部34の記憶媒体における、最新世代の各データファイル間の物理的な格納位置の関係を表すBFマップ情報が作成される。(ステップS23)。
【0047】
処理部14の内部でBFマップ情報が作成されると、処理部14は復元対象の世代が最新世代であるか否か判断する(ステップS24)。復元対象の世代が最新世代の場合にはステップS29に進み、復元対象の世代が最新世代でない場合にはステップS25に進む。
【0048】
復元対象の世代が最古世代でない場合には、処理部14は世代番号iに1を加える(ステップS25)。それから、処理部14は問い合わせ部18に追加問い合わせ指令を出力する。追加問い合わせ指令が問い合わせ部18で受け取られると、問い合わせ部18は、USBインターフェース40を介して、バックアップ装置30のバックアップデータ格納部34のディレクトリ情報を参照して、世代番号iと同じ値を有する、差分領域BGiに直接アクセスする。それから、問い合わせ部18は各差分データファイルのファイル情報部FI2を読み取る(ステップS26)。具体的には、問い合わせ部18は、ファイル情報部FI2に格納されたアドレス情報AD及び処理の種類PKを読み取り、バックアップデータ格納部34の記憶媒体における、各データファイルの物理的な格納位置、及び、対象の差分データファイルが差分領域BGiに移動する契機となった、対応するデータファイルに対してPC10で施された処理の種類を認識する。
【0049】
問い合わせ部18が、バックアップデータ格納部34の記憶媒体における、各データファイルの物理的な格納位置及び処理の種類を認識すると、問い合わせ部18は、これらの情報を再び処理部14に出力する。処理部14は、問い合わせ部18から送信された情報に基づき、以前に作成したマップ情報を更新して、処理部14の内部に、バックアップデータ格納部34の記憶媒体における、i世代前の過去世代の各データファイル間の物理的な格納位置の関係を表すBGiマップ情報を作成する(ステップS27)。具体的には、問い合わせ部18から送信された情報において、処理の種類が変更の場合には、以前に作成したマップ情報内の対応するデータファイルのアドレス情報を差分データファイルのアドレス情報に書き換える。処理の種類が削除の場合には、以前に作成したマップ情報内の適切な位置に差分データファイルのアドレス情報を書き込む。処理の種類が追加の場合には、以前に作成したマップ情報内の対応するデータファイルのアドレス情報を削除する。
【0050】
処理部14の内部でBGiマップ情報が作成されると、処理部14は復元対象の世代が現在の世代番号と同じであるか否か判断する(ステップS28)。復元対象の世代が現在の世代番号である場合にはステップS29に進み、復元対象の世代が現在の世代番号でない場合にはステップS25に戻る。
【0051】
ステップS24において復元対象の世代が最新世代の場合、処理部14の内部で作成されたBFマップ情報を参照しながら、処理部14は、バックアップ装置30のバックアップデータ格納部34から復元対象の世代のデータファイルを一括して復元する。また、ステップS28において復元対象の世代が現在の世代番号の場合、処理部14の内部で作成された復元対象の世代に適合するマップ情報を参照しながら、処理部14は、バックアップ装置30のバックアップデータ格納部34から復元対象の世代のデータファイルを一括して復元する(ステップS29)。
【0052】
かかる本発明の実施形態によれば、ステップS29において、一括して、復元対象の世代のフルデータファイルが復元されるので、フルデータファイルの物理的配置を分散させずに済む。
【0053】
【発明の効果】
請求項1に係る復元方法及び請求項4に係る復元システムを使用する場合、処理装置側で、復元対象の世代に適合するマップ情報を作成して、復元対象の世代のフルデータファイルを一括して復元するので、バックアップされたデータファイル以外のデータをバックアップ装置の記憶媒体に格納することなく、復元対象の世代のフルデータファイルを一括して復元できる。
【0054】
請求項2に係る復元方法及び請求項5に係る復元システムを使用する場合、最古世代のフルデータファイル、または最古世代に近い世代のフルデータファイルを、短い時間で一括して処理装置に復元できる。
【0055】
請求項3に係る復元方法及び請求項6に係る復元システムを使用する場合、最新世代のフルデータファイル、または最新世代に近い世代のフルデータファイルを、短い時間で一括して処理装置に復元できる。
【図面の簡単な説明】
【図1】本発明の第1実施形態及び第2実施形態に係るバックアップシステムの構成図である。
【図2】本発明の第1実施形態に係るバックアップデータファイルの論理的な格納構造を説明する図である。
【図3】本発明の第1実施形態及び第2実施形態に係るバックアップデータファイルの構造を説明する図である。
【図4】本発明の第1実施形態に係る復元方法を説明するフローチャートである。
【図5】本発明の第2実施形態に係るバックアップデータファイルの論理的な格納構造を説明する図である。
【図6】本発明の第2実施形態に係る復元方法を説明するフローチャートである。
【符号の説明】
1 バックアップシステム(復元システム)
10 パーソナルコンピュータ
14 処理部
16 データ格納部
18 問い合わせ部
30 バックアップ装置
34 バックアップデータ格納部
40 ユニバーサルシリアルバスインターフェース
AF フルバックアップ領域
AFi 差分領域
BF フルバックアップ領域
BFi 差分領域[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a restoration method and a system thereof, and more particularly, to a method of restoring backup data from a backup device having a function of managing generation of backup data and a system thereof.
[0002]
[Prior art]
Normally, in a backup device, generations of backup data files are managed. As a result, the user can restore the contents of data, the operating environment of the system, and the like to the state several generations ago.
[0003]
In order to perform generation management of a backup data file, a method of storing generation data files of each generation and performing generation management, which is used in
[0004]
By using this method, the data occupied space per generation in the storage medium of the backup device can be saved, so that more generations can be backed up. In addition, by updating the oldest generation full data file sequentially based on the difference data files up to the past generation to be restored while referring to the generation management database, the full data file of the past generation to be restored can be restored.
[0005]
[Patent Document 1]
Patent No. 2845886
[0006]
[Problems to be solved by the invention]
However, in the above-described conventional method of storing the difference data files of each generation and managing the generations, the oldest generation full data file is temporarily restored while referring to the generation management database to perform the past generation restoration processing. Further, the oldest generation full data files restored based on the difference data files of each past generation are sequentially updated until the restoration target past generations are reached. Cannot be restored. Therefore, there is a possibility that the physical arrangement of the full data files of the past generation to be restored is dispersed, and when these data files are used after restoration, there arises a problem that the operation efficiency is reduced. Further, since the generation management data beta is stored in a part of the storage medium of the backup device, the storage capacity that can be used to store the backed up data file is reduced.
[0007]
The present invention has been made in order to solve such a problem, and a full-data file of a past generation to be restored is stored without storing data other than the backed-up data file in a storage medium of a backup device. It is an object of the present invention to provide a restoring method and a restoring method capable of restoring all at once.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the invention according to
[0009]
In this restoration method, a data file of a past generation to be restored is processed by a backup device having a full backup area for storing a full data file and a differential area for storing a differential data file. Is restored to the processing device that performs the processing. Specifically, the processing device reads the attribute information of the full data file stored in the full backup area, and creates map information indicating the physical storage position of the full data file in the backup device. Then, the processing device reads the attribute information of the differential data file stored in the differential area unit until the restoration target past generation is reached, and sequentially updates the previously created map information based on the attribute information, , The map information indicating the physical storage position of the full data file of the past generation to be restored is created, and the full data file of the past generation to be restored is restored based on the map information of the past generation to be restored. Therefore, it is possible to collectively restore the past generation full data files to be restored to the processing device without storing data other than the backed-up data files in the storage medium of the backup device.
[0010]
The invention according to claim 2 is the restoration method according to
[0011]
In this restoration method, the full data file stored in the full backup area is the oldest generation full data file backed up first, and the differential data file stored in the differential area is This is a differential data file of the past generation. Therefore, the oldest generation full data file or the generation full data file close to the oldest generation can be collectively restored to the processing device in a short time.
[0012]
The invention according to
[0013]
In this restoration method, the full data file stored in the full backup area is the latest full data file backed up last, and the differential data file stored in the differential area is Is a difference data file. Therefore, a full data file of the latest generation or a full data file of a generation close to the latest generation can be collectively restored to the processing device in a short time.
[0014]
In order to achieve the above object, the invention according to claim 4 includes a backup device for backing up a data file, and a processing device for restoring the data file backed up in the backup device and performing processing. A restoration system, wherein the backup device has a full backup area where a full data file is stored, and a differential area where a differential data file is stored; The attribute information of the full data file stored in the backup device is read, map information indicating a physical storage position of the full data file in the backup device is created, and the past generation information of the restoration target input as a restoration start instruction is read. Accordingly, the data stored in the difference area unit until the past generation to be restored is reached. The attribute information of the differential data file is read, and the previously created map information is sequentially updated based on the attribute information, and a map indicating the physical storage position of the past generation full data file to be restored in the backup device is displayed. An inquiring unit for creating information, and a restoration processing unit for restoring a full data file of the past generation to be restored based on the map information corresponding to the past generation to be restored.
[0015]
This restoration system includes a backup device for backing up a data file, and a processing device for restoring the data file backed up in the backup device and performing processing. Specifically, the backup device has a full backup area for storing full data files and a differential area for storing differential data files. Further, the processing device reads the attribute information of the full data file stored in the full backup area, creates map information indicating the physical storage position of the full data file in the backup device, and inputs the map information as a restoration start instruction. According to the past generation information to be restored, the attribute information of the difference data file stored in the difference area is read until the past generation to be restored is reached, and the previously created map information is sequentially updated based on the attribute information. A query unit that creates map information indicating the physical storage location of the full data file of the past generation to be restored in the backup device; and the mapping information corresponding to the past generation to be restored, based on the mapping information corresponding to the past generation to be restored. A restoration processing unit for restoring a full data file. Therefore, the full data file of the past generation to be restored can be collectively restored without storing data other than the backed up data file in the storage medium of the backup device.
[0016]
The invention of claim 5 is the restoration system according to claim 4, wherein the full data file stored in the full backup area is an oldest generation full data file backed up first. The differential data file stored in the differential area unit is a differential data file of a past generation after the oldest generation.
[0017]
In this restoration system, the full data file stored in the full backup area is the oldest generation full data file backed up first, and the differential data file stored in the differential area is This is a differential data file of the past generation. Therefore, the oldest generation full data file or the generation full data file close to the oldest generation can be collectively restored to the processing device in a short time.
[0018]
According to a sixth aspect of the present invention, in the restoration system according to the fourth aspect, the full data file stored in the full backup area is a latest full-data file backed up last, and The differential data file stored in the area unit is a differential data file of a past generation before the latest generation.
[0019]
In this restoration system, the full data file stored in the full backup area is the latest full-data file backed up last, and the differential data file stored in the differential area is Is a difference data file. Therefore, a full data file of the latest generation or a full data file of a generation close to the latest generation can be collectively restored to the processing device in a short time.
[0020]
BEST MODE FOR CARRYING OUT THE INVENTION
(1st Embodiment)
Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings.
[0021]
FIG. 1 is a configuration diagram of a backup system (restore system) 1 according to an embodiment of the present invention. The
[0022]
The
[0023]
The
[0024]
The
[0025]
Next, the logical storage structure of the data file and the structure of the data file in the backup
[0026]
FIG. 3 is a diagram illustrating the structure of the backup data file according to the first embodiment. As shown in FIG. 3A, the data file is a variable-length packet, and includes a file information section FI1 (or FI2) and a data section DT. The file information sections FI1 and FI2 are places for storing attribute information of the data file, and the data section DT is a place for storing the contents of the data file.
[0027]
As shown in FIG. 3B, the file information section FI1 of the data file stored in the full backup area AF stores heading information SOH, address information AD, data size information DS, file name FN, and time stamp TS. are doing. The heading information SOH indicates that a file information section FI1 (or FI2) and a data section DT exist in a subsequent area. The address information AD indicates a physical storage position where the data file is stored on the nonvolatile storage medium of the backup
[0028]
As shown in FIG. 3C, the file information FI2 of the difference data file stored in the difference area AGi is configured to further include the type of processing PK in the content of the file information section FI1 described above. The processing type PK represents the type of processing performed by the
[0029]
A method of restoring a data file using the
[0030]
When the generation to be restored is accepted by the
[0031]
When the inquiry command is received by the
[0032]
When the
[0033]
When the AF map information is created inside the
[0034]
If the generation to be restored is not the oldest generation, the
[0035]
When the
[0036]
When the AGi map information is created inside the
[0037]
If the generation to be restored is the oldest generation in step S5, the
[0038]
According to the embodiment of the present invention, in step S10, the full data files of the generation to be restored are restored collectively, so that the physical arrangement of the full data files does not need to be dispersed.
[0039]
(2nd Embodiment)
Hereinafter, a second embodiment of the present invention will be described in detail with reference to the drawings.
[0040]
In the second embodiment, a generation management method different from the backup data generation management method used in the first embodiment is used. Further, the backup system used in the second embodiment has the same configuration as the
[0041]
FIG. 5 is a diagram illustrating a logical storage structure of backup data according to the second embodiment. The backup
[0042]
The backup data structure used in the second embodiment is the same as the backup data structure used in the first embodiment shown in FIG. However, the file information FI1 represents the file information of the data file stored in the full backup area BF, and the file information FI2 represents the file information of the differential data file stored in the differential area BGi. The time stamp ST indicates the time at which the backup process was performed and stored in the full backup area BF or the difference area BGi.
[0043]
A data restoration method using the
[0044]
When the generation to be restored is accepted by the
[0045]
When the inquiry command is received by the
[0046]
When the
[0047]
When the BF map information is created inside the
[0048]
If the generation to be restored is not the oldest generation, the
[0049]
When the
[0050]
When the BGi map information is created inside the
[0051]
If the generation to be restored is the latest generation in step S24, the
[0052]
According to the embodiment of the present invention, in step S29, the full data files of the generation to be restored are restored collectively, so that the physical arrangement of the full data files does not need to be dispersed.
[0053]
【The invention's effect】
In the case of using the restoration method according to the first aspect and the restoration system according to the fourth aspect, the processing device creates map information suitable for the generation to be restored and collectively stores the full data files of the generation to be restored. Therefore, full data files of the generation to be restored can be collectively restored without storing data other than the backed up data files in the storage medium of the backup device.
[0054]
When the restoration method according to claim 2 and the restoration system according to claim 5 are used, the oldest generation full data file or the full data file of the generation close to the oldest generation is collectively transferred to the processing device in a short time. Can be restored.
[0055]
When the restoration method according to the third aspect and the restoration system according to the sixth aspect are used, a full data file of the latest generation or a full data file of a generation close to the latest generation can be collectively restored to the processing device in a short time. .
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a backup system according to a first embodiment and a second embodiment of the present invention.
FIG. 2 is a diagram illustrating a logical storage structure of a backup data file according to the first embodiment of the present invention.
FIG. 3 is a diagram illustrating the structure of a backup data file according to the first and second embodiments of the present invention.
FIG. 4 is a flowchart illustrating a restoration method according to the first embodiment of the present invention.
FIG. 5 is a diagram illustrating a logical storage structure of a backup data file according to a second embodiment of the present invention.
FIG. 6 is a flowchart illustrating a restoration method according to a second embodiment of the present invention.
[Explanation of symbols]
1 Backup system (restore system)
10 Personal computer
14 Processing unit
16 Data storage
18 inquiry section
30 Backup device
34 Backup data storage
40 Universal Serial Bus Interface
AF full backup area
AFi difference area
BF full backup area
BFi difference area
Claims (6)
前記処理装置が、前記フルバックアップ領域部に格納された前記フルデータファイルの属性情報を読み取り、前記バックアップ装置における前記フルデータファイルの物理的な格納位置を示すマップ情報を作成し、
復元開始指示として入力された復元対象の過去世代情報に応じて、前記復元対象の過去世代に達するまで、前記処理装置が、前記差分領域部に格納された前記差分データファイルの属性情報を読み取り、その属性情報に基づき以前に作成したマップ情報を順次更新して、前記バックアップ装置における前記復元対象の過去世代のフルデータファイルの物理的な格納位置を示すマップ情報を作成し、
前記復元対象の過去世代のマップ情報に基づき、前記復元対象の過去世代のフルデータファイルを復元することを特徴とする復元方法。A processing device for processing a data file of a past generation to be restored from a backup device having a full backup area for storing a full data file and a differential area for storing a differential data file. Backup data restoration method to restore to
The processing device reads attribute information of the full data file stored in the full backup area, creates map information indicating a physical storage position of the full data file in the backup device,
In accordance with the past generation information of the restoration target input as the restoration start instruction, the processing device reads the attribute information of the difference data file stored in the difference area unit until reaching the past generation of the restoration target, Update the previously created map information sequentially based on the attribute information, create map information indicating the physical storage position of the past generation full data file to be restored in the backup device,
A restoration method characterized by restoring a full data file of the past generation to be restored based on the map information of the past generation to be restored.
前記バックアップ装置は、
フルデータファイルが格納されるフルバックアップ領域部と、
差分データファイルが格納される差分領域部と、を有し、
前記処理装置は、
前記フルバックアップ領域部に格納された前記フルデータファイルの属性情報を読み取り、前記バックアップ装置における前記フルデータファイルの物理的な格納位置を示すマップ情報を作成し、復元開始指示として入力された復元対象の過去世代情報に応じて、前記復元対象の過去世代に達するまで、前記差分領域部に格納された前記差分データファイルの属性情報を読み取り、その属性情報に基づき以前に作成したマップ情報を順次更新して、前記バックアップ装置における前記復元対象の過去世代のフルデータファイルの物理的な格納位置を示すマップ情報を作成する問い合わせ部と、
前記復元対象の過去世代に対応した前記マップ情報に基づき、前記復元対象の過去世代のフルデータファイルを復元する復元処理部と、を有することを特徴とする復元システム。A restoration system comprising: a backup device in which a data file is backed up; and a processing device that restores and processes the data file backed up in the backup device,
The backup device,
A full backup area where full data files are stored,
A difference area portion in which a difference data file is stored,
The processing device includes:
The attribute information of the full data file stored in the full backup area is read, map information indicating a physical storage position of the full data file in the backup device is created, and the restoration target input as a restoration start instruction is created. According to the past generation information, the attribute information of the difference data file stored in the difference area portion is read until the past generation of the restoration target is reached, and the previously created map information is sequentially updated based on the attribute information. An inquiry unit that creates map information indicating a physical storage location of the full data file of the past generation to be restored in the backup device,
A restoration processing unit that restores a full data file of the past generation to be restored based on the map information corresponding to the past generation to be restored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003137866A JP2004341841A (en) | 2003-05-15 | 2003-05-15 | Restoration method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003137866A JP2004341841A (en) | 2003-05-15 | 2003-05-15 | Restoration method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004341841A true JP2004341841A (en) | 2004-12-02 |
Family
ID=33527427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003137866A Pending JP2004341841A (en) | 2003-05-15 | 2003-05-15 | Restoration method and system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004341841A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009519522A (en) * | 2005-12-13 | 2009-05-14 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Computer programs, systems, and methods for generating backup sets within a data processing system (generating a backup set to a specific point in time) |
JP2011154503A (en) * | 2010-01-27 | 2011-08-11 | Fujitsu Telecom Networks Ltd | Method and device for managing generation of shared file |
JP5289642B1 (en) * | 2013-01-25 | 2013-09-11 | 株式会社東芝 | Backup storage system, backup storage device and method for backing up data |
-
2003
- 2003-05-15 JP JP2003137866A patent/JP2004341841A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009519522A (en) * | 2005-12-13 | 2009-05-14 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Computer programs, systems, and methods for generating backup sets within a data processing system (generating a backup set to a specific point in time) |
JP2011154503A (en) * | 2010-01-27 | 2011-08-11 | Fujitsu Telecom Networks Ltd | Method and device for managing generation of shared file |
JP5289642B1 (en) * | 2013-01-25 | 2013-09-11 | 株式会社東芝 | Backup storage system, backup storage device and method for backing up data |
WO2014115314A1 (en) * | 2013-01-25 | 2014-07-31 | 株式会社 東芝 | Backup storage system that backs up data and backup storage device and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230053707A1 (en) | Systems and Methods for Database Management Using Append-Only Storage Devices | |
JP6457406B2 (en) | Manage operations on stored data units | |
JP4615337B2 (en) | Storage system | |
JP4741371B2 (en) | System, server apparatus, and snapshot format conversion method | |
JP4825433B2 (en) | Computing device with relatively limited storage space and operating system / file system thereof | |
US7844643B2 (en) | Storage management system with integrated continuous data protection and remote copy | |
JP6491605B2 (en) | Manage operations on stored data units | |
US20110302142A1 (en) | Storage system format for transaction safe file system | |
CN101346883A (en) | Method and system for compression of data for block mode access storage | |
US9514139B2 (en) | Space efficient cascading point in time copying | |
JP2006107162A (en) | Storage system | |
JP4755244B2 (en) | Information generation method, information generation program, and information generation apparatus | |
US9158781B1 (en) | Version mapped incremental backups with version creation condition | |
CN111240722A (en) | Method for upgrading firmware over the air, and terminal, server and system applied by same | |
KR102275240B1 (en) | Managing operations on stored data units | |
JP2008033527A (en) | Storage device, disk device and data restoring method | |
JP2004341841A (en) | Restoration method and system | |
JP2003162438A (en) | Database management system | |
US6625614B1 (en) | Implementation for efficient access of extended attribute data | |
JP2004341840A (en) | Backup method, system therefor, and restoration method | |
JPH05113920A (en) | Method and device for managing file | |
JP5648203B2 (en) | Network boot system | |
JP2013127748A (en) | Information processing apparatus, data storage method, and program | |
JP4155973B2 (en) | Asynchronous communication program, asynchronous communication device, and asynchronous communication method | |
JP3559571B2 (en) | Data processing device and data processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060412 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090310 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090707 |