JP2002116938A - File backup method provided with generation management function - Google Patents
File backup method provided with generation management functionInfo
- Publication number
- JP2002116938A JP2002116938A JP2000311329A JP2000311329A JP2002116938A JP 2002116938 A JP2002116938 A JP 2002116938A JP 2000311329 A JP2000311329 A JP 2000311329A JP 2000311329 A JP2000311329 A JP 2000311329A JP 2002116938 A JP2002116938 A JP 2002116938A
- Authority
- JP
- Japan
- Prior art keywords
- backup
- file
- directory
- generation
- stored
- 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
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、世代管理機能を備
えたファイルバックアップ方法、特に、バックアップ元
のファイルと同期がとられた最新状態のバックアップフ
ァイルと、あるバックアップ処理時点の過去のファイル
の状態にまで遡って復元可能な複数の世代のバックアッ
プファイルを、ツリー状のディレクトリ構造によって常
時利用可能に管理する、新規なファイルバックアップ方
法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file backup method having a generation management function, and more particularly to a latest backup file synchronized with a backup source file and a past file status at the time of a certain backup process. The present invention relates to a new file backup method for managing a plurality of generations of backup files that can be restored retroactively to a file that is always available using a tree-like directory structure.
【0002】[0002]
【従来の技術】コンピュータによって実行されるプログ
ラムまたは処理されるデータは、通常ファイルという形
式でコンピュータに内蔵された各種の記憶装置に格納さ
れる。通常のコンピュータのOS(オペレーティング・
システム)は、ツリー状をした階層構造のディレクトリ
によってファイルを格納し管理するファイル・システム
を標準で有している。2. Description of the Related Art Programs to be executed by a computer or data to be processed are stored in various types of storage devices built in the computer in the form of ordinary files. Normal computer OS (operating
System) has a file system that stores and manages files in directories having a tree-like hierarchical structure as standard.
【0003】ファイルに対し何らかの操作を行った場
合、ユーザがその操作履歴を世代情報として管理したい
場合がある。例えば、コンピュータプログラムの開発環
境において、ソースコードを世代管理するためのアプリ
ケーションソフトウェアが既に知られている。しかしな
がら、このソフトウェアは開発しているプログラムを1
行毎に世代管理し、プロジェクトとして複数のプログラ
ムを管理することが前提であり、一般的なグラフィック
スデータやオーディオデータ等を管理することはできな
い。When an operation is performed on a file, the user may want to manage the operation history as generation information. For example, application software for generationally managing source code in a computer program development environment is already known. However, this software has one program under development.
It is assumed that generation management is performed for each line and a plurality of programs are managed as a project, and general graphics data, audio data, and the like cannot be managed.
【0004】一方、いわゆるバックアップツールと呼ば
れる各種OSに対応したバックアップ用ユーティリティ
ソフトウェアも既に提供されている。市販のバックアッ
プツールのほとんどが、フル・バックアップとインクリ
メント・バックアップの機能を有するが、最新のファイ
ル状態あるいは過去の時点のファイル状態として復元す
るためには、それらのバックアップデータとそのバック
アップに使用したバックアップツールを同時に用意し、
使用しなければならず、操作上不便である。バックアッ
プの手法としてミラーリングがあるが、ミラーリングに
おいてはバックアップ元のファイルに対し最新のファイ
ル状態で同期をとることができるものの、過去に遡りあ
る時点でのファイル状態に復元することができない。On the other hand, backup utility software corresponding to various OSs called a so-called backup tool has already been provided. Most commercial backup tools have full backup and incremental backup functions.To restore the latest file state or the file state at a past point in time, the backup data and the backup used for that backup Prepare tools at the same time,
It must be used, which is inconvenient for operation. There is mirroring as a backup method. In mirroring, although it is possible to synchronize the backup source file with the latest file state, it is not possible to restore the file state to a certain point in time in the past.
【0005】また、従来のこの種バックアップツール
は、一般に最初にバックアップ処理をしたときのファイ
ルをベースファイルとして格納し、その後にファイルに
加えられた操作を差分情報ファイルとして格納し管理し
ている。この目的のため、従来のバックアップツール
は、ベースファイルと世代毎の差分情報との関係等対象
ファイルの状態を記録したそのバックアップツールに固
有の管理ファイルを有している。従って、その管理ファ
イルが何らかの原因で失われ又は壊れた場合、古い世代
のファイルを復元することが不可能となる。また、バッ
クアップツール自体に故障が発生するとバックアップさ
れたファイルを利用することができないため、バックア
ップツールの再インストールが必要となり、また最悪の
場合には、バックアップされたファイルが失われる、と
いう問題があった。[0005] Further, this type of conventional backup tool generally stores a file at the time of the first backup processing as a base file, and thereafter stores and manages operations added to the file as a difference information file. For this purpose, the conventional backup tool has a management file unique to the backup tool that records the status of the target file such as the relationship between the base file and the difference information for each generation. Therefore, if the management file is lost or damaged for some reason, it becomes impossible to restore the old generation file. Also, if the backup tool itself fails, the backed up files cannot be used, so the backup tool needs to be reinstalled, and in the worst case, the backed up files are lost. Was.
【0006】[0006]
【発明が解決しようとする課題】本発明は、上記した従
来技術の問題点を解消すべくなされたもので、その目的
は、ファイル形式に依存せずにファイルをバックアップ
可能であり、かつ、固有の管理ファイルなしに世代毎に
バックアップされたファイルの表示、指定あるいは利用
を高速かつ容易に行うことが可能な、世代管理機能を備
えたファイルバックアップ方法を提供することにある。
また、本発明の他の目的は、複数の世代バックアップデ
ィレクトリに同一内容のファイルが重複して格納される
無駄を回避し、かつバックアップ処理を高速化すること
が可能な、世代管理機能を備えたファイルバックアップ
方法を提供することにある。SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art, and has as its object to be able to back up a file without depending on the file format and to have a unique It is an object of the present invention to provide a file backup method having a generation management function capable of quickly and easily displaying, specifying, or using a file backed up for each generation without the management file.
Another object of the present invention is to provide a generation management function capable of avoiding wasteful storage of files having the same contents in a plurality of generation backup directories and of accelerating backup processing. It is to provide a file backup method.
【0007】[0007]
【課題を解決するための手段】上記の目的を達成するた
めに、第1の発明に係る世代管理機能を備えたファイル
バックアップ方法は、バックアップ元ディレクトリに格
納された複数のファイルをバックアップファイルとして
格納するための1つの最新バックアップディレクトリ
と、過去のそれぞれのバックアップ処理時点において、
前記バックアップ元ディレクトリに格納されたいずれか
のファイルが所定の操作を加えられたものであるとき、
当該所定の操作が加えられたファイルに対応する操作履
歴ファイルを世代ごとに格納するための、複数の世代バ
ックアップディレクトリとを、バックアップ先ディレク
トリの下部にツリー状に設け、直前のバックアップ処理
時点からその次のバックアップ処理時点までの間に、前
記バックアップ元ディレクトリに格納された少なくとも
1つのファイルが、前記最新バックアップディレクトリ
に格納されたファイルとの関係で所定の操作を加えられ
たものであるとき、最新バックアップディレクトリに格
納された全てのファイルを最新の操作履歴ファイルによ
って置き換えて1世代前の世代バックアップディレクト
リとし、別の1つのバックアップディレクトリを新たに
生成し、当該生成した別のバックアップディレクトリに
前記バックアップ元ディレクトリに格納された複数のフ
ァイルを複製して新たな最新バックアップディレクトリ
とすることを特徴とする。In order to achieve the above object, a file backup method having a generation management function according to the first invention stores a plurality of files stored in a backup source directory as backup files. One latest backup directory for backup and each past backup process
When any of the files stored in the backup source directory has been subjected to a predetermined operation,
A plurality of generation backup directories for storing, for each generation, an operation history file corresponding to the file to which the predetermined operation has been added are provided in a tree shape below the backup destination directory. If at least one file stored in the backup source directory has been subjected to a predetermined operation in relation to a file stored in the latest backup directory until the next backup processing point in time, All the files stored in the backup directory are replaced with the latest operation history file to be a generation backup directory of one generation before, another another backup directory is newly generated, and the backup is made in another generated backup directory. Duplicating a plurality of files stored in a directory, characterized in that a new most recent backup directory.
【0008】本発明によれば、バックアップ先ディレク
トリ内の最新バックアップディレクトリに、バックアッ
プ元ディレクトリに格納されたファイルがミラーリング
される。従って、過去のバックアップ処理で生成される
操作履歴ファイルとは無関係に最新の状態のファイルを
高速かつ容易に表示し、指定しあるいは利用することが
できる。According to the present invention, the file stored in the backup source directory is mirrored in the latest backup directory in the backup destination directory. Therefore, the latest file can be displayed, designated, or used quickly and easily regardless of the operation history file generated in the past backup processing.
【0009】また、バックアップ先ディレクトリには、
最新バックアップディレクトリとは別に、複数の世代バ
ックアップディレクトリがツリー状の階層構造で設けら
れているので、各世代の識別が一目瞭然である。従っ
て、世代をキーとして過去のファイルを高速かつ容易に
表示し、指定しあるいは利用することができる。[0009] In the backup destination directory,
In addition to the latest backup directory, a plurality of generation backup directories are provided in a tree-like hierarchical structure, so that each generation can be identified at a glance. Therefore, past files can be displayed, designated, or used quickly and easily using the generation as a key.
【0010】更に、それぞれの世代バックアップディレ
クトリには、それぞれのバックアップ処理時点におい
て、最新バックアップディレクトリに格納されているフ
ァイルがバックアップ元ディレクトリのファイルとの比
較において受ける所定の操作(ファイルの追加、ファイ
ルの削除またはファイル内容の変更)に応じて、そのよ
うな操作がなされたファイルのみが操作履歴ファイルと
して格納され、操作がなされなかったファイルは格納さ
れない。これにより、複数の世代バックアップディレク
トリに同一内容のファイルが重複して格納される無駄を
回避することができる。[0010] Further, each generation backup directory has a predetermined operation (file addition, file addition, etc.) received at the time of each backup processing when a file stored in the latest backup directory is compared with a file in the backup source directory. In response to the deletion or change of the file contents), only the file on which such an operation has been performed is stored as the operation history file, and the file on which the operation has not been performed is not stored. As a result, it is possible to avoid waste of storing files of the same content in a plurality of generation backup directories redundantly.
【0011】第2の発明に係る世代管理機能を備えたフ
ァイルバックアップ方法は、バックアップ元ディレクト
リに格納された複数のファイルをバックアップファイル
として格納するための1つの最新バックアップディレク
トリと、過去のそれぞれのバックアップ処理時点におい
て、前記バックアップ元ディレクトリに格納されたいず
れかのファイルが所定の操作を加えられたものであると
き、当該所定の操作が加えられたファイルに対応する操
作履歴ファイルを、複数の世代前までそれぞれ格納する
ための、複数の世代バックアップディレクトリとを、バ
ックアップ先ディレクトリの下部にツリー状に設け、直
前のバックアップ処理時点からその次のバックアップ処
理を行う時点までの間に、前記バックアップ元ディレク
トリに格納された少なくとも1つのファイルが、前記最
新バックアップディレクトリに格納されたファイルとの
関係で所定の操作を加えられたものであるとき、前記複
数の世代バックアップディレクトリのディレクトリ名
を、世代の古いものから順に1世代前のディレクトリ名
にリネームし、リネーム前の前記複数の世代バックアッ
プディレクトリのうち最新の世代のバックアップディレ
クトリと同一のディレクトリ名の、世代バックアップデ
ィレクトリを新たに生成し、前記生成した世代バックア
ップディレクトリに最新の操作履歴ファイルを格納し、
前記バックアップ元ディレクトリに格納された複数のフ
ァイルと同一のファイル状態となるように前記最新バッ
クアップディレクトリを同期することを特徴とする。A file backup method having a generation management function according to a second invention is characterized in that one latest backup directory for storing a plurality of files stored in a backup source directory as backup files, and each past backup directory. At the time of processing, when any of the files stored in the backup source directory has been subjected to a predetermined operation, the operation history file corresponding to the file to which the predetermined operation has been performed is stored in a plurality of generations earlier. A plurality of generation backup directories are respectively provided in the form of a tree below the backup destination directory, and the backup source directory is stored between the time of the immediately preceding backup processing and the time of performing the next backup processing. Stored When at least one file has been subjected to a predetermined operation in relation to the file stored in the latest backup directory, the directory names of the plurality of generation backup directories are changed by one from the oldest generation. Rename the directory name before the generation, newly generate a generation backup directory having the same directory name as the backup directory of the latest generation among the plurality of generation backup directories before the rename, and store the latest generation backup directory in the generated generation backup directory. Store the operation history file of
The latest backup directory is synchronized so as to have the same file state as a plurality of files stored in the backup source directory.
【0012】この、第2の発明では、バックアップ処理
を行う際に、複数の世代バックアップディレクトリのデ
ィレクトリ名を、世代の古いものから順に1世代前のデ
ィレクトリ名にリネームする。リネーム後の世代バック
アップディレクトリの各ディレクトリ名は、最新バック
アップディレクトリに対し何世代前のバックアップ処理
時点のものかを正確に反映しているから、複数の世代バ
ックアップディレクトリがツリー状の階層構造で設けら
れていることと相俟って、各世代の識別と管理が容易で
ある。また、リネームは、ディレクトリ内のファイルの
複製や移動を伴わないので、高速なバックアップ処理が
実現される。In the second invention, when performing the backup process, the directory names of the plurality of generation backup directories are renamed to the directory names of one generation before in order from the oldest generation. Since each directory name of the generation backup directory after renaming accurately reflects the number of generations before the latest backup directory at the time of backup processing, multiple generation backup directories are provided in a tree-like hierarchical structure. This makes it easy to identify and manage each generation. Also, the renaming does not involve copying or moving files in the directory, thereby realizing high-speed backup processing.
【0013】第1の発明及び第2の発明において、前記
した所定の操作には、前記最新バックアップディレクト
リに格納されたファイルとの関係でファイルの追加、フ
ァイルの削除、あるいはファイル内容の変更のいずれか
の操作を含む。また、前記最新の操作履歴ファイルは、
ファイルの追加の場合、その追加操作を表示するマーカ
ーファイルを、ファイルの削除またはファイル内容の変
更の場合、最新バックアップディレクトリに格納された
当該削除または変更が加えられる前のファイルを含む。[0013] In the first invention and the second invention, the predetermined operation includes adding a file, deleting a file, or changing a file content in relation to a file stored in the latest backup directory. Operation. Also, the latest operation history file is
In the case of adding a file, the marker file indicating the adding operation is included, and in the case of deleting the file or changing the file content, the file stored in the latest backup directory before the deletion or change is included.
【0014】第3の発明に係る世代管理機能を備えたフ
ァイルバックアップ方法は、バックアップ元ディレクト
リに格納された複数のファイルをバックアップファイル
として格納するための1つの最新バックアップディレク
トリと、過去のそれぞれのバックアップ処理時点におい
て、バックアップ元ディレクトリに格納されたいずれか
のファイルが所定の操作を加えられたものであるとき、
当該所定の操作が加えられたファイルに対応する操作履
歴ファイルをm世代(ここでmは管理される世代数であ
り2以上の整数とする)前までそれぞれ格納するため
の、第1世代から第m世代までの世代バックアップディ
レクトリとを、バックアップ先ディレクトリの下部にツ
リー状に設け、直前のバックアップ処理時点からその次
のバックアップ処理時点までの間に、バックアップ元デ
ィレクトリに格納された少なくとも1つのファイルが、
最新バックアップディレクトリに格納されたファイルと
の関係で所定の操作を加えられたものであるとき、以下
の処理を行うことを特徴とする。 (1)第1世代の世代バックアップディレクトリを削除
する。 (2)第2〜第m世代の世代バックアップディレクトリ
をそれぞれ1世代前の世代バックアップディレクトリの
ディレクトリ名にリネームする。 (3)新規に第m世代の世代バックアップディレクトリ
を生成する。 (4)バックアップ元ディレクトリに格納されたファイ
ルに加えられた所定の操作を識別する。 (5)識別された操作がファイルの削除、あるいはファ
イル内容の変更のいずれかである場合、最新バックアッ
プディレクトリに格納されている対応するファイルを第
m世代の世代バックアップディレクトリに複製または移
動し、識別された操作がファイルの追加である場合、そ
の追加操作を表示するマーカーファイルを第m世代の世
代バックアップディレクトリに生成し格納することによ
り、第m世代の世代バックアップディレクトリに最新の
操作履歴ファイルを格納する。 (6)バックアップ元ディレクトリに格納された複数の
ファイルと同一のファイル状態となるように前記最新バ
ックアップディレクトリを同期する。According to a third aspect of the present invention, there is provided a file backup method having a generation management function, wherein one latest backup directory for storing a plurality of files stored in a backup source directory as backup files, and each past backup directory. At the time of processing, if any file stored in the backup source directory has been subjected to a predetermined operation,
From the first generation to the first generation for storing the operation history file corresponding to the file to which the predetermined operation has been performed up to m generations (where m is the number of generations to be managed and an integer of 2 or more). A generation backup directory of up to m generations is provided in a tree shape below the backup destination directory, and at least one file stored in the backup source directory is stored between the previous backup processing point and the next backup processing point. ,
When a predetermined operation is performed in relation to a file stored in the latest backup directory, the following processing is performed. (1) Delete the first generation backup directory. (2) Rename the second to mth generation backup directories to the directory names of the previous generation backup directory. (3) Create a new mth generation backup directory. (4) Identify a predetermined operation performed on a file stored in the backup source directory. (5) If the identified operation is either deletion of a file or modification of the file contents, the corresponding file stored in the latest backup directory is copied or moved to the mth generation backup directory and identified. If the performed operation is the addition of a file, the latest operation history file is stored in the mth generation backup directory by generating and storing a marker file indicating the addition operation in the mth generation backup directory. I do. (6) The latest backup directory is synchronized so as to have the same file state as a plurality of files stored in the backup source directory.
【0015】前記第1の発明及び第2の発明では、1回
のバックアップ処理ごとにバックアップディレクトリ内
に1つの世代バックアップディレクトリが追加されるの
で、バックアップ処理回数に比例して世代バックアップ
ディレクトリの数が増加する。当該バックアップディレ
クトリが作成されている外部記憶装置の容量に依存する
が、理論的には数百世代、数千世代のバックアップディ
レクトリとそれらに格納された各世代の操作履歴ファイ
ルを常時管理することが可能である。しかしながら、現
実には、世代が新しいバックアップファイルは使用頻度
が高い一方、世代が古くなればなるほどバックアップフ
ァイルの使用頻度は急激に低下する。従って、一定の限
度を超えて古いファイルは別途アーカイブとして別の記
録媒体または記憶装置に格納し、所定の世代まで常時利
用可能に管理すれば足りる場合が多い。そこで、第3の
発明では、世代管理数を所定の有限数(m)とし、その
世代数を超える回数のバックアップ処理を行う際に、第
1世代の世代バックアップディレクトリを削除した上
で、第2世代のバックアップディレクトリから第m世代
のバックアップディレクトリについて、それらのディレ
クトリ名を1世代前の世代バックアップディレクトリの
ディレクトリ名に順次リネームした後、第m世代の世代
バックアップディレクトリを新たに生成してそこに最新
操作履歴ファイルを生成し格納することで、所望のバッ
クアップ処理を実現する。In the first and second aspects of the present invention, one generation backup directory is added to the backup directory for each backup process, so that the number of generation backup directories increases in proportion to the number of backup processes. To increase. Although it depends on the capacity of the external storage device where the backup directory is created, it is theoretically possible to always manage hundreds or thousands of generations of backup directories and operation history files of each generation stored in them. It is possible. However, in reality, the backup file of a new generation is frequently used, while the older the generation, the more rapidly the backup file is used. Therefore, it is often sufficient to store older files exceeding a certain limit as separate archives in another recording medium or storage device and manage them so that they are always available until a predetermined generation. Therefore, in the third invention, the generation management number is set to a predetermined finite number (m), and when performing backup processing more than the generation number, the first generation generation backup directory is deleted and then the second generation generation directory is deleted. For the mth generation backup directory from the generation backup directory, those directory names are sequentially renamed to the directory name of the previous generation generation backup directory, and then the mth generation backup directory is newly generated and updated there. A desired backup process is realized by generating and storing an operation history file.
【0016】上記の第1ないし第3の発明において、バ
ックアップ元ディレクトリに格納されているファイルに
ついて、ファイル名、ファイルサイズ及び更新日時を記
述したリストを作成し、前記バックアップ先ディレクト
リの最新バックアップディレクトリに格納されているフ
ァイルについて、ファイル名、ファイルサイズ及び更新
日時を記述したリストを作成し、両方のリストをマッチ
ングすることにより、ファイルに加えられた操作を識別
することが好ましい。In the first to third aspects of the present invention, a list describing a file name, a file size, and an update date and time of a file stored in a backup source directory is created, and the list is stored in the latest backup directory of the backup destination directory. For the stored file, it is preferable to create a list describing the file name, file size, and update date and time, and identify the operation performed on the file by matching both lists.
【0017】また、上記第3の発明において、第1世代
の世代バックアップディレクトリを削除する前に、当該
ディレクトリに格納された操作履歴ファイルを別のアー
カイブディレクトリに格納することが好ましい。万が一
のときに、アーカイブディレクトリの操作履歴ファイル
に基づいて、古いファイル状態に復元できるようにする
ためである。In the third invention, it is preferable that before deleting the first generation backup directory, the operation history file stored in the directory is stored in another archive directory. This is so that, in the unlikely event, the old file state can be restored based on the operation history file in the archive directory.
【0018】なお、ディレクトリの用語は、公知のUN
IX(登録商標),Linux,MS−DOSのOSに
おいて、ファイル・システムを記述するための用語とし
て広く知られている。一方、別のOSであるWindo
ws(登録商標)やMacOS(登録商標)における
「フォルダ」の用語も、このディレクトリと同一の概念
を有するものと当業者に理解されている。従って、本発
明において使用されるディレクトリの用語は、他のOS
におけるフォルダの概念も包含する用語として理解され
るものとする。また、公知のファイル・システムにおい
て、ディレクトリあるいはフォルダ自身を通常のファイ
ルと同様に取扱うことができることも、当業者に広く知
られている。そこで、本発明において使用されるファイ
ルの用語は、少なくとも1つのファイルを格納したディ
レクトリあるいはフォルダをも包含する用語として理解
されるものとする。The term of the directory is a well-known UN.
It is widely known as a term for describing a file system in the OS of IX (registered trademark), Linux, and MS-DOS. On the other hand, another OS, Windows
Those skilled in the art understand that the term “folder” in ws (registered trademark) and MacOS (registered trademark) also has the same concept as this directory. Therefore, the term directory as used in the present invention refers to other operating systems.
Is understood as a term including the concept of a folder in. It is also widely known to those skilled in the art that in a known file system, a directory or a folder itself can be handled in the same manner as a normal file. Thus, the term file used in the present invention is understood to include a directory or folder storing at least one file.
【0019】[0019]
【発明の実施の形態】以下、本発明の好ましい実施の形
態を、図面に基づき説明するが、本発明は以下に説明す
る実施の形態に限定されるものではなく、特許請求の範
囲に記載した技術思想の範囲内において種々の変更が可
能なのはいうまでもない。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings. However, the present invention is not limited to the embodiments described below, but is described in the claims. It goes without saying that various modifications are possible within the scope of the technical idea.
【0020】図1は、本発明の第1の実施形態に係る世
代管理機能を備えたファイルバックアップ方法の概要を
示した説明図であり、ここでは、ユーザが最新のファイ
ル状態から遡って任意の世代前までの世代管理を行う例
を示している。FIG. 1 is an explanatory diagram showing an outline of a file backup method having a generation management function according to the first embodiment of the present invention. An example is shown in which generation management up to the previous generation is performed.
【0021】バックアップ元ディレクトリ1は、ユーザ
が使用するコンピュータに内蔵された記憶装置、例えば
ハードディスクに位置する1つのディレクトリである。
ユーザは、キーボードを操作するか、あるいはGUI環
境におけるコンピュータディスプレイ上のアイコンを選
択することにより、任意にバックアップを取りたい複数
のファイルが登録されている1つのディレクトリを選択
できる。一方、バックアップ先ディレクトリ2は、コン
ピュータにインターフェースを介して接続された例えば
磁気記録媒体、光ディスク、光磁気ディスク等の別の記
憶装置に位置する別のディレクトリであり、ここにバッ
クアップ元ディレクトリ2内のファイルが所定の世代管
理の下でバックアップされる。バックアップ先ディレク
トリ2は、キーボードを操作するか、あるいはアイコン
を選択することによりユーザが指定することができる。The backup source directory 1 is one directory located on a storage device built in the computer used by the user, for example, a hard disk.
By operating the keyboard or selecting an icon on the computer display in the GUI environment, the user can arbitrarily select one directory in which a plurality of files to be backed up are registered. On the other hand, the backup destination directory 2 is another directory located in another storage device such as a magnetic recording medium, an optical disk, or a magneto-optical disk connected to the computer via an interface. The file is backed up under predetermined generation management. The backup destination directory 2 can be specified by the user by operating the keyboard or selecting an icon.
【0022】図1に示す例に従い、第1の実施形態にお
けるファイルバックアップ方法の手順を説明する。ここ
で、ユーザは、バックアップ元ディレクトリ1に設けら
れた「Original」という名前の1つのディレク
トリ10を選択し、そのディレクトリに格納された複数
のファイルをバックアップ先ディレクトリ2にバックア
ップするものとする。The procedure of the file backup method according to the first embodiment will be described with reference to the example shown in FIG. Here, it is assumed that the user selects one directory 10 named “Original” provided in the backup source directory 1 and backs up a plurality of files stored in the directory to the backup destination directory 2.
【0023】[第1回目のバックアップ]最初のバック
アップ処理において、バックアップ先ディレクトリ2に
新規に「Backup_1」という名前の最新バックア
ップディレクトリ11を生成し、「Original」
ディレクトリ10に格納されたファイルの全てを同一の
ファイル状態で複製し最新バックアップディレクトリ1
1に格納する。[First Backup] In the first backup process, a new backup directory 11 named “Backup_1” is newly created in the backup destination directory 2 and “Original”
All of the files stored in the directory 10 are duplicated in the same file state, and the latest backup directory 1
1 is stored.
【0024】[第2回目のバックアップ]第1回目のバ
ックアップ処理後第2回目のバックアップ処理までの間
に、「Original」ディレクトリ10内の少なく
とも1つのファイルに、所定の操作(ファイルの追加、
ファイルの削除、あるいはファイル内容の変更のいずれ
かの操作)が加えられたとする。まず、後述するところ
によりファイルに加えられた操作を識別する。そして、
後述するところにより、操作の加えられた少なくとも1
つのファイルに関してのみそれに対応する所定の操作履
歴ファイルを生成し、前記最新バックアップディレクト
リ11に格納された全てのファイルを当該操作履歴ファ
イルに置き換えて、「Backup_1」という名前の
世代バックアップディレクトリ11’とする。[Second Backup] A predetermined operation (addition of a file, addition of a file, etc.) is performed on at least one file in the “Original” directory 10 after the first backup processing until the second backup processing.
File deletion or file content change operation). First, the operation performed on the file is identified as described below. And
As described below, at least one of the operations
A predetermined operation history file corresponding to only one of the files is generated, and all the files stored in the latest backup directory 11 are replaced with the operation history file to create a generation backup directory 11 ′ named “Backup_1”. .
【0025】次いで、バックアップ先ディレクトリ2内
に、「Backup_2」という名前の別の最新バック
アップディレクトリ12を新たに生成し、ディレクトリ
10に格納された複数のファイルの全てと同一のファイ
ル状態となるよう「Backup_2」最新バックアッ
プディレクトリ12を同期する。Next, another newest backup directory 12 named “Backup_2” is newly created in the backup destination directory 2 so as to be in the same file state as all of the plurality of files stored in the directory 10. “Backup_2” synchronizes the latest backup directory 12.
【0026】[第3回目のバックアップ]第2回目のバ
ックアップ処理後第3回目のバックアップ処理までの間
に、「Original」ディレクトリ10内の少なく
とも1つのファイルに所定の操作が加えられたとする。
まず、第2回目のバックアップ処理のときと同様にファ
イルに加えられた操作を識別する。次いで、所定の操作
の加えられた少なくとも1つのファイルに関してのみそ
れに対応する所定の操作履歴ファイルを生成し、前記最
新バックアップディレクトリ12に格納された全てのフ
ァイルを当該操作履歴ファイルに置き換えて、「Bac
kup_2」という名前の世代バックアップディレクト
リ12’とする。[Third Backup] It is assumed that a predetermined operation is performed on at least one file in the “Original” directory 10 after the second backup processing until the third backup processing.
First, the operation performed on the file is identified as in the case of the second backup process. Next, a predetermined operation history file corresponding to only at least one file to which a predetermined operation has been added is generated, and all files stored in the latest backup directory 12 are replaced with the operation history file, and “Bac
A generation backup directory 12 'named "kup_2".
【0027】次いで、バックアップ先ディレクトリ2内
に、「Backup_3」という名前の別の最新バック
アップディレクトリ13を新たに生成し、ディレクトリ
10に格納された複数のファイルを「Backup_
3」最新バックアップディレクトリ13に複製する。Next, another newest backup directory 13 named “Backup_3” is newly created in the backup destination directory 2, and a plurality of files stored in the directory 10 are stored in “Backup_3”.
3) Copy to the latest backup directory 13
【0028】[第n回目のバックアップ]4回目以降の
バックアップ処理は、第2回目、第3回目のバックアッ
プ処理と同様に実行される。その結果、第n回目のバッ
クアップ処理後のバックアップ先ディレクトリ2内は、
図示のように、常にバックアップ元ディレクトリ内の
「Original」ディレクトリ10の最新状態のフ
ァイルがミラーリングされた、「Backup_n」と
いう名前の最新バックアップディレクトリ14と、(n
−1)世代までの操作履歴ファイルがそれぞれ格納され
た「Backup_1」、「Backup_2」…とい
う名前の世代バックアップディレクトリ11’、12’
…が含まれている。そして、「Backup_1」世代
バックアップディレクトリ11’には、ディレクトリ1
0の最新状態のファイルから(n−1)世代前の操作履
歴ファイルが、「Backup_2」世代バックアップ
ディレクトリ12’には、(n−2)世代前の操作履歴
ファイルがそれぞれ格納され、以下同様にして「Bac
kup_n−1」世代バックアップディレクトリには、
1世代前の操作履歴ファイルが格納されている。[Nth Backup] The fourth and subsequent backup processes are executed in the same manner as the second and third backup processes. As a result, in the backup destination directory 2 after the n-th backup process,
As shown in the figure, the latest backup directory 14 named “Backup_n” in which the latest file in the “Original” directory 10 in the backup source directory is always mirrored, and (n
-1) Generation backup directories 11 ′, 12 ′ named “Backup_1”, “Backup_2”... In which operation history files up to the generation are stored, respectively.
…It is included. The “Backup_1” generation backup directory 11 ′ has the directory 1
The operation history file of (n−1) generations before the latest file of 0 is stored in the “Backup_2” generation backup directory 12 ′, and the operation history file of (n−2) generations before is stored in the “Backup_2” generation backup directory 12 ′. "Bac
The “kup_n−1” generation backup directory contains
The operation history file of the previous generation is stored.
【0029】図2は、本発明の第2の実施形態に係る世
代管理機能を備えたファイルバックアップ方法の概要を
示した説明図であり、ここでは、説明の便宜上、ユーザ
が最新のファイル状態から遡って2世代前(m=2)ま
での世代管理を行うことが可能な例を示している。FIG. 2 is an explanatory diagram showing an outline of a file backup method having a generation management function according to a second embodiment of the present invention. Here, for convenience of explanation, a user starts from the latest file state. An example is shown in which generation management up to two generations before (m = 2) can be performed retroactively.
【0030】図2に示す例に従い、第2の実施形態にお
けるファイルバックアップ方法の手順を説明する。ここ
で、ユーザは、第1の実施形態における場合と同様に、
バックアップ元ディレクトリ1に設けられた「Orig
inal」という名前の1つのディレクトリ10を選択
し、そのディレクトリに格納された複数のファイルをバ
ックアップ先ディレクトリ2にバックアップするものと
する。The procedure of the file backup method according to the second embodiment will be described with reference to the example shown in FIG. Here, as in the case of the first embodiment, the user
“Orig provided in backup source directory 1
It is assumed that one directory 10 named “inal” is selected, and a plurality of files stored in the directory are backed up to the backup destination directory 2.
【0031】[第1回目のバックアップ]最初のバック
アップ処理において、バックアップ先ディレクトリに新
規に「Backup_0」という名前の最新バックアッ
プディレクトリ20を生成し、「Original」デ
ィレクトリ10に格納されたファイルの全てを同一のフ
ァイル状態で複製し最新バックアップディレクトリ20
に格納する。[First Backup] In the first backup process, a newest backup directory 20 named "Backup_0" is newly created in the backup destination directory, and all the files stored in the "Original" directory 10 are made the same. The latest backup directory 20
To be stored.
【0032】[第2回目のバックアップ]第1回目のバ
ックアップ処理後第2回目のバックアップ処理までの間
に、「Original」ディレクトリ10内の少なく
とも1つのファイルに、所定の操作(ファイルの追加、
ファイルの削除、あるいはファイル内容の変更のいずれ
かの操作)が加えられたとする。まず、後述するところ
によりファイルに加えられた操作を識別する。本バック
アップ処理時点において、世代管理用の世代バックアッ
プディレクトリは存在していないので、「Backup
_1」という名前の世代バックアップディレクトリ21
を生成する。そして、後述するところにより、操作の加
えられたファイルに関してのみそれに対応する所定の操
作履歴ファイルを生成し、「Backup_1」世代バ
ックアップディレクトリ21に格納する。[Second Backup] After a first backup process and before a second backup process, a predetermined operation (addition of a file, addition of a file,
File deletion or file content change operation). First, the operation performed on the file is identified as described below. At the time of this backup processing, there is no generation management backup directory for generation management.
Generation backup directory 21 named “_1”
Generate Then, as described later, a predetermined operation history file corresponding to only the operated file is generated and stored in the “Backup_1” generation backup directory 21.
【0033】次いで、「Original」ディレクト
リ10に格納された複数のファイルの全てと同一のファ
イル状態となるように「Backup_0」最新バック
アップディレクトリ20を同期する。Next, the “Backup_0” latest backup directory 20 is synchronized so that all the files stored in the “Original” directory 10 have the same file state.
【0034】[第3回目のバックアップ]第2回目のバ
ックアップ処理後第3回目のバックアップ処理までの間
に、「Original」ディレクトリ10内の少なく
とも1つのファイルに、ファイルの追加、ファイルの削
除、あるいはファイル内容の変更のいずれかの操作が加
えられたとする。まず、第2回目のバックアップ処理の
ときと同様にファイルに加えられた操作を識別する。本
バックアップ処理時点において、世代管理用の世代バッ
クアップディレクトリは「Backup_1」という名
前の世代バックアップディレクトリ21しか存在しない
ので、新規に「Backup_2」という名前の世代バ
ックアップディレクトリ22を生成する。そして、操作
の加えられたファイルに関してのみそれに対応する所定
の操作履歴ファイルを生成し、「Backup_2」世
代バックアップディレクトリ22に格納する。[Third Backup] Between the second backup processing and the third backup processing, at least one file in the “Original” directory 10 is added, deleted, or deleted. Assume that one of the operations of changing the file contents is performed. First, the operation performed on the file is identified as in the case of the second backup process. At the time of this backup processing, only a generation backup directory 21 named “Backup_1” exists as a generation backup directory for generation management, so a new generation backup directory 22 named “Backup_2” is newly generated. Then, a predetermined operation history file corresponding to only the operated file is generated and stored in the “Backup_2” generation backup directory 22.
【0035】次いで、「Original」ディレクト
リ10に格納された複数のファイルの全てと同一のファ
イル状態となるように「Backup_0」最新バック
アップディレクトリ20を同期する。Next, the “Backup_0” latest backup directory 20 is synchronized so that all of the plurality of files stored in the “Original” directory 10 have the same file state.
【0036】[第4回目のバックアップ]第3回目のバ
ックアップ処理後第4回目のバックアップ処理を行うま
での間に、「Original」ディレクトリ10内の
少なくとも1つのファイルに、ファイルの追加、ファイ
ルの削除、あるいはファイル内容の変更のいずれかの操
作が加えられたとする。第2回目及び第3回目のバック
アップ処理のときと同様にして、まずファイルに加えら
れた操作を識別する。本バックアップ処理時点におい
て、世代管理用の世代バックアップディレクトリとし
て、「Backup_1」世代バックアップディレクト
リ21および「Backup_2」世代バックアップデ
ィレクトリ22が既に存在し、世代バックアップディレ
クトリの数は管理する世代数と同じである。そこで、次
の処理をする。[Fourth Backup] After the third backup processing and before the fourth backup processing, a file is added to or deleted from at least one file in the “Original” directory 10. , Or any of the operations of changing the file contents is performed. First, the operation performed on the file is identified in the same manner as in the second and third backup processes. At the time of this backup processing, the “Backup_1” generation backup directory 21 and the “Backup_2” generation backup directory 22 already exist as generation management generation backup directories, and the number of generation backup directories is the same as the number of generations to be managed. Therefore, the following processing is performed.
【0037】まず、管理している2世代のうち、第1世
代目にあたる「Backup_1」世代バックアップデ
ィレクトリ21に格納された操作履歴ファイルを、全て
「Archives」という名前の別のディレクトリ3
0に格納し、その後「Backup_1」世代バックア
ップディレクトリ21を削除する。次いで、世代バック
アップディレクトリ22の名前を「Backup_2」
から、1世代前の世代バックアップディレクトリのディ
レクトリ名である「Backup_1」にリネームす
る。First, of the two generations managed, the operation history files stored in the “Backup_1” generation backup directory 21 corresponding to the first generation are all stored in another directory 3 named “Archives”.
0, and then delete the "Backup_1" generation backup directory 21. Next, the name of the generation backup directory 22 is changed to “Backup_2”.
Is renamed to “Backup_1” which is the directory name of the previous generation backup directory.
【0038】次いで、新規に「Backup_2」とい
う名前で世代バックアップディレクトリ22を生成す
る。そして、操作の加えられたファイルに関してのみそ
れに対応する所定の操作履歴ファイルを生成し、その
「Backup_2」世代バックアップディレクトリ2
2に格納する。Next, a generation backup directory 22 is newly created with the name "Backup_2". Then, a predetermined operation history file corresponding to only the operated file is generated, and the “Backup_2” generation backup directory 2 is generated.
2 is stored.
【0039】次いで、「Original」ディレクト
リ10に格納された複数のファイルの全てと同一のファ
イル状態となるように「Backup_0」最新バック
アップディレクトリ20を同期する。Next, the “Backup_0” latest backup directory 20 is synchronized so that all the files stored in the “Original” directory 10 have the same file state.
【0040】第5回目以降のバックアップ処理は、第4
回目のバックアップ処理と同様に実行され、これによ
り、「Backup_0」最新バックアップディレクト
リ20には、常にバックアップ元ディレクトリ1内の
「Original」ディレクトリ10の最新状態のフ
ァイルがミラーリングされる。また、2つの世代バック
アップディレクトリのうち、「Backup_1」世代
バックアップディレクトリ21にはその最新状態のファ
イルから2世代前の操作履歴ファイルが、「Backu
p_2」世代バックアップディレクトリ22には1世代
前の操作履歴ファイルがそれぞれ格納される。The backup processing for the fifth and subsequent times is performed in the fourth
The backup process is executed in the same manner as the first backup process, whereby the latest file in the “Original” directory 10 in the backup source directory 1 is always mirrored in the “Backup_0” latest backup directory 20. Of the two generation backup directories, the “Backup — 1” generation backup directory 21 stores the operation history file two generations before the latest file in the “Backup”.
The operation history file of one generation before is stored in the “p_2” generation backup directory 22.
【0041】図3は、図2に示したバックアップ方法に
従い、「Original」ディレクトリ10に格納さ
れたファイルを、バックアップ元ディレクトリ1からバ
ックアップ先ディレクトリ2にバックアップ処理したと
きの、それぞれのディレクトリの階層構造を示してい
る。FIG. 3 shows the hierarchical structure of each directory when files stored in the “Original” directory 10 are backed up from the backup source directory 1 to the backup destination directory 2 according to the backup method shown in FIG. Is shown.
【0042】バックアップ先ディレクトリ2を参照し
て、「Backup」という名前のディレクトリが設け
られ、その下部には、サブディレクトリとして「Bac
kup_0」という名前の最新バックアップディレクト
リ20と、「Backup_1」および「Backup
_2」という名前の2つの世代バックアップディレクト
リ21、22とがツリー状に設けられている。Referring to the backup destination directory 2, a directory named "Backup" is provided, and under the directory, "Bac" is set as a subdirectory.
The latest backup directory 20 named “kup — 0” and “Backup — 1” and “Backup —
Two generation backup directories 21 and 22 named “_2” are provided in a tree shape.
【0043】「Backup_0」最新バックアップデ
ィレクトリ20には、バックアップ元ディレクトリ1の
「Original」という名前のディレクトリ10に
格納されたファイル群(この例では、A.text,
B.image,D.text,E.audioの4つ
のファイル)の全てが同一のファイル状態でそっくりそ
のまま格納されている。In the "Backup_0" latest backup directory 20, a group of files stored in the directory 10 named "Original" of the backup source directory 1 (in this example, A.text,
B. image, D.E. text, E.C. All of the four audio files) are stored in their entirety in the same file state.
【0044】一方、「Backup_2」世代バックア
ップディレクトリ22には、B.image,C.te
xt,_NEW_E.audioという名前の3つの操
作履歴ファイルが格納されている。これら操作履歴ファ
イルは、最後のバックアップ処理時点において「Bac
kup_0」最新バックアップディレクトリ20に格納
されたファイル群のうちファイルの追加、ファイルの削
除、およびファイル内容の変更がされたもののみに対応
している。On the other hand, in the “Backup_2” generation backup directory 22, B.P. image, C.I. te
xt, _NEW_E. Three operation history files named “audio” are stored. These operation history files are stored in “Bac
"kup_0" Only files of which file addition, file deletion, and file content are changed in the file group stored in the latest backup directory 20 are supported.
【0045】ここで、ファイル名_NEW_E.aud
ioのファイルはマーカーファイルであり、その最後の
バックアップ処理時点においてE.audioという名
前のファイルが新規に追加されたことを表している実体
を伴わないファイルである。Here, file name_NEW_E. aud
The file of io is a marker file, and at the time of the last backup processing, the E.io This file has no entity indicating that a file named audio is newly added.
【0046】一方、A.text,B.imageのフ
ァイルは、「Backup_0」最新バックアップディ
レクトリ20に格納されているファイルとの対比からわ
かるように、B.imageのファイルは、その最後の
バックアップ処理時点においてファイル内容の変更があ
ったときの、その変更がされる前の状態のファイルであ
る。また、C.textのファイルは、「Backup
_0」最新バックアップディレクトリ20にそれに対応
するファイルが存在しないことから明らかなように、そ
の最後のバックアップ処理時点においてファイルの削除
があったときの、その削除される前の状態のファイルで
ある。On the other hand, A. text, B .; As can be seen from the comparison with the file stored in the “Backup_0” latest backup directory 20, the file “B. The image file is a file in a state before the change when the file content is changed at the time of the last backup processing. C.I. The text file is "Backup
As is apparent from the fact that the corresponding file does not exist in the latest backup directory 20, the file is in a state before the deletion when the file is deleted at the time of the last backup processing.
【0047】すなわち、「Backup_2」世代バッ
クアップディレクトリ22には、最新状態のファイルに
対し1世代古い内容のファイル(ファイルの削除および
ファイル内容の変更がされる前の状態のファイル)とフ
ァイルの追加があったことを表すマーカーファイルが格
納されている。That is, in the “Backup_2” generation backup directory 22, a file having a content that is one generation older than the file in the latest state (a file in a state before the file is deleted and the file contents are not changed) and a file are added. Stores a marker file indicating that there was a match.
【0048】次に、「Backup_1」世代バックア
ップディレクトリ21を見ると、A.text,C.t
ext,_NEW_D.textの3つの操作履歴ファ
イルが格納されている。これら操作履歴ファイルは、最
後のバックアップ処理から更に1回前のバックアップ処
理時点においてファイルの追加、ファイル内容の変更が
されたもののみに対応している。Next, looking at the “Backup_1” generation backup directory 21, text, C.I. t
ext, _NEW_D. The three operation history files of text are stored. These operation history files correspond only to files whose files have been added or whose file contents have been changed at the time of the backup processing one time before the last backup processing.
【0049】すなわち、「Backup_1」世代バッ
クアップディレクトリ21には、最新状態のファイルに
対しバックアップ処理が2世代古いときのファイル(こ
の例ではファイルの変更がされる前の状態のファイル
A.text及びC.text)と、ファイルの追加が
あったことを表すマーカーファイル_NEW_D.te
xtが格納されている。That is, in the “Backup — 1” generation backup directory 21, the files when the backup processing is two generations older than the latest file (in this example, the files A. text and C. .Text) and a marker file _NEW_D. te
xt is stored.
【0050】図2および図3の例では世代管理を2世代
までとしたが、第2の実施形態におけるファイルバック
アップ方法は、以下に述べるとおり、m世代(mは2以
上の整数)までの世代管理を行うことができる。Although the generation management is limited to two generations in the examples of FIGS. 2 and 3, the file backup method according to the second embodiment employs generation generation up to m generations (m is an integer of 2 or more) as described below. Can manage.
【0051】図4、図5および図6を参照して、m世代
(mは2以上の整数)までの世代管理を行うことが可能
なバックアップ処理のアルゴリズムを詳細に説明する。Referring to FIGS. 4, 5 and 6, an algorithm of a backup process capable of managing generations up to m generations (m is an integer of 2 or more) will be described in detail.
【0052】まず、バックアップ元ディレクトリにバッ
クアップ対象のファイルが存在するか否かをチェックす
る(S100)。ファイルが存在しない場合、エラーメ
ッセージを出力し、処理を終了する(S110)。First, it is checked whether a file to be backed up exists in the backup source directory (S100). If the file does not exist, an error message is output, and the process ends (S110).
【0053】次いで、バックアップ先ディレクトリに最
新バックアップディレクトリが存在するか否かをチェッ
クする(S120)。未だ作成されていない場合、最新
バックアップディレクトリを生成する(S130)。そ
して、最新バックアップディレクトリに、バックアップ
元ディレクトリ内のファイルの全てを同一のファイル状
態で複製、格納し、処理を終了する(S140)。これ
は、第1回目のバックアップに対応する。Next, it is checked whether or not the latest backup directory exists in the backup destination directory (S120). If not, a latest backup directory is created (S130). Then, all the files in the backup source directory are duplicated and stored in the latest backup directory in the same file state, and the process ends (S140). This corresponds to the first backup.
【0054】既に最新バックアップディレクトリが存在
する場合(第2回目以降のバックアップの場合)、バッ
クアップ元ディレクトリに格納されたファイルと、バッ
クアップ先ディレクトリ内の最新バックアップディレク
トリに格納されたファイルについて、少なくともファイ
ル名、ファイルサイズ、および更新日付を記述したリス
トをそれぞれ作成し、両者をマッチングする(S15
0)。If the latest backup directory already exists (for the second and subsequent backups), at least the file name of the file stored in the backup source directory and the file stored in the latest backup directory in the backup destination directory , A file size, and a list describing the update date are created, and the two are matched (S15).
0).
【0055】これらのリストの一例として、ファイル
名、ファイルサイズおよび更新日付をCSV形式(Co
mma Separated Value Forma
t)により1ファイルあたり1行で記述し、ファイル名
をキーとしてソートしたリストを用いることができる。As an example of these lists, the file name, file size and update date are stored in CSV format (Co
mma Separated Value Format
According to t), one line can be described for each file, and a list sorted using the file name as a key can be used.
【0056】なお、最新バックアップディレクトリに格
納されたファイルに関するリストを作成する代わりに、
その直前のバックアップ処理時点において作成したバッ
クアップ元ディレクトリに格納されたファイルに関する
リストを別のファイルとして格納しておき、そのファイ
ルを次のバックアップ処理時点における最新バックアッ
プディレクトリに格納されたファイルに関するリストと
して利用することもできる。これにより、最新バックア
ップディレクトリの格納されたファイルに関するリスト
の作成に必要な時間を省略し、処理時間を短縮すること
ができる。Note that instead of creating a list of files stored in the latest backup directory,
A list of files stored in the backup source directory created at the time of the immediately preceding backup processing is stored as another file, and that file is used as a list of files stored in the latest backup directory at the time of the next backup processing You can also. As a result, the time required for creating a list of files stored in the latest backup directory can be omitted, and the processing time can be reduced.
【0057】2つのリストをマッチングするときは、上
記したリストの例の場合、リストを1行ずつマッチング
し、両リスト間でファイル名、ファイルサイズ、更新日
付のいずれあるいはその複数に不一致があるか否かチェ
ックすることができる。ファイル名の不一致があったと
きは、ファイルの追加またはファイルの削除があったこ
とがわかる。一方、ファイル名は同一であるがファイル
サイズあるいは更新日付の不一致があったときは、ファ
イル内容の変更があったことがわかる。When the two lists are matched, in the case of the above-described list, the lists are matched line by line, and there is a mismatch between any two or more of the file name, the file size, and the update date. You can check whether or not. When there is a mismatch in the file names, it is known that a file has been added or a file has been deleted. On the other hand, if the file name is the same but the file size or the update date does not match, it is known that the file content has been changed.
【0058】マッチングの結果、ファイルに所定の操作
が加えられていないとき(ファイルの追加、ファイルの
削除あるいはファイル内容の変更がないとき)は処理を
終了し、所定の操作が加えられていたときは以下の処理
を行う(S160)。As a result of the matching, when a predetermined operation is not performed on the file (when there is no file addition, file deletion or file content change), the processing is terminated, and when the predetermined operation is performed. Performs the following processing (S160).
【0059】次いで、図5を参照して、まず、既に存在
する世代バックアップディレクトリの数(n)が、管理
する世代数(m)より少ないか否かチェックする(S1
80)。Next, referring to FIG. 5, first, it is checked whether the number (n) of the existing generation backup directories is smaller than the number of generations (m) to be managed (S1).
80).
【0060】n<mの場合、第(n+1)世代バックア
ップディレクトリを生成する(S190)。そして、後
述する処理により、第(n+1)世代バックアップディ
レクトリに操作履歴ファイルを生成・格納する、(S2
00)。次いで、バックアップ元ディレクトリ内のファ
イルの全てと同一のファイル状態となるように最新バッ
クアップディレクトリを同期して処理を終了する(S2
60)。If n <m, the (n + 1) th generation backup directory is created (S190). Then, the operation history file is generated and stored in the (n + 1) th generation backup directory by the processing described later (S2
00). Next, the latest backup directory is synchronized so as to have the same file state as all the files in the backup source directory, and the process ends (S2).
60).
【0061】一方、既に第1世代から第m世代まで世代
バックアップディレクトリが存在する場合、まず、第1
世代バックアップディレクトリ内の操作履歴ファイルを
アーカイブディレクトリに格納する(S210)。そし
て、第1世代バックアップディレクトリを削除する(S
220)。On the other hand, if generation backup directories from the first generation to the m-th generation already exist, first, the first
The operation history file in the generation backup directory is stored in the archive directory (S210). Then, the first generation backup directory is deleted (S
220).
【0062】次に第2世代から第m世代までの世代バッ
クアップディレクトリのディレクトリ名をそれぞれ1世
代前の世代バックアップディレクトリのディレクトリ名
にリネームする(S230)。Next, the directory names of the generation backup directories from the second generation to the m-th generation are respectively renamed to the directory names of the generation backup directory one generation before (S230).
【0063】第m世代バックアップディレクトリを新規
に生成する(S240)。A new mth generation backup directory is created (S240).
【0064】後述する処理により、第m世代バックアッ
プディレクトリに操作履歴ファイルを生成・格納する
(S250)。An operation history file is generated and stored in the m-th generation backup directory by the processing described later (S250).
【0065】最後にバックアップ元ディレクトリ内のフ
ァイルの全てと同一のファイル状態となるように最新バ
ックアップディレクトリを同期し、処理を終了する(S
260)。Lastly, the latest backup directory is synchronized so that all files in the backup source directory have the same file state, and the processing is terminated (S
260).
【0066】次に、図6を参照して、先にS200およ
びS250のステップで言及した操作履歴ファイルを生
成し格納する処理の詳細を説明する。Next, with reference to FIG. 6, details of the processing for generating and storing the operation history file mentioned in the steps S200 and S250 will be described.
【0067】まず、加えられた操作がファイルの削除ま
たはファイル内容の変更であるか否かをチェックする
(S300)。該当する場合、最新バックアップディレ
クトリに格納されている対応するファイルを第m世代の
世代バックアップディレクトリに複製または移動する
(S310)。なお、この複製または移動する先は、既
存の世代バックアップディレクトリの数(n)が管理す
る世代数(m)より小さい場合、第(n+1)世代の世
代バックアップディレクトリである(図4のS180か
らS200を参照のこと)。ファイルの追加、ファイル
の削除またはファイル内容の変更の操作が加えられてい
ない場合、次の処理に移る。First, it is checked whether or not the added operation is a deletion of a file or a change of file contents (S300). If so, the corresponding file stored in the latest backup directory is copied or moved to the mth generation backup directory (S310). When the number (n) of the existing generation backup directories is smaller than the number of generations (m) to be managed, the copy or transfer destination is the (n + 1) th generation backup directory (from S180 to S200 in FIG. 4). checking). If no operation of adding a file, deleting a file, or changing a file content is performed, the process proceeds to the next process.
【0068】次に、加えられた操作がファイルの追加で
あるか否かをチェックする(S320)。該当する場
合、第m世代の世代バックアップディレクトリに、追加
の識別文字(NEW)を含む一意のファイル名のマーカ
ーファイルを生成する(S330)。この具体例の一つ
として、「E.audio」という名前のファイルに対
し「_NEW_E.audio」という名前のマーカー
ファイルが生成されることを既に示した(図2参照)。
なお、マーカーファイルの生成先は、既存の世代バック
アップディレクトリの数(n)が管理する世代数(m)
より小さい場合、第(n+1)世代の世代バックアップ
ディレクトリである(図4のS180からS200を参
照のこと)。Next, it is checked whether or not the added operation is to add a file (S320). If so, a marker file having a unique file name including an additional identification character (NEW) is generated in the mth generation backup directory (S330). As one specific example, it has been shown that a marker file named “_NEW_E.audio” is generated for a file named “E.audio” (see FIG. 2).
The generation destination of the marker file is the generation number (m) managed by the existing generation backup directory number (n).
If it is smaller, it is the (n + 1) th generation backup directory (see S180 to S200 in FIG. 4).
【0069】次に、上記の実施の形態に説明したファイ
ルバックアップ方法によりバックアップ処理をした後
に、過去のある時点のバックアップ元ディレクトリにお
けるファイル状態が如何にして復元されるかを説明す
る。Next, a description will be given of how the file state in the backup source directory at a certain point in the past is restored after performing the backup processing by the file backup method described in the above embodiment.
【0070】前述のとおり、世代バックアップディレク
トリには、そのバックアップ処理を実行した時点で所定
のファイル操作(ファイルの追加、ファイルの削除又は
ファイル内容の変更)が加えられたファイルについて、
操作履歴ファイルが格納されている。このうち、ファイ
ルの削除及びファイル内容の変更がされたものについて
は、最新バックアップディレクトリに格納された最新の
ファイルに対し、その操作履歴ファイルによる置き換え
を実行する。一方、ファイルの追加がなされたもの(マ
ーカーファイルによって判別される)については、最新
バックアップディレクトリに格納された最新のファイル
に対し、削除を実行する。As described above, in the generation backup directory, for a file to which a predetermined file operation (addition of a file, deletion of a file, or change of a file content) has been performed at the time of executing the backup processing,
Stores operation history files. Of the files, the files deleted or the file contents changed, the latest file stored in the latest backup directory is replaced with the operation history file. On the other hand, with respect to the file to which the file has been added (determined by the marker file), the latest file stored in the latest backup directory is deleted.
【0071】なお、復元させようとする世代のバックア
ップ処理時点より後に、別のファイルを追加する操作が
あったときは、復元させようとする世代より後の全ての
世代バックアップディレクトリを参照してマーカーファ
イルを特定し、最新バックアップディレクトリに格納さ
れた最新のファイルに対し、追加がなされたものを全て
削除すればよい。こうして復元された過去のファイル状
態を持つディレクトリは、復元ディレクトリとして別途
生成することができる。If an operation to add another file is performed after the backup processing time of the generation to be restored, all the generation backup directories after the generation to be restored are referenced to It is sufficient to specify the file and delete all the files added to the latest file stored in the latest backup directory. The directory having the past file status restored in this way can be separately generated as a restored directory.
【0072】本発明の世代管理機能を備えたファイルバ
ックアップ方法は、各種OSの動作環境に適合するよう
プログラムされることで、コンピュータ上で動作させる
ことができる。ここで、本発明において注目すべきこと
は、従来必要とされたバックアップ対象ファイルの状態
を記憶した固有の管理ファイルが不要なことである。こ
れは、本発明において作成される1つの最新バックアッ
プディレクトリおよび複数の世代バックアップディレク
トリは、OSが備える通常のファイル・システムのみを
用いて表示し、指定しあるいは利用できるディレクトリ
であり、これらディレクトリに格納されるファイルおよ
び操作履歴ファイルもまた、当該ファイル・システムの
みを用いて表示し、指定しあるいは利用できるファイル
だからである。The file backup method having the generation management function of the present invention can be operated on a computer by being programmed so as to be compatible with the operating environment of various OSs. Here, what should be noted in the present invention is that a unique management file that stores the state of a backup target file that has been required conventionally is unnecessary. This means that one latest backup directory and a plurality of generation backup directories created in the present invention are directories that can be displayed, designated or used using only a normal file system provided in the OS, and are stored in these directories. This is because the file to be displayed and the operation history file are also files that can be displayed, specified, or used using only the file system.
【0073】以上の実施形態の説明において、バックア
ップ処理対象をファイルのみとしているが、本発明は、
ファイル・システム上、ファイルと同等に取扱うことの
できるディレクトリをバックアップ対象とすることも勿
論可能である。この場合、当該ディレクトリに含まれて
いるファイルに対して、同様に本発明のバックアップ処
理を再帰的に行うことができる。なお、その再帰的処理
の具体的アルゴリズムについては当業者にとり自明であ
るので、ここでの詳細な記述は省略する。In the above description of the embodiment, only files are to be backed up.
Of course, a directory that can be handled equivalently to a file on the file system can be a backup target. In this case, the backup processing of the present invention can be similarly performed recursively on the files included in the directory. It is to be noted that a specific algorithm of the recursive processing is obvious to a person skilled in the art, and a detailed description thereof will be omitted.
【0074】なお、更に効率よくバックアップファイル
を世代毎に検索しあるいは表示する等の目的のために、
別途アプリケーションソフトウェアを用意することは任
意である。また、別途いわゆるスケジューラと呼ばれる
アプリケーションソフトウェアを用意して、本発明のフ
ァイルバックアップ方法を定期的に実施することも任意
である。For the purpose of more efficiently searching or displaying backup files for each generation,
It is optional to prepare application software separately. It is also optional to separately prepare application software called a so-called scheduler and periodically execute the file backup method of the present invention.
【0075】[0075]
【発明の効果】以上説明したように、本発明による世代
管理機能を備えたファイルバックアップ方法によれば、
以下に記載するような効果を有する。As described above, according to the file backup method having the generation management function according to the present invention,
It has the following effects.
【0076】バックアップ先ディレクトリ内の最新バッ
クアップディレクトリには、バックアップ元ディレクト
リに格納されたファイルがミラーリングされるので、過
去のバックアップ処理で生成される操作履歴ファイルと
は無関係に最新の状態のファイルを高速かつ容易に表示
し、指定しあるいは利用することができる。The files stored in the backup source directory are mirrored in the latest backup directory in the backup destination directory. Therefore, the latest files can be transferred at high speed regardless of the operation history files generated in the past backup processing. And it can be easily displayed, specified or used.
【0077】また、バックアップ先ディレクトリには、
最新バックアップディレクトリとは別に、第1世代から
第m世代までの世代バックアップディレクトリがツリー
状の階層構造で設けられているので、各世代の識別が一
目瞭然であり、世代をキーとして過去のファイルを高速
かつ容易に表示し、指定しあるいは利用することができ
る。The backup destination directory contains
Separately from the latest backup directory, the generation backup directories from the first generation to the m-th generation are provided in a tree-like hierarchical structure, so that the identification of each generation is obvious at a glance, and high-speed past files can be used with the generation as a key. And it can be easily displayed, specified or used.
【0078】それぞれの世代バックアップディレクトリ
には、それぞれのバックアップ処理時点において、最新
バックアップディレクトリに格納されているファイルが
バックアップ元ディレクトリのファイルとの比較におい
て受ける操作に応じて、そのような操作がなされたファ
イルのみが操作履歴ファイルとして格納され、操作がな
されなかったファイルは格納されない。従って、複数の
世代バックアップディレクトリに同一内容のファイルが
重複して格納される無駄を回避することができる。In each generation backup directory, at the time of each backup processing, such an operation is performed in accordance with the operation that the file stored in the latest backup directory receives in comparison with the file in the backup source directory. Only files are stored as operation history files, and files that have not been operated are not stored. Therefore, it is possible to avoid a waste of storing files of the same content in a plurality of generation backup directories redundantly.
【0079】更に、多数世代にわたる世代バックアップ
ディレクトリにバックアップファイルを生成し格納する
とき、複数の世代バックアップディレクトリについて、
それらのディレクトリ名を1世代前の世代バックアップ
ディレクトリのディレクトリ名にリネームするので、多
数の世代にわたる多数のファイルを複製あるいは移動す
る処理が不要であり、バックアップ処理を高速化するこ
とができる。Further, when a backup file is generated and stored in a generation backup directory covering a large number of generations, for a plurality of generation backup directories,
Since those directory names are renamed to the directory name of the generation backup directory of the previous generation, the process of copying or moving a large number of files over a large number of generations is unnecessary, and the backup processing can be speeded up.
【図1】本発明の第1の実施形態に係る世代管理機能を
備えたファイルバックアップ方法の概要を示した説明
図。FIG. 1 is an explanatory view showing an outline of a file backup method having a generation management function according to a first embodiment of the present invention.
【図2】本発明の第2の実施形態に係る世代管理機能を
備えたファイルバックアップ方法の概要を示した説明
図。FIG. 2 is an explanatory diagram showing an outline of a file backup method having a generation management function according to a second embodiment of the present invention.
【図3】図2に示したバックアップ方法に従い、バック
アップ元ディレクトリ1からバックアップ先ディレクト
リ2にバックアップ処理したときの、それぞれのディレ
クトリの階層構造を示す図。FIG. 3 is a diagram showing a hierarchical structure of each directory when a backup process is performed from a backup source directory 1 to a backup destination directory 2 according to the backup method shown in FIG. 2;
【図4】m世代(mは2以上の整数)までの世代管理を
行うことが可能なバックアップ処理のアルゴリズムを説
明するフローチャート。FIG. 4 is a flowchart illustrating an algorithm of a backup process capable of managing generations up to m generations (m is an integer of 2 or more).
【図5】m世代(mは2以上の整数)までの世代管理を
行うことが可能なバックアップ処理のアルゴリズムを示
すフローチャート(図4の続き)。FIG. 5 is a flowchart (continuation of FIG. 4) showing an algorithm of a backup process capable of managing generations up to m generations (m is an integer of 2 or more).
【図6】操作履歴ファイルを生成し格納する処理の詳細
を示すフローチャート。FIG. 6 is a flowchart showing details of processing for generating and storing an operation history file.
1 バックアップ元ディレクトリ 2 バックアップ先ディレクトリ 11,12,13,14,20 最新バックアップデ
ィレクトリ 11’,12’,21,22 世代バックアップディ
レクトリ1 Backup source directory 2 Backup destination directory 11, 12, 13, 14, 20 Latest backup directory 11 ', 12', 21, 22, Generation backup directory
Claims (7)
た複数のファイルをバックアップファイルとして格納す
るための1つの最新バックアップディレクトリと、過去
のそれぞれのバックアップ処理時点において、前記バッ
クアップ元ディレクトリに格納されたいずれかのファイ
ルが所定の操作を加えられたものであるとき、当該所定
の操作が加えられたファイルに対応する操作履歴ファイ
ルを世代ごとに格納するための、複数の世代バックアッ
プディレクトリとを、バックアップ先ディレクトリの下
部にツリー状に設け、直前のバックアップ処理時点から
その次のバックアップ処理を行う時点までの間に、前記
バックアップ元ディレクトリに格納された少なくとも1
つのファイルが、前記最新バックアップディレクトリに
格納されたファイルとの関係で所定の操作を加えられた
ものであるとき、最新バックアップディレクトリに格納
された全てのファイルを最新の操作履歴ファイルによっ
て置き換えて1世代前の世代バックアップディレクトリ
とし、別の1つのバックアップディレクトリを新たに生
成し、当該生成した別のバックアップディレクトリに前
記バックアップ元ディレクトリに格納された複数のファ
イルを複製して新たな最新バックアップディレクトリと
することを特徴とする世代管理機能を備えたファイルバ
ックアップ方法。1. One latest backup directory for storing a plurality of files stored in a backup source directory as a backup file, and one of backup files stored in the backup source directory at the time of each past backup process When the file has been subjected to a predetermined operation, a plurality of generation backup directories for storing, for each generation, an operation history file corresponding to the file to which the predetermined operation has been performed are stored in a backup destination directory. At least one file stored in the backup source directory is provided in a tree shape at the bottom, between the time of the immediately preceding backup processing and the time of the next backup processing.
When one of the files has been subjected to a predetermined operation in relation to the file stored in the latest backup directory, all the files stored in the latest backup directory are replaced with the latest operation history file to generate one generation. Another new backup directory is newly generated as the previous generation backup directory, and a plurality of files stored in the backup source directory are duplicated in the generated another backup directory to be a new latest backup directory. A file backup method with a generation management function characterized by the following.
た複数のファイルをバックアップファイルとして格納す
るための1つの最新バックアップディレクトリと、過去
のそれぞれのバックアップ処理時点において、前記バッ
クアップ元ディレクトリに格納されたいずれかのファイ
ルが所定の操作を加えられたものであるとき、当該所定
の操作が加えられたファイルに対応する操作履歴ファイ
ルを、複数の世代前までそれぞれ格納するための、複数
の世代バックアップディレクトリとを、バックアップ先
ディレクトリの下部にツリー状に設け、直前のバックア
ップ処理時点からその次のバックアップ処理を行う時点
までの間に、前記バックアップ元ディレクトリに格納さ
れた少なくとも1つのファイルが、前記最新バックアッ
プディレクトリに格納されたファイルとの関係で所定の
操作を加えられたものであるとき、前記複数の世代バッ
クアップディレクトリのディレクトリ名を、世代の古い
ものから順に1世代前のディレクトリ名にリネームし、
リネーム前の前記複数の世代バックアップディレクトリ
のうち最新の世代のバックアップディレクトリと同一の
ディレクトリ名の、世代バックアップディレクトリを新
たに生成し、前記生成した世代バックアップディレクト
リに最新の操作履歴ファイルを格納し、前記バックアッ
プ元ディレクトリに格納された複数のファイルと同一の
ファイル状態となるように前記最新バックアップディレ
クトリを同期することを特徴とする世代管理機能を備え
たファイルバックアップ方法。2. One latest backup directory for storing a plurality of files stored in a backup source directory as backup files, and any one of the backup source directories stored at the time of each past backup process. When the file has been subjected to a predetermined operation, a plurality of generation backup directories for storing operation history files corresponding to the file to which the predetermined operation has been added up to a plurality of generations ago, At least one file stored in the backup source directory is stored in the latest backup directory between the time of the immediately preceding backup processing and the time of performing the next backup processing. When a predetermined operation has been performed in relation to the stored file, the directory names of the plurality of generation backup directories are renamed to the directory names of one generation before, in order from the oldest generation,
A new generation backup directory having the same directory name as the latest generation backup directory among the plurality of generation backup directories before the rename is newly generated, and the latest operation history file is stored in the generated generation backup directory. A file backup method having a generation management function, wherein the latest backup directory is synchronized so as to have the same file state as a plurality of files stored in a backup source directory.
プディレクトリに格納されたファイルとの関係でファイ
ルの追加、ファイルの削除、あるいはファイル内容の変
更のいずれかの操作を含むことを特徴とする請求項1ま
たは2に記載の世代管理機能を備えたファイルバックア
ップ方法。3. The method according to claim 2, wherein the predetermined operation includes one of an operation of adding a file, deleting a file, or changing a file content in relation to a file stored in the latest backup directory. Item 3. A file backup method having the generation management function according to item 1 or 2.
ルの追加の場合、その追加操作を表示するマーカーファ
イルを、ファイルの削除またはファイル内容の変更の場
合、最新バックアップディレクトリに格納された当該削
除または変更が加えられる前のファイルを含むことを特
徴とする請求項1ないし3のいずれかに記載の世代管理
機能を備えたファイルバックアップ方法。4. The latest operation history file includes a marker file indicating the addition operation when a file is added, and a deletion or a deletion stored in a latest backup directory when a file is deleted or a file content is changed. 4. The file backup method having a generation management function according to claim 1, wherein the file backup method includes a file before a change is made.
た複数のファイルをバックアップファイルとして格納す
るための1つの最新バックアップディレクトリと、過去
のそれぞれのバックアップ処理時点において、前記バッ
クアップ元ディレクトリに格納されたいずれかのファイ
ルが所定の操作を加えられたものであるとき、当該所定
の操作が加えられたファイルに対応する操作履歴ファイ
ルをm世代(ここでmは管理される世代数であり2以上
の整数とする)前までそれぞれ格納するための、第1世
代から第m世代までの世代バックアップディレクトリと
を、バックアップ先ディレクトリの下部にツリー状に設
け、直前のバックアップ処理時点からその次のバックア
ップ処理時点までの間に、前記バックアップ元ディレク
トリに格納された少なくとも1つのファイルが、前記最
新バックアップディレクトリに格納されたファイルとの
関係で所定の操作を加えられたものであるとき、以下の
処理を行うことを特徴とする世代管理機能を備えたファ
イルバックアップ方法。 (1)第1世代の世代バックアップディレクトリを削除
する。 (2)第2〜第m世代の世代バックアップディレクトリ
をそれぞれ1世代前の世代バックアップディレクトリの
ディレクトリ名にリネームする。 (3)新規に第m世代の世代バックアップディレクトリ
を生成する。 (4)前記バックアップ元ディレクトリに格納されたフ
ァイルに加えられた所定の操作を識別する。 (5)識別された操作がファイルの削除、あるいはファ
イル内容の変更のいずれかである場合、前記最新バック
アップディレクトリに格納されている対応するファイル
を第m世代の世代バックアップディレクトリに複製また
は移動し、前記識別された操作がファイルの追加である
場合、その追加操作を表示するマーカーファイルを第m
世代の世代バックアップディレクトリに生成し格納する
ことにより、第m世代の世代バックアップディレクトリ
に最新の操作履歴ファイルを格納する。 (6)前記バックアップ元ディレクトリに格納された複
数のファイルと同一のファイル状態となるように前記最
新バックアップディレクトリを同期する。5. A single latest backup directory for storing a plurality of files stored in the backup source directory as backup files, and one of the backup source directories stored at the time of each past backup processing. When the file has been subjected to a predetermined operation, the operation history file corresponding to the file to which the predetermined operation has been applied is m generations (where m is the number of generations to be managed and is an integer of 2 or more) 1) A generation backup directory from the first generation to the m-th generation, which is to be stored before, is provided in the form of a tree below the backup destination directory, from the time of the immediately preceding backup processing to the time of the next backup processing. The backup source directory. When at least one file has been subjected to a predetermined operation in relation to the file stored in the latest backup directory, the following processing is performed. Method. (1) Delete the first generation backup directory. (2) Rename the generation backup directories of the second to mth generations to the directory names of the generation backup directory one generation before. (3) Create a new mth generation backup directory. (4) Identify a predetermined operation performed on a file stored in the backup source directory. (5) If the identified operation is to delete a file or change a file content, copy or move the corresponding file stored in the latest backup directory to the mth generation backup directory, If the identified operation is an addition of a file, a marker file indicating the addition operation is added to the mth file.
The latest operation history file is stored in the m-th generation backup directory by generating and storing it in the generation backup directory of the generation. (6) The latest backup directory is synchronized so as to have the same file state as the plurality of files stored in the backup source directory.
されているファイルについて、ファイル名、ファイルサ
イズ及び更新日時を記述したリストを作成し、前記バッ
クアップ先ディレクトリの最新バックアップディレクト
リに格納されているファイルについて、ファイル名、フ
ァイルサイズ及び更新日時を記述したリストを作成し、
両方のリストをマッチングすることにより、ファイルに
加えられた操作を識別することを特徴とする請求項3ま
たは5に記載の世代管理機能を備えたファイルバックア
ップ方法。6. A list describing a file name, a file size, and an update date and time of a file stored in the backup source directory is created, and a file stored in the latest backup directory of the backup destination directory is created. Create a list describing the name, file size, and update date and time,
6. The file backup method with a generation management function according to claim 3, wherein an operation added to the file is identified by matching both lists.
クトリを削除する前に、当該ディレクトリに格納された
操作履歴ファイルを別のアーカイブディレクトリに格納
することを特徴とする請求項5に記載の世代管理機能を
備えたファイルバックアップ方法。7. The generation management function according to claim 5, wherein before deleting the first generation generation backup directory, the operation history file stored in the directory is stored in another archive directory. File backup method with.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000311329A JP2002116938A (en) | 2000-10-11 | 2000-10-11 | File backup method provided with generation management function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000311329A JP2002116938A (en) | 2000-10-11 | 2000-10-11 | File backup method provided with generation management function |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2002116938A true JP2002116938A (en) | 2002-04-19 |
Family
ID=18791116
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000311329A Pending JP2002116938A (en) | 2000-10-11 | 2000-10-11 | File backup method provided with generation management function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2002116938A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004206666A (en) * | 2002-10-30 | 2004-07-22 | Nippon Digital Kenkyusho:Kk | Backup data management system, management method for backup data, and backup data management program |
| JP2006285991A (en) * | 2005-03-30 | 2006-10-19 | Internatl Business Mach Corp <Ibm> | Method, server and program for increasing validity of file system by block reproduction |
| JP2011210056A (en) * | 2010-03-30 | 2011-10-20 | Sanyo Electric Co Ltd | Backup data management device |
| JP2011248842A (en) * | 2010-05-31 | 2011-12-08 | Sanyo Electric Co Ltd | Backup data management device |
| JP2012098934A (en) * | 2010-11-02 | 2012-05-24 | Canon Inc | Document management system, method for controlling document management system and program |
| JP2017010150A (en) * | 2015-06-18 | 2017-01-12 | 株式会社バッファロー | Information processing apparatus, information processing method, and program |
| CN111767171A (en) * | 2020-06-29 | 2020-10-13 | 四川阵风科技有限公司 | Method for file backup and restoration |
| CN116129095A (en) * | 2022-12-28 | 2023-05-16 | 北京铭海博纳科技发展有限公司 | Model display method, system, electronic equipment and readable storage medium |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05113920A (en) * | 1991-10-22 | 1993-05-07 | Canon Inc | File management method and device |
| JPH05225022A (en) * | 1992-02-13 | 1993-09-03 | Nec Corp | Execution circumstance reproducing system |
| JPH07191889A (en) * | 1993-12-27 | 1995-07-28 | Toshiba Corp | Generation management system |
| JPH0916611A (en) * | 1995-06-28 | 1997-01-17 | Canon Inc | Database control method and apparatus |
| JPH1091405A (en) * | 1996-09-18 | 1998-04-10 | Hitachi Ltd | Software maintenance method |
| JPH11134234A (en) * | 1997-08-26 | 1999-05-21 | Reliatec Ltd | Backup list method, its controller and recording medium which records backup restoration program and which computer can read |
| JPH11306060A (en) * | 1998-04-27 | 1999-11-05 | Meidensha Corp | Distributed editing method for data |
| JP2000020367A (en) * | 1998-06-30 | 2000-01-21 | Toshiba Corp | Information storage method, information storage device, and recording medium |
| WO2000033193A1 (en) * | 1998-11-30 | 2000-06-08 | Hitachi, Ltd. | Method, apparatus and system for delivering information and recording medium |
| JP2002503841A (en) * | 1997-12-23 | 2002-02-05 | マイクロソフト コーポレイション | System and method for using sparse file technology for stage data and then storing it on remote storage |
-
2000
- 2000-10-11 JP JP2000311329A patent/JP2002116938A/en active Pending
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05113920A (en) * | 1991-10-22 | 1993-05-07 | Canon Inc | File management method and device |
| JPH05225022A (en) * | 1992-02-13 | 1993-09-03 | Nec Corp | Execution circumstance reproducing system |
| JPH07191889A (en) * | 1993-12-27 | 1995-07-28 | Toshiba Corp | Generation management system |
| JPH0916611A (en) * | 1995-06-28 | 1997-01-17 | Canon Inc | Database control method and apparatus |
| JPH1091405A (en) * | 1996-09-18 | 1998-04-10 | Hitachi Ltd | Software maintenance method |
| JPH11134234A (en) * | 1997-08-26 | 1999-05-21 | Reliatec Ltd | Backup list method, its controller and recording medium which records backup restoration program and which computer can read |
| JP2002503841A (en) * | 1997-12-23 | 2002-02-05 | マイクロソフト コーポレイション | System and method for using sparse file technology for stage data and then storing it on remote storage |
| JPH11306060A (en) * | 1998-04-27 | 1999-11-05 | Meidensha Corp | Distributed editing method for data |
| JP2000020367A (en) * | 1998-06-30 | 2000-01-21 | Toshiba Corp | Information storage method, information storage device, and recording medium |
| WO2000033193A1 (en) * | 1998-11-30 | 2000-06-08 | Hitachi, Ltd. | Method, apparatus and system for delivering information and recording medium |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004206666A (en) * | 2002-10-30 | 2004-07-22 | Nippon Digital Kenkyusho:Kk | Backup data management system, management method for backup data, and backup data management program |
| JP2006285991A (en) * | 2005-03-30 | 2006-10-19 | Internatl Business Mach Corp <Ibm> | Method, server and program for increasing validity of file system by block reproduction |
| JP2011210056A (en) * | 2010-03-30 | 2011-10-20 | Sanyo Electric Co Ltd | Backup data management device |
| JP2011248842A (en) * | 2010-05-31 | 2011-12-08 | Sanyo Electric Co Ltd | Backup data management device |
| JP2012098934A (en) * | 2010-11-02 | 2012-05-24 | Canon Inc | Document management system, method for controlling document management system and program |
| JP2017010150A (en) * | 2015-06-18 | 2017-01-12 | 株式会社バッファロー | Information processing apparatus, information processing method, and program |
| CN111767171A (en) * | 2020-06-29 | 2020-10-13 | 四川阵风科技有限公司 | Method for file backup and restoration |
| CN111767171B (en) * | 2020-06-29 | 2024-03-19 | 四川阵风科技有限公司 | File backup and restore method |
| CN116129095A (en) * | 2022-12-28 | 2023-05-16 | 北京铭海博纳科技发展有限公司 | Model display method, system, electronic equipment and readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7310654B2 (en) | Method and system for providing image incremental and disaster recovery | |
| US5729743A (en) | Computer apparatus and method for merging system deltas | |
| US8126854B1 (en) | Using versioning to back up multiple versions of a stored object | |
| US7904425B2 (en) | Generating backup sets to a specific point in time | |
| US7672979B1 (en) | Backup and restore techniques using inconsistent state indicators | |
| US6324548B1 (en) | Database backup and recovery using separate history files for database backup and audit backup | |
| US8121981B2 (en) | Database snapshot management | |
| JP5991699B2 (en) | Information processing apparatus, information processing system, backup method, and program | |
| US20080040388A1 (en) | Methods and systems for tracking document lineage | |
| US20040193953A1 (en) | Method, system, and program for maintaining application program configuration settings | |
| KR20050001301A (en) | Rapid restoration of file system usage in very large file systems | |
| US20080313245A1 (en) | Non-Disruptive Backup Copy in a Database Online Reorganization Environment | |
| JP2008033519A (en) | Backup control apparatus and method without duplication of information resources | |
| JPH09179824A (en) | System for backing-up and restoring groupware document and its method | |
| US10268632B2 (en) | Real time and scalable space-time data recovery from existing backup systems | |
| US7464117B2 (en) | Using directory historical data to facilitate automated file updates | |
| US20060026567A1 (en) | Distribution of data/metadata in a version control system | |
| JP2003330782A (en) | Computer system | |
| US7194486B2 (en) | Method and system for data processing with data replication for the same | |
| JP2002116938A (en) | File backup method provided with generation management function | |
| JP3985430B2 (en) | Database management apparatus and method | |
| US20070168401A1 (en) | User interface for piecemeal restore | |
| US8028135B1 (en) | Method and apparatus for maintaining compliant storage | |
| JP2000207264A (en) | Backup and restore methods | |
| JP2009163334A (en) | Information processor, program, and backup method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071010 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100531 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100629 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20101116 |