JP2004171529A - Data backup system and data backup method - Google Patents

Data backup system and data backup method Download PDF

Info

Publication number
JP2004171529A
JP2004171529A JP2003354149A JP2003354149A JP2004171529A JP 2004171529 A JP2004171529 A JP 2004171529A JP 2003354149 A JP2003354149 A JP 2003354149A JP 2003354149 A JP2003354149 A JP 2003354149A JP 2004171529 A JP2004171529 A JP 2004171529A
Authority
JP
Japan
Prior art keywords
data
transaction
backup
storage
database
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
Application number
JP2003354149A
Other languages
Japanese (ja)
Inventor
Masaharu Iizuka
真玄 飯塚
Yuji Tokuda
雄二 徳田
Masaki Mori
正樹 森
Masatoshi Shirasaki
昌俊 白崎
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.)
SKY COM KK
TKC Corp
Original Assignee
SKY COM KK
TKC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SKY COM KK, TKC Corp filed Critical SKY COM KK
Priority to JP2003354149A priority Critical patent/JP2004171529A/en
Publication of JP2004171529A publication Critical patent/JP2004171529A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To regularly lay a database in the latest state in conformation to the occurrence of a transaction of the database and to rapidly perform restoration in the occurrence of a disaster. <P>SOLUTION: The data stored in the business database 5 of a server 1 are backed up in the storage database 11 of a storage center 2 in a remote place as a total backup. The transaction data 6 of the server 1 are transferred to the storage center 2. In the storage center 2, the total backup of the storage database 11 is read, subjected to transaction adaptation processing, and restored in the storage database 11. According to this, the data of the server 1 can be regularly backed up to the latest state in the storage center 2, and when the server 1 requires restoration due to disaster or the like, this restoration work can be rapidly performed. <P>COPYRIGHT: (C)2004,JPO

Description

この発明は、データのバックアップを行う、より詳しくは、データベースをトランザクションの発生単位で更新し災害発生時等に迅速な復旧が図れるデータバックアップシステムおよびデータバックアップ方法に関する。   The present invention relates to a data backup system for backing up data, and more particularly, to a data backup system and a data backup method capable of updating a database in transaction units and enabling quick recovery in the event of a disaster or the like.

図7は、従来のデータバックアップシステムの構成を示す概要図である。図示のバックアップシステムは、利用者が操作するバックアップ対象(サーバ)70の設置個所に対し、所定距離離れた遠隔地にバックアップセンタ71を設置してなる。このバックアップセンタ71に設けられたデータベース72には、バックアップ対象70のデータ全体(全体バックアップ)80が格納される。そして、業務発生により生じるトランザクション(差分)データ81についてはテープ等の記憶媒体や、ネットワーク73等を介してデータベース72に随時格納される。   FIG. 7 is a schematic diagram showing the configuration of a conventional data backup system. In the illustrated backup system, a backup center 71 is installed at a remote location at a predetermined distance from a location where a backup target (server) 70 operated by a user is located. The database 72 provided in the backup center 71 stores the entire data (entire backup) 80 of the backup target 70. Then, the transaction (difference) data 81 generated by the occurrence of the job is stored in the storage medium such as a tape or the database 72 via the network 73 as needed.

これにより、バックアップ対象70の全体バックアップ80およびトランザクションデータ81を遠隔地のバックアップセンタ71に待避(バックアップ)させておくことができ、バックアップ対象(サーバ)70の設置個所が災害等で損傷を受けた場合には、バックアップセンタ71からバックアップセット82(全体バックアップ80およびトランザクションデータ81からなる)を取り寄せてデータ内容の復旧を図ることができるようになる。   As a result, the entire backup 80 and the transaction data 81 of the backup target 70 can be saved (backed up) at the backup center 71 at a remote location, and the installation location of the backup target (server) 70 is damaged by a disaster or the like. In this case, a backup set 82 (composed of the entire backup 80 and the transaction data 81) can be obtained from the backup center 71 to restore the data contents.

このように、特定の広範囲のエリアに起こる災害に備えて、遠く離れた地点にデータベース格納手段を設置し、データを遠く離れたデータベースにバックアップデータとして格納するという技術は、例えば、下記特許文献1に開示されている。   As described above, in order to prepare for a disaster occurring in a specific wide area, a technique of installing a database storage means at a distant point and storing the data as backup data in a distant database is disclosed in, for example, Japanese Patent Application Laid-Open No. H11-163,037. Is disclosed.

特開平9−146812号公報JP-A-9-146812

しかしながら、上記従来の技術では、バックアップセンタ71には、トランザクションの発生毎にトランザクションデータ81が蓄積されていくため、バックアップセンタ71でのデータ量が膨大となり、テープ等データの保管スペースが必要となり、同時に管理に手間がかかった。   However, in the above-described conventional technology, the transaction data 81 is accumulated in the backup center 71 every time a transaction occurs. Therefore, the amount of data in the backup center 71 becomes enormous, and a storage space for data such as tape is required. At the same time, management took time.

また、バックアップ対象70が復旧を必要とする際、この復旧に時間がかかる問題があった。すなわち、バックアップセンタ71には、災害発生時までや、年区切り毎等の単位で全てのトランザクションデータ81が保管されることになるため、災害発生後に復旧に必要なバックアップセット82の作成(すなわち、全体バックアップ80にトランザクションデータ81の差分処理を適用した更新後データの生成処理)そのものに極めて手間と時間がかかった。   Further, when the backup target 70 needs to be restored, there is a problem that the restoration takes time. That is, the backup center 71 stores all the transaction data 81 in units such as until the occurrence of a disaster or every year, so that a backup set 82 necessary for recovery after the occurrence of a disaster is created (ie, The process of generating the updated data in which the difference processing of the transaction data 81 is applied to the whole backup 80) itself is extremely troublesome and time-consuming.

この際、蓄積された長期間のトランザクションデータ81の差分処理を適用する際に各トランザクションデータ81毎に適用の正当性を検証しなければならず、トランザクションデータ81の数に応じて正当性の検証にも相当の時間がかかることになった。   At this time, when applying the differential processing of the accumulated long-term transaction data 81, the validity of the application must be verified for each transaction data 81, and the validity is verified according to the number of transaction data 81. It took a considerable amount of time.

この発明は、上述した従来技術による問題点を解消するため、データベースのトランザクション発生に対応しデータベースの内容を常時最新状態にできるとともに、災害発生時等の復旧を迅速に行えるデータバックアップシステムおよびデータバックアップ方法を提供することを目的とする。   SUMMARY OF THE INVENTION The present invention solves the above-mentioned problems of the prior art, and provides a data backup system and a data backup system that can always update the contents of a database in response to the occurrence of a database transaction and can quickly recover in the event of a disaster or the like. The aim is to provide a method.

上述した課題を解決し、目的を達成するため、請求項1の発明にかかるデータバックアップシステムは、データベースを備えたサーバと、該サーバのデータベースのデータ内容をバックアップするための遠隔地のストレージセンタとからなるデータバックアップシステムにおいて、前記サーバは、トランザクションデータの発生毎に該トランザクションデータを前記ストレージセンタに転送する転送手段を備え、前記ストレージセンタは、前記サーバのデータベースをバックアップした全体バックアップデータを格納する格納手段と、前記サーバからトランザクションデータを受ける都度、前記サーバに該当する全体バックアップに対し前記トランザクションデータを用いたトランザクション適用処理を実行し、前記格納手段に前記トランザクション適用処理後の全体バックアップデータを再格納するデータ処理手段とを備えたことを特徴とする。   In order to solve the above-mentioned problems and achieve the object, a data backup system according to the first aspect of the present invention includes a server having a database, and a remote storage center for backing up data contents of the database of the server. Wherein the server includes a transfer unit for transferring the transaction data to the storage center every time transaction data is generated, and the storage center stores the entire backup data obtained by backing up the database of the server. A storage unit, and performing a transaction application process using the transaction data on the entire backup corresponding to the server each time the transaction data is received from the server; Characterized in that said data processing means also re-store the entire backup data after Deployment application process.

この請求項1の発明によれば、ストレージセンタでは、遠隔地のサーバでのトランザクションデータの発生毎に、全体バックアップに対し前記トランザクションデータを用いたトランザクション適用処理を実行し、前記格納手段に前記トランザクション適用処理後の全体バックアップデータを再格納するので、トランザクションデータの保管が不要となり、常時全体バックアップデータを最新状態に維持することができ、サーバの設置個所が災害等でデータベースに損傷を受けた場合には、ストレージセンタの全体バックアップデータを用いて迅速な復旧を図ることができる。   According to the first aspect of the present invention, each time transaction data is generated in a remote server, the storage center executes a transaction application process using the transaction data on the entire backup, and stores the transaction data in the storage unit. Since the entire backup data after the application processing is re-stored, transaction data storage is not required, the entire backup data can be kept up to date at all times, and the server installation location is damaged by a disaster etc. in the database In this case, quick recovery can be achieved using the entire backup data of the storage center.

また、請求項2の発明にかかるデータバックアップシステムは、それぞれデータベースを備えたn個のサーバと、該n個のサーバ毎のデータベースのデータ内容をバックアップするための遠隔地のストレージセンタとからなるデータバックアップシステムにおいて、前記n個のサーバは、トランザクションデータの発生毎に該トランザクションデータを前記ストレージセンタに転送する転送手段を備え、前記ストレージセンタは、前記n個のサーバ毎に備えたデータベースをバックアップした全体バックアップデータを、前記n個のサーバ毎にそれぞれ割り当てられたn個の領域のなかから該当する領域に格納する格納手段と、前記n個のサーバからトランザクションデータを受ける都度、前記n個のサーバ毎にそれぞれ割り当てられた前記n個の領域に格納された全体バックアップに対して前記トランザクションデータを用いたトランザクション適用処理を実行し、前記トランザクション適用処理後の全体バックアップデータを前記n個のサーバ毎にそれぞれ割り当てられた前記n個の領域に再格納するデータ処理手段とを備えたことを特徴とする。   A data backup system according to a second aspect of the present invention is a data backup system comprising: n servers each having a database; and a remote storage center for backing up data contents of the database for each of the n servers. In the backup system, the n servers include a transfer unit that transfers the transaction data to the storage center each time transaction data occurs, and the storage center backs up a database provided for each of the n servers. Storage means for storing the whole backup data in a corresponding area from among the n areas respectively allocated to the n servers; and each time the transaction data is received from the n servers, the n servers Said each assigned to each And performing transaction application processing using the transaction data on the whole backups stored in the n areas, and transferring the n backups after the transaction application processing to the n servers assigned to the n servers, respectively. Data processing means for restoring the data in the area.

この請求項2の発明によれば、ストレージセンタでは、遠隔地に設置されたn個のサーバでのトランザクションデータの発生毎に、該当する全体バックアップに対し前記トランザクションデータを用いたトランザクション適用処理を実行し、前記格納手段に前記トランザクション適用処理後の全体バックアップデータを再格納するので、トランザクションデータの保管が不要となり、常時全体バックアップデータを最新状態に維持することができ、サーバの設置個所が災害等でデータベースに損傷を受けた場合には、ストレージセンタの全体バックアップデータを用いて迅速な復旧を図ることができる。また、n個のサーバからトランザクションデータが送信される都度トランザクション適用処理が行われ、その各々のサーバに該当する前記格納手段に全体バックアップデータを再格納できるので、サーバ毎に一つのバックアップシステムを用意する必要がなくなり、バックアップするための設備を効率化することができる。   According to the second aspect of the present invention, the storage center executes the transaction application processing using the transaction data for the corresponding whole backup every time the transaction data is generated in the n servers installed in the remote locations. However, since the entire backup data after the transaction application processing is re-stored in the storage means, the storage of the transaction data becomes unnecessary, and the entire backup data can be kept up-to-date at all times. In the case where the database is damaged in the above, quick recovery can be achieved by using the whole backup data of the storage center. Also, a transaction application process is performed each time transaction data is transmitted from n servers, and the entire backup data can be re-stored in the storage means corresponding to each server. Therefore, one backup system is prepared for each server. This eliminates the need to perform the backup and makes the efficiency of the backup facility more efficient.

また、請求項3の発明にかかるデータバックアップシステムは、請求項2に記載の発明において、前記転送手段によって前記n個のサーバからそれぞれ転送されるトランザクションデータを受ける都度、該トランザクションデータを前記n個のサーバ毎にそれぞれ割り当てられたn個の記憶領域のなかから該当する記憶領域に一時的に記憶する記憶手段を備え、前記データ処理手段は、前記n個のサーバ毎にそれぞれ割り当てられた前記記憶手段の前記記憶領域に記憶された前記トランザクションデータを取得し、前記n個のサーバ毎にそれぞれ割り当てられた前記領域に格納されたそれぞれの全体バックアップに対して前記トランザクションデータを用いてトランザクション適用処理を実行し、前記トランザクション適用処理後の全体バックアップデータを前記n個のサーバ毎にそれぞれ割り当てられた前記格納手段の前記n個の領域のなかから該当する領域に再格納することを特徴とする。   Further, in the data backup system according to the third aspect of the present invention, in the invention according to the second aspect, each time the transfer means receives transaction data transferred from each of the n servers, the transaction data is transferred to the n number of servers. Storage means for temporarily storing data in a corresponding storage area from among the n storage areas allocated to each of the servers, and wherein the data processing means comprises a storage unit which is allocated to each of the n servers. Means for acquiring the transaction data stored in the storage area, and executing the transaction application process using the transaction data for each of the entire backups stored in the area allocated to each of the n servers. And execute the entire backup after the transaction application processing. Characterized by restoring the update in the appropriate region from among the n regions of the storage means assigned respectively to each of the n servers.

この請求項3の発明によれば、n個のサーバからトランザクションデータを受信した際に他のトランザクションデータの適用処理が実行されている場合、受信したトランザクションデータを一時的に記憶することができるので、トランザクションデータを連続して受信したときの処理を多重化し効率化することができる。   According to the third aspect of the present invention, when transaction data is received from n servers and another transaction data application process is being executed, the received transaction data can be temporarily stored. In addition, the processing when the transaction data is continuously received can be multiplexed to increase the efficiency.

また、請求項4の発明にかかるデータバックアップシステムは、請求項1〜3のいずれか一つに記載の発明において、前記データ処理手段は、前記トランザクション適用処理の実行が適切であるか検証する検証手段を備え、適切でないときには前記トランザクション適用処理を不実行にすることを特徴とする。   According to a fourth aspect of the present invention, in the data backup system according to any one of the first to third aspects, the data processing unit verifies that the execution of the transaction application processing is appropriate. Means for not executing the transaction application processing when it is not appropriate.

この請求項4の発明によれば、トランザクション適用処理実行の有無を適切に判断できるようになり、全体バックアップデータを常時正常な状態に維持することができるようになる。   According to the fourth aspect of the present invention, it is possible to appropriately determine whether or not the transaction application processing has been executed, and it is possible to always maintain the entire backup data in a normal state.

また、請求項5の発明にかかるデータバックアップシステムは、請求項4に記載の発明において、前記検証手段は、前記トランザクション適用処理の実行が適切でないときには、該当するエラー内容を報知することを特徴とする。   The data backup system according to a fifth aspect of the present invention is the data backup system according to the fourth aspect, wherein, when the execution of the transaction application processing is not appropriate, the corresponding error is reported. I do.

この請求項5の発明によれば、トランザクションデータの異常を検出し、適切な対策を施せるようになる。   According to the fifth aspect of the present invention, it is possible to detect an abnormality in the transaction data and take an appropriate countermeasure.

また、請求項6の発明にかかるデータバックアップシステムは、請求項1〜5のいずれか一つに記載の発明において、前記データ処理手段は、前記トランザクション適用処理を、前記格納手段から読み出した全体バックアップデータをデータベースイメージファイルに展開し該データベースイメージファイルのコピーに対して実行することを特徴とする。   According to a sixth aspect of the present invention, in the data backup system according to any one of the first to fifth aspects, the data processing unit reads the transaction application process from the storage unit and performs an overall backup. The method is characterized in that data is developed into a database image file and executed on a copy of the database image file.

この請求項6の発明によれば、全体バックアップデータを保護しながらトランザクション適用処理を行うことができるようになり、システムの信頼性を向上できるようになる。   According to the invention of claim 6, the transaction application processing can be performed while protecting the entire backup data, and the reliability of the system can be improved.

また、請求項7の発明にかかるデータバックアップシステムは、請求項1〜6のいずれか一つに記載の発明において、前記トランザクション適用処理後の全体バックアップデータを前記格納手段にデータ圧縮して格納する書き込み手段を備えたことを特徴とする。   A data backup system according to a seventh aspect of the present invention is the data backup system according to any one of the first to sixth aspects, wherein the entire backup data after the transaction application processing is compressed and stored in the storage unit. A writing means is provided.

この請求項7の発明によれば、格納手段に全体バックアップデータを圧縮して格納するため、格納手段の容量を有効利用でき、かつ大量の全体バックアップデータを格納できるようになる。   According to the seventh aspect of the present invention, the whole backup data is compressed and stored in the storage means, so that the capacity of the storage means can be effectively used and a large amount of the whole backup data can be stored.

また、請求項8の発明にかかるデータバックアップシステムは、請求項7に記載の発明において、前記トランザクション適用処理時に格納手段に格納されたデータ圧縮状態の全体バックアップデータを読み出すとき、データ伸張して読み出す読み出し手段を備えたことを特徴とする。   In the data backup system according to an eighth aspect of the present invention, in the invention according to the seventh aspect, when reading out the entire backup data in the data compression state stored in the storage means during the transaction application processing, the data is expanded and read out. A reading means is provided.

この請求項8の発明によれば、トランザクション適用処理を円滑に実行でき、格納手段に対するデータ圧縮を有効に実行できるようになる。   According to the eighth aspect of the present invention, the transaction application processing can be executed smoothly, and the data compression for the storage means can be effectively executed.

また、請求項9の発明にかかるデータバックアップシステムは、請求項1〜8のいずれか一つに記載の発明において、前記サーバと前記ストレージセンタとの間でデータを転送するネットワークを備えたことを特徴とする。   A data backup system according to a ninth aspect of the present invention is the data backup system according to any one of the first to eighth aspects, further comprising a network for transferring data between the server and the storage center. Features.

この請求項9の発明によれば、ネットワークを介して全体バックアップデータやトランザクションデータを転送することができ、データ転送を容易に行えるようになる。   According to the ninth aspect of the present invention, the whole backup data and the transaction data can be transferred via the network, and the data transfer can be easily performed.

また、請求項10の発明にかかるデータバックアップシステムは、請求項1〜9のいずれか一つに記載の発明において、前記サーバと前記ストレージセンタとの間でデータを搬送するために、書き込みおよび読み出し可能な記憶媒体を用いることを特徴とする。   A data backup system according to a tenth aspect of the present invention is the data backup system according to any one of the first to ninth aspects, wherein the data is written and read in order to transfer data between the server and the storage center. It is characterized by using a possible storage medium.

この請求項10の発明によれば、災害発生等でネットワークを使用できないとき、ネットワーク負荷が増大し非効率なとき、全体バックアップデータ等の大容量のデータ転送が必要なとき、転送の信頼性を向上させるとき等に、記憶媒体を用いて安全かつ機密維持してデータ転送できるようになる。   According to the tenth aspect of the present invention, when the network cannot be used due to a disaster or the like, when the network load increases and the efficiency is low, or when large-capacity data transfer such as whole backup data is required, the transfer reliability is improved. For example, when data is to be improved, data can be transferred safely and confidentially using a storage medium.

また、請求項11の発明にかかるデータバックアップ方法は、データベースのデータ内容を遠隔地に転送してバックアップするためのデータバックアップ方法において、前記データベースよりトランザクションデータを受け取る都度、予めバックアップしておいた前記データベースの全体バックアップデータに対し、前記トランザクションデータを用いたトランザクション適用処理を実行するトランザクション反映処理工程を含むことを特徴とする。   The data backup method according to the invention of claim 11 is a data backup method for transferring data contents of a database to a remote location and backing up the data contents, wherein each time transaction data is received from the database, the data is backed up in advance. It is characterized by including a transaction reflection processing step of executing a transaction application processing using the transaction data for the entire backup data of the database.

この請求項11の発明によれば、遠隔地でのトランザクションデータの発生毎に、全体バックアップに対し前記トランザクションデータを用いたトランザクション適用処理を実行し、トランザクション適用処理後の全体バックアップデータを得ることができるので、トランザクションデータの保管が不要となり、常時全体バックアップデータを最新状態に維持することができ、災害等でデータベースに損傷を受けた場合には、全体バックアップデータを用いて迅速な復旧を図ることができる。   According to the eleventh aspect of the present invention, every time transaction data is generated in a remote place, a transaction application process using the transaction data is executed for the whole backup, and the whole backup data after the transaction application process is obtained. Since it is possible to save transaction data, it is possible to keep the whole backup data up to date at all times, and if the database is damaged due to a disaster etc., use the full backup data for quick recovery Can be.

また、請求項12の発明にかかるデータバックアップ方法は、請求項11に記載の発明において、前記トランザクション反映処理工程の実行が適切であるか検証する検証工程を含み、検証結果が適切でないときには前記トランザクション適用処理を不実行にすることを特徴とする。   A data backup method according to a twelfth aspect of the present invention is the data backup method according to the eleventh aspect, further comprising a verification step of verifying whether or not the transaction reflection processing step is performed properly. The application processing is not executed.

この請求項12の発明によれば、トランザクション適用処理の実行の有無を適切に判断できるようになり、全体バックアップデータを常時正常な状態に維持することができるようになる。   According to the twelfth aspect of the invention, it is possible to appropriately determine whether or not the transaction application processing is performed, and to maintain the entire backup data in a normal state at all times.

また、請求項13の発明にかかるデータバックアップ方法は、請求項11または12に記載の発明において、前記トランザクション反映処理工程は、前記データベースがn個の場合、n個の該データベースから受け取った一つのトランザクションデータを、予めバックアップしておいたn個の前記データベースのなかのうち一つの該当する全体バックアップデータに対し、前記トランザクション適用処理を実行することを特徴とする。   In a data backup method according to a thirteenth aspect of the present invention, in the invention according to the eleventh or twelfth aspect, when the number of the databases is n, one of the transaction reflection processing steps may be the one received from the n databases. The transaction application process is performed on one corresponding whole backup data of the n databases in which transaction data has been backed up in advance.

この請求項13の発明によれば、n個のデータベースからトランザクションデータが送信される都度、その各々のデータベースに該当する予めバックアップしておいた全体バックアップデータに対してトランザクション適用処理を行うことができるため、サーバ毎に一つのバックアップシステムを用意する必要がなくなり、バックアップするための設備を効率化することができる。   According to the thirteenth aspect of the present invention, each time transaction data is transmitted from the n databases, the transaction application processing can be performed on the entire backup data corresponding to each database and backed up in advance. Therefore, there is no need to prepare one backup system for each server, and the efficiency of backup facilities can be increased.

また、請求項14の発明にかかるデータバックアップ方法は、請求項13に記載の発明において、前記トランザクション反映処理工程は、n個の前記データベースのうちの一つからトランザクションデータを受けた場合、該トランザクションデータを一時的に記憶し、記憶した該トランザクションデータを予めバックアップしておいたn個の前記データベースのなかのうち一つの該当する全体バックアップデータに対し前記トランザクション適用処理を実行することを特徴とする。   In a data backup method according to a fourteenth aspect of the present invention, in the invention according to the thirteenth aspect, the transaction reflection processing step includes the step of: receiving transaction data from one of the n databases. Data is temporarily stored, and the transaction application process is performed on one corresponding whole backup data among the n databases in which the stored transaction data is backed up in advance. .

この請求項14の発明によれば、n個のデータベースのうちの一つからトランザクションデータを受信した際に他のトランザクションデータの適用処理が実行されている場合、受信したトランザクションデータを一時的に記憶することができるので、トランザクションデータを連続して受信したときに処理を多重化し効率化することができる。   According to the fourteenth aspect of the invention, when transaction data is received from one of the n databases and another transaction data is being applied, the received transaction data is temporarily stored. Therefore, when transaction data is continuously received, processing can be multiplexed and efficiency can be increased.

以上説明したように、請求項1に記載の発明によれば、データベースを備えたサーバと、該サーバのデータベースのデータ内容をバックアップするための遠隔地のストレージセンタとからなるデータバックアップシステムにおいて、前記サーバは、トランザクションデータの発生毎に該トランザクションデータを前記ストレージセンタに転送する転送手段を備え、前記ストレージセンタは、前記サーバのデータベースをバックアップした全体バックアップデータを格納する格納手段と、前記サーバからトランザクションデータを受ける都度、前記サーバに該当する全体バックアップに対し前記トランザクションデータを用いたトランザクション適用処理を実行し、前記格納手段に前記トランザクション適用処理後の全体バックアップデータを再格納するデータ処理手段とを備えたので、ストレージセンタでは、遠隔地のサーバでのトランザクションデータの発生毎に、全体バックアップに対し前記トランザクションデータを用いたトランザクション適用処理を実行し、前記格納手段に前記トランザクション適用処理後の全体バックアップデータを再格納するので、トランザクションデータの保管が不要となり、常時全体バックアップデータを最新状態に維持することができ、サーバの設置個所が災害等でデータベースに損傷を受けた場合には、ストレージセンタの全体バックアップデータを用いて迅速な復旧を図ることができるという効果を奏する。   As described above, according to the first aspect of the present invention, in a data backup system including a server having a database and a remote storage center for backing up data content of the database of the server, The server includes a transfer unit that transfers the transaction data to the storage center every time the transaction data is generated. The storage center stores storage data for backing up the database of the server, and a transaction from the server. Each time data is received, a transaction application process using the transaction data is performed on the entire backup corresponding to the server, and the storage unit stores the entire backup data after the transaction application process. Since the storage center is provided with a data processing unit for storing, every time transaction data is generated in a remote server, the storage center executes a transaction application process using the transaction data for the entire backup, and stores the transaction data in the storage unit. Since the entire backup data after the transaction application processing is re-stored, the storage of transaction data is not required, the entire backup data can be kept up-to-date at all times, and the server installation location was damaged by a disaster etc. in the database In this case, there is an effect that quick recovery can be achieved using the entire backup data of the storage center.

また、請求項2に記載の発明によれば、それぞれデータベースを備えたn個のサーバと、該n個のサーバ毎のデータベースのデータ内容をバックアップするための遠隔地のストレージセンタとからなるデータバックアップシステムにおいて、前記n個のサーバは、トランザクションデータの発生毎に該トランザクションデータを前記ストレージセンタに転送する転送手段を備え、前記ストレージセンタは、前記n個のサーバ毎に備えたデータベースをバックアップした全体バックアップデータを、前記n個のサーバ毎にそれぞれ割り当てられたn個の領域のなかから該当する領域に格納する格納手段と、前記n個のサーバからトランザクションデータを受ける都度、前記n個のサーバ毎にそれぞれ割り当てられた前記n個の領域に格納された全体バックアップに対して前記トランザクションデータを用いたトランザクション適用処理を実行し、前記トランザクション適用処理後の全体バックアップデータを前記n個のサーバ毎にそれぞれ割り当てられた前記n個の領域に再格納するデータ処理手段とを備えたので、ストレージセンタでは、遠隔地に設置されたn個のサーバでのトランザクションデータの発生毎に、該当する全体バックアップに対し前記トランザクションデータを用いたトランザクション適用処理を実行し、前記格納手段に前記トランザクション適用処理後の全体バックアップデータを再格納するので、トランザクションデータの保管が不要となり、常時全体バックアップデータを最新状態に維持することができ、サーバの設置個所が災害等でデータベースに損傷を受けた場合には、ストレージセンタの全体バックアップデータを用いて迅速な復旧を図ることができる。また、n個のサーバからトランザクションデータが送信される都度トランザクション適用処理が行われ、その各々のサーバに該当する前記格納手段に全体バックアップデータを再格納できるので、サーバ毎に一つのバックアップシステムを用意する必要がなくなり、バックアップするための設備を効率化することができるという効果を奏する。   According to the second aspect of the present invention, there is provided a data backup system comprising n servers each having a database and a remote storage center for backing up data contents of the database for each of the n servers. In the system, the n servers include a transfer unit that transfers the transaction data to the storage center each time transaction data is generated, and the storage center is configured to back up a database provided for each of the n servers. Storage means for storing the backup data in a corresponding area from among the n areas allocated to each of the n servers, each time receiving transaction data from the n servers, Stored in the n areas respectively assigned to Data processing for executing a transaction application process using the transaction data on a local backup, and restoring the whole backup data after the transaction application process in the n areas allocated to each of the n servers Means, the storage center executes a transaction application process using the transaction data for the corresponding whole backup every time transaction data is generated in n servers installed in remote locations, Since the whole backup data after the transaction application processing is re-stored in the storage means, it becomes unnecessary to store the transaction data, the whole backup data can be always kept up-to-date, and the installation location of the server can be stored in the database due to a disaster or the like. Damage If digits can be achieved quick recovery using a full backup data storage center. Also, a transaction application process is performed each time transaction data is transmitted from n servers, and the entire backup data can be re-stored in the storage means corresponding to each server. Therefore, one backup system is prepared for each server. Therefore, there is an effect that the efficiency of backup equipment can be increased.

また、請求項3に記載の発明によれば、請求項2に記載の発明において、前記転送手段によって前記n個のサーバからそれぞれ転送されるトランザクションデータを受ける都度、該トランザクションデータを前記n個のサーバ毎にそれぞれ割り当てられたn個の記憶領域のなかから該当する記憶領域に一時的に記憶する記憶手段を備え、前記データ処理手段は、前記n個のサーバ毎にそれぞれ割り当てられた前記記憶手段の前記記憶領域に記憶された前記トランザクションデータを取得し、前記n個のサーバ毎にそれぞれ割り当てられた前記領域に格納されたそれぞれの全体バックアップに対して前記トランザクションデータを用いてトランザクション適用処理を実行し、前記トランザクション適用処理後の全体バックアップデータを前記n個のサーバ毎にそれぞれ割り当てられた前記格納手段の前記n個の領域のなかから該当する領域に再格納するので、n個のサーバからトランザクションデータを受信した際に他のトランザクションデータの適用処理が実行されている場合、受信したトランザクションデータを一時的に記憶することができるので、トランザクションデータを連続して受信したときの処理を多重化し効率化することができるという効果を奏する。   According to the invention described in claim 3, in the invention described in claim 2, each time the transfer means receives the transaction data transferred from the n servers, the transaction data is transferred to the n number of servers. Storage means for temporarily storing in the corresponding storage area from among the n storage areas respectively allocated to the servers, wherein the data processing means comprises the storage means allocated to each of the n servers Acquiring the transaction data stored in the storage area, and executing the transaction application process using the transaction data for each of the entire backups stored in the area allocated to each of the n servers. Then, the entire backup data after the transaction application processing is Is re-stored in the corresponding area from the n areas of the storage means allocated to each of the servers, so that when the transaction data is received from the n servers, the application processing of the other transaction data is executed. In this case, the received transaction data can be temporarily stored, so that there is an effect that the processing when the transaction data is continuously received can be multiplexed and the efficiency can be increased.

また、請求項4に記載の発明によれば、請求項1〜3のいずれか一つに記載の発明において、前記データ処理手段は、前記トランザクション適用処理の実行が適切であるか検証する検証手段を備え、適切でないときには前記トランザクション適用処理を不実行にするので、トランザクション適用処理実行の有無を適切に判断できるようになり、全体バックアップデータを常時正常な状態に維持することができるという効果を奏する。   According to the invention described in claim 4, in the invention described in any one of claims 1 to 3, the data processing unit verifies whether execution of the transaction application process is appropriate. When the transaction is not appropriate, the transaction application processing is not executed. Therefore, it is possible to appropriately determine whether the transaction application processing is executed, and it is possible to always maintain the entire backup data in a normal state. .

また、請求項5に記載の発明によれば、請求項4に記載の発明において、前記検証手段は、前記トランザクション適用処理の実行が適切でないときには、該当するエラー内容を報知するので、トランザクションデータの異常を検出し、適切な対策を施せるという効果を奏する。   According to a fifth aspect of the present invention, in the fourth aspect of the present invention, when the execution of the transaction application processing is not appropriate, the verification unit notifies the corresponding error content. This has the effect of detecting abnormalities and taking appropriate measures.

また、請求項6に記載の発明によれば、請求項1〜5のいずれか一つに記載の発明において、前記データ処理手段は、前記トランザクション適用処理を、前記格納手段から読み出した全体バックアップデータをデータベースイメージファイルに展開し該データベースイメージファイルのコピーに対して実行するので、全体バックアップデータを保護しながらトランザクション適用処理を行うことができるようになり、システムの信頼性を向上できるという効果を奏する。   According to the invention described in claim 6, in the invention described in any one of claims 1 to 5, the data processing means performs the transaction application processing by reading the entire backup data read from the storage means. Is developed into a database image file and executed for a copy of the database image file, so that transaction application processing can be performed while protecting the entire backup data, and the effect of improving the reliability of the system is achieved. .

また、請求項7に記載の発明によれば、請求項1〜6のいずれか一つに記載の発明において、前記トランザクション適用処理後の全体バックアップデータを前記格納手段にデータ圧縮して格納する書き込み手段を備えたので、格納手段に全体バックアップデータを圧縮して格納するため、格納手段の容量を有効利用でき、かつ大量の全体バックアップデータを格納できるという効果を奏する。   According to the invention described in claim 7, in the invention described in any one of claims 1 to 6, the whole backup data after the transaction application processing is compressed and stored in the storage unit. Since the whole backup data is compressed and stored in the storage means, the capacity of the storage means can be effectively used and a large amount of the whole backup data can be stored.

また、請求項8に記載の発明によれば、請求項7に記載の発明において、前記トランザクション適用処理時に格納手段に格納されたデータ圧縮状態の全体バックアップデータを読み出すとき、データ伸張して読み出す読み出し手段を備えたので、トランザクション適用処理を円滑に実行でき、格納手段に対するデータ圧縮を有効に実行できるという効果を奏する。   According to an eighth aspect of the present invention, in the invention of the seventh aspect, when reading out the entire backup data in the data compression state stored in the storage means at the time of the transaction application processing, the data is expanded and read out. Since the means is provided, it is possible to smoothly execute the transaction application processing, and to effectively perform data compression on the storage means.

また、請求項9に記載の発明によれば、請求項1〜8のいずれか一つに記載の発明において、前記サーバと前記ストレージセンタとの間でデータを転送するネットワークを備えたので、ネットワークを介して全体バックアップデータやトランザクションデータを転送することができ、データ転送を容易に行えるようになるという効果を奏する。   Further, according to the ninth aspect of the present invention, in the invention according to any one of the first to eighth aspects, a network for transferring data between the server and the storage center is provided. , The entire backup data and transaction data can be transferred, and the data transfer can be easily performed.

また、請求項10に記載の発明によれば、請求項1〜9のいずれか一つに記載の発明において、前記サーバと前記ストレージセンタとの間でデータを搬送するために、書き込みおよび読み出し可能な記憶媒体を用いるので、災害発生等でネットワークを使用できないとき、ネットワーク負荷が増大し非効率なとき、全体バックアップデータ等の大容量のデータ転送が必要なとき、転送の信頼性を向上させるとき等に、記憶媒体を用いて安全かつ機密維持してデータ転送できるという効果を奏する。   According to a tenth aspect of the present invention, in the invention of any one of the first to ninth aspects, in order to transfer data between the server and the storage center, writing and reading are possible. When a network cannot be used due to a disaster, etc., when the network load increases and it is inefficient, when large-capacity data transfer such as whole backup data is required, or when the reliability of transfer is improved For example, data can be transferred safely and confidentially using a storage medium.

また、請求項11に記載の発明によれば、データベースのデータ内容を遠隔地に転送してバックアップするためのデータバックアップ方法において、前記データベースよりトランザクションデータを受け取る都度、予めバックアップしておいた前記データベースの全体バックアップデータに対し、前記トランザクションデータを用いたトランザクション反映処理を実行するトランザクション反映処理工程を含むので、遠隔地でのトランザクションデータの発生毎に、全体バックアップに対し前記トランザクションデータを用いたトランザクション適用処理を実行し、トランザクション適用処理後の全体バックアップデータを得ることができ、トランザクションデータの保管が不要となり、常時全体バックアップデータを最新状態に維持することができ、災害等でデータベースに損傷を受けた場合には、全体バックアップデータを用いて迅速な復旧を図ることができるという効果を奏する。   Further, according to the invention as set forth in claim 11, in the data backup method for transferring the data content of the database to a remote location and backing up the database, every time transaction data is received from the database, A transaction reflection processing step of executing the transaction reflection processing using the transaction data for the entire backup data, so that every time transaction data is generated in a remote place, the transaction application using the transaction data for the whole backup is performed. Execute the processing and obtain the whole backup data after the transaction application processing.There is no need to store the transaction data, and the whole backup data is always kept up to date. Can be, if the damaged database disaster or the like, an effect that it is possible to quickly recover by using the full backup data.

また、請求項12に記載の発明によれば、請求項11に記載の発明において、前記トランザクション反映処理工程の実行が適切であるか検証する検証工程を含み、検証結果が適切でないときには前記トランザクション適用処理を不実行にするので、トランザクション適用処理実行の有無を適切に判断できるようになり、全体バックアップデータを常時正常な状態に維持することができるという効果を奏する。   According to a twelfth aspect of the present invention, in the invention according to the eleventh aspect, the method further includes a verification step of verifying whether or not the execution of the transaction reflection processing step is appropriate. Since the process is not executed, the presence or absence of the execution of the transaction application process can be appropriately determined, and the whole backup data can be always maintained in a normal state.

また、請求項13に記載の発明によれば、請求項11または12に記載の発明において、前記トランザクション反映処理工程は、前記データベースがn個の場合、n個の該データベースから受け取った一つのトランザクションデータを、予めバックアップしておいたn個の前記データベースのなかのうち一つの該当する全体バックアップデータに対し、前記トランザクション適用処理を実行するので、n個のデータベースからトランザクションデータが送信される都度、その各々のデータベースに該当する予めバックアップしておいた全体バックアップデータに対してトランザクション適用処理を行うことができるため、サーバ毎に一つのバックアップシステムを用意する必要がなくなり、バックアップするための設備を効率化することができるという効果を奏する。   According to a thirteenth aspect of the present invention, in the invention according to the eleventh or twelfth aspect, when the number of the databases is n, one transaction received from the n databases Since the transaction application process is performed on one corresponding whole backup data of the n databases that have previously backed up data, every time transaction data is transmitted from the n databases, Since transaction application processing can be performed on the entire backup data corresponding to each database and backed up in advance, there is no need to prepare one backup system for each server, and the efficiency of backup facilities is improved. Can be There is an effect that that.

また、請求項14に記載の発明によれば、請求項13に記載の発明において、前記トランザクション反映処理工程は、n個の前記データベースのうちの一つからトランザクションデータを受けた場合、該トランザクションデータを一時的に記憶し、記憶した該トランザクションデータを予めバックアップしておいたn個の前記データベースのなかのうち一つの該当する全体バックアップデータに対し前記トランザクション適用処理を実行するので、n個の複数データベースのうちの一つからトランザクションデータを受信した際に他のトランザクションデータの適用処理が実行されている場合、受信したトランザクションデータを一時的に記憶することができるので、トランザクションデータを連続して受信したときに処理を多重化し効率化することができるという効果を奏する。   According to a fourteenth aspect of the present invention, in the invention of the thirteenth aspect, the transaction reflection processing step includes, when transaction data is received from one of the n databases, the transaction data Is temporarily stored, and the transaction application process is executed on one corresponding whole backup data among the n databases in which the stored transaction data is backed up in advance. When transaction data is received from one of the databases and another transaction data is being applied, the received transaction data can be temporarily stored, so the transaction data can be received continuously. And multiplex processing to improve efficiency There is an effect that it is Rukoto.

以下に添付図面を参照して、この発明にかかるデータバックアップシステムおよびデータバックアップ方法の好適な実施の形態を詳細に説明する。   Preferred embodiments of a data backup system and a data backup method according to the present invention will be described below in detail with reference to the accompanying drawings.

(実施の形態1)
図1は、この発明にかかるデータバックアップシステムの構成を示す概要図である。利用者は、所定個所にバックアップ対象(サーバ)1を設置している。このサーバ1の設置個所から所定距離離れた遠隔地には、ストレージセンタ2が設けられている。
(Embodiment 1)
FIG. 1 is a schematic diagram showing a configuration of a data backup system according to the present invention. The user installs the backup target (server) 1 at a predetermined location. A storage center 2 is provided at a remote location at a predetermined distance from the installation location of the server 1.

サーバ1は、日々の業務用の業務データベース5を有しており、業務進捗時に参照し、業務進捗に伴いトランザクション(TR)データ(差分データ)6が発生する。業務内容としては、例えば、行政機関における台帳閲覧、更新業務が挙げられる。業務データベース5は、稼働開始時に内容の全体バックアップをDAT等の記憶媒体10に格納する。また、業務進捗の都度発生したトランザクションデータ6は、ネットワーク7を介してストレージセンタ2に転送される。この転送時、サーバ1側はデータを圧縮し、ストレージセンタ2側は圧縮転送されてきたデータを伸張する。トランザクションデータ6は、発生毎に記憶媒体に格納してストレージセンタ2に搬送される構成にもできる。   The server 1 has a business database 5 for daily business, which is referred to at the time of business progress, and generates transaction (TR) data (difference data) 6 as the business progresses. The business content includes, for example, ledger browsing and update work in an administrative organization. The operation database 5 stores an entire backup of contents in a storage medium 10 such as a DAT at the start of operation. Further, the transaction data 6 generated each time the work progresses is transferred to the storage center 2 via the network 7. During this transfer, the server 1 compresses the data, and the storage center 2 decompresses the compressed data. The transaction data 6 may be stored in a storage medium and transferred to the storage center 2 each time the transaction data 6 is generated.

ストレージセンタ2は、遠隔地に設けられている複数のサーバ1のデータベースエンジンにそれぞれ対応したストレージ用データベース11を有している。ストレージ用データベース11としては、例えば、SQL Server2000,SQL Server7.0,Oracle8i,Oracle9i等がある。ストレージ用データベース11は、記憶媒体10に格納された全体バックアップを読み出し、データベース内に全体バックアップ(書き込み)を行う。   The storage center 2 has a storage database 11 corresponding to each of the database engines of a plurality of servers 1 provided at remote locations. Examples of the storage database 11 include SQL Server 2000, SQL Server 7.0, Oracle8i, Oracle9i, and the like. The storage database 11 reads the whole backup stored in the storage medium 10 and performs the whole backup (write) in the database.

また、ストレージ用データベース11は、全体バックアップデータ(ディスクに格納されたデータ内容)を書き出したデータベースイメージファイル23に展開可能に保持している。そして、ネットワーク7を介してトランザクションデータ6が転送されてくる都度、データベースイメージファイル23のコピーデータ23aに対し、該当するトランザクション(差分)処理を行った後、正当性の検証を行い、正当であると判断されたトランザクション適用処理後のデータを該当するストレージ用データベース11に再格納する。   Further, the storage database 11 holds the entire backup data (data content stored on the disk) in a written-out database image file 23 so as to be developed. Each time the transaction data 6 is transferred via the network 7, the corresponding transaction (difference) processing is performed on the copy data 23a of the database image file 23, and then the validity is verified. The data after the transaction application processing determined to be is re-stored in the corresponding storage database 11.

図2は、ストレージ用データベース11が有するストレージ機能を説明するためのブロック図である。ストレージ用データベース11は、ストレージ用データを格納する格納手段20と、上述したトランザクション適用処理を実行するデータ処理手段21を備えている。   FIG. 2 is a block diagram for explaining a storage function of the storage database 11. The storage database 11 includes storage means 20 for storing storage data, and data processing means 21 for executing the above-described transaction application processing.

格納手段20には、全体バックアップのデータが格納保持され、トランザクション発生毎に読み出し手段22により読み出され、データベースイメージファイル23を生成する。トランザクション反映手段24は、データベースイメージファイル23に対し入力されたトランザクションデータ6を用いたトランザクション適用処理を実行する。   The storage unit 20 stores and retains the data of the entire backup, and is read out by the reading unit 22 every time a transaction occurs to generate a database image file 23. The transaction reflection unit 24 executes a transaction application process using the transaction data 6 input to the database image file 23.

トランザクション適用処理としては、例えば、データベースイメージファイル23のあるレコードの更新(書き込む)処理である。このため、トランザクションデータ6そのものは、トランザクション適用処理を行わなずに保有しておくと、経時的にデータ量が増大していく。これに対して、トランザクション適用処理を行う毎に全体バックアップ(データベースイメージファイル23)のレコードに対する更新処理が多いため、データベースイメージファイル23のデータ容量は殆ど変わることがなく、また、トランザクションデータ6を保管しておく必要がなくなる。   The transaction application process is, for example, a process of updating (writing) a record in the database image file 23. For this reason, if the transaction data 6 itself is retained without performing the transaction application processing, the data amount increases with time. On the other hand, since there are many update processes for the records of the whole backup (database image file 23) every time the transaction application process is performed, the data capacity of the database image file 23 hardly changes, and the transaction data 6 is stored. You don't have to.

検証手段25は、トランザクション適用処理が正常に行われたか検証し、正常時に初めてトランザクション適用処理の実行を許可する。例えば、トランザクションデータ6が該当する全体バックアップ(データベースイメージファイル23)に該当しない(間違った適用できない)処理であるときには、トランザクション適用処理の実行を不許可とし、該当するアラーム(警告)をデータリスト化する等で報知する。   The verification unit 25 verifies whether the transaction application processing has been performed normally, and permits execution of the transaction application processing only when the transaction application processing is normal. For example, if the transaction data 6 is a process that does not correspond to the corresponding full backup (database image file 23) (cannot be erroneously applied), execution of the transaction application process is not permitted, and the corresponding alarm (warning) is made into a data list. Notify by doing.

書き込み手段26は、検証手段25による検証結果が正常と判断されたときに、トランザクション適用処理を施した全体バックアップデータ(データベースイメージファイル23)を格納手段20に格納可能な形式に変換して再格納する。   When it is determined that the verification result by the verification unit 25 is normal, the writing unit 26 converts the whole backup data (database image file 23) subjected to the transaction application processing into a format that can be stored in the storage unit 20 and re-stores the data. I do.

また、バックアップ手段27は、トランザクション適用処理を施す前の全体バックアップデータと、入力されたトランザクションデータ6をそれぞれバックアップ格納手段28にバックアップする。   Further, the backup unit 27 backs up the entire backup data before the transaction application processing and the input transaction data 6 to the backup storage unit 28, respectively.

上記格納手段20に格納されるデータ(全体バックアップデータ)はデータ圧縮することができる。この場合、読み出し手段22は読み出した圧縮データを伸張し、書き込み手段26は、書き込むデータを圧縮する。また、バックアップ格納手段28に対するバックアップデータに対するデータ圧縮をかける構成にもできる。   The data (entire backup data) stored in the storage means 20 can be compressed. In this case, the reading unit 22 expands the read compressed data, and the writing unit 26 compresses the data to be written. Further, a configuration in which data compression is applied to the backup data with respect to the backup storage unit 28 is also possible.

次に、システム全体の処理手順を説明する。トランザクション適用処理の実行前に前処理として全体バックアップデータが、ストレージセンタ2に搬送される。図1に示すように、まず、(1)サーバ1の全体バックアップが記憶媒体10に格納され、(2)ストレージセンタ2に搬送される。その後、(3)ストレージセンタ2で記憶媒体10の内容を読み込み、サーバ1に該当するストレージ用データベース11のデータベースに格納(全体リストア)される。なお、(1)ではある一部分を単体バックアップし、(3)で単体リストアする場合もある。   Next, a processing procedure of the entire system will be described. Before executing the transaction application processing, the whole backup data is transported to the storage center 2 as preprocessing. As shown in FIG. 1, first, (1) the entire backup of the server 1 is stored in the storage medium 10, and (2) it is transported to the storage center 2. Thereafter, (3) the contents of the storage medium 10 are read in the storage center 2 and stored in the database of the storage database 11 corresponding to the server 1 (whole restoration). Incidentally, there is a case where a certain part is backed up as a single unit in (1) and a single unit is restored in (3).

この後、システムはトランザクション適用処理が可能になる。図3は、トランザクション適用処理手順を示すフローチャートである。以下、最小単位である、一つのトランザクションデータ6が発生しこれをトランザクション適用処理する例について説明する。以下括弧付き数字に該当する処理は図1に記載してある。   After this, the system is ready for transaction application processing. FIG. 3 is a flowchart illustrating a transaction application processing procedure. Hereinafter, an example will be described in which one transaction data 6, which is the minimum unit, is generated and is subjected to transaction application processing. Hereinafter, the processing corresponding to the number in parentheses is described in FIG.

利用者のサーバ1でトランザクションデータ6が発生すると(ステップS1)、サーバ1は、(4)トランザクションデータ6をストレージセンタ2に転送する(ステップS2)。ストレージセンタ2では、(5)サーバ1に該当するストレージ用データベース11に格納されている全体バックアップデータを読み出し、データベースイメージファイル23に展開(生成)する(ステップS3)。   When the transaction data 6 occurs in the server 1 of the user (step S1), the server 1 transfers (4) the transaction data 6 to the storage center 2 (step S2). The storage center 2 reads (5) the entire backup data stored in the storage database 11 corresponding to the server 1 and develops (generates) it into the database image file 23 (step S3).

そして、(6)このデータベースイメージファイル23のコピーデータ23aに対してトランザクション反映処理(ステップS4)を実行する。図2に示すトランザクション反映手段24は、トランザクション適用処理として、例えば、直近の全体バックアップであるデータベースイメージファイル23の件数と、トランザクションデータ6が示す件数目の更新処理が適用できるか判断する等の処理を行う。   Then, (6) a transaction reflection process (step S4) is performed on the copy data 23a of the database image file 23. The transaction reflection unit 24 illustrated in FIG. 2 performs, for example, a process of determining whether the update process of the number of database image files 23 that is the latest whole backup and the number of updates indicated by the transaction data 6 can be applied as the transaction application process. I do.

この後、検証手段25は、トランザクション適用処理が正常に行えたかデータ検証し(ステップS5)、検証結果、処理正常であれば(ステップS6:Yes)、トランザクション適用処理後のデータベースイメージファイル23(コピーデータ23a)を該当するストレージ用データベース11(図2に示す格納手段20)に格納可能な形式に変換して再格納する(ステップS7)。この後、ステップS1に復帰し、新たなトランザクションデータ6の入力を待機する。   Thereafter, the verification unit 25 performs data verification on whether the transaction application processing was performed normally (step S5). If the verification result indicates that the processing is normal (step S6: Yes), the database image file 23 (copy) after the transaction application processing is performed. The data 23a) is converted into a format that can be stored in the corresponding storage database 11 (the storage unit 20 shown in FIG. 2) and stored again (step S7). Thereafter, the process returns to step S1 and waits for input of new transaction data 6.

一方、検証結果、処理正常でなければ(ステップS6:No)、ステップS4のトランザクション適用処理の適用をせず(ステップS8)、アラームを報知出力し(ステップS9)、ステップS1へ復帰する。   On the other hand, if the verification result indicates that the processing is not normal (step S6: No), the application of the transaction application processing of step S4 is not performed (step S8), an alarm is output (step S9), and the process returns to step S1.

次に、図4は、全体バックアップのリストア処理手順を示すフローチャートである。利用者のサーバ1が災害発生等で損傷を受け、復旧が必要な場合、ストレージセンタ2では、サーバ1に該当するストレージ用データベース11の格納手段20から全体バックアップを読み出し、(7)記憶媒体10に書き込む(ステップS11)。この際、ストレージ用データベース11に対しリストアコマンドを使用するだけで簡単に全体バックアップデータを取り出すことができる。   Next, FIG. 4 is a flowchart showing the procedure of the restore processing of the whole backup. If the user's server 1 is damaged due to a disaster or the like and needs to be restored, the storage center 2 reads the entire backup from the storage means 20 of the storage database 11 corresponding to the server 1 and (7) the storage medium 10 (Step S11). At this time, the entire backup data can be easily retrieved simply by using the restore command for the storage database 11.

この後、(8)記憶媒体10をストレージセンタ2から利用者のサーバ1に搬送する(ステップS12)。そして、(9)記憶媒体10に格納されている全体バックアップデータをサーバ1にリストアする(ステップS13)。記憶媒体10に格納された全体バックアップデータは、直前までのトランザクション適用処理が実行された状態となっている。これにより、サーバ1の業務データベース5を迅速に復旧させることができ、短時間で業務を再開できるようになる。なお、上記説明した記憶媒体10を用いた(2),(8)の搬送の工程は、搬送に限らず高速回線等のネットワークを使用して転送する構成にできることは云うまでもない。   Thereafter, (8) the storage medium 10 is transported from the storage center 2 to the server 1 of the user (step S12). Then, (9) the entire backup data stored in the storage medium 10 is restored to the server 1 (Step S13). The whole backup data stored in the storage medium 10 is in a state where the transaction application processing up to immediately before has been executed. As a result, the business database 5 of the server 1 can be quickly restored, and the business can be resumed in a short time. It is needless to say that the transfer steps (2) and (8) using the storage medium 10 described above are not limited to transfer, and may be configured to transfer using a network such as a high-speed line.

以上説明したように、本実施の形態1にかかるデータバックアップシステムによれば、ストレージセンタ2では、トランザクション発生毎に全体バックアップデータに対するトランザクション適用処理を実行する構成であるため、ストレージセンタ2のストレージ用データベース11の内容を常時最新状態に維持しておくことができるようになる。また、トランザクションデータ6を保管しておく必要がなくトランザクションデータ6がたまることなく保管しておくデータ量を最小限にすることができる。これにより、利用者のサーバ1が災害等で損傷を受けたり、データ内容に損傷を受けた場合等の復旧作業を速やかに行えるようになる。そして、この復旧作業自体も、ストレージセンタ2のストレージ用データベース11の内容を読み出し記憶媒体10を用いて搬送し、サーバ1側でリストアするだけの作業で簡単、かつ迅速に行えるようになる。   As described above, according to the data backup system according to the first embodiment, since the storage center 2 is configured to execute the transaction application processing on the entire backup data every time a transaction occurs, the storage center 2 The content of the database 11 can always be kept up to date. Further, it is not necessary to store the transaction data 6, and the amount of data to be stored without the transaction data 6 being accumulated can be minimized. As a result, the user's server 1 can be promptly restored when the server 1 is damaged due to a disaster or the data contents are damaged. The recovery operation itself can be performed simply and quickly by simply reading out the contents of the storage database 11 of the storage center 2 and transporting it using the storage medium 10, and restoring the data on the server 1 side.

ところで、上記の実施の形態1では、説明の便宜上、サーバ1およびストレージセンタ2をそれぞれ1個所ずつ配置する構成例を説明した。実際には、1個所のストレージセンタ2は複数のサーバ1に対応する各種ストレージ用データベース11を備えており、同時に複数のサーバ1からのアクセスに対応し上記トランザクション適用処理が実行可能である。   By the way, in the above-described first embodiment, a configuration example in which the server 1 and the storage center 2 are arranged one by one has been described for convenience of description. Actually, one storage center 2 has various storage databases 11 corresponding to the plurality of servers 1, and can execute the transaction application processing in response to accesses from the plurality of servers 1 at the same time.

(実施の形態2)
実施の形態1ではサーバ1およびストレージセンタ2をそれぞれ1個所ずつ配置する構成例を説明したが、以下では、複数のサーバ1とそれに対応する各種ストレージ用のデータベースを備えたストレージセンタ2から構成される例を実施の形態2として説明を行う。図5は、この発明にかかる複数サーバに対応するデータバックアップシステムの構成の一例を示す概要図である。図5では、バックアップ対象となる複数のサーバ1a〜1cを設置している。これらサーバ1a〜1cの設置個所から所定距離離れた遠隔地には、ストレージセンタ2が設けられており、ストレージセンタ2はバッファメモリあるいはFIFOメモリなどからなるバッファ50a〜50cと、TR(トランザクション)適用サーバ51と、ストレージ領域52a〜52cとを備えている。
(Embodiment 2)
In the first embodiment, an example of a configuration in which the server 1 and the storage center 2 are arranged one by one has been described. An example will be described as a second embodiment. FIG. 5 is a schematic diagram showing an example of a configuration of a data backup system corresponding to a plurality of servers according to the present invention. In FIG. 5, a plurality of servers 1a to 1c to be backed up are installed. A storage center 2 is provided at a remote location at a predetermined distance from the installation location of these servers 1a to 1c. The server includes a server 51 and storage areas 52a to 52c.

図1と同様、サーバ1a〜1cはそれぞれに日々の業務用のデータベース5を有しており、業務進捗時に参照し、業務進捗に伴ってトランザクションデータ6がそれぞれに発生する。業務進捗の都度発生したトランザクションデータ6は、ネットワーク7を介してストレージセンタ2に転送される。   As in FIG. 1, each of the servers 1a to 1c has a daily business database 5, which is referred to at the time of business progress and generates transaction data 6 as the business progresses. The transaction data 6 generated each time the work progresses is transferred to the storage center 2 via the network 7.

例えば、サーバ1aの有するデータベース5にて発生するトランザクションデータ6は、ネットワーク7を介しストレージセンタ2内のバッファ50aに記憶される。この記憶されたトランザクションデータ6は、トランザクション適用処理に使用されるため、先に記憶されたトランザクションデータ6から順にTR適用サーバ51に送出される。   For example, transaction data 6 generated in the database 5 of the server 1a is stored in the buffer 50a in the storage center 2 via the network 7. Since the stored transaction data 6 is used for the transaction application processing, the stored transaction data 6 is sent to the TR application server 51 in order from the previously stored transaction data 6.

トランザクションデータ6を受け取ったTR適用サーバ51は、サーバ1aに該当するストレージ領域52aからデータベースイメージファイル23のコピーデータ23aを読み込み、トランザクション適用処理を行う。バッファ50aに記憶されたトランザクションデータ6のトランザクション適用処理が全て終了すると、コピーデータ23aは再びTR適用サーバ51によってストレージ領域52aに格納される。   The TR application server 51 that has received the transaction data 6 reads the copy data 23a of the database image file 23 from the storage area 52a corresponding to the server 1a and performs the transaction application processing. When all the transaction application processing of the transaction data 6 stored in the buffer 50a is completed, the copy data 23a is stored again in the storage area 52a by the TR application server 51.

同様に、サーバ1bから転送されるトランザクションデータ6はバッファ50bに記憶され、ストレージ領域52bから生成されるデータベースイメージファイル23に適用される。さらに、サーバ1cから転送されるトランザクションデータ6はバッファ50cに記憶され、ストレージ領域52cから生成されるデータベースイメージファイル23へと適用される。   Similarly, the transaction data 6 transferred from the server 1b is stored in the buffer 50b and is applied to the database image file 23 generated from the storage area 52b. Further, the transaction data 6 transferred from the server 1c is stored in the buffer 50c and is applied to the database image file 23 generated from the storage area 52c.

トランザクション適用時に行われるサーバ1a〜1c毎の処理は以上のようになる。しかし、多くの場合は図に示すような、サーバ1a〜1cから転送されるトランザクションデータ6がバッファ50a〜50cに同時期に複数記憶された状態になる。この場合、いずれのサーバであるかによらず先に記憶されたトランザクションデータ6からTR適用サーバ51によってトランザクション適用処理を行わせてもよいし、サーバ1a〜1cなどの処理順位や優先順位などを任意に決めてトランザクション適用処理を行わせるようにしてもよい。   The processing for each of the servers 1a to 1c performed when a transaction is applied is as described above. However, in many cases, a plurality of transaction data 6 transferred from the servers 1a to 1c are stored in the buffers 50a to 50c at the same time as shown in FIG. In this case, the transaction application processing may be performed by the TR application server 51 from the previously stored transaction data 6 irrespective of which server is used, or the processing order or priority of the servers 1a to 1c may be determined. The transaction application processing may be arbitrarily determined.

さらに、上述したトランザクション適用処理は、トランザクションデータ6が一つでもバッファ50a〜50cのいずれかに記憶された場合に処理してもよいし、トランザクションデータ6がバッファ50a〜50cに任意に決めた個数だけ記憶された場合に処理させるようにしてもよい。   Furthermore, the above-described transaction application processing may be performed when at least one transaction data 6 is stored in any of the buffers 50a to 50c, or the transaction data 6 may be arbitrarily determined in the buffers 50a to 50c. Alternatively, the processing may be performed when only the information is stored.

そして、例えば、通常一つのサーバ1aのバックアップを行おうとした場合、TR適用サーバ51とストレージ領域52aとの機能を併せ持った一つのバックアップサーバを必要としていた。このため、複数のサーバのバックアップを行おうとするとその数だけバックアップサーバを必要とし、ライセンス費などのコストがかかっていた。しかし、上述した図5に示した例では、複数サーバのバックアップを行う際に一つのバックアップサーバしか必要としないためライセンス費が削減でき、設備を効率化することができる。   For example, when one server 1a is normally backed up, one backup server having the functions of the TR application server 51 and the storage area 52a is required. For this reason, if a plurality of servers are to be backed up, the number of backup servers is required, and costs such as licensing costs are required. However, in the example shown in FIG. 5 described above, when backing up a plurality of servers, only one backup server is required, so that license costs can be reduced and equipment can be made more efficient.

なお、トランザクションデータ6がネットワーク7を介してストレージセンタ2に転送される際、サーバ1a〜1c側はデータを圧縮し、ストレージセンタ2側は圧縮転送されてきたデータを伸張する点は図1と同様とする。   When the transaction data 6 is transferred to the storage center 2 via the network 7, the servers 1a to 1c compress the data, and the storage center 2 expands the compressed and transferred data as shown in FIG. The same shall apply.

図6は、この発明にかかる複数サーバに対応するデータバックアップシステムのトランザクション適用処理手順を示すフローチャートである。図6では、図5に示した複数サーバに対応するデータバックアップシステムの動作をフローチャートを用いて説明する。   FIG. 6 is a flowchart showing a transaction application processing procedure of the data backup system corresponding to a plurality of servers according to the present invention. In FIG. 6, the operation of the data backup system corresponding to a plurality of servers shown in FIG. 5 will be described using a flowchart.

まず、バックアップ処理を行うための準備として、サーバ1aからストレージセンタ2内に備えられたストレージ領域52aに対し、ネットワーク7を介して全体バックアップが行われる(ステップS21)。同様に、サーバ1bからストレージ領域52bに全体バックアップが行われ(ステップS22)、サーバ1cからストレージ領域52cに全体バックアップが行われる(ステップS23)。   First, as preparation for performing a backup process, an overall backup is performed from the server 1a to the storage area 52a provided in the storage center 2 via the network 7 (step S21). Similarly, a full backup is performed from the server 1b to the storage area 52b (step S22), and a full backup is performed from the server 1c to the storage area 52c (step S23).

そして、サーバ1aからストレージセンタ2内に備えられたバッファ50aに対してトランザクションデータ6が転送される(ステップS24)。トランザクションデータ6が転送されると、ストレージ領域52aからデータベースイメージファイル23が生成され(ステップS25)、TR適用サーバ51に送出される。その後、バッファ50aはトランザクションデータ6をTR適用サーバ51に送出する(ステップS26)。TR適用サーバ51は、送出されたトランザクションデータ6をデータベースイメージファイル23のコピーデータ23aに対してトランザクション適用処理を行い、再びストレージ領域52aへと格納する(ステップS27)。   Then, the transaction data 6 is transferred from the server 1a to the buffer 50a provided in the storage center 2 (Step S24). When the transaction data 6 is transferred, the database image file 23 is generated from the storage area 52a (Step S25) and sent to the TR application server 51. Thereafter, the buffer 50a sends the transaction data 6 to the TR application server 51 (Step S26). The TR application server 51 performs a transaction application process on the sent transaction data 6 on the copy data 23a of the database image file 23, and stores the transaction data 6 in the storage area 52a again (step S27).

次に、サーバ1bからストレージセンタ2内に備えられたバッファ50bに対してトランザクションデータ6が転送される(ステップS28)。トランザクションデータ6が転送されると、ストレージ領域52bからデータベースイメージファイル23が生成され(ステップS29)、TR適用サーバ51に送出される。その後、バッファ50bはトランザクションデータ6をTR適用サーバ51に送出する(ステップS30)。TR適用サーバ51は、送出されたトランザクションデータ6をデータベースイメージファイル23のコピーデータ23aに対してトランザクション適用処理を行い、再びストレージ領域52bへと格納する(ステップS31)。   Next, the transaction data 6 is transferred from the server 1b to the buffer 50b provided in the storage center 2 (Step S28). When the transaction data 6 is transferred, the database image file 23 is generated from the storage area 52b (Step S29) and sent to the TR application server 51. Thereafter, the buffer 50b sends the transaction data 6 to the TR application server 51 (Step S30). The TR application server 51 performs a transaction application process on the transmitted transaction data 6 on the copy data 23a of the database image file 23, and stores the transaction data 6 again in the storage area 52b (step S31).

さらに、サーバ1cからストレージセンタ2内に備えられたバッファ50cに対してトランザクションデータ6が転送される(ステップS32)。トランザクションデータ6が転送されると、ストレージ領域52cからデータベースイメージファイル23が生成され(ステップS33)、TR適用サーバ51に送出される。その後、バッファ50cはトランザクションデータ6をTR適用サーバ51に送出する(ステップS34)。TR適用サーバ51は、送出されたトランザクションデータ6をデータベースイメージファイル23のコピーデータ23aに対してトランザクション適用処理を行い、再びストレージ領域52cへと格納する(ステップS35)。   Further, the transaction data 6 is transferred from the server 1c to the buffer 50c provided in the storage center 2 (Step S32). When the transaction data 6 is transferred, the database image file 23 is generated from the storage area 52c (Step S33) and sent to the TR application server 51. Thereafter, the buffer 50c sends the transaction data 6 to the TR application server 51 (Step S34). The TR application server 51 performs a transaction application process on the sent transaction data 6 to the copy data 23a of the database image file 23, and stores the transaction data 6 again in the storage area 52c (step S35).

一方、上述したようなトランザクション適用処理を行っている間に、サーバ1a〜1cにて障害が発生する場合がある。例えば、サーバ1aにて障害が発生した(ステップS36)場合、ストレージ領域52aからネットワーク7を介して全体バックアップをサーバ1aに対してリカバリする(ステップS37)。このリカバリを行う全体バックアップは、直前までのトランザクションを適用した後のバックアップデータであるため、最新の全体バックアップデータを復元することができるようになる。   On the other hand, a failure may occur in the servers 1a to 1c while performing the transaction application processing as described above. For example, when a failure occurs in the server 1a (step S36), the entire backup is recovered from the storage area 52a via the network 7 to the server 1a (step S37). Since the whole backup for performing this recovery is the backup data after applying the transaction up to immediately before, the latest whole backup data can be restored.

以上説明したように、本実施の形態2にかかるデータバックアップシステムによれば、サーバ1a〜1cは、ストレージセンタ2が備えるそれぞれに割り当てられたストレージ領域52a〜52cに対してバックアップを行うことができるようになる。また、それらのトランザクション処理は、全て一つのTR適用サーバ51によって実行することができる。このことにより、一つのデータベース毎にバックアップサーバを用意する必要がなくなり、バックアップするための設備を効率化し、ライセンス費用を削減することができるようになる。   As described above, according to the data backup system according to the second embodiment, the servers 1a to 1c can back up the storage areas 52a to 52c provided in the storage center 2 and assigned to the respective servers. Become like All of these transaction processes can be executed by one TR application server 51. As a result, there is no need to prepare a backup server for each database, and the efficiency of backup facilities can be increased, and licensing costs can be reduced.

また、サーバ1a〜1cにて発生するトランザクションデータをバッファ50a〜50cにて記憶し、TR適用サーバ51にて順次トランザクション適用処理を行うため、複数サーバのトランザクション適用処理を多重化して行うことができるようになる。また、常にトランザクションの適用処理をするため、万が一障害が発生した場合にあっても、直前までのトランザクションが適用された全体バックアップを用いてリカバリを行うことができるようになる。これにより、リカバリを行った際に最新のデータに復元することができるようになる。   Further, since transaction data generated in the servers 1a to 1c is stored in the buffers 50a to 50c and the transaction application processing is sequentially performed in the TR application server 51, the transaction application processing of a plurality of servers can be multiplexed. Become like Further, since the transaction is always applied, even in the event of a failure, recovery can be performed using the entire backup to which the transaction up to immediately before has been applied. This makes it possible to restore to the latest data when recovery is performed.

なお、図5および図6では、バックアップを行うサーバをサーバ1a〜1cの3つとして説明したが特に数に制限をおくものではない。システムを構成する装置の機能や、ハードウエアの規格や、オペレーティングシステムなどの制約を受けない限り、数に上限は無いものとする。この場合、ストレージセンタ2には複数のサーバそれぞれに対応するストレージの領域が用意されるものとする。   In FIG. 5 and FIG. 6, the number of backup servers is three, that is, the servers 1 a to 1 c, but the number is not particularly limited. There is no upper limit on the number unless there are restrictions on the functions of the devices that make up the system, hardware standards, operating systems, and the like. In this case, it is assumed that storage areas corresponding to the respective servers are prepared in the storage center 2.

なお、本実施の形態で説明したデータバックアップ方法は、予め用意されたプログラムをサーバ1やストレージセンタ2のストレージ用データベース11を構成するパーソナル・コンピュータやワークステーション等のコンピュータで実行することにより実現することができる。このプログラムは、ハードディスク,フレキシブルディスク,CD−ROM,MO,DVD等のコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。またこのプログラムは、インターネット等のネットワークを介して配布することが可能な伝送媒体であってもよい。   The data backup method described in the present embodiment is realized by executing a prepared program on a computer such as a personal computer or a workstation constituting the storage database 11 of the server 1 or the storage center 2. be able to. This program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD-ROM, an MO, and a DVD, and is executed by being read from the recording medium by the computer. The program may be a transmission medium that can be distributed via a network such as the Internet.

以上のように、本発明にかかるデータバックアップシステムおよびデータバックアップ方法は、データベースのバックアップおよびトランザクション処理を行うために有用であり、特に、災害発生時等のデータベース復旧に適している。   As described above, the data backup system and data backup method according to the present invention are useful for performing database backup and transaction processing, and are particularly suitable for database recovery in the event of a disaster or the like.

この発明にかかるデータバックアップシステムの構成を示す概要図である。1 is a schematic diagram illustrating a configuration of a data backup system according to the present invention. ストレージ用データベースが有するストレージ機能を説明するためのブロック図である。FIG. 3 is a block diagram for explaining a storage function of a storage database. トランザクション適用処理手順を示すフローチャートである。It is a flowchart which shows a transaction application processing procedure. 全体バックアップのリストア処理手順を示すフローチャートである。9 is a flowchart illustrating a procedure for restoring an entire backup. この発明にかかる複数サーバに対応するデータバックアップシステムの構成の一例を示す概要図である。1 is a schematic diagram illustrating an example of a configuration of a data backup system corresponding to a plurality of servers according to the present invention. この発明にかかる複数サーバに対応するデータバックアップシステムのトランザクション適用処理手順を示すフローチャートである。It is a flow chart which shows the transaction application processing procedure of the data backup system corresponding to a plurality of servers concerning the present invention. 従来のデータバックアップシステムの構成を示す概要図である。It is a schematic diagram showing a configuration of a conventional data backup system.

符号の説明Explanation of reference numerals

1,1a,1b,1c サーバ
2 ストレージセンタ
5 業務データベース
6 トランザクションデータ
7 ネットワーク
10 記憶媒体
11 ストレージ用データベース
20 格納手段
21 データ処理手段
22 読み出し手段
23 データベースイメージファイル
23a データベースイメージファイルのコピーデータ
24 トランザクション反映手段
25 検証手段
26 書き込み手段
27 バックアップ手段
28 バックアップ格納手段
50a,50b,50c バッファ
51 TR適用サーバ
52a,52b,52c ストレージ領域
1, 1a, 1b, 1c server 2 storage center 5 business database 6 transaction data 7 network 10 storage medium 11 storage database 20 storage means 21 data processing means 22 reading means 23 database image file 23a database image file copy data 24 transaction reflection Means 25 Verification means 26 Writing means 27 Backup means 28 Backup storage means 50a, 50b, 50c Buffer 51 TR application server 52a, 52b, 52c Storage area

Claims (14)

データベースを備えたサーバと、該サーバのデータベースのデータ内容をバックアップするための遠隔地のストレージセンタとからなるデータバックアップシステムにおいて、
前記サーバは、トランザクションデータの発生毎に該トランザクションデータを前記ストレージセンタに転送する転送手段を備え、
前記ストレージセンタは、前記サーバのデータベースをバックアップした全体バックアップデータを格納する格納手段と、
前記サーバからトランザクションデータを受ける都度、前記サーバに該当する全体バックアップに対し前記トランザクションデータを用いたトランザクション適用処理を実行し、前記格納手段に前記トランザクション適用処理後の全体バックアップデータを再格納するデータ処理手段と、
を備えたことを特徴とするデータバックアップシステム。
In a data backup system comprising a server having a database and a remote storage center for backing up data contents of the database of the server,
The server includes a transfer unit that transfers the transaction data to the storage center every time transaction data is generated,
A storage unit configured to store overall backup data obtained by backing up the database of the server;
Data processing for executing a transaction application process using the transaction data on the whole backup corresponding to the server each time receiving transaction data from the server, and re-storing the whole backup data after the transaction application process in the storage unit Means,
A data backup system comprising:
それぞれデータベースを備えたn個のサーバと、該n個のサーバ毎のデータベースのデータ内容をバックアップするための遠隔地のストレージセンタとからなるデータバックアップシステムにおいて、
前記n個のサーバは、トランザクションデータの発生毎に該トランザクションデータを前記ストレージセンタに転送する転送手段を備え、
前記ストレージセンタは、前記n個のサーバ毎に備えたデータベースをバックアップした全体バックアップデータを、前記n個のサーバ毎にそれぞれ割り当てられたn個の領域のなかから該当する領域に格納する格納手段と、
前記n個のサーバからトランザクションデータを受ける都度、前記n個のサーバ毎にそれぞれ割り当てられた前記n個の領域に格納された全体バックアップに対して前記トランザクションデータを用いたトランザクション適用処理を実行し、前記トランザクション適用処理後の全体バックアップデータを前記n個のサーバ毎にそれぞれ割り当てられた前記n個の領域に再格納するデータ処理手段と、
を備えたことを特徴とするデータバックアップシステム。
In a data backup system including n servers each having a database and a remote storage center for backing up data contents of the database for each of the n servers,
The n servers each include transfer means for transferring the transaction data to the storage center each time the transaction data occurs,
A storage unit for storing the entire backup data obtained by backing up the database provided for each of the n servers in a corresponding area from among the n areas respectively allocated to the n servers; and ,
Each time receiving transaction data from the n servers, executing a transaction application process using the transaction data on the entire backup stored in the n areas allocated to each of the n servers; Data processing means for restoring the whole backup data after the transaction application processing in the n areas respectively allocated to the n servers;
A data backup system comprising:
前記転送手段によって前記n個のサーバからそれぞれ転送されるトランザクションデータを受ける都度、該トランザクションデータを前記n個のサーバ毎にそれぞれ割り当てられたn個の記憶領域のなかから該当する記憶領域に一時的に記憶する記憶手段を備え、
前記データ処理手段は、
前記n個のサーバ毎にそれぞれ割り当てられた前記記憶手段の前記記憶領域に記憶された前記トランザクションデータを取得し、前記n個のサーバ毎にそれぞれ割り当てられた前記領域に格納されたそれぞれの全体バックアップに対して前記トランザクションデータを用いてトランザクション適用処理を実行し、前記トランザクション適用処理後の全体バックアップデータを前記n個のサーバ毎にそれぞれ割り当てられた前記格納手段の前記n個の領域のなかから該当する領域に再格納することを特徴とする請求項2に記載のデータバックアップシステム。
Each time the transfer means receives the transaction data transferred from each of the n servers, the transaction data is temporarily stored in the corresponding storage area from among the n storage areas assigned to each of the n servers. Storage means for storing the
The data processing means includes:
Acquiring the transaction data stored in the storage area of the storage means assigned to each of the n servers, and obtaining each of the whole backups stored in the area assigned to each of the n servers A transaction application process using the transaction data with respect to the entire backup data after the transaction application process from among the n areas of the storage unit assigned to each of the n servers. 3. The data backup system according to claim 2, wherein the data is re-stored in an area to be restored.
前記データ処理手段は、
前記トランザクション適用処理の実行が適切であるか検証する検証手段を備え、適切でないときには前記トランザクション適用処理を不実行にすることを特徴とする請求項1〜3のいずれか一つに記載のデータバックアップシステム。
The data processing means includes:
The data backup according to claim 1, further comprising a verification unit configured to verify whether execution of the transaction application processing is appropriate, and not performing the transaction application processing when the execution is not appropriate. system.
前記検証手段は、
前記トランザクション適用処理の実行が適切でないときには、該当するエラー内容を報知することを特徴とする請求項4に記載のデータバックアップシステム。
The verification means,
5. The data backup system according to claim 4, wherein when the execution of the transaction application processing is not appropriate, a corresponding error content is notified.
前記データ処理手段は、
前記トランザクション適用処理を、前記格納手段から読み出した全体バックアップデータをデータベースイメージファイルに展開し該データベースイメージファイルのコピーに対して実行することを特徴とする請求項1〜5のいずれか一つに記載のデータバックアップシステム。
The data processing means includes:
6. The transaction application process according to claim 1, wherein the whole backup data read from the storage unit is expanded into a database image file and executed for a copy of the database image file. Data backup system.
前記トランザクション適用処理後の全体バックアップデータを前記格納手段にデータ圧縮して格納する書き込み手段を備えたことを特徴とする請求項1〜6のいずれか一つに記載のデータバックアップシステム。   7. The data backup system according to claim 1, further comprising a writing unit that compresses and stores the entire backup data after the transaction application processing in the storage unit. 前記トランザクション適用処理時に格納手段に格納されたデータ圧縮状態の全体バックアップデータを読み出すとき、データ伸張して読み出す読み出し手段を備えたことを特徴とする請求項7に記載のデータバックアップシステム。   8. The data backup system according to claim 7, further comprising a reading unit that expands and reads out the entire backup data in a data compressed state stored in the storage unit during the transaction application processing. 前記サーバと前記ストレージセンタとの間でデータを転送するネットワークを備えたことを特徴とする請求項1〜8のいずれか一つに記載のデータバックアップシステム。   9. The data backup system according to claim 1, further comprising a network for transferring data between the server and the storage center. 前記サーバと前記ストレージセンタとの間でデータを搬送するために、書き込みおよび読み出し可能な記憶媒体を用いることを特徴とする請求項1〜9のいずれか一つに記載のデータバックアップシステム。   The data backup system according to any one of claims 1 to 9, wherein a writable and readable storage medium is used to transfer data between the server and the storage center. データベースのデータ内容を遠隔地に転送してバックアップするためのデータバックアップ方法において、
前記データベースよりトランザクションデータを受け取る都度、予めバックアップしておいた前記データベースの全体バックアップデータに対し、前記トランザクションデータを用いたトランザクション適用処理を実行するトランザクション反映処理工程を含むことを特徴とするデータバックアップ方法。
In a data backup method for transferring data contents of a database to a remote location for backup,
A data backup method, comprising: a transaction reflection processing step of executing a transaction application process using the transaction data on the entire backup data of the database that has been backed up in advance each time transaction data is received from the database. .
前記トランザクション反映処理工程の実行が適切であるか検証する検証工程を含み、
検証結果が適切でないときには前記トランザクション適用処理を不実行にすることを特徴とする請求項11に記載のデータバックアップ方法。
Including a verification step of verifying whether the execution of the transaction reflection processing step is appropriate,
12. The data backup method according to claim 11, wherein the transaction application processing is not executed when the verification result is not appropriate.
前記トランザクション反映処理工程は、
前記データベースがn個の場合、n個の該データベースから受け取った一つのトランザクションデータを、予めバックアップしておいたn個の前記データベースのなかのうち一つの該当する全体バックアップデータに対し、前記トランザクション適用処理を実行することを特徴とする請求項11または12に記載のデータバックアップ方法。
The transaction reflection processing step includes:
When the number of the databases is n, one transaction data received from the n databases is applied to the corresponding whole backup data of one of the n previously backed up databases by the transaction application. 13. The data backup method according to claim 11, wherein a process is executed.
前記トランザクション反映処理工程は、
n個の前記データベースのうちの一つからトランザクションデータを受けた場合、該トランザクションデータを一時的に記憶し、記憶した該トランザクションデータを予めバックアップしておいたn個の前記データベースのなかのうち一つの該当する全体バックアップデータに対し前記トランザクション適用処理を実行することを特徴とする請求項13に記載のデータバックアップ方法。
The transaction reflection processing step includes:
When transaction data is received from one of the n databases, the transaction data is temporarily stored, and the stored transaction data is stored in one of the n databases that have been backed up in advance. 14. The data backup method according to claim 13, wherein the transaction application processing is performed on two corresponding whole backup data.
JP2003354149A 2002-11-06 2003-10-14 Data backup system and data backup method Pending JP2004171529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003354149A JP2004171529A (en) 2002-11-06 2003-10-14 Data backup system and data backup method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002322863 2002-11-06
JP2003354149A JP2004171529A (en) 2002-11-06 2003-10-14 Data backup system and data backup method

Publications (1)

Publication Number Publication Date
JP2004171529A true JP2004171529A (en) 2004-06-17

Family

ID=32715997

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003354149A Pending JP2004171529A (en) 2002-11-06 2003-10-14 Data backup system and data backup method

Country Status (1)

Country Link
JP (1) JP2004171529A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165435A (en) * 2009-01-19 2010-07-29 Unitex:Kk Magnetic tape copy system, magnetic tape copy program and magnetic tape controller
JP2010211713A (en) * 2009-03-12 2010-09-24 Nec Corp Backup device, backup system, backup method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165435A (en) * 2009-01-19 2010-07-29 Unitex:Kk Magnetic tape copy system, magnetic tape copy program and magnetic tape controller
JP2010211713A (en) * 2009-03-12 2010-09-24 Nec Corp Backup device, backup system, backup method and program

Similar Documents

Publication Publication Date Title
US7549027B1 (en) System and method for managing replication of data in a data storage environment
US7865678B2 (en) Remote copy system maintaining consistency
JP4261800B2 (en) Management method of differential backup system in client server environment
US7552296B1 (en) Symmetrical data change tracking
US6868506B2 (en) Data recovery method and apparatus
US7284150B2 (en) System and method for reliably storing data and providing efficient incremental backup and asynchronous mirroring by preferentially handling new data
US7472139B2 (en) Database recovery method applying update journal and database log
CN1902595B (en) Coordinated storage management operations in replication environment
US7620666B1 (en) Maintaining persistent data change maps for fast data synchronization and restoration
US7546428B1 (en) Computer architecture for managing replication of data in a data storage environment
JP4624829B2 (en) Data backup system and method
US20200210374A1 (en) Apparatus and method for file capture, preservation and management
US7974949B2 (en) Computer system and automatic data backup method
KR19980024086A (en) Computer system and file management methods
JP2005529410A (en) Multiple simultaneously active file systems
CN115098299A (en) Backup method, disaster recovery method, device and equipment for virtual machine
WO2007099636A1 (en) File system migration method, program and apparatus
US6424999B1 (en) System and method for restoring previously backed-up data in a mass storage subsystem
US20050262033A1 (en) Data recording apparatus, data recording method, program for implementing the method, and program recording medium
US7284105B2 (en) Fast and economical establishment of remote copy
US8131958B2 (en) Storage system, storage device, and data updating method using a journal volume
JP2004171529A (en) Data backup system and data backup method
JP2001188690A (en) Computer system and checkpoint information preserving method
JP7007017B2 (en) Storage systems, control methods, and programs
JP4888347B2 (en) Storage apparatus and time stamp assigning method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070612

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070802

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070911