JP2010231656A - File management device - Google Patents

File management device Download PDF

Info

Publication number
JP2010231656A
JP2010231656A JP2009080453A JP2009080453A JP2010231656A JP 2010231656 A JP2010231656 A JP 2010231656A JP 2009080453 A JP2009080453 A JP 2009080453A JP 2009080453 A JP2009080453 A JP 2009080453A JP 2010231656 A JP2010231656 A JP 2010231656A
Authority
JP
Japan
Prior art keywords
file
backup
name
folder
change
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
JP2009080453A
Other languages
Japanese (ja)
Inventor
Satoshi Yahashi
聡 矢橋
Taizo Yamamoto
太三 山本
Kazuo Matsuyama
一雄 松山
Osamu Shionoiri
理 塩野入
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.)
Nippon Telegraph and Telephone Corp
Nippon Telegraph and Telephone West Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Nippon Telegraph and Telephone West 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 Nippon Telegraph and Telephone Corp, Nippon Telegraph and Telephone West Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2009080453A priority Critical patent/JP2010231656A/en
Publication of JP2010231656A publication Critical patent/JP2010231656A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To generate a backup each time a file is changed without exerting an adverse influence on other users, and to retrieve the generated backup file at high speed to restore the file at an optional point of time. <P>SOLUTION: The backup processing part 6 of a file management device 3 receives operation information showing the type and update time of a file operation in a file server 2 and the target file name of the operation, and writes a backup file obtained by duplicating the file of the target file name in a backup storage part 4 with a file name obtained by adding information indicating the backup file and a slave number to the target file name in preparing the file or detecting overwriting. Further, the backup processing part 6 associates the update time and the target file name with a backup file name and writes them in a backup management table in a table storage part 5. A file restoring part 7 retrieves the backup management table on the basis of a restoration time, and specifies the backup file name. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、バックアップファイルを生成及び管理するファイル管理装置に関する。   The present invention relates to a file management apparatus that generates and manages a backup file.

従来、ファイルのバックアップを生成するために、スナップショット機能などが用いられていた。これは、所定のタイミングで、あるいは、管理者が入力したタイミングでスナップショットコマンドを実行し、バージョン管理されたファイルのバックアップを生成するものである。一方、特許文献1には、ファイルのアクセスに関するコマンドを解析し、ファイルが更新された際は、自動的にバージョン管理されたバックアップファイルを生成することが記載されている。   Conventionally, a snapshot function or the like has been used to generate a backup of a file. In this method, a snapshot command is executed at a predetermined timing or at a timing input by an administrator to generate a backup of a version-managed file. On the other hand, Patent Document 1 describes that a command related to file access is analyzed, and when a file is updated, a version-controlled backup file is automatically generated.

特開2006−350829号公報JP 2006-350829 A

上述したスナップショット機能を用いてバージョン管理を行なった場合、必ずしもファイルの更新のタイミングにおいてバックアップが生成されないため、必要なファイルのバックアップが必ずしも生成されてないことがある。また、スナップショットでは、ストレージ全体の情報が書き換わってしまい、他のユーザに影響を与えてしまうおそれがある。
一方、特許文献1では、ファイルが更新された際は、自動的にバージョン管理されたバックアップを生成することができ、ストレージ全体の情報を書き換えることはない。しかし、特許文献1では、元のファイルの名に、バージョン数やバックアップ作成日時を付加したファイル名のバックアップを生成するものであるため、バックアップファイル数が多くなった場合には検索に時間がかかってしまうという問題があった。
When version management is performed using the above-described snapshot function, a backup is not necessarily generated at the file update timing, and thus a backup of a necessary file may not necessarily be generated. In addition, in the snapshot, information on the entire storage is rewritten, which may affect other users.
On the other hand, in Patent Document 1, when a file is updated, a version-controlled backup can be automatically generated, and the information of the entire storage is not rewritten. However, in Patent Document 1, since the backup of the file name is generated by adding the version number and the backup creation date and time to the name of the original file, the search takes time when the number of backup files increases. There was a problem that.

本発明は、上記問題を解決すべくなされたもので、その目的は、他のユーザに影響を与えることなく、ファイル変更の都度バックアップを生成し、バックアップファイルを高速に検索して任意の時点のファイルを復元することができるファイル管理装置を提供することにある。   The present invention has been made to solve the above-mentioned problems, and its purpose is to generate a backup every time a file is changed without affecting other users, and to search the backup file at high speed to obtain an arbitrary point in time. An object of the present invention is to provide a file management apparatus capable of restoring files.

上記課題を解決するため、本発明は、バックアップファイルを記憶するバックアップ記憶部と、前記バックアップファイルを管理するバックアップ管理テーブルを記憶するテーブル記憶部と、ファイル操作の種類及びファイルの更新時刻と、ファイル操作対象のファイルのフォルダ名を含んだ名前である対象ファイル名とを示す操作情報を受信し、当該操作情報によりファイルの作成または上書を検出する検出部と、前記検出部によりファイルの作成または上書が検出された場合に、当該操作情報により示される対象ファイル名のファイルを複製したバックアップファイルを、バックアップファイルであることを示す情報と子番号とを当該対象ファイル名に付加したファイル名により前記バックアップ記憶部に書き込むバックアップファイル生成部と、前記操作情報に設定されている更新時刻及び対象ファイル名と、前記バックアップ生成部が生成したバックアップファイルのファイル名であるバックアップファイル名とを対応づけた情報を前記バックアップ記憶部に記憶されている前記バックアップ管理テーブルに書き込むテーブル更新部と、を備えることを特徴とするファイル管理装置である。   In order to solve the above problems, the present invention provides a backup storage unit that stores a backup file, a table storage unit that stores a backup management table that manages the backup file, a type of file operation, a file update time, and a file Receiving the operation information indicating the target file name including the folder name of the operation target file and detecting the creation or overwriting of the file based on the operation information; When an overwriting is detected, a backup file that is a duplicate of the file with the target file name indicated by the operation information is obtained by adding the information indicating that it is a backup file and a child number to the target file name. Backup file to be written to the backup storage unit The information that associates the update unit, the update time and the target file name set in the operation information, and the backup file name that is the file name of the backup file generated by the backup generation unit is stored in the backup storage unit And a table updating unit for writing to the backup management table.

また本発明は、上述するファイル管理装置であって、前記検出部は、受信した操作情報によりファイルの削除を検出し、バックアップファイル生成部は、前記検出部によりファイル削除が検出された場合に、当該操作情報により示される対象ファイル名に、ファイルの削除を示す情報と子番号とを付加したファイル名の削除用ダミーファイルを前記バックアップ記憶部に書き込み、前記テーブル更新部は、前記操作情報に設定されている更新時刻及び対象ファイル名と、前記バックアップ生成部が生成した削除用ダミーファイルのファイル名とを対応づけた情報を前記バックアップ記憶部に記憶されている前記バックアップ管理テーブルに書き込む、ことを特徴とする。   Further, the present invention is the file management apparatus described above, wherein the detection unit detects deletion of a file based on the received operation information, and the backup file generation unit is configured to detect file deletion by the detection unit, A dummy file for deletion having a file name in which information indicating deletion of a file and a child number is added to the target file name indicated by the operation information is written in the backup storage unit, and the table update unit is set in the operation information Information that associates the update time and the target file name that has been created with the file name of the dummy file for deletion generated by the backup generation unit into the backup management table stored in the backup storage unit. Features.

また本発明は、上述するファイル管理装置であって、前記検出部は、受信した操作情報によりファイル名の変更を検出し、バックアップファイル生成部は、前記検出部によりファイル名の変更が検出された場合に、当該操作情報により示される変更前ファイル名に、ファイルの削除を示す情報と子番号とを付加したファイル名の削除用のダミーファイルを前記バックアップ記憶部に書き込むとともに、当該操作情報により示される変更後ファイル名のファイルを複製したバックアップファイルを、バックアップファイルであることを示す情報と子番号とを当該変更後ファイル名に付加したファイル名により前記バックアップ記憶部に書き込み、前記テーブル更新部は、前記操作情報に設定されている更新時刻と、前記変更前ファイル名を示す対象ファイル名と、前記バックアップ生成部が生成した削除用ダミーファイルのファイル名とを対応づけた情報を前記バックアップ管理テーブルに書き込むとともに、当該操作情報に設定されている更新時刻と、前記変更後ファイル名を示す対象フィアル名と、前記バックアップ生成部が生成したバックアップファイルのバックアップファイル名とを対応づけた情報を前記バックアップ管理テーブルに書き込む、ことを特徴とする。   The present invention is the file management apparatus described above, wherein the detection unit detects a change in file name based on the received operation information, and the backup file generation unit detects a change in file name by the detection unit. In this case, a dummy file for deleting a file name in which information indicating deletion of a file and a child number is added to the file name before change indicated by the operation information is written to the backup storage unit and indicated by the operation information. A backup file obtained by copying the file with the changed file name to be written, the information indicating that the file is a backup file and a child number are written to the backup storage unit by the file name added to the changed file name, and the table update unit is Indicates the update time set in the operation information and the file name before change Information that associates the file name of the file with the file name of the deletion dummy file generated by the backup generation unit into the backup management table, the update time set in the operation information, and the changed file Information that associates a target file name indicating a name with a backup file name of a backup file generated by the backup generation unit is written in the backup management table.

また本発明は、上述するファイル管理装置であって、ユーザの端末から復旧対象時刻の情報を受信し、前記バックアップ管理テーブルから当該復旧対象時刻以前が更新時刻であるバックアップファイル名を復元対象として特定し、特定した復元対象に同じ対象ファイル名に対応しているバックアップファイル名が含まれる場合は、最も前記復旧対象時刻に近い更新時刻のバックアップファイル名のみを復元対象とし、当該復元対象のバックアップファイル名に対応した対象ファイル名を読み出す検索部と、前記検索部により前記復元対象のバックアップファイル名に対応して読み出された前記対象ファイル名のファイルをファイル復旧領域に生成し、当該ファイル復旧領域に生成されたファイルの出力指示を受信した場合に、当該ファイルの対象ファイル名に対応した前記復元対象のバックアップファイル名のバックアップファイルを前記バックアップ記憶部から読み出して出力する復元部と、をさらに備えることを特徴とする。   Further, the present invention is the file management apparatus described above, which receives information on a recovery target time from a user terminal, and specifies a backup file name whose update time is before the recovery target time from the backup management table as a restoration target If the specified restore target includes a backup file name corresponding to the same target file name, only the backup file name with the update time closest to the recovery target time is set as the restore target, and the backup file to be restored A search unit for reading a target file name corresponding to a name, and generating a file with the target file name read by the search unit corresponding to the backup file name to be restored in a file recovery area. When an output instruction for a file generated in Characterized by further comprising a restoration unit for the backup file elephant file backup file name of the recovery target that corresponds to the name read out and output from the backup storage unit.

また本発明は、上述するファイル管理装置であって、前記復元部は、前記復元対象のバックアップファイル名に対応して読み出された前記対象ファイル名のファイルを、前記ユーザに対応したファイル復旧領域に生成する、ことを特徴とする。   Further, the present invention is the file management apparatus described above, wherein the restoration unit reads a file with the target file name read corresponding to the backup file name to be restored into a file recovery area corresponding to the user. It is characterized by generating.

また本発明は、上述するファイル管理装置であって、前記検索部は、前記バックアップ管理テーブルに、復元対象のバックアップファイル名に対応した対象ファイル名と同じ対象ファイル名に対応して削除用ダミーファイルのファイル名が登録されており、当該削除用ダミーファイルのファイル名に対応した更新時刻が当該復元対象のバックアップファイル名に対応した更新時刻以降であり、かつ、前記ファイル復旧対象時刻以前であった場合、当該バックアップファイル名を復元対象から除外する、ことを特徴とする。   The present invention is the file management apparatus described above, wherein the search unit includes a deletion dummy file corresponding to the same target file name as the target file name corresponding to the backup file name to be restored in the backup management table. File name is registered, and the update time corresponding to the file name of the deletion dummy file is after the update time corresponding to the backup file name to be restored and before the file recovery target time In this case, the backup file name is excluded from the restoration target.

また本発明は、上述するファイル管理装置であって、前記テーブル記憶部は、変更されたフォルダ名を管理するフォルダ名変更管理テーブルをさらに記憶し、前記操作情報は、フォルダ操作の種類及びフォルダの更新時刻と操作対象のフォルダ名とを示し、前記検出部は、受信した操作情報によりフォルダ名の変更を検出し、前記バックアップファイル生成部は、前記検出部によりフォルダ名の変更が検出された場合に、当該操作情報により示されるフォルダ名変更時刻、変更前フォルダ名及び変更後フォルダ名を含んだフォルダ名のフォルダ名変更用ダミーファイルを前記バックアップ記憶部に書き込み、前記検索部は、さらに、前記復元対象のバックアップファイル名に対応した更新時刻を読み出し、読み出した更新時刻以降、かつ、前記復元対象時刻以前のフォルダ名変更時刻に対応して、当該復元対象のバックアップファイル名に含まれるフォルダ名が変更前フォルダ名としてフォルダ名変更管理テーブルに登録されている場合に、当該変更前フォルダ名に対応した変更後フォルダ名を読み出し、前記復元部は、前記検索部により前記復元対象のバックアップファイル名に対応して読み出された前記対象ファイル名内の前記変更前フォルダ名を前記変更後フォルダ名に置き換えたファイル名のファイルをファイル復旧領域に生成し、当該ファイル復旧領域に生成されたファイルの出力指示を受信した場合に、前記復元対象のバックアップファイル名のバックアップファイルを前記バックアップ記憶部から読み出して出力する、ことを特徴とする。   The present invention is the file management apparatus described above, wherein the table storage unit further stores a folder name change management table for managing the changed folder name, and the operation information includes a type of folder operation and a folder name. An update time and an operation target folder name are indicated, and the detection unit detects a change in the folder name based on the received operation information, and the backup file generation unit detects a change in the folder name by the detection unit In addition, the folder name change dummy file of the folder name including the folder name change time, the folder name before change and the folder name after change indicated by the operation information is written to the backup storage unit, and the search unit further includes the Reads the update time corresponding to the backup file name to be restored, and after and before the read update time Corresponding to the folder name change time before the restoration target time, if the folder name included in the backup file name to be restored is registered in the folder name change management table as the folder name before modification, the folder name before modification And the restoration unit uses the search unit to retrieve the folder name before change in the target file name read by the search unit corresponding to the backup file name to be restored. When the file with the file name replaced with the file name is generated in the file recovery area and the output instruction of the file generated in the file recovery area is received, the backup file with the backup file name to be restored is received from the backup storage unit. It reads out and outputs.

また本発明は、上述するファイル管理装置であって、前記バックアップ生成部は、前記フォルダ名変更管理テーブルから変更前フォルダ名及びフォルダ名変更時刻を読み出し、更新時刻が前記フォルダ名変更時刻以前であり、かつ、前記変更前フォルダ名が含まれるバックアップファイル名のバックアップファイルから、同じ対象ファイル名に対応したバックアップファイルについてはファイル生成時刻が最も前記フォルダ名変更時刻に近いバックアップファイルを抽出し、さらに、この抽出したバックアップファイルから、当該バックアップファイルと同じ対象ファイル名に対応して生成され、ファイル生成時刻が当該バックアップファイルのファイル生成時刻以降、かつ、フォルダ名変更時刻以前である削除用ダミーファイルが存在するバックアップファイルを除外し、除外した残りのバックアップファイルを複製し、当該バックアップファイルのバックアップファイル名内の前記変更前フォルダ名を前記変更後フォルダ名に置き換え、新たな子番号を付与したバックアップファイル名により前記バックアップ記憶部に書き込み、さらに、前記除外した残りのバックアップフィアルに対応した対象ファイルの削除用ダミーファイルを生成して前記バックアップ記憶部に書き込み、前記テーブル管理部は、前記バックアップ生成部が前記バックアップ記憶部に書き込んだバックアップファイルのバックアップファイル名と、当該バックアップファイル名から取得した対象ファイル名と、前記フォルダ名変更時刻とを対応づけた情報を前記バックアップ管理テーブルに書き込むとともに、前記バックアップ生成部が前記バックアップ記憶部に書き込んだ削除用ダミーファイルのファイル名と、当該ファイル名から取得した対象ファイル名と、前記フォルダ名変更時刻とを対応づけた情報を前記バックアップ管理テーブルに書き込む、ことを特徴とする。   The present invention is the file management apparatus described above, wherein the backup generation unit reads the folder name before change and the folder name change time from the folder name change management table, and the update time is before the folder name change time. And, for the backup file corresponding to the same target file name, the backup file with the file generation time closest to the folder name change time is extracted from the backup file with the backup file name including the pre-change folder name, and From this extracted backup file, there is a dummy file for deletion that is generated corresponding to the same target file name as the backup file, and whose file generation time is after the file generation time of the backup file and before the folder name change time. Do Exclude the backup file, duplicate the remaining backup file, replace the pre-change folder name in the backup file name of the backup file with the post-change folder name, and give a new child number To the backup storage unit, and further generate a deletion dummy file of the target file corresponding to the excluded backup file that is excluded and write it to the backup storage unit, the table management unit, the backup generation unit When writing the backup file name of the backup file written in the backup storage unit, the target file name acquired from the backup file name, and the folder name change time in the backup management table In addition, the backup management table stores information associating the file name of the dummy file for deletion written to the backup storage unit by the backup generation unit, the target file name acquired from the file name, and the folder name change time. It is characterized by writing in.

また本発明は、上述するファイル管理装置であって、前記バックアップ記憶部に記憶されているバックアップファイルのバックアップファイル名と、当該バックアップファイル名から取得した対象ファイル名と、当該バックアップファイルの作成時刻とを対応づけた情報を含んだバックアップ管理テーブルを生成するテーブル復旧部をさらに備える、ことを特徴とする。   The present invention is the file management apparatus described above, wherein the backup file name of the backup file stored in the backup storage unit, the target file name acquired from the backup file name, the creation time of the backup file, And a table recovery unit that generates a backup management table including information associated with.

また本発明は、上述するファイル管理装置であって、前記操作情報は、フォルダ操作の種類と操作対象のフォルダ名とを示し、前記検出部は、受信した操作情報によりフォルダ名の変更を検出し、バックアップファイル生成部は、前記検出部によりフォルダ名の変更を検出した場合に、当該操作情報により示される変更前フォルダ名及び変更後フォルダ名を含んだフォルダ名変更用ダミーファイルを前記バックアップ記憶部に書き込み、前記テーブル復旧部は、前記バックアップ記憶部に記憶されている前記フォルダ名変更用ダミーファイルで示される変更前フォルダ名及び変更後フォルダ名と、当該フォルダ名変更用ダミーファイルの作成時刻とを対応づけた情報を含んだフォルダ名変更管理テーブルを生成する、ことを特徴とする。   The present invention is the file management apparatus described above, wherein the operation information indicates a type of folder operation and a folder name to be operated, and the detection unit detects a change of the folder name based on the received operation information. The backup file generation unit, when the change of the folder name is detected by the detection unit, a folder name change dummy file including the pre-change folder name and the post-change folder name indicated by the operation information. The table restoration unit stores the folder name before and after the change indicated by the folder name change dummy file stored in the backup storage unit, the creation time of the folder name change dummy file, A folder name change management table including information associated with is generated.

また本発明は、上述するファイル管理装置であって、前記バックアップ記憶部は、重複排除技術を用いて前記バックアップファイルを記憶することを特徴とする。   The present invention is also the file management apparatus described above, wherein the backup storage unit stores the backup file using a deduplication technique.

本発明によれば、ファイル変更の都度、ファイルのバックアップを生成するとともに、生成されたバックアップファイルの管理テーブルを生成する。これにより、ユーザが所望の時点のバックアップファイルを高速に検索して、その時点に存在していたファイルを復元することができる。このとき、ユーザが自分専用のフォルダにファイルを復元することができるため、他のユーザに影響を与えることもない。また、削除されたファイルの復元も可能である。加えて、バックアップファイルの管理テーブルに障害が発生した場合も、当該テーブルを復元することができる。   According to the present invention, each time a file is changed, a backup of the file is generated and a management table of the generated backup file is generated. As a result, the user can quickly search for a backup file at a desired time and restore the file that existed at that time. At this time, since the user can restore the file to his / her own folder, it does not affect other users. It is also possible to restore deleted files. In addition, when a failure occurs in the backup file management table, the table can be restored.

本発明の第一実施形態によるファイル管理システムの動作概要を示す図である。It is a figure which shows the operation | movement outline | summary of the file management system by 1st embodiment of this invention. 同実施形態によるファイル管理システムの構成図である。It is a block diagram of the file management system by the embodiment. 同実施形態によるフバックアップ管理テーブルのデータ構成例を示す図である。It is a figure which shows the example of a data structure of the backup management table by the same embodiment. 同実施形態によるフォルダ名変更管理テーブルのデータ構成例を示す図である。It is a figure which shows the data structural example of the folder name change management table by the embodiment. 同実施形態によるバックアップタイミングの検出処理を説明する図である。It is a figure explaining the detection process of the backup timing by the embodiment. 同実施形態によるバックアップタイミングの他の検出処理を説明する図である。It is a figure explaining other detection processing of backup timing by the embodiment. 同実施形態によるファイル管理システムにおけるファイル生成時の処理を説明する図である。It is a figure explaining the process at the time of the file generation in the file management system by the embodiment. 同実施形態によるファイル管理システムにおけるファイル上書時の処理を説明する図である。It is a figure explaining the process at the time of file overwriting in the file management system by the embodiment. 同実施形態によるファイル管理システムにおけるファイル削除時の処理を説明する図である。It is a figure explaining the process at the time of the file deletion in the file management system by the embodiment. 同実施形態によるファイル管理システムにおけるファイル名変更時の処理を説明する図である。It is a figure explaining the process at the time of the file name change in the file management system by the embodiment. 同実施形態によるファイル管理システムにおけるフォルダ名変更時の暫定対処処理を説明する図である。It is a figure explaining the provisional coping process at the time of folder name change in the file management system by the embodiment. 同実施形態によるファイル管理システムにおけるフォルダ名変更時の恒久対処処理を説明する図である。It is a figure explaining the permanent coping process at the time of folder name change in the file management system by the embodiment. 同実施形態によるファイル管理システムにおけるファイル復元処理を説明する図である。It is a figure explaining the file restoration process in the file management system by the embodiment. 同実施形態によるファイル管理システムにおけるファイル復元処理を説明する図である。It is a figure explaining the file restoration process in the file management system by the embodiment. 同実施形態によるファイル管理システムにおける検索クロール処理を説明する図である。It is a figure explaining the search crawl process in the file management system by the embodiment. 同実施形態によるファイル管理システムにおけるバックアップ管理テーブル及びバックアップ管理テーブルの復旧処理を説明する図である。It is a figure explaining the recovery processing of the backup management table and backup management table in the file management system by the embodiment. 同実施形態によるファイル管理システムにおけるユーザインタフェース例を示す図である。It is a figure which shows the example of a user interface in the file management system by the embodiment.

以下、図面を参照して本発明の実施形態を説明する。
図1は、本発明の一実施形態によるファイル管理システムの動作概要を示す図である。
まず、ユーザが自身の端末からファイルサーバにアクセスし、「1月1日12時00分」の時点で、当該ファイルサーバのフォルダ「/PUBLIC」の配下に、記述内容aのファイル「Sample.txt」を新規に作成したとする。その後、「1月2日12時00分」の時点で、同ファイル「Sample.txt」を記述内容bのものに上書保存し、さらにその後、「1月3日12時00分」の時点で、同ファイル「Sample.txt」を記述内容cのものに上書保存したとする。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing an outline of operation of a file management system according to an embodiment of the present invention.
First, the user accesses the file server from his / her terminal, and when “January 1st 12:00”, the file “Sample.txt” of the description content “a” is stored under the folder “/ PUBLIC” of the file server. ”Is newly created. After that, when “January 2 12:00”, the file “Sample.txt” is overwritten and saved in the description content b, and then “January 3 12:00” Then, it is assumed that the file “Sample.txt” is overwritten and saved with the description content c.

本実施形態のファイル管理システムでは、ユーザからのファイルアクセス状況を取得して、上述したようなファイルの作成や上書があったことを認識し、ファイルを別領域に自動バックアップし、当該バックアップファイルの管理テーブルを生成する。この管理テーブルを利用してバックアップファイルを検索し、いつでも過去のファイルを取り出すことを可能にする。   In the file management system of the present embodiment, the file access status from the user is acquired, the creation or overwriting of the file as described above is recognized, the file is automatically backed up in another area, and the backup file Generate a management table. This management table is used to search for backup files and to retrieve past files at any time.

例えば、1月4日の時点では、フォルダ「/PUBLIC」の配下に、「1月3日12時00分」の時点で上書きされた、記述内容cのファイル「Sample.txt」が存在し、「/PUBLIC/Sample.txt」を指定しても、記述内容aや記述内容bを取り出すことはできない。そこで、ユーザは、自身のファイル復元領域のフォルダの配下に、復元したい日時「1月12日15時00分」を表すフォルダ名「/01_02_1500」のフォルダを生成する。これにより、ファイル管理装置は、「1月12日15時00分」時点に存在していたファイルサーバ内のファイル、つまり、記述内容bの「/PUBLIC/Sample.txt」を、生成されたフォルダ「/BACKUP/01_02_1500」の配下に復元する。   For example, as of January 4, there is a file “Sample.txt” of the description content c overwritten at the time of “January 3, 12:00” under the folder “/ PUBLIC”. Even if “/PUBLIC/Sample.txt” is specified, the description contents a and the description contents b cannot be extracted. Therefore, the user creates a folder with a folder name “/ 01 — 02 — 1500” representing the date and time “January 12 15:00” to be restored under the folder in the file restoration area of the user. As a result, the file management apparatus generates the file in the file server that existed as of “January 12, 15:00”, that is, “/PUBLIC/Sample.txt” of the description content b, in the generated folder. Restore to "/ BACKUP / 01_02_1500".

図2は、本発明の一実施形態によるファイル管理システムの構成図であり、本発明と関係する機能ブロックのみ抽出して示してある。同図において、ファイル管理システムは、ユーザ端末1、ファイルサーバ2、及び、ファイル管理装置3を、IP(Internet Protocol)などを用いたネットワークNを介して接続してなる。   FIG. 2 is a configuration diagram of a file management system according to an embodiment of the present invention, in which only functional blocks related to the present invention are extracted and shown. In the figure, the file management system is configured by connecting a user terminal 1, a file server 2, and a file management apparatus 3 via a network N using IP (Internet Protocol) or the like.

ファイルサーバ2は、ネットワークNを介してデータを送受信し、記憶部21及びファイル操作部22を備える。ファイル操作部22は、パーソナルコンピュータなどのユーザ端末1からの指示を受け、記憶部21にファイルやフォルダの作成、上書、削除、名前の変更などの操作を行なう。   The file server 2 transmits and receives data via the network N, and includes a storage unit 21 and a file operation unit 22. In response to an instruction from the user terminal 1 such as a personal computer, the file operation unit 22 performs operations such as creating, overwriting, deleting, and renaming files and folders in the storage unit 21.

ファイル管理装置3は、ネットワークNを介してデータを送受信し、バックアップ記憶部4、テーブル記憶部5、バックアップ処理部6、ファイル復元部7、及び、テーブル復旧部8を備える。   The file management device 3 transmits and receives data via the network N, and includes a backup storage unit 4, a table storage unit 5, a backup processing unit 6, a file restoration unit 7, and a table restoration unit 8.

バックアップ記憶部4は、例えば、データベースサーバにより実現することができる。バックアップ記憶部4は、バックアップファイル記憶領域を有し、このバックアップファイル記憶領域に、バックアップ処理部6により生成されたバックアップファイルを記憶する。   The backup storage unit 4 can be realized by a database server, for example. The backup storage unit 4 has a backup file storage area, and stores the backup file generated by the backup processing unit 6 in this backup file storage area.

テーブル記憶部5は、例えば、データベースサーバにより実現することができ、バックアップファイルを管理するバックアップ管理テーブル、及び、名前が変更されたフォルダを管理するフォルダ名変更管理テーブルを記憶する。   The table storage unit 5 can be realized by, for example, a database server, and stores a backup management table for managing backup files and a folder name change management table for managing folders whose names have been changed.

バックアップ処理部6は、例えば、1台または複数台のサーバにより実現することができ、検出部61、バックアップファイル生成部62、及び、テーブル更新部63を備える。検出部61は、バックアップファイルを生成すべき操作、具体的には、ファイルサーバ2内のファイルの作成、上書または削除、あるいは、ファイル名やフォルダ名の変更を検出する。バックアップファイル生成部62は、作成、上書、名前変更の対象となったファイルのバックアップファイルを生成したり、ファイルが削除されたたことを示すダミーファイルを生成したりする。また、バックアップファイル生成部62は、名前が変更されたフォルダの管理情報をフォルダ名変更管理テーブルに登録するために使用するダミーファイルを生成する。テーブル更新部63は、バックアップ管理テーブル、及び、フォルダ名変更管理テーブルを更新する。   The backup processing unit 6 can be realized by, for example, one or a plurality of servers, and includes a detection unit 61, a backup file generation unit 62, and a table update unit 63. The detection unit 61 detects an operation for generating a backup file, specifically, creation, overwriting or deletion of a file in the file server 2, or change of a file name or a folder name. The backup file generation unit 62 generates a backup file of a file to be created, overwritten, or renamed, or generates a dummy file indicating that the file has been deleted. Further, the backup file generation unit 62 generates a dummy file used for registering the management information of the folder whose name has been changed in the folder name change management table. The table update unit 63 updates the backup management table and the folder name change management table.

ファイル復元部7は、例えば、1台または複数台のサーバにより実現することができ、検索部71、復元部72、検索ポータル部73、及び、検索エンジン部74を備える。検索部71は、テーブル記憶部5内に記憶されているバックアップ管理テーブル、及び、フォルダ名変更管理テーブルを参照し、ユーザにより指定された日時に存在していたバックアップファイルを検索する。復元部72は、検索部71により検索されたバックアップファイルに基づき、ユーザにより指定された時点に存在していたファイルを復元する。検索ポータル部73は、ユーザ端末1にファイル検索のポータル機能を提供する。検索エンジン部74は、既存の一般的なファイル検索エンジンのアプリケーションを実行し、バックアップファイルを対象としたファイル検索処理を実行する。   The file restoration unit 7 can be realized by, for example, one or a plurality of servers, and includes a search unit 71, a restoration unit 72, a search portal unit 73, and a search engine unit 74. The search unit 71 refers to the backup management table and the folder name change management table stored in the table storage unit 5 and searches for backup files that existed at the date and time specified by the user. Based on the backup file searched by the search unit 71, the restore unit 72 restores the file that existed at the time specified by the user. The search portal unit 73 provides the user terminal 1 with a file search portal function. The search engine unit 74 executes an application of an existing general file search engine and executes a file search process for a backup file.

テーブル復旧部8は、例えば、1台または複数台のサーバにより実現することができ、バックアップ記憶部4に記憶されているバックアップファイルやダミーファイルに基づいて、バックアップ管理テーブル、及び、フォルダ名変更管理テーブルを復旧する。   The table restoration unit 8 can be realized by, for example, one or a plurality of servers, and based on the backup file or dummy file stored in the backup storage unit 4, the backup management table and the folder name change management Restore the table.

なお、ファイル管理装置3の各部を異なるサーバにより実現してもよく、任意の各部を同じサーバ上で実現してもよい。また、ファイルサーバ2内にファイル管理装置3の全部または一部の機能を備えることでもよい。例えば、ファイルサーバ2内の記憶部21と、バックアップ記憶部4、テーブル記憶部5が同じデータベースサーバ等の記憶装置により実現されることでもよい。また、以下では、ファイル復元用のフォルダが生成されるファイル復元領域をバックアップ記憶部4に生成する場合を例にして説明するが、記憶部21や他のデータベースサーバ等の記憶装置に生成することでもよい。   In addition, each part of the file management apparatus 3 may be implement | achieved by a different server, and arbitrary each part may be implement | achieved on the same server. Further, all or part of the functions of the file management device 3 may be provided in the file server 2. For example, the storage unit 21, the backup storage unit 4, and the table storage unit 5 in the file server 2 may be realized by the same storage device such as a database server. In the following, a case where a file restoration area in which a folder for file restoration is created is created in the backup storage unit 4 will be described as an example. However, it is created in a storage device such as the storage unit 21 or another database server. But you can.

図3は、バックアップ管理テーブルのデータ構成例を示す図である。同図において、バックアップ管理テーブルは、レコードを一意に特定する管理IDと、ファイルの作成、上書、削除、名前の変更などの操作を行なったファイル更新時刻と、操作の対象となったファイルのファイル名を示す対象ファイル名と、ファイル操作を行なったユーザ端末1のIPアドレスと、当該ユーザ端末1がファイル操作を行なったときに使用していたログイン名を示すログインユーザと、バックアップファイルまたはダミーファイルのファイル名を示すバックアップファイル名とを含む複数のレコードからなる。なお、IPアドレス及びユーザの項目はオプショナル項目であり、設定しなくともよい。また、対象ファイル名は、更新の対象となったファイルが存在するディレクトリ、つまり、階層構造で示されるフォルダ名である絶対パス名を含む。バックアップファイルのファイル名もフォルダ名を含むが、ここでは、バックアップ領域のフォルダよりも下流のフォルダ名のみを設定する。   FIG. 3 is a diagram illustrating a data configuration example of the backup management table. In the figure, the backup management table includes a management ID that uniquely identifies a record, a file update time when a file is created, overwritten, deleted, renamed, etc., and the file that is the target of the operation. The target file name indicating the file name, the IP address of the user terminal 1 that performed the file operation, the login user indicating the login name used when the user terminal 1 performed the file operation, and the backup file or dummy Consists of a plurality of records including a backup file name indicating the file name of the file. Note that the IP address and user items are optional items and need not be set. The target file name includes a directory in which the file to be updated exists, that is, an absolute path name that is a folder name indicated by a hierarchical structure. The file name of the backup file also includes the folder name, but here, only the folder name downstream from the folder in the backup area is set.

図4は、フォルダ名変更管理テーブルのデータ構成例を示す図である。同図において、フォルダ名変更管理テーブルは、レコードを一意に特定する管理IDと、フォルダ名変更時刻と、変更前フォルダ名と、フォルダ名の変更を行なったユーザ端末1のIPアドレスと、当該ユーザ端末1がフォルダ名変更を行なったときに使用していたログイン名を示すログインユーザと、変更後フォルダ名とを含む複数のレコードからなる。なお、IPアドレス及びユーザの項目はオプショナル項目であり、設定しなくともよい。   FIG. 4 is a diagram illustrating a data configuration example of the folder name change management table. In the figure, the folder name change management table includes a management ID for uniquely identifying a record, a folder name change time, a folder name before change, an IP address of the user terminal 1 that changed the folder name, and the user. The terminal 1 includes a plurality of records including a login user indicating a login name used when the folder name is changed, and the changed folder name. Note that the IP address and user items are optional items and need not be set.

図5及び図6は、バックアップタイミングの検出処理を説明する図である。
図5は、ファイルサーバ2により生成されたログを用いたバックアップタイミングの検出を説明する図である。
同図において、バックアップ処理部6の検出部61は、ファイルサーバ2により生成及び出力されるログからファイルの作成、上書及び削除、ならびに、ファイル名やフォルダ名の変更を検出する。つまり、ユーザが、ユーザ端末1にファイルやフォルダの操作指示を入力すると、当該操作指示がファイルサーバ2宛に送信される(ステップS11)。ファイルサーバ2のファイル操作部22は、ユーザ端末1から受信した操作指示に従ってファイルやフォルダの作成、上書、削除、または、名前の変更を行なう。ファイル操作部22は、ファイルやフォルダの操作を記述したログをリアルタイムにファイル管理装置3に出力する(ステップS12)。
5 and 6 are diagrams for explaining the backup timing detection process.
FIG. 5 is a diagram for explaining the detection of the backup timing using the log generated by the file server 2.
In the figure, the detection unit 61 of the backup processing unit 6 detects creation, overwriting and deletion of a file, and change of a file name or folder name from a log generated and output by the file server 2. That is, when the user inputs a file or folder operation instruction to the user terminal 1, the operation instruction is transmitted to the file server 2 (step S11). The file operation unit 22 of the file server 2 creates, overwrites, deletes, or renames a file or folder according to an operation instruction received from the user terminal 1. The file operation unit 22 outputs a log describing file and folder operations to the file management apparatus 3 in real time (step S12).

ファイルサーバ2から出力されるログには、ファイルまたはフォルダの操作の種類と、操作対象のファイルやフォルダと、操作指示を送信したユーザ端末1のIPアドレスと、当該ユーザ端末1が使用しているログイン名の情報が設定されている。操作がファイルの作成、上書または削除であれば、操作対象のファイルとして、作成、上書または削除されたファイルのファイル名が設定される。操作がファイル名の変更であれば、操作対象のファイルとして、名前変更前のファイル名と、名前変更後のファイル名とが設定される。操作がフォルダ名変更であれば、操作対象のフォルダとして、名前変更前のフォルダ名、及び、名前変更後のフォルダ名が設定される。   The log output from the file server 2 is used by the type of operation of the file or folder, the file or folder to be operated, the IP address of the user terminal 1 that has transmitted the operation instruction, and the user terminal 1. Login name information is set. If the operation is file creation, overwriting, or deletion, the file name of the created, overwritten, or deleted file is set as the operation target file. If the operation is a file name change, the file name before the name change and the file name after the name change are set as the operation target file. If the operation is a folder name change, the folder name before the name change and the folder name after the name change are set as the operation target folder.

バックアップ処理部6の検出部61が、ファイルサーバ2より受信したログから、ファイルの作成、上書または削除、あるいは、ファイル名の変更、フォルダ名の変更を検出すると(ステップS13)、バックアップファイル生成部62が、ログから取得した操作対象ファイルや操作対象フォルダ等の情報に基づき、バックアップファイルを生成してバックアップ記憶部4のバックアップ記憶領域に書込み(ステップS14)、テーブル更新部63が、テーブル記憶部5に記憶されているバックアップ管理テーブル、フォルダ名変更管理テーブルを更新する(ステップS15)。   When the detection unit 61 of the backup processing unit 6 detects a file creation, overwriting or deletion, or a file name change or a folder name change from the log received from the file server 2 (step S13), a backup file is generated. The unit 62 generates a backup file based on information such as the operation target file and the operation target folder acquired from the log and writes the backup file in the backup storage area of the backup storage unit 4 (step S14), and the table update unit 63 stores the table. The backup management table and folder name change management table stored in the unit 5 are updated (step S15).

図6は、キャプチャされたファイルサーバ2宛のパケットを用いたバックアップタイミングの検出を説明する図である。
同図において、ネットワークN上にパケットキャプチャ装置9が設置されている。ユーザが、ユーザ端末1にファイルやフォルダの操作指示を入力すると、当該操作指示が設定されたパケットがファイルサーバ2宛に送信される(ステップS21)。パケットキャプチャ装置9は、ユーザ端末1からファイルサーバ2宛てに送信されたパケットを複製し、バックアップ処理部6に送信する(ステップS22)。なお、ファイルサーバ2宛のパケットは、複製後にそのままファイルサーバ2へ送信され、ファイル操作部22は、受信した操作指示に従ってファイルやフォルダの作成、上書、削除、または、名前の変更を行なう。
FIG. 6 is a diagram for explaining the detection of the backup timing using the captured packet addressed to the file server 2.
In the figure, a packet capture device 9 is installed on a network N. When a user inputs a file or folder operation instruction to the user terminal 1, a packet in which the operation instruction is set is transmitted to the file server 2 (step S21). The packet capture device 9 duplicates the packet transmitted from the user terminal 1 to the file server 2 and transmits it to the backup processing unit 6 (step S22). The packet addressed to the file server 2 is directly transmitted to the file server 2 after copying, and the file operation unit 22 creates, overwrites, deletes, or renames the file or folder according to the received operation instruction.

バックアップ処理部6の検出部61は、パケットキャプチャ装置9から複製されたファイルサーバ2宛のパケットを受信する。複製されたパケットに設定されている操作指示には、ファイルまたはフォルダの操作の種類と、操作対象のファイルやフォルダと、操作指示を送信したユーザ端末1のIPアドレスと、当該ユーザ端末1が使用しているログイン名の情報が設定されている。操作がファイルの作成、上書または削除であれば、操作対象のファイルとして、作成、上書または削除されたファイルのファイル名が設定される。操作がファイル名の変更であれば、操作対象のファイルとして、名前変更前のファイル名と、名前変更後のファイル名とが設定される。操作がフォルダ名変更であれば、操作対象のフォルダとして、名前変更前のフォルダ名、及び、名前変更後のフォルダ名が設定される。   The detection unit 61 of the backup processing unit 6 receives the packet addressed to the file server 2 copied from the packet capture device 9. For the operation instruction set in the copied packet, the type of operation of the file or folder, the file or folder to be operated, the IP address of the user terminal 1 that transmitted the operation instruction, and the user terminal 1 are used. The login name information is set. If the operation is file creation, overwriting, or deletion, the file name of the created, overwritten, or deleted file is set as the operation target file. If the operation is a file name change, the file name before the name change and the file name after the name change are set as the operation target file. If the operation is a folder name change, the folder name before the name change and the folder name after the name change are set as the operation target folder.

バックアップ処理部6の検出部61が、複製されたファイルサーバ2宛のパケットに含まれる操作指示から、ファイルの作成、上書または削除、あるいは、ファイル名の変更、フォルダ名の変更を検出すると(ステップS23)、バックアップファイル生成部62が、当該パケットから取得した操作対象ファイルや操作対象フォルダ等の情報に基づき、バックアップファイルを生成してバックアップ記憶部4のバックアップ記憶領域に書込み(ステップS24)、テーブル更新部63が、テーブル記憶部5に記憶されているバックアップ管理テーブル、フォルダ名変更管理テーブルを更新する(ステップS25)。   When the detection unit 61 of the backup processing unit 6 detects creation, overwriting or deletion of a file, change of a file name, or change of a folder name from an operation instruction included in the copied packet addressed to the file server 2 ( In step S23), the backup file generation unit 62 generates a backup file based on the information on the operation target file and the operation target folder acquired from the packet, and writes the backup file in the backup storage area of the backup storage unit 4 (step S24). The table update unit 63 updates the backup management table and folder name change management table stored in the table storage unit 5 (step S25).

次に、ファイル管理装置の動作について説明する。   Next, the operation of the file management apparatus will be described.

図7は、ファイル管理システムにおけるファイル生成時の処理を説明する図である。
ステップS101:同図において、まず、ファイルサーバ2のファイル操作部22は、ユーザ端末1から、新たなファイルの作成指示を受信し、指示されたファイルを記憶部21に書き込む。ここでは、ファイルサーバ2のファイル操作部22が、記憶部21に生成されているフォルダ「/TEST」の配下に、内容aが記述されているファイル「Sample.txt」を新規に書き込んだとする。
FIG. 7 is a diagram for explaining processing at the time of file generation in the file management system.
Step S101: In the figure, first, the file operation unit 22 of the file server 2 receives an instruction to create a new file from the user terminal 1, and writes the instructed file in the storage unit 21. Here, it is assumed that the file operation unit 22 of the file server 2 newly writes a file “Sample.txt” in which the content a is described under the folder “/ TEST” generated in the storage unit 21. .

ステップS102:バックアップ処理部6の検出部61は、ファイルサーバ2のファイル操作部22から出力されたログ、あるいは、パケットキャプチャ装置9によりキャプチャされたパケットからファイルの作成を検出する。検出部61によりファイルの作成が検出されると、バックアップファイル生成部62は、バックアップ領域に、作成されたファイル「/TEST/Sample.txt」をフォルダの階層構造(ディレクトリ)を含めてコピーし、バックアップファイルを作成する。このバックアップファイルのファイル名は、コピーしたファイル名の拡張子に「...」+「子番号」を付加したものとする。バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP」の配下に、「/TEST/Sample.txt」のバックアップファイルが存在しないことから、バックアップファイル生成部62は、子番号として「0」を付与する。従って、バックアップファイル生成部62は、バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP」の配下に、ファイルサーバ2に記憶されているファイル「/TEST/Sample.txt」をコピーしたファイル「/TEST/Sample.txt...0」を作成する。   Step S102: The detection unit 61 of the backup processing unit 6 detects the creation of a file from the log output from the file operation unit 22 of the file server 2 or the packet captured by the packet capture device 9. When the creation of the file is detected by the detection unit 61, the backup file generation unit 62 copies the created file “/TEST/Sample.txt” including the folder hierarchy (directory) to the backup area, Create a backup file. It is assumed that the file name of this backup file is obtained by adding “...” + “child number” to the extension of the copied file name. Since the backup file “/TEST/Sample.txt” does not exist under the folder “/ BACKUP” in the backup area generated in the backup storage unit 4, the backup file generation unit 62 sets “0” as the child number. Is given. Therefore, the backup file generation unit 62 copies the file “/TEST/Sample.txt” stored in the file server 2 under the folder “/ BACKUP” in the backup area generated in the backup storage unit 4. Create the file “/TEST/Sample.txt...0”.

ステップS103:次に、バックアップ処理部6のテーブル更新部63は、バックアップ管理テーブルを更新する。テーブル更新部63は、新たな管理IDを割り当てると、割り当てた当該管理番号、ファイルが作成された時刻を設定したファイル更新時刻、操作対象ファイル、すなわち、ファイルサーバ2の記憶部21に作成されたファイルのファイル名「/TEST/Sample.txt」、IPアドレス、ログインユーザ、及び、バックアップ記憶部4のバックアップ領域のフォルダ「/BACKUP」の配下に作成されたバックアップファイルのファイル名「/TEST/Sample.txt...0」を設定したレコードをバックアップ管理テーブルに登録する。なお、バックアップ管理テーブルに設定するバックアップファイルのフォルダ名では、バックアップ領域のフォルダ名「/BACKUP」を省略している。ファイル更新時刻、IPアドレス、ログインユーザは、ログあるいはキャプチャされたパケットから取得するが、ファイル更新時刻は現在時刻を設定してもよい。   Step S103: Next, the table updating unit 63 of the backup processing unit 6 updates the backup management table. When the table update unit 63 assigns a new management ID, the assigned management number, the file update time in which the file creation time is set, the operation target file, that is, the file created in the storage unit 21 of the file server 2 are created. File name “/TEST/Sample.txt”, IP address, login user, and the file name “/ TEST / Sample” of the backup file created under the folder “/ BACKUP” in the backup area of the backup storage 4 Register a record with ".txt ... 0" set in the backup management table. In the backup file folder name set in the backup management table, the folder name “/ BACKUP” of the backup area is omitted. The file update time, IP address, and logged-in user are acquired from the log or the captured packet, but the current time may be set as the file update time.

図8は、ファイル管理システムにおけるファイル上書時の処理を説明する図である。
ステップS111:図7の処理の後、ファイルサーバ2のファイル操作部22は、ユーザ端末1から指示を受け、記憶部21に記憶されているファイルを上書きする。ここでは、ファイルサーバ2のファイル操作部22が、記憶部21に記憶されているファイル「/TEST/Sample.txt」を、内容aが記述されているものから、内容bが記述されているものに上書したとする。
FIG. 8 is a diagram for explaining processing at the time of overwriting a file in the file management system.
Step S111: After the processing of FIG. 7, the file operation unit 22 of the file server 2 receives an instruction from the user terminal 1 and overwrites the file stored in the storage unit 21. Here, the file operation unit 22 of the file server 2 has the file “/TEST/Sample.txt” stored in the storage unit 21 from the content a described to the content b described. Suppose that

ステップS112:バックアップ処理部6の検出部61は、ファイルサーバ2のファイル操作部22から出力されたログ、あるいは、パケットキャプチャ装置9によりキャプチャされたパケットからファイルの上書を検出する。検出部61によりファイルの上書が検出されると、バックアップファイル生成部62は、バックアップ領域に、階層構造のフォルダを含めて上書されたファイルをコピーし、バックアップファイルを作成する。バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP」の配下に、「/TEST/Sample.txt」のバックアップファイルがすでに生成されおり、その子番号が「0」であることから、バックアップファイル生成部62は、バックアップファイル名の子番号として「1」を付与する。従って、バックアップファイル生成部62は、バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP」の配下に、ファイルサーバ2に記憶されている、内容bのファイル「/TEST/Sample.txt」をコピーしたファイル「/TEST/Sample.txt...1」を作成する。   Step S112: The detection unit 61 of the backup processing unit 6 detects the overwriting of the file from the log output from the file operation unit 22 of the file server 2 or the packet captured by the packet capture device 9. When the detection unit 61 detects overwriting of the file, the backup file generation unit 62 copies the overwritten file including the hierarchical folder to the backup area to create a backup file. The backup file “/TEST/Sample.txt” has already been generated under the folder “/ BACKUP” in the backup area created in the backup storage unit 4, and its child number is “0”. The file generation unit 62 assigns “1” as a child number of the backup file name. Therefore, the backup file generation unit 62 stores the file “/TEST/Sample.txt” of the content b stored in the file server 2 under the folder “/ BACKUP” of the backup area generated in the backup storage unit 4. "/TEST/Sample.txt...1" is created.

ステップS113:続いて、バックアップ処理部6のテーブル更新部63は、バックアップ管理テーブルを更新する。テーブル更新部63は、新たな管理IDを割り当てると、当該管理番号と、ファイルが上書された時刻を設定したファイル更新時刻と、操作対象のファイル、つまり、ファイルサーバ2の記憶部21内の上書されたファイルのファイル名「/TEST/Sample.txt」、IPアドレス、ログインユーザ、及び、バックアップ記憶部4のバックアップ領域のフォルダ「/BACKUP」配下に作成されたバックアップファイルのファイル名「/TEST/Sample.txt...1」を設定したレコードをバックアップ管理テーブルに登録する。ファイル更新時刻、IPアドレス、ログインユーザは、ログあるいはキャプチャされたパケットから取得するが、ファイル更新時刻は現在時刻を設定してもよい。   Step S113: Subsequently, the table update unit 63 of the backup processing unit 6 updates the backup management table. When a new management ID is assigned, the table update unit 63 assigns the management number, the file update time in which the time when the file was overwritten, the operation target file, that is, the storage unit 21 of the file server 2. The file name “/TEST/Sample.txt” of the overwritten file, the IP address, the login user, and the file name “/ BACKUP” of the backup file created under the folder “/ BACKUP” in the backup area of the backup storage unit 4 Register the record with "TEST / Sample.txt ... 1" set in the backup management table. The file update time, IP address, and logged-in user are acquired from the log or the captured packet, but the current time may be set as the file update time.

図9は、ファイル管理システムにおけるファイル削除時の処理を説明する図である。
ステップS121:ファイルサーバ2のファイル操作部22は、ユーザ端末1から指示を受け、記憶部21に記憶されているファイルを削除する。ここでは、図8の処理の後、記憶部21に記憶されているファイル「/TEST/Sample.txt」が削除されたものとする。
FIG. 9 is a diagram for explaining processing at the time of file deletion in the file management system.
Step S121: The file operation unit 22 of the file server 2 receives an instruction from the user terminal 1 and deletes the file stored in the storage unit 21. Here, it is assumed that the file “/TEST/Sample.txt” stored in the storage unit 21 is deleted after the processing of FIG.

ステップS122:バックアップ処理部6の検出部61は、ファイルサーバ2のファイル操作部22から出力されたログ、あるいは、パケットキャプチャ装置9によりキャプチャされたパケットからファイル「/TEST/Sample.txt」の削除を検出する。   Step S122: The detection unit 61 of the backup processing unit 6 deletes the file “/TEST/Sample.txt” from the log output from the file operation unit 22 of the file server 2 or from the packet captured by the packet capture device 9. Is detected.

ステップS123:検出部61によりファイルの削除が検出されると、バックアップファイル生成部62は、バックアップ領域に削除を示すダミーファイル(以下、削除用ダミーファイルと記載)を作成する。この削除用ダミーファイルのファイル名は、削除されたファイル名の拡張子に「...d...」+「子番号」を付加したものとする。バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP」の配下に、「/TEST/Sample.txt」の削除用ダミーファイルが存在しないことから、バックアップファイル生成部62は、子番号として「0」を付与する。従って、バックアップファイル生成部62は、バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP」の配下に、ファイル名が「/TEST/Sample.txt...d...0」である削除用ダミーファイルを作成する。削除用ダミーファイルには、内容が記述されていない。   Step S123: When deletion of the file is detected by the detection unit 61, the backup file generation unit 62 creates a dummy file indicating deletion in the backup area (hereinafter referred to as a deletion dummy file). The file name of the dummy file for deletion is assumed to be obtained by adding “... d ...” + “child number” to the extension of the deleted file name. Since there is no dummy file for deletion of “/TEST/Sample.txt” under the folder “/ BACKUP” in the backup area generated in the backup storage unit 4, the backup file generation unit 62 uses the child number as a child number. “0” is assigned. Therefore, the backup file generation unit 62 has the file name “/TEST/Sample.txt...d...0” under the folder “/ BACKUP” in the backup area generated in the backup storage unit 4. Create a deletion dummy file. The contents are not described in the dummy file for deletion.

ステップS124:続いて、バックアップ処理部6のテーブル更新部63は、バックアップ管理テーブルを更新する。テーブル更新部63は、新たな管理IDを割り当てると、当該管理IDと、ファイルが削除された時刻を設定したファイル更新時刻と、操作対象のファイル、つまり、ファイルサーバ2の21から削除されたファイルのファイル名「/TEST/Sample.txt」、IPアドレス、ログインユーザ、及び、バックアップ記憶部4に作成された削除用ダミーファイルのファイル名「/TEST/Sample.txt...d...0」を設定したレコードをバックアップ管理テーブルに登録する。ファイル更新時刻、IPアドレス、ログインユーザは、ログあるいはキャプチャされたパケットから取得するが、ファイル更新時刻は現在時刻を設定してもよい。   Step S124: Subsequently, the table update unit 63 of the backup processing unit 6 updates the backup management table. When the table update unit 63 assigns a new management ID, the management ID, the file update time in which the time when the file was deleted, and the file to be operated, that is, the file deleted from the file server 2 21 are stored. File name “/TEST/Sample.txt”, IP address, login user, and file name of the dummy file for deletion created in the backup storage unit 4 “/TEST/Sample.txt...d...0 "Is registered in the backup management table. The file update time, IP address, and logged-in user are acquired from the log or the captured packet, but the current time may be set as the file update time.

なお、図9の後、ファイルサーバ2の記憶部21に「/TEST/Sample.txt」が再び作成された場合、ファイル操作部22は、当該ファイルをコピーしたバックアップファイル名「/BACKUP/TEST/Sample.txt...2」のバックアップファイルを作成し、この再び作成されたファイル「/TEST/Sample.txt」が削除された場合、削除用ダミーファイル「/BACKUP/TEST/Sample.txt...d...1」を生成する。   When “/TEST/Sample.txt” is created again in the storage unit 21 of the file server 2 after FIG. 9, the file operation unit 22 copies the backup file name “/ BACKUP / TEST / If a backup file of `` Sample.txt ... 2 '' is created and this re-created file `` /TEST/Sample.txt '' is deleted, the dummy file for deletion `` /BACKUP/TEST/Sample.txt .. .d ... 1 ".

図10は、ファイル管理システムにおけるファイル名変更時の処理を説明する図である。
ステップS131:ファイルサーバ2のファイル操作部22が、ユーザ端末1から指示を受け、記憶部21に記憶されているファイルの名前を変更する。ここでは、図7の処理の後、ファイルサーバ2のファイル操作部22が、記憶部21に記憶されているファイル「/TEST」の配下のファイル「Sample.txt」の名前を、「Sample2.txt」に変更したとする。
FIG. 10 is a diagram for explaining processing when a file name is changed in the file management system.
Step S131: The file operation unit 22 of the file server 2 receives an instruction from the user terminal 1, and changes the name of the file stored in the storage unit 21. Here, after the processing in FIG. 7, the file operation unit 22 of the file server 2 renames the file “Sample.txt” under the file “/ TEST” stored in the storage unit 21 to “Sample2.txt”. ”.

ステップS132:バックアップ処理部6の検出部61は、ファイルサーバ2のファイル操作部22から出力されたログ、あるいは、パケットキャプチャ装置9によりキャプチャされたパケットからファイル名変更を検出する。検出部61によりファイル名の変更が検出されると、バックアップファイル生成部62は、バックアップ領域に、階層構造のフォルダを含めてファイル名変更後のファイル「/TEST/Sample2.txt」をコピーし、バックアップファイルを作成する。バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP」の配下に、「/TEST/Sample2.txt」のバックアップファイルが生成されていないことから、バックアップファイル生成部62は、子番号として「0」を付与する。従って、バックアップファイル生成部62は、バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP」の配下に、ファイルサーバ2に記憶されているファイル「/TEST/Sample2.txt」をコピーしたバックアップファイル名「/TEST/Sample2.txt...0」を作成する。   Step S132: The detection unit 61 of the backup processing unit 6 detects a file name change from the log output from the file operation unit 22 of the file server 2 or the packet captured by the packet capture device 9. When the change of the file name is detected by the detection unit 61, the backup file generation unit 62 copies the file “/TEST/Sample2.txt” after the file name change including the hierarchical folder to the backup area, Create a backup file. Since the backup file “/TEST/Sample2.txt” is not generated under the folder “/ BACKUP” in the backup area generated in the backup storage unit 4, the backup file generation unit 62 sets the child number as a child number. “0” is assigned. Therefore, the backup file generation unit 62 copies the file “/TEST/Sample2.txt” stored in the file server 2 under the folder “/ BACKUP” in the backup area generated in the backup storage unit 4. Create a backup file name "/TEST/Sample2.txt...0".

ステップS133:続いてバックアップファイル生成部62は、バックアップ領域に、ファイル名変更前のファイル「/TEST/Sample.txt」の削除が検出されたものとして、内部で削除信号を発生させる。これにより、バックアップファイル生成部62は、削除用ダミーファイルを作成する。バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP」の配下に、「/TEST/Sample.txt」の削除用ダミーファイルが存在しないことから、バックアップファイル生成部62は、子番号として「0」を付与する。従って、バックアップファイル生成部62は、バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP」の配下に、削除用ダミーファイル「/TEST/Sample.txt...d...0」を作成する。この、作成した削除用ダミーファイルの内容は、ファイルサーバ2の記憶部21に記憶されているファイル名変更後のファイル「/TEST/Sample2.txt」のコピーである。   Step S133: Subsequently, the backup file generation unit 62 internally generates a deletion signal on the assumption that the deletion of the file “/TEST/Sample.txt” before the file name change is detected in the backup area. As a result, the backup file generation unit 62 creates a deletion dummy file. Since there is no dummy file for deletion of “/TEST/Sample.txt” under the folder “/ BACKUP” in the backup area generated in the backup storage unit 4, the backup file generation unit 62 uses the child number as a child number. “0” is assigned. Therefore, the backup file generation unit 62 deletes the dummy file “/TEST/Sample.txt...d...0” under the backup area folder “/ BACKUP” generated in the backup storage unit 4. Create The content of the created deletion dummy file is a copy of the file “/TEST/Sample2.txt” after the file name change stored in the storage unit 21 of the file server 2.

ステップS134:バックアップ処理部6のテーブル更新部63は、バックアップ管理テーブルを更新する。テーブル更新部63は、新たな管理IDを割り当てると、当該管理番号と、ファイル名が変更された時刻を設定したファイル更新時刻と、変更前のファイル名「/TEST/Sample.txt」、IPアドレス、ログインユーザ、及び、削除用ダミーファイルのファイル名「/TEST/Sample.txt...d...0」を設定したレコードをバックアップ管理テーブルに登録する。さらにテーブル更新部63は、新たな管理IDを割り当てると、当該管理番号と、ファイル名が変更された時刻を設定したファイル更新時刻と、変更後のファイル名「/TEST/Sample2.txt」、IPアドレス、ログインユーザ、及び、バックアップファイルのファイル名「/TEST/Sample2.txt...0」を設定したレコードをバックアップ管理テーブルに登録する。
なお、ファイル更新時刻、IPアドレス、ログインユーザは、ログあるいはキャプチャされたパケットから取得するが、ファイル更新時刻は現在時刻を設定してもよい。
上記のように、ファイル名変更のときには、ファイル名変更前のファイルを削除し、ファイル名変更後のファイルを作成したときと同等の処理を行なう。
Step S134: The table update unit 63 of the backup processing unit 6 updates the backup management table. When a new management ID is assigned, the table update unit 63 assigns the management number, the file update time in which the file name is changed, the file name “/TEST/Sample.txt” before the change, the IP address , Log-in user, and record with the file name “/TEST/Sample.txt...d...0” of the dummy file for deletion registered in the backup management table. Furthermore, when a new management ID is assigned, the table update unit 63 assigns the management number, the file update time in which the file name is changed, the changed file name “/TEST/Sample2.txt”, IP Register the record in which the address, login user, and backup file name “/TEST/Sample2.txt...0” are set in the backup management table.
The file update time, IP address, and logged-in user are acquired from the log or captured packet, but the current time may be set as the file update time.
As described above, when changing the file name, the file before the file name change is deleted, and the same processing as when the file after the file name change is created is performed.

図11及び図12は、ファイル管理システムにおけるフォルダ名変更時の処理を説明する図である。   FIG. 11 and FIG. 12 are diagrams for explaining processing when a folder name is changed in the file management system.

図11は、ファイル管理システムによるフォルダ名変更時の暫定対処処理を説明するための図である。
ステップS141:同図において、ファイル操作部22が、ユーザ端末1から指示を受け、記憶部21に記憶されているファイルのフォルダ名を変更する。ここでは、ファイルサーバ2の記憶部21に、「Sample.txt」が存在するフォルダ「/TEST/FOLDER_1」が記憶されており、ユーザ端末1からの指示を受けたファイル操作部22が、フォルダ名「FOLDER_1」をフォルダ名「FOLDER_A」に変更したとする。
FIG. 11 is a diagram for explaining provisional countermeasure processing when a folder name is changed by the file management system.
Step S141: In the figure, the file operation unit 22 receives an instruction from the user terminal 1 and changes the folder name of the file stored in the storage unit 21. Here, the folder “/ TEST / FOLDER_1” in which “Sample.txt” exists is stored in the storage unit 21 of the file server 2, and the file operation unit 22 that receives an instruction from the user terminal 1 stores the folder name. Suppose you change "FOLDER_1" to the folder name "FOLDER_A".

ステップS142:バックアップ処理部6の検出部61は、ファイルサーバ2のファイル操作部22から出力されたログ、あるいは、パケットキャプチャ装置9によりキャプチャされたパケットからフォルダ名の変更を検出する。   Step S142: The detection unit 61 of the backup processing unit 6 detects the change of the folder name from the log output from the file operation unit 22 of the file server 2 or the packet captured by the packet capture device 9.

ステップS143:検出部61によりフォルダ名の変更が検出されると、バックアップファイル生成部62は、バックアップ領域に、フォルダ名の変更を示すダミーファイル(以下、「フォルダ名変更用ダミーファイル」と記載)を生成する。このフォルダ名変更用ダミーファイルは、フォルダ名が変更されたフォルダより上流のフォルダの配下であり、ファイル名を「変更前フォルダ名」+「...r...」+「変更後フォルダ名」+「...」+「子番号」とする。バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP/TEST」の配下にフォルダ名変更用ダミーファイルが存在しないことから、バックアップファイル生成部62は、子番号として「0」を付与する。従って、バックアップファイル生成部62は、バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP」の配下に、ファイル名が「/TEST/FOLDER_1...r...FOLDER_A...0」であるフォルダ名変更用ダミーファイルを作成する。フォルダ名変更用ダミーファイルには、内容が記述されていない。   Step S143: When the change of the folder name is detected by the detection unit 61, the backup file generation unit 62 displays a dummy file indicating the change of the folder name in the backup area (hereinafter referred to as “dummy file for changing the folder name”). Is generated. This dummy file for folder name change is under the folder upstream from the folder whose folder name has been changed, and the file name is "folder name before change" + "... r ..." + "folder name after change "+" ... "+" child number ". Since there is no folder name changing dummy file under the folder “/ BACKUP / TEST” in the backup area generated in the backup storage unit 4, the backup file generation unit 62 assigns “0” as a child number. . Therefore, the backup file generation unit 62 has the file name “/TEST/FOLDER_1...r...FOLDER_A...0 under the backup area folder“ / BACKUP ”generated in the backup storage unit 4. A dummy file for changing the folder name is created. The contents are not described in the dummy file for folder name change.

ステップS144:次に、バックアップ処理部6のテーブル更新部63は、フォルダ名変更管理テーブルを更新する。テーブル更新部63は、新たな管理IDを割り当てると、当該管理ID、フォルダ名変更時刻、変更前フォルダ名「/TEST/FOLDER_1」、IPアドレス、ログインユーザ、変更後フォルダ名「/TEST/FOLDER_A」を設定したレコードをフォルダ名変更管理テーブルに登録する。フォルダ名変更時刻、変更前フォルダ名及び変更後フォルダ名、IPアドレス、ログインユーザは、ログあるいはキャプチャされたパケットから取得するが、フォルダ名変更時刻は現在時刻を設定してもよい。   Step S144: Next, the table update unit 63 of the backup processing unit 6 updates the folder name change management table. When the table update unit 63 assigns a new management ID, the management ID, the folder name change time, the pre-change folder name “/ TEST / FOLDER_1”, the IP address, the login user, and the post-change folder name “/ TEST / FOLDER_A” Register the record with the name in the folder name change management table. The folder name change time, the pre-change folder name, the post-change folder name, the IP address, and the login user are acquired from the log or the captured packet, but the current time may be set as the folder name change time.

なお、その後さらに、ファイルサーバ2の記憶部21に記憶されているフォルダ「/TEST/FOLDER_A」のフォルダ名「FOLDER_A」が「FOLDER_B」に変更された場合、バックアップ処理部6の検出部61が、ファイルサーバ2のファイル操作部22から出力されたログ、あるいは、パケットキャプチャ装置9によりキャプチャされたパケットからフォルダ名の変更を検出する。バックアップファイル生成部62は、バックアップ記憶部4に生成されているバックアップ領域のフォルダ「/BACKUP」の配下に、ファイル名が「/TEST/FOLDER_A...r...FOLDER_B...x」(xは子番号)であるフォルダ名変更用ダミーファイルを作成する。バックアップ処理部6のテーブル更新部63は、新たな管理IDを割り当てると、当該管理ID、フォルダ名変更時刻、変更前フォルダ名「/TEST/FOLDER_A」、IPアドレス、ログインユーザ、変更後フォルダ名「/TEST/FOLDER_B」を設定したレコードをフォルダ名変更管理テーブルに登録する。   If the folder name “FOLDER_A” of the folder “/ TEST / FOLDER_A” stored in the storage unit 21 of the file server 2 is subsequently changed to “FOLDER_B”, the detection unit 61 of the backup processing unit 6 The change of the folder name is detected from the log output from the file operation unit 22 of the file server 2 or the packet captured by the packet capture device 9. The backup file generation unit 62 has a file name “/TEST/FOLDER_A...r...FOLDER_B...x” under the backup area folder “/ BACKUP” generated in the backup storage unit 4 ( Create a dummy file for changing the folder name, where x is a child number. When the table updating unit 63 of the backup processing unit 6 assigns a new management ID, the management ID, folder name change time, pre-change folder name “/ TEST / FOLDER_A”, IP address, login user, post-change folder name “ Register the record with "/ TEST / FOLDER_B" set in the folder name change management table.

フォルダ名が変更された場合、そのフォルダの配下のファイルにも影響が及ぶ。つまり、名前が変更されたフォルダの配下にある全てのファイルについて、新たなフォルダ名を用いたバックアップファイルを生成する必要がある。しかし、フォルダの配下に存在するファイル数が多い場合、そのバックアップファイル生成処理に時間がかかってしまう。そこで、フォルダ名変更直後は、上記のようにフォルダ名変更用ダミーファイルを生成するとともに、フォルダ名変更管理テーブルにフォルダ名変更を登録しておき、稼働率の低い時間帯などに、以下のようなフォルダ名変更の恒久対処を行なう。   If the folder name is changed, the files under that folder are also affected. That is, it is necessary to generate a backup file using a new folder name for all files under the renamed folder. However, if there are many files under the folder, the backup file generation process takes time. Therefore, immediately after the folder name is changed, a folder name change dummy file is generated as described above, and the folder name change is registered in the folder name change management table. To deal with permanent folder name changes.

図12は、ファイル管理システムにおけるフォルダ名変更時の恒久対処処理を説明するための図である。
ステップS151:同図において、バックアップ処理部6のバックアップファイル生成部62は、稼働率の低い所定の時刻に、内部で書替え信号を発生させる。バックアップファイル生成部62は、書替え信号の受信を契機に、テーブル記憶部5内のフォルダ名変更管理テーブルからレコードを読み出す。ここでは、フォルダ名変更時刻「T2」、変更前フォルダ名「/TEST/FOLDER_1」、変更後フォルダ名「/TEST/FOLDER_A」が設定されているレコードを読み出したものとする。
FIG. 12 is a diagram for explaining a permanent handling process when a folder name is changed in the file management system.
Step S151: In the figure, the backup file generation unit 62 of the backup processing unit 6 internally generates a rewrite signal at a predetermined time when the operation rate is low. The backup file generation unit 62 reads a record from the folder name change management table in the table storage unit 5 when receiving the rewrite signal. Here, it is assumed that a record in which the folder name change time “T2”, the pre-change folder name “/ TEST / FOLDER_1”, and the post-change folder name “/ TEST / FOLDER_A” are set is read.

バックアップファイル生成部62は、バックアップ管理テーブルを参照し、読み出したレコードに設定されている変更前フォルダ名「/TEST/FOLDER_1」配下の対象ファイルを特定する。そして、特定した各対象ファイルについて、以下を行なう。   The backup file generation unit 62 refers to the backup management table and identifies the target file under the pre-change folder name “/ TEST / FOLDER_1” set in the read record. Then, the following is performed for each identified target file.

バックアップファイル生成部62は、当該対象ファイルが設定されているバックアップ管理テーブルのレコードのうち、ファイル更新時刻がフォルダ変更時刻「T2」より前であり、かつ、最も新しい時刻であるレコードを選択する。例えば、対象ファイル名「/TEST/FOLDER_1/File1.txt」について、ファイル更新時刻がフォルダ変更時刻「T2」前であり、時刻が古い順に、バックアップファイル名「/TEST/FOLDER_1/File1.txt...0」、…、「/TEST/FOLDER_1/File1.txt...d...0」、…「/TEST/FOLDER_1/File1.txt...5」が設定されているレコードが検出された場合、「/TEST/FOLDER_1/File1.txt...5」が設定されているレコードを選択する。また、対象ファイル名「/TEST/FOLDER_1/File3.txt」について、ファイル更新時刻がフォルダ変更時刻「T2」前であり、時刻が古い順に、バックアップファイル名「/TEST/FOLDER_1/File3.txt...0」、…、「/TEST/FOLDER_1/File3.txt...d...0」が設定されているレコードが検出された場合、「/TEST/FOLDER_1/File3.txt...d...0」が設定されているレコードを選択する。
ここでは、「/TEST/FOLDER_1/Sample.txt...0」が設定されているレコードのみが選択されたものとする。
The backup file generation unit 62 selects a record in which the file update time is before the folder change time “T2” and the latest time among the records of the backup management table in which the target file is set. For example, for the target file name “/TEST/FOLDER_1/File1.txt”, the file update time is before the folder change time “T2”, and the backup file name “/TEST/FOLDER_1/File1.txt .. .0 ”,…,“ /TEST/FOLDER_1/File1.txt...d...0 ”,…“ /TEST/FOLDER_1/File1.txt...5 ”is detected. Select a record with "/TEST/FOLDER_1/File1.txt...5" set. For the target file name “/TEST/FOLDER_1/File3.txt”, the file update time is before the folder change time “T2”, and the backup file name “/TEST/FOLDER_1/File3.txt .. .0 ", ...," /TEST/FOLDER_1/File3.txt...d...0 "is detected, a record with" /TEST/FOLDER_1/File3.txt...d. Select a record with "..0" set.
Here, it is assumed that only the record in which “/TEST/FOLDER_1/Sample.txt...0” is set is selected.

バックアップファイル生成部62は、選択したレコードに設定されているバックアップファイル名が削除用ダミーファイルのファイル名である場合、フォルダ名変更前に削除されたファイルであるため、何もせず終了する。バックアップファイル名が削除用ダミーファイルのファイル名ではない場合、ステップS152以降の処理を行う。   When the backup file name set in the selected record is the file name of the dummy file for deletion, the backup file generation unit 62 terminates without doing anything because the file has been deleted before the folder name is changed. If the backup file name is not the file name of the dummy file for deletion, the process from step S152 is performed.

ステップS152:バックアップファイル生成部62は、特定したバックアップファイルに対応した削除用ダミーファイルを生成し、同フォルダに書き込む。つまり、特定したバックアップファイル名「/BACKUP/TEST/FOLDER_1/Sample.txt...0」をコピーし、削除用ダミーファイルを作成する。この削除用ダミーファイルの名前は、拡張子以下の部分「...」+「子番号」を、「...d...」+「子番号」に置き換えたものとする。「/BACKUP/TEST/FOLDER_1」の配下には、同じ対象ファイルについての削除用ダミーファイルが生成されていないため、子番号に「0」を割り当て、ファイル名を「/BACKUP/TEST/FOLDER_1/Sample.txt...d...0」とする。これは、ファイルサーバ2の記憶部21に記憶されている「/TEST/FOLDER_1/Sample.txt」が削除されたことを示す削除用ダミーファイルに相当する。   Step S152: The backup file generation unit 62 generates a deletion dummy file corresponding to the specified backup file and writes it in the same folder. That is, the specified backup file name “/BACKUP/TEST/FOLDER_1/Sample.txt...0” is copied and a dummy file for deletion is created. It is assumed that the name of the dummy file for deletion is obtained by replacing the part “...” + “child number” below the extension with “... d ...” + “child number”. Since there is no deletion dummy file for the same target file under “/ BACKUP / TEST / FOLDER_1”, assign “0” to the child number and assign the file name to “/ BACKUP / TEST / FOLDER_1 / Sample” .txt ... d ... 0 ". This corresponds to a deletion dummy file indicating that “/ TEST / FOLDER — 1 / Sample.txt” stored in the storage unit 21 of the file server 2 has been deleted.

さらに、バックアップファイル生成部62は、フォルダ名変更管理テーブルより読み出したレコードから変更後フォルダ名「/TEST/FOLDER_A」を取得する。バックアップ処理部6は、バックアップ記憶部4のバックアップ領域「/BACKUP」の配下に、フォルダ名変更後のバックアップファイルを作成する。つまり、バックアップファイル生成部62は、上記において特定したバックアップファイルをコピーし、変更前フォルダ名を変更後フォルダ名に変更するとともに、バージョンの数字の部分を「0」に変更したファイル名により、バックアップ領域のフォルダに書き込む。ここでは、「/BACKUP/TEST/FOLDER_1/Sample.txt...0」が特定されたため、「TEST/FOLDER_1」を「TEST/FOLDER_A」に置き換えたバックアップファイル名「/BACKUP/TEST/FOLDER_A/Sample.txt...0」のバックアップファイルが作成される。
なお、例えば、特定したバックアップファイルが「/BACKUP/TEST/FOLDER_1/File1.txt...5」であれば、ファイル名「/BACKUP/TEST/FOLDER_A/File1.txt...0」のバックアップファイルが作成されることになる。
Further, the backup file generation unit 62 acquires the changed folder name “/ TEST / FOLDER_A” from the record read from the folder name change management table. The backup processing unit 6 creates a backup file after changing the folder name under the backup area “/ BACKUP” of the backup storage unit 4. In other words, the backup file generation unit 62 copies the backup file specified above, changes the folder name before change to the folder name after change, and backs up the file by changing the numeric part of the version to “0”. Write to the folder of the area. Here, “/BACKUP/TEST/FOLDER_1/Sample.txt...0” was identified, so the backup file name “/ BACKUP / TEST / FOLDER_A / Sample” was replaced by “TEST / FOLDER_1” with “TEST / FOLDER_A”. A backup file of “.txt ... 0” is created.
For example, if the specified backup file is "/BACKUP/TEST/FOLDER_1/File1.txt...5", the backup file with the file name "/BACKUP/TEST/FOLDER_A/File1.txt...0" Will be created.

ステップS153:続いて、バックアップ処理部6のテーブル更新部63は、新たな管理IDを割り当てると、当該管理ID、ファイル更新時刻、フォルダ名変更前のファイルのファイル名「/TEST/FOLDER_1/Sample.txt」、IPアドレス、ログインユーザ、及び、生成した削除用ダミーファイルのファイル名「/TEST/FOLDER_1/Sample.txt... d...0」を設定したレコードをバックアップ管理テーブルに登録する。ファイル更新時刻には、ステップS151においてフォルダ名変更管理テーブルから読み出したレコードに設定されているフォルダ名変更時刻「T2」が設定される。
さらに、テーブル更新部63は、新たな管理IDを割り当てると、当該管理ID、ファイル更新時刻、フォルダ名変更後のファイル名「/TEST/FOLDER_A/Sample.txt」、IPアドレス、ログインユーザ、及び、生成したバックアップファイルのバックアップフォルダ名「/BACKUP」以下のファイル名「/TEST/FOLDER_A/Sample.txt...0」を設定したレコードをバックアップ管理テーブルに登録する。同様に、ファイル更新時刻には、フォルダ名変更時刻「T2」が設定される。
Step S153: Subsequently, when the table updating unit 63 of the backup processing unit 6 assigns a new management ID, the management ID, the file update time, and the file name “/ TEST / FOLDER_1 / Sample. Register a record in which “txt”, IP address, login user, and file name “/TEST/FOLDER_1/Sample.txt...d...0” of the generated dummy file for deletion are set in the backup management table. As the file update time, the folder name change time “T2” set in the record read from the folder name change management table in step S151 is set.
Furthermore, when the table update unit 63 assigns a new management ID, the management ID, the file update time, the file name after the folder name change “/TEST/FOLDER_A/Sample.txt”, the IP address, the login user, and Register the record in which the file name “/TEST/FOLDER_A/Sample.txt...0” under the backup folder name “/ BACKUP” of the generated backup file is set in the backup management table. Similarly, the folder name change time “T2” is set as the file update time.

バックアップファイル生成部62は、変更前フォルダ「/TEST/FOLDER_1」配下の対象ファイル全てについて上記の処理を終えると、バックアップ領域の「/BACKUP」配下の変更前フォルダ「/TEST/FOLDER_1」に存在するフォルダ変更用ダミーファイル「FOLDER_1...r...FOLDER_A...0」を削除する。さらに、テーブル更新部63は、バックアップ管理テーブルから、ステップS151において特定したレコード、つまり、変更前フォルダ名「/TEST/FOLDER_1」と変更後フォルダ名「/TEST/FOLDER_2」が登録されているレコードを削除する。   When the above processing is completed for all target files under the pre-change folder “/ TEST / FOLDER_1”, the backup file generation unit 62 exists in the pre-change folder “/ TEST / FOLDER_1” under “/ BACKUP” in the backup area. Delete the folder change dummy file "FOLDER_1 ... r ... FOLDER_A ... 0". Furthermore, the table update unit 63 records the record specified in step S151 from the backup management table, that is, the record in which the folder name before change “/ TEST / FOLDER_1” and the folder name after change “/ TEST / FOLDER_2” are registered. delete.

フォルダ名変更管理テーブルが肥大化すると、処理が増大し、検索を行ったときのファイル一覧の表示に時間がかかってしまうようになるため、アクセスが少ない時間帯に、上記のように削除用ダミーファイル、及び、バックアップファイルを生成するとともに、バックアップ管理テーブルを縮小させる。   If the folder name change management table grows, processing will increase and it will take time to display the file list when a search is performed. A file and a backup file are generated, and the backup management table is reduced.

図13は、ファイル管理システムにおけるファイル復元処理を説明する図であり、フォルダ名の変更がない場合の処理である。
ステップS161:同図において、ユーザの自身のユーザ端末1からファイル復元部7にアクセスし、所定のフォルダ名により特定されるバックアップ記憶部4内の当該ユーザ用のファイル復元領域に、ファイルを復元したい時点の日時(以下、「復元対象日時」と記載)を指定する。例えば、この復元対象日時は、当該復元対象日時を示すフォルダ作成するための指示を入力する。ここでは、「MM月DD日HH時MM分」時点におけるファイルを復元したい場合、フォルダ「MM_DD_HH_MM」を作成するものとする。従って、復元対象日時が「1月2日15時00分」であれば、フォルダ「01_02_1500」を作成する。なお、ユーザ用のファイル復元領域は、ファイルサーバ2の記憶部21にあってもよく、ファイル復元部7内にあってもよく、ファイル復元部7に接続されるデータベース装置などであってもよい。
FIG. 13 is a diagram for explaining file restoration processing in the file management system, and is processing when there is no change in the folder name.
Step S161: In the figure, the user wants to restore the file to the file restoration area for the user in the backup storage unit 4 specified by a predetermined folder name by accessing the file restoration unit 7 from the user terminal 1 of the user. Specify the date and time (hereinafter referred to as “restoration date and time”). For example, as this restoration target date and time, an instruction for creating a folder indicating the restoration target date and time is input. Here, in order to restore the file at the time “MM month DD date HH hour MM minute”, the folder “MM_DD_HH_MM” is created. Therefore, if the restoration target date and time is “January 2 15:00”, the folder “01_02_1500” is created. The file restoration area for the user may be in the storage unit 21 of the file server 2, may be in the file restoration unit 7, or may be a database device connected to the file restoration unit 7. .

ステップS162:ファイル復元部7の検索部71が、ユーザ端末1からフォルダの作成指示を受信する。あるいは、ファイルサーバ2と同様に、バックアップ記憶部4から操作ログを受信し、フォルダの作成を検出してもよい。ファイル復元部7の検索部71は、テーブル記憶部5内のバックアップ管理テーブルを検索し、復元対象日時よりも前のファイル更新時刻が設定されているレコードを抽出し、この抽出したレコードのうち、同一の対象ファイル名が設定されているものがある場合には、最も復元対象日時に近いレコードのみを残す。これにより、復元対象日時よりも前のファイル更新時刻が設定され、かつ、それぞれに異なる対象ファイル名が設定されているレコードが抽出される。続いて、検索部71は、この抽出したレコードについて順に1レコードずつ選択し、以下の処理を行なう。なお、ここでは、ファイル更新時刻「2009/01/02/1200」、対象ファイル名「/TEST/Sample.txt」、バックアップファイル名「/TEST/Sample.txt...1」が設定されているレコードのみが特定されたとする。   Step S162: The search unit 71 of the file restoration unit 7 receives a folder creation instruction from the user terminal 1. Alternatively, similar to the file server 2, an operation log may be received from the backup storage unit 4 to detect the creation of a folder. The search unit 71 of the file restoration unit 7 searches the backup management table in the table storage unit 5, extracts a record in which the file update time before the restoration target date and time is set, and among the extracted records, If there is a file with the same target file name, only the record closest to the restoration target date and time is left. Thereby, a record in which a file update time before the restoration target date and time is set and a different target file name is set for each is extracted. Subsequently, the search unit 71 selects the extracted records one by one in order, and performs the following processing. In this example, the file update time “2009/01/02/1200”, the target file name “/TEST/Sample.txt”, and the backup file name “/TEST/Sample.txt...1” are set. Suppose that only records are identified.

検索部71は、上記において特定したレコード内に、削除用ダミーファイルのフィアル名が設定されていないと判断すると、当該レコードに設定されている対象ファイル名「/TEST/FOLDER_1/Sample.txt」からパス名「/TEST/FOLDER_1」を読み出し、フォルダ名変更管理テーブルに、読み出したパス名、及び、復元対象日時より前のフォルダ名変更時刻が設定されているレコードがあるかを検索する。ここでは、特定されるレコードがない、つまり、復元対象日時「1月2日15時00分」以前にフォルダ名が変更されたことを示すレコードが登録されていないものとする。フォルダ名が変更されたことを示すレコードが登録されていない場合、以下のステップS163以降の処理を行ない、フォルダ名が変更されたことを示すレコードが登録されている場合、後述する図14の処理を行なうものとする。   If the search unit 71 determines that the file name of the dummy file for deletion is not set in the record specified above, the search unit 71 starts from the target file name “/TEST/FOLDER_1/Sample.txt” set in the record. The path name “/ TEST / FOLDER_1” is read, and the folder name change management table is searched for a record in which the read path name and the folder name change time before the restoration target date and time are set. Here, it is assumed that there is no record to be identified, that is, a record indicating that the folder name has been changed before the restoration target date and time “January 2 15:00” is not registered. If a record indicating that the folder name has been changed is not registered, the following processing in step S163 and subsequent steps is performed. If a record indicating that the folder name has been changed is registered, the process of FIG. Shall be performed.

ステップS163:復元部72は、ステップS161においてユーザが生成したフォルダ「(ユーザ用のファイル復元領域のフォルダ)/01_02_1500」の配下に、特定したレコード内の対象ファイル名で示されるファイル「/TEST/FOLDER_1/Sample.txt」を生成する。そして、復元部72は、この生成した「(ユーザ用のファイル復元領域のフォルダ)/01_02_1500/TEST/Sample.txt」が、当該特定したレコードに設定されている、バックアップ領域「/BACKUP」配下のバックアップファイル名「/TEST/FOLDER_1/Sample.txt...1」のバックアップファイルを参照することを示すシンボリックリンクを作成し、記憶する。   Step S163: The restoration unit 72 stores the file “/ TEST / indicated by the target file name in the specified record under the folder“ (folder of file restoration area for user) / 01_02_1500 ”generated by the user in Step S161. FOLDER_1 / Sample.txt "is generated. Then, the restoration unit 72 generates the “(user file restoration area folder) /01_02_1500/TEST/Sample.txt” under the backup area “/ BACKUP” in which the specified record is set. Create and store a symbolic link indicating that the backup file with the backup file name "/TEST/FOLDER_1/Sample.txt...1" is referenced.

ステップS164:復元部72は、ユーザが生成した「(ユーザ用のファイル復元領域のフォルダ)/01_02_1500」の配下に、「/TEST/FOLDER_1/Sample.txt」のファイルが存在することを示す画面をユーザ端末1に表示させる。ユーザがこのファイルの表示要求をユーザ端末1に入力すると、ファイル復元部7の復元部72は、ユーザ端末1から表示要求とファイル名を受信する。復元部72は、シンボリックリンクに、受信したファイル名「(ユーザ用のファイル復元領域のフォルダ)/01_02_1500/TEST/FOLDER_1/Sample.txt」に対応することが示されているバックアップ領域「/BACKUP」配下のバックアップファイル名「/TEST/FOLDER_1/Sample.txt...1」のバックアップファイルを読み出し、ユーザ端末1へ返送して表示させる。   Step S164: The restoration unit 72 displays a screen indicating that the file “/TEST/FOLDER_1/Sample.txt” exists under the “(user file restoration area folder) / 01_02_1500” generated by the user. It is displayed on the user terminal 1. When the user inputs this file display request to the user terminal 1, the restoration unit 72 of the file restoration unit 7 receives the display request and the file name from the user terminal 1. The restoration unit 72 includes a backup area “/ BACKUP” indicated in the symbolic link corresponding to the received file name “(file restoration area folder for user) /01_02_1500/TEST/FOLDER_1/Sample.txt”. The backup file with the subordinate backup file name “/TEST/FOLDER_1/Sample.txt...1” is read out, returned to the user terminal 1 and displayed.

なお、ステップS161において、復元対象日時「1月3日15時00分」が指定され、ステップS162において、ファイル復元部7の検索部71が、テーブル記憶部5内のバックアップ管理テーブルを検索して、ファイル更新時刻「2009/01/03/1200」、対象ファイル名「/TEST/Sample.txt」、バックアップファイル名「/TEST/Sample.txt...2」が設定されているレコードを特定したものとする。そして、検索部71が、特定したレコードのバックアップファイルは削除用ダミーファイルではなく、フォルダ名変更管理テーブルに、当該レコードの対象ファイル名から読み出したパス名「/TEST/FOLDER_1」、及び、復元対象日時より前のフォルダ名変更時刻が設定されているレコードがないと判断すると、ステップS163において、復元部72は、「(ユーザ用のファイル復元領域のフォルダ)/01_04_1500」の配下にファイル「/TEST/FOLDER_1/Sample.txt」を生成し、当該ファイルが、バックアップ領域「/BACKUP」配下のバックアップファイル名「/TEST/FOLDER_1/Sample.txt...2」のバックアップファイルを参照することを示すシンボリックリンクを作成し、記憶する。これにより、ステップS164において、復元部72は、ユーザが生成した「(ユーザ用のファイル復元領域のフォルダ)/01_03_1500」の配下に、「/TEST/FOLDER_1/Sample.txt」が存在することを示す画面をユーザ端末1に表示させる。ユーザが表示されたファイルの表示要求をユーザ端末1に入力した場合、ファイル復元部7の復元部72は、シンボリックリンクに、ファイル名「(ユーザ用のファイル復元領域のフォルダ)/01_03_1500/TEST/FOLDER_1/Sample.txt」に対応することが示されているバックアップ領域「/BACKUP」配下のバックアップファイル「/TEST/FOLDER_1/Sample.txt...2」を読み出し、ユーザ端末1へ返送して表示させる。   In step S161, the restoration target date and time “January 3, 15:00” is specified, and in step S162, the search unit 71 of the file restoration unit 7 searches the backup management table in the table storage unit 5. , Identified records with file update time “2009/01/03/1200”, target file name “/TEST/Sample.txt”, backup file name “/TEST/Sample.txt...2” Shall. The search unit 71 specifies that the backup file of the identified record is not a dummy file for deletion, but the path name “/ TEST / FOLDER_1” read from the target file name of the record and the restoration target in the folder name change management table If it is determined that there is no record in which the folder name change time before the date / time is set, in step S163, the restoration unit 72 determines that the file “/ TEST” is subordinate to “(folder of user file restoration area) / 01_04_1500”. /FOLDER_1/Sample.txt ”is generated, and the file refers to the backup file with the backup file name“ /TEST/FOLDER_1/Sample.txt...2 ”under the backup area“ / BACKUP ” Create and remember links. Thereby, in step S164, the restoration unit 72 indicates that “/TEST/FOLDER_1/Sample.txt” exists under “(folder of file restoration area for user) / 01_03_1500” generated by the user. A screen is displayed on the user terminal 1. When the user inputs a display request for the displayed file to the user terminal 1, the restoration unit 72 of the file restoration unit 7 adds a file name “(folder of file restoration area for user) / 01_03_1500 / TEST / to the symbolic link. Reads the backup file “/TEST/FOLDER_1/Sample.txt...2” under the backup area “/ BACKUP” that indicates that it corresponds to “FOLDER_1 / Sample.txt”, returns it to the user terminal 1, and displays it. Let

また、ステップS161において、復元対象日時「1月4日15時00分」が指定され、ステップS162において、ファイル復元部7の検索部71が、テーブル記憶部5内のバックアップ管理テーブルを検索して、時刻「2009/01/04/1200」、対象ファイル名「/TEST/FOLDER_1/Sample.txt」、バックアップファイル名「/TEST/FOLDER_1/Sample.txt...d...1」が設定されているレコードを特定したものとする。検索部71により、特定したレコードのバックアップファイルは削除用ダミーファイルであると判断されるため、復元部72は、「(ユーザ用のファイル復元領域のフォルダ)/01_04_1500」の配下に、特定したレコードの対象ファイル名から読み出したフォルダ「/TEST/FOLDER_1」を生成し、当該フォルダをユーザ端末1に表示させるが、ファイルは存在しないため、ファイル名は表示させない。   In step S161, the restoration target date and time “January 4, 15:00” is specified, and in step S162, the search unit 71 of the file restoration unit 7 searches the backup management table in the table storage unit 5. , Time "2009/01/04/1200", target file name "/TEST/FOLDER_1/Sample.txt", backup file name "/TEST/FOLDER_1/Sample.txt...d...1" The specified record is identified. Since the search unit 71 determines that the backup file of the identified record is a dummy file for deletion, the restoration unit 72 determines that the identified record is under “(folder of file restoration area for user) / 01_04_1500”. A folder “/ TEST / FOLDER_1” read from the target file name of the file is generated and displayed on the user terminal 1, but the file name is not displayed because the file does not exist.

図14は、ファイル管理システムにおけるファイル復元処理を説明する図であり、フォルダ名の変更がある場合の処理である。
ステップS171:上述した図13のステップS161と同様の処理を行なう。ここでは、復元対象日時「1月3日15時00分」が指定されたものとする、
FIG. 14 is a diagram for explaining file restoration processing in the file management system, and is processing when there is a change in folder name.
Step S171: The same processing as step S161 of FIG. 13 described above is performed. Here, it is assumed that the restoration target date and time “January 3, 15:00” is designated.

ステップS172:上述した図13のステップS162と同様の処理を行なう。ここでは、ファイル復元部7の検索部71が、テーブル記憶部5内のバックアップ管理テーブルを検索し、ファイル更新時刻「2009/01/02/1200」、対象ファイル名「/TEST/Sample.txt」、バックアップファイル名「/TEST/Sample.txt...1」が設定されているレコードを特定し、特定したレコード内に削除用ダミーファイルのファイル名が設定されていないと判断する。続いて、検索部71は、当該レコードに設定されている対象ファイル名「/TEST/Sample.txt」からフォルダ名「/TEST」を読み出し、フォルダ名変更管理テーブルに、変更前フォルダ名に読み出したフォルダ名が設定されており、かつ、復元対象日時より前のフォルダ名変更時刻が設定されているレコードを特定する。ここでは、ファイル名変更時刻「2009/01/03/1200」、変更前フォルダ名「/TEST」、変更後フォルダ名「/TEST2」が設定されたレコードが特定されたとする。さらに、検索部71は、特定されたレコードの変更後フォルダ名「/TEST2」が、変更前フォルダ名に設定されており、かつ、復元対象日時より前のフォルダ名変更時刻が設定されているレコードを検索するが、ここでは該当するレコードはないものとする。   Step S172: The same process as step S162 of FIG. 13 described above is performed. Here, the search unit 71 of the file restoration unit 7 searches the backup management table in the table storage unit 5, the file update time “2009/01/02/1200”, and the target file name “/TEST/Sample.txt”. Then, the record having the backup file name “/TEST/Sample.txt...1” is identified, and it is determined that the file name of the dummy file for deletion is not set in the identified record. Subsequently, the search unit 71 reads the folder name “/ TEST” from the target file name “/TEST/Sample.txt” set in the record, and reads the folder name before change in the folder name change management table. A record in which a folder name is set and a folder name change time before the restoration target date and time is set is specified. Here, it is assumed that a record in which the file name change time “2009/01/03/1200”, the pre-change folder name “/ TEST”, and the post-change folder name “/ TEST2” are set is specified. Further, the search unit 71 sets a record in which the folder name “/ TEST2” after the change of the specified record is set to the folder name before the change, and the folder name change time before the restoration target date and time is set. It is assumed that there is no corresponding record here.

ステップS173:図13で示したように、フォルダが変更されていないのであれば、復元部72は、ユーザが生成したフォルダ「(ユーザ用のファイル復元領域のフォルダ)/01_03_1500」の配下に、特定したフォルダ名変更管理テーブルのレコード内の対象ファイル名で示されるファイル「/TEST/Sample.txt」を生成するが、ここでは、フォルダ名が変更されているため、「(ユーザ用のファイル復元領域のフォルダ)/01_03_1500」の配下に、変更前のフォルダ「/TEST」を変更後のフォルダ「/TEST2」に置き換えたフォルダを生成し、当該フォルダの配下にファイル「Sample.txt」を生成する。ユーザ復元部72は、この生成した「(ユーザ用のファイル復元領域のフォルダ)/01_03_1500/TEST2/Sample.txt」が、ステップS172において特定したバックアップ管理テーブルのレコードで示される、バックアップ領域「/BACKUP」配下のバックアップファイル名「/TEST/Sample.txt...1」のバックアップファイルを参照することを示すシンボリックリンクを作成し、記憶する。   Step S173: As shown in FIG. 13, if the folder has not been changed, the restoration unit 72 specifies the folder “(file restoration area folder for user) / 01_03_1500” generated by the user. The file “/TEST/Sample.txt” indicated by the target file name in the record of the folder name change management table is generated. However, because the folder name has been changed here, “(File restore area for user Folder) / 01_03_1500 ”, the folder“ / TEST ”before the change is replaced with the folder“ / TEST2 ”after the change, and the file“ Sample.txt ”is generated under the folder. The user restoration unit 72 creates the backup area “/ BACKUP” in which the generated “(user file restoration area folder) /01_03_1500/TEST2/Sample.txt” is indicated by the record of the backup management table identified in step S172. Create and store a symbolic link that indicates that the backup file name under "/TEST/Sample.txt...1" is referenced.

ステップS174:復元部72は、ユーザが生成したフォルダ「(ユーザ用のファイル復元領域のフォルダ)/01_02_1500」の配下に、「/TEST2/Sample.txt」が存在することを示す画面をユーザ端末1に表示させる。ユーザがこのフィアルの表示要求をユーザ端末1に入力した場合、ファイル復元部7の復元部72は、ユーザ端末1から表示要求とファイル名を受信する。復元部72は、シンボリックリンクに、受信したファイル名「(ユーザ用のファイル復元領域のフォルダ)/01_03_1500/TEST2/Sample.txt」に対応することが示されている、バックアップ領域「/BACKUP」配下のバックアップファイル「/TEST/Sample.txt...1」を読み出し、ユーザ端末1へ返送して表示させる。   Step S174: The restoration unit 72 displays a screen indicating that “/TEST2/Sample.txt” exists under the folder “(folder of file restoration area for user) / 01_02_1500” generated by the user. To display. When the user inputs a display request for this file to the user terminal 1, the restoration unit 72 of the file restoration unit 7 receives the display request and the file name from the user terminal 1. The restoration unit 72 is subordinate to the backup area “/ BACKUP”, which indicates that the received file name “(folder of file restoration area for user) /01_03_1500/TEST2/Sample.txt” corresponds to the symbolic link. The backup file “/TEST/Sample.txt...1” is read out and returned to the user terminal 1 for display.

なお、ステップS171において、復元対象日時「1月4日15時00分」が指定され、ステップS172において、ファイル復元部7の検索部71が、テーブル記憶部5内のバックアップ管理テーブルを検索し、ファイル更新時刻「2009/01/04/1000」、対象ファイル名「/TEST2/Sample.txt」、バックアップファイル名「/TEST2/Sample.txt...0」が設定されているレコードを特定し、特定したレコード内に削除用ダミーファイルが設定されていないと判断する。続いて、検索部71は、当該レコードに設定されているファイル名「/TEST2/Sample.txt」からフォルダ名「/TEST2」を読み出し、フォルダ名変更管理テーブルに、変更前フォルダ名に読み出したフォルダ名が設定されており、かつ、復元対象日時より前のフォルダ名変更時刻が設定されているレコードを特定する。ここでは、ファイル名変更時刻「2009/01/04/1200」、変更前フォルダ名「/TEST2」、変更後フォルダ名「/TEST3」が設定されているレコードが特定される。   In step S171, the restoration target date and time “January 4, 15:00” is designated, and in step S172, the search unit 71 of the file restoration unit 7 searches the backup management table in the table storage unit 5, Identify the record with the file update time “2009/01/04/1000”, target file name “/TEST2/Sample.txt”, backup file name “/TEST2/Sample.txt...0”, It is determined that no deletion dummy file is set in the identified record. Subsequently, the search unit 71 reads the folder name “/ TEST2” from the file name “/TEST2/Sample.txt” set in the record, and reads the folder read to the folder name before change in the folder name change management table. A record in which a name is set and a folder name change time before the restoration target date and time is set is specified. Here, a record in which the file name change time “2009/01/04/1200”, the pre-change folder name “/ TEST2”, and the post-change folder name “/ TEST3” are specified.

この場合、ステップS173において、ユーザが生成したフォルダ「(ユーザ用のファイル復元領域のフォルダ)/01_04_1500」の配下に、変更前フォルダ「/TEST2」を変更後フォルダ「/TEST3」に置き換えたフォルダを生成し、当該フォルダの配下にファイル「Sample.txt」を生成する。復元部72は、この生成した「(ユーザ用のファイル復元領域のフォルダ)/01_03_1500/TEST3/Sample.txt」が、ステップS172において特定したバックアップ管理テーブルのレコードで示される、バックアップ領域「/BACKUP」配下のバックアップファイル名「/TEST2/Sample.txt...0」のバックアップファイルを参照することを示すシンボリックリンクを作成し、記憶する。   In this case, in step S173, a folder in which the folder “/ TEST2” before change is replaced with the folder “/ TEST3” after change under the folder “(file restore area folder for user) / 01_04_1500” generated by the user. Create a file “Sample.txt” under the folder. The restoration unit 72 generates the backup area “/ BACKUP” in which the generated “(user file restoration area folder) /01_03_1500/TEST3/Sample.txt” is indicated by the record of the backup management table identified in step S172. Create and store a symbolic link indicating that the backup file with the subordinate backup file name "/TEST2/Sample.txt...0" is referenced.

そしてステップS174において、復元部72は、ユーザが生成したフォルダ「(ユーザ用のファイル復元領域のフォルダ)/01_04_1500」の配下に、「/TEST3/Sample.txt」が存在することを示す画面をユーザ端末1に表示させる。ユーザがこのフィアルの表示要求をユーザ端末1に入力した場合、ファイル復元部7の復元部72は、ユーザ端末1から表示要求とファイル名を受信する。復元部72は、シンボリックリンクに、受信したファイル名「(ユーザ用のファイル復元領域のフォルダ)/01_03_1500/TEST3/Sample.txt」に対応することが示されているバックアップ領域「/BACKUP」配下のバックアップファイル「/TEST2/Sample.txt...1」を読み出し、ユーザ端末1へ返送して表示させる。   In step S174, the restoration unit 72 displays a screen indicating that “/TEST3/Sample.txt” exists under the folder “(folder of user file restoration area) / 01_04_1500” generated by the user. It is displayed on the terminal 1. When the user inputs a display request for this file to the user terminal 1, the restoration unit 72 of the file restoration unit 7 receives the display request and the file name from the user terminal 1. The restoration unit 72 includes, in the symbolic link, the backup file “/ BACKUP” under the received file name “(user file restoration area folder) /01_03_1500/TEST3/Sample.txt”. The backup file “/TEST2/Sample.txt...1” is read and returned to the user terminal 1 for display.

図15は、ファイル管理システムにおける検索クロール処理を説明する図である。
ステップS181:同図において、ユーザ端末1はファイル復元部7の検索ポータル部73にアクセスする。これにより、検索ポータル部73は、検索条件を入力させるための検索画面をユーザ端末1へ表示させる。ユーザが、ユーザ端末1が備るキーボードなどの入力手段によりキーワードやファイル拡張子などの検索条件を入力し、検索ボタンをクリックすると、ユーザ端末1は、入力された検索条件を検索ポータル部73へ送信する。
FIG. 15 is a diagram for explaining search crawl processing in the file management system.
Step S181: In the figure, the user terminal 1 accesses the search portal unit 73 of the file restoration unit 7. Thereby, the search portal part 73 displays the search screen for inputting search conditions on the user terminal 1. When a user inputs a search condition such as a keyword or a file extension using an input means such as a keyboard provided in the user terminal 1 and clicks a search button, the user terminal 1 sends the input search condition to the search portal unit 73. Send.

ステップS182:検索ポータル部73は、入力された検索条件を検索エンジン部74へ送信し、検索を要求する。   Step S182: The search portal unit 73 transmits the input search conditions to the search engine unit 74 and requests a search.

ステップS183、S184:検索エンジン部74は、バックアップ領域、すなわち、記憶部21に生成されている「/BACKUP」フォルダ配下を検索し、受信した検索条件内のキーワードが内容に記述されており、かつ、当該検索条件内の拡張子を有するバックアップファイルを特定し、そのバックアップファイル名をパス名付きで取得する。   Steps S183 and S184: The search engine unit 74 searches the backup area, that is, under the “/ BACKUP” folder generated in the storage unit 21, the keyword in the received search condition is described in the contents, and The backup file having the extension in the search condition is specified, and the backup file name is acquired with a path name.

ステップS185:検索エンジン部74は、検索結果として取得したバックアップファイル名を検索結果として検索ポータル部73へ出力する。   Step S185: The search engine unit 74 outputs the backup file name acquired as the search result to the search portal unit 73 as the search result.

ステップS186:検索ポータル部73が検索結果を受信すると、検索部71は、検索結果に含まれる各バックアップファイル名について、以下の処理を行なう。   Step S186: When the search portal unit 73 receives the search result, the search unit 71 performs the following processing for each backup file name included in the search result.

(1)検索部71は、バックアップファイル名が設定されているバックアップ管理テーブル内のレコードを特定し、当該レコードから対象ファイル名とファイル更新時刻を読み出す。ここで読み出したファイル更新時刻を存在開始時刻とする。たとえば、バックアップファイル名「/BACKUP/TEST/Sample.txt...0」の「/BACKUP」以下が設定されているバックアップ管理テーブル内のレコードを特定し、当該レコードから対象ファイル名「/TEST/Sample.txt」とファイル更新時刻「2008/01/01/12:00:00」を読み出す。 (1) The search unit 71 identifies a record in the backup management table in which the backup file name is set, and reads the target file name and the file update time from the record. The file update time read here is defined as the existence start time. For example, specify a record in the backup management table that is set to "/ BACKUP" or less in the backup file name "/BACKUP/TEST/Sample.txt...0", and the target file name "/ TEST / “Sample.txt” and file update time “2008/01/01/12: 00: 00” are read out.

(2)検索部71は、(1)において読み出した対象ファイル名と同一の対象ファイル名が設定されているバックアップ管理テーブル内のレコードのうち、存在開始時刻以降であり、かつ、存在開始時刻に最も近い時刻が設定されているレコードを特定し、この特定した当該レコードから読み出したファイル更新時刻を存在終了時刻とする。ここでは、対象ファイル名「/TEST/Sample.txt」が設定されているバックアップ管理テーブル内のレコードのうち、存在開始時刻「2008/01/01/12:00:00」以降であり、かつ、存在開始時刻に最も近いファイル更新時刻が設定されているレコードから、存在終了時刻「2008/01/03/10:00:00」を読み出す。 (2) The search unit 71 is after the existence start time among the records in the backup management table in which the same target file name read in (1) is set, and at the existence start time. The record for which the closest time is set is specified, and the file update time read from the specified record is set as the existence end time. Here, among the records in the backup management table in which the target file name “/TEST/Sample.txt” is set, the existence start time is “2008/01/01/12: 00: 00” or later, and The existence end time “2008/01/03/10: 00: 00” is read from the record in which the file update time closest to the existence start time is set.

(3)検索部71は、フォルダ名変更管理テーブルに、存在開始時刻から存在終了時刻までの間のフォルダ名変更時刻が設定され、かつ、対象ファイル名に含まれるフォルダ名が変更前フォルダ名に設定されているレコードがあるか判断する。含まれていない場合、検索部71は、バックアップファイル名と、対象ファイル名と、存在開始時刻及び存在終了時刻で示される存在期間とを対応付けて記憶する。 (3) The search unit 71 sets a folder name change time from the existence start time to the existence end time in the folder name change management table, and sets the folder name included in the target file name as the folder name before change. Determine if there are any records set. If not included, the search unit 71 stores the backup file name, the target file name, and the existence period indicated by the existence start time and the existence end time in association with each other.

例えば、フォルダ名変更管理テーブルに、存在開始時刻「2008/01/01/12:00:00」から存在終了時刻「2008/01/03/10:00:00」までの間の時刻が設定されており、かつ、対象ファイル名「/TEST/Sample.txt」に含まれるフォルダ名「/TEST」が変更前フォルダ名として設定されているレコードを検索する。該当するレコードがない場合、検索部71は、バックアップファイル名「/BACKUP/TEST/Sample.txt...0」と、対象ファイル名「/TEST/Sample.txt」と、存在開始時刻及び存在終了時刻で示される存在期間「2008/01/01/12:00:00〜2008/01/03/10:00:00」とを対応付けて記憶する。   For example, in the folder name change management table, the time between the existence start time “2008/01/01/12: 00: 00” and the existence end time “2008/01/03/10: 00: 00” is set. And a record in which the folder name “/ TEST” included in the target file name “/TEST/Sample.txt” is set as the folder name before change is searched. When there is no corresponding record, the search unit 71 sets the backup file name “/BACKUP/TEST/Sample.txt...0”, the target file name “/TEST/Sample.txt”, the existence start time and the existence end. The existence period “2008/01/01/12: 00: 00 to 2008/01/03/10: 00: 00” indicated by the time is stored in association with each other.

一方、フォルダ名変更管理テーブルに、存在開始時刻から存在終了時刻までの間のフォルダ名変更時刻が設定され、かつ、対象ファイル名に含まれるフォルダ名が変更前フォルダ名に設定されているレコードが登録されているとする。検索部71は、このレコードから変更後フォルダ名及びフォルダ名変更時刻を読み出し、読み出したフォルダ名変更時刻をフォルダ名変更前存在終了時刻、兼、フォルダ名変更後開始時刻とする。検索部71は、バックアップファイル名と、対象ファイル名と、存在開始時刻及びフォルダ名変更前存在終了時刻で示される存在期間とを対応付けて記憶するとともに、バックアップファイル名と、変更前フォルダ名を変更後フォルダ名に置き換えた対象ファイル名と、フォルダ名変更前存在開始時刻及び存在終了時刻で示される存在期間とを対応付けて記憶する。   On the other hand, in the folder name change management table, there is a record in which the folder name change time from the existence start time to the existence end time is set and the folder name included in the target file name is set as the folder name before change. Suppose that it is registered. The search unit 71 reads the changed folder name and the folder name change time from this record, and sets the read folder name change time as the existence end time before the folder name change and the start time after the folder name change. The search unit 71 stores the backup file name, the target file name, and the existence period indicated by the existence start time and the existence end time before the folder name in association with each other, and stores the backup file name and the folder name before the change. The target file name replaced with the folder name after the change, and the existence period indicated by the existence start time and the existence end time before the folder name are stored in association with each other.

例えば、フォルダ名変更管理テーブルに、存在開始時刻「2008/01/01/12:00:00」から存在終了時刻「2008/01/03/10:00:00」までの間の時刻がフォルダ名変更時刻に設定されており、かつ、対象ファイル名「/TEST/Sample.txt」に含まれるフォルダ名「/TEST」が変更前フォルダ名として設定されているレコードが含まれている場合、検索ポータル部73は、当該レコードから変更後フォルダ名「/TEST2」及びフォルダ名変更時刻「2008/01/02/12:00:00」を読み出す。検索ポータル部73は、バックアップファイル名「/BACKUP/TEST/Sample.txt...0」と、対象ファイル名「/TEST/Sample.txt」と、存在開始時刻及びフォルダ名変更前存在終了時刻で示される存在期間「2008/01/01/12:00:00〜2008/01/02/12:00:00」とを対応付けて記憶するとともに、バックアップファイル名「/BACKUP/TEST/Sample.txt...0」と、変更前フォルダ名「/TEST」を変更後フォルダ名「/TEST2」に置き換えた対象ファイル名「/TEST2/Sample.txt」と、フォルダ名変更前存在開始時刻及び存在終了時刻で示される存在期間「2008/01/02/12:00:00〜2008/01/03/10:00:00」とを対応付けて記憶する。   For example, in the folder name change management table, the time between the existence start time “2008/01/01/12: 00: 00” and the existence end time “2008/01/03/10: 00: 00” is the folder name. Search portal when the change time is set and the record includes the folder name “/ TEST” included in the target file name “/TEST/Sample.txt” as the folder name before change The unit 73 reads the changed folder name “/ TEST2” and the folder name change time “2008/01/02/12: 00: 00” from the record. The search portal unit 73 uses the backup file name “/BACKUP/TEST/Sample.txt...0”, the target file name “/TEST/Sample.txt”, the existence start time and the existence end time before the folder name change. The displayed existence period “2008/01/01/12: 00: 00 to 2008/01/02/12: 00: 00” is stored in association with the backup file name “/BACKUP/TEST/Sample.txt”. ... 0 ”, the target file name“ /TEST2/Sample.txt ”in which the folder name“ / TEST ”before the change is replaced with the folder name“ / TEST2 ”after the change, the existing start time and the existing end before the folder name change The existence period “2008/01/02/12: 00: 00 to 2008/01/03/10: 00: 00” indicated by the time is stored in association with each other.

ステップS186:検索ポータル部73は、ステップS185において検索部71が記憶したバックアップファイル名、対象ファイル名、及び、存在期間を対応付けた情報を受信すると、対象ファイル名及びその存在期間とを対応づけた一覧を検索結果としてユーザ端末1へ返送し、出力させる。この対象ファイル名には、対応するバックアップファイル名がリンクされている。なお、対象ファイル名とバックアップファイル名は、シンボリックリンクによって対応付けを保持してもよい。   Step S186: When the search portal unit 73 receives the information that associates the backup file name, the target file name, and the existence period stored in the search unit 71 in Step S185, the search portal unit 73 associates the target file name with the existence period. The list is returned to the user terminal 1 as a search result and output. The target file name is linked with the corresponding backup file name. The target file name and the backup file name may be associated with each other by a symbolic link.

なお、検索部71は、各バックアップファイル名が設定されているバックアップ管理テーブル、フォルダ名変更管理テーブル内のレコードからログインユーザ及びIPの情報を読み出し、検索ポータル部73は、バックアップファイル名に対応した対象ファイル名と併せてログインユーザ及びIPをユーザ端末1に表示させるようにしてもよい。また、存在期間として表示する時刻の精度は任意に設定可能である。   The search unit 71 reads the login user and IP information from the records in the backup management table and the folder name change management table in which each backup file name is set, and the search portal unit 73 corresponds to the backup file name. The login user and the IP may be displayed on the user terminal 1 together with the target file name. Moreover, the precision of the time displayed as an existing period can be set arbitrarily.

検索結果を閲覧したユーザは、ユーザ端末1に備えられたマウスにより、画面に表示されている対象ファイル名上でクリック、あるいは、ダブルクリックを行ない、ファイルのダウンロード、あるいは、実行を指示する。ユーザ端末1は、対象ファイル名にリンクされているバックアップファイル名を受信すると、復元部72は、当該バックアップファイル名のバックアップファイルをバックアップ記憶部4から読み出し、ユーザ端末1にダウンロードするか、内容を表示させる。なお、ユーザ端末1におけるダウンロードや実行の指示には、任意のユーザインタフェースを用いることができる。
ファイル名等で検索する場合、上記手順により、ファイル更新履歴を表示することも可能となる。
The user who has browsed the search result clicks or double-clicks on the target file name displayed on the screen with the mouse provided in the user terminal 1 to instruct to download or execute the file. When the user terminal 1 receives the backup file name linked to the target file name, the restoration unit 72 reads the backup file with the backup file name from the backup storage unit 4 and downloads it to the user terminal 1 or stores the contents. Display. An arbitrary user interface can be used for a download or execution instruction in the user terminal 1.
When searching by file name or the like, the file update history can be displayed by the above procedure.

図16は、ファイル管理システムにおけるバックアップ管理テーブル及びバックアップ管理テーブルの復旧処理を説明する図である。
まず、ファイル管理装置3のテーブル復旧部8は、バックアップ記憶部4内のバックアップ領域、すなわち、「/BACKUP」の配下に存在するファイルを検索する。そして、この検索の結果得られたファイルそれぞれについて、ファイル生成時刻が古い順に以下の処理を行なう。
(1)検索の結果得られたファイルがバックアップファイルまたは削除用ダミーファイルである場合、テーブル復旧部8は、バックアップ管理テーブルの管理IDを割り当てると、割り当てた管理ID、当該ファイルの生成時刻、検索の結果得られたファイルのフォルダ「/BACKUP」以降のファイル名をそれぞれ、管理ID、ファイル更新時刻、バックアップファイル名に設定したレコードをバックアップ管理テーブルに登録する。そして、登録したレコードの対象ファイル名に、当該レコードに設定したバックアップファイル名から「...」以降の文字列を削除したファイル名を書き込む。
FIG. 16 is a diagram for explaining the backup management table and the recovery processing of the backup management table in the file management system.
First, the table recovery unit 8 of the file management device 3 searches for a backup area in the backup storage unit 4, that is, a file existing under “/ BACKUP”. Then, for each file obtained as a result of this search, the following processing is performed in order from the oldest file generation time.
(1) When the file obtained as a result of the search is a backup file or a deletion dummy file, when the table recovery unit 8 assigns the management ID of the backup management table, the assigned management ID, the generation time of the file, the search The records obtained by setting the file name after the folder “/ BACKUP” of the file as management ID, file update time, and backup file name are registered in the backup management table. Then, the file name obtained by deleting the character string after “...” from the backup file name set in the record is written in the target file name of the registered record.

(2)検索の結果得られたファイルがフォルダ名変更用ダミーファイルである場合、テーブル復旧部8は、フォルダ名変更管理テーブルの管理IDを割り当てると、割り当てた管理ID、フォルダ名変更用ダミーファイルの生成時刻、当該フォルダ名変更用ダミーファイルから得られる変更前フォルダ名及び変更後フォルダ名を、管理ID、フォルダ名変更時刻、変更前ファイル名、変更後ファイル名に設定したレコードをフォルダ名変更管理テーブルに書き込む。 (2) When the file obtained as a result of the search is a folder name change dummy file, when the table recovery unit 8 assigns the management ID of the folder name change management table, the assigned management ID and the folder name change dummy file Change the folder name to the record set in the management ID, the folder name change time, the file name before the change, and the file name after the change. Write to the management table.

例えば、バックアップ領域に、生成時刻順に、バックアップファイル「/BACKUP/TEST/Sample.txt...0」、「/BACKUP/TEST/Sample.txt...1」、「TEST...r...TEST2...0」、「/BACKUP/TEST2/Sample.txt...0」、「/BACKUP/TEST2/Sample.txt...d...0」が検出されたとする。これらのファイルには、当該ファイルの生成時に、OS(Operation System)によるファイル生成時刻が付与さており、順に生成時刻がT1,T2、T3、T4、T5であるとする。   For example, backup files `` /BACKUP/TEST/Sample.txt...0 '', `` /BACKUP/TEST/Sample.txt...1 '', `` TEST ... r ... .TEST2 ... 0 "," /BACKUP/TEST2/Sample.txt...0 ", and" /BACKUP/TEST2/Sample.txt...d...0 "are detected. These files are given file generation times by an OS (Operation System) when the files are generated, and the generation times are T1, T2, T3, T4, and T5 in order.

テーブル復旧部8は、まず、生成時刻T1のバックアップファイル名「/BACKUP/TEST/Sample.txt...0」を選択し、「/BACKUP」以降のファイル名「/TEST/Sample.txt...0」をバックアップファイル名に、当該バックアップファイル名から「...0」を除いた「/TEST/Sample.txt」を対象ファイル名に、ファイル生成時刻T1をファイル更新時刻に設定したレコードをバックアップ管理テーブルに登録する。   The table recovery unit 8 first selects the backup file name “/BACKUP/TEST/Sample.txt...0” at the generation time T1, and the file name “/TEST/Sample.txt ..” after “/ BACKUP”. .0 ”as the backup file name,“ /TEST/Sample.txt ”excluding“ ... 0 ”from the backup file name, the record with the file generation time T1 set as the file update time Register in the backup management table.

次に、テーブル復旧部8は、生成時刻T2のバックアップファイル名「/BACKUP/TEST/Sample.txt...1」を選択し、「/BACKUP」以降のファイル名「/TEST/Sample.txt...1」をバックアップファイル名に、当該バックアップファイル名から「...1」を除いた「/TEST/Sample.txt」を対象ファイル名に、ファイル生成時刻T2をファイル更新時刻に設定したレコードをバックアップ管理テーブルに登録する。   Next, the table recovery unit 8 selects the backup file name “/BACKUP/TEST/Sample.txt...1” at the generation time T2, and the file name “/TEST/Sample.txt.” After “/ BACKUP”. ..1 ”as the backup file name,“ /TEST/Sample.txt ”excluding“ ... 1 ”from the backup file name as the target file name, and the file generation time T2 as the file update time Is registered in the backup management table.

次に、テーブル復旧部8は、生成時刻T3のフォルダ名変更用ダミーファイル名「TEST...r...TEST2...0」を選択し、変更前フォルダ名「/TEST」、変更後フォルダ名「/TEST2」、ファイル生成時刻T3をフォルダ変更時刻に設定したレコードをフォルダ名変更管理テーブルに登録する。   Next, the table restoration unit 8 selects the folder name change dummy file name “TEST ... r ... TEST2 ... 0” at the generation time T3, the folder name before change “/ TEST”, and after change A record in which the folder name “/ TEST2” and the file generation time T3 are set as the folder change time is registered in the folder name change management table.

次に、テーブル復旧部8は、生成時刻T4のバックアップファイル名「/BACKUP/TEST2/Sample.txt...0」を選択し、「/BACKUP」以降のファイル名「/TEST2/Sample.txt...0」をバックアップファイル名に、当該バックアップファイル名から「...0」を除いた「/TEST2/Sample.txt」を対象ファイル名に、ファイル生成時刻T4をファイル更新時刻に設定したレコードをバックアップ管理テーブルに登録する。   Next, the table restoration unit 8 selects the backup file name “/BACKUP/TEST2/Sample.txt...0” at the generation time T4, and the file name “/TEST2/Sample.txt.” After “/ BACKUP”. ..0 ”as the backup file name,“ /TEST2/Sample.txt ”with“ ... 0 ”removed from the backup file name as the target file name, and file creation time T4 as the file update time Is registered in the backup management table.

次に、テーブル復旧部8は、生成時刻T5の削除用ダミーファイル名「/BACKUP/TEST2/Sample.txt...d...0」を選択し、「/BACKUP」以降のファイル名「/TEST2/Sample.txt...d...0」をバックアップファイル名に、当該バックアップファイル名から「...d...0」を除いた「/TEST/Sample.txt」を対象ファイル名に、ファイル生成時刻T5をファイル更新時刻に設定したレコードをバックアップ管理テーブルに登録する。   Next, the table recovery unit 8 selects the deletion dummy file name “/BACKUP/TEST2/Sample.txt...d...0” at the generation time T5, and the file name “/ BACKUP” and subsequent file names “/ BACKUP”. TEST2 / Sample.txt ... d ... 0 ”is the backup file name, and“ /TEST/Sample.txt ”is the target file name, with“ ... d ... 0 ”removed from the backup file name. In addition, a record in which the file generation time T5 is set as the file update time is registered in the backup management table.

上記のように、バックアップの実体ファイルと、管理を行なうテーブルから構成されるため、テーブルが破壊された場合でも、実体のバックアップファイルからバックアップ管理テーブル及びフォルダ名変更管理テーブルを復旧することができる。
なお、IP及びログインユーザも復旧する場合は、バックアップファイル名、削除用ダミーファイル、フォルダ名変更用ダミーファイルに、IP及びログインユーザを付加したファイル名とする。
As described above, since the backup entity file and the management table are included, the backup management table and the folder name change management table can be restored from the entity backup file even if the table is destroyed.
When the IP and login user are also restored, the file name is obtained by adding the IP and login user to the backup file name, the deletion dummy file, and the folder name change dummy file.

本実施形態においては、ファイルサーバ2の記憶部21にファイルが作成、上書、削除されるたびにそのファイルが複製されるため、バックアップを保管するストレージであるバックアップ記憶部4の容量が大量に必要となる。そこで、必要なファイルだけを効率的に保存する以下の技術を適用する。
例えば、バックアップ領域の記憶手段として、各ファイルの差分のみを記憶していくような重複排除技術を実装するストレージ製品を用いる。本ファイル管理システムにおいて生成されるバックアップファイルは、差分が少ないことが想定されるため、重複排除技術による圧縮効果が高いと想定される。
このような重複排除技術を用いた製品として、「次世代グリッド・ストレージiStorage HSシリーズ、日本電気株式会社,インターネット<http://www.nec.co.jp/press/ja/0709/1901.html>」、「Data Domain,インターネット< http://www.datadomain.com/jp/」、「Veritas NetBackup PureDisk,Symantec,インターネット<http://www.symantec.com/ja/jp/business/netbackup-puredisk>」などを用いることができる。
In the present embodiment, each time a file is created, overwritten, or deleted in the storage unit 21 of the file server 2, the file is duplicated, so that a large capacity of the backup storage unit 4 that is a storage for storing backups is required. It becomes. Therefore, the following technique for efficiently storing only the necessary files is applied.
For example, as a storage means for the backup area, a storage product that implements a deduplication technique that stores only the differences between files is used. Since the backup file generated in this file management system is assumed to have a small difference, it is assumed that the compression effect by the deduplication technique is high.
As products using such deduplication technology, “Next Generation Grid Storage NEC Storage HS Series, NEC Corporation, Internet <http://www.nec.co.jp/press/en/0709/1901.html > ”,“ Data Domain, Internet <http://www.datadomain.com/jp/ ”,“ Veritas NetBackup PureDisk, Symantec, Internet <http://www.symantec.com/en/jp/business/netbackup- puredisk>"etc. can be used.

また、特定のアプリケーションなどでは作業中にファイルサーバ2上に一時ファイルを作成するものがあり、このファイルについてはシステムの障害等が無い限り、ユーザが明示的に取り出すことはない。そのため、このような一時ファイルについては、バックアップを生成しないようにすることでストレージ容量を効率的に利用する。そこで、一時ファイルは、例えば、「~$abc.xxx」などであり、一時ファイルであることを示す所定の文字列「~$」が含まれている。そこで、このような一時ファイルであることを示す所定の文字列が操作対象ファイル名に含まれている場合は、上記処理の対象外とする。   In addition, there is a specific application that creates a temporary file on the file server 2 during work, and the user does not explicitly take out this file unless there is a system failure or the like. Therefore, for such temporary files, the storage capacity is efficiently used by not generating a backup. Therefore, the temporary file is, for example, “˜ $ abc.xxx” and includes a predetermined character string “˜ $” indicating that it is a temporary file. Therefore, when a predetermined character string indicating such a temporary file is included in the operation target file name, it is excluded from the above processing.

また、同一の対象ファイルについて、1秒〜2秒の間隔で上書があった場合、その古い時刻のほうのファイルは不要である可能性が高い。そこで、同じ対象ファイルについて2秒以下などの所定の短い間隔にて上書があった場合、古い時刻の方の対象ファイルについてのバックアップファイルを生成しないか、既にバックアップファイルを生成している場合は、古い時刻の方のバックアップファイルと、当該バックアップファイルに関するバックアップ管理テーブル内のレコードとを削除し、新しい時刻の方の対象ファイルについてのバックアップファイルをバックアップ領域に作成して、バックアップ管理テーブルには、この新しい時刻の方のバックアップファイルに関するレコードのみを登録する。   Further, when the same target file is overwritten at intervals of 1 second to 2 seconds, it is highly likely that the file with the older time is unnecessary. Therefore, when the same target file is overwritten at a predetermined short interval such as 2 seconds or less, if a backup file is not generated for the target file at the earlier time, or if a backup file has already been generated Delete the backup file with the old time and the record in the backup management table related to the backup file, create a backup file for the target file with the new time in the backup area, Only records related to the backup file of this new time are registered.

図17は、上記ファイル管理サーバのユーザインタフェース例を示す図である。
図17(a)では、ユーザは、自身のユーザ端末1からファイル復元部7にアクセスし、当該ユーザ用のファイル復元領域にフォルダを生成する。そして、マウス等によりプルダウンメニューを表示させ、「過去に戻す」というメニューを選択する。ファイル復元部7は、ユーザ端末1へ復元対象時刻の入力画面を表示される。ユーザ端末1が、復元対象時刻を入力すると、ファイル復元部7は、ユーザ端末1から入力された復元対象時刻を受信する。ファイル復元部7は、図13、図14に示したような処理を行い、復元対象時刻において当該フォルダ配下に存在していたファイルを復元する。
FIG. 17 is a diagram showing an example of a user interface of the file management server.
In FIG. 17A, the user accesses the file restoration unit 7 from his / her user terminal 1, and creates a folder in the file restoration area for the user. Then, a pull-down menu is displayed with a mouse or the like, and a menu “return to the past” is selected. The file restoration unit 7 displays a restoration target time input screen on the user terminal 1. When the user terminal 1 inputs the restoration target time, the file restoration unit 7 receives the restoration target time input from the user terminal 1. The file restoration unit 7 performs processing as shown in FIGS. 13 and 14 and restores the files existing under the folder at the restoration target time.

図17(b)では、ユーザは、自身のユーザ端末1からファイル復元部7の検索ポータル部73にアクセスする。検索ポータル部73は、ユーザ端末1に検索画面を表示させる。ユーザは、検索画面に、検索対象のファイル名と、過去のファイルも検索に含めるよう指示を入力する。ファイル復元部7の検索ポータル部73は、受信した検索条件に基づいて、図15に示したような検索を行い、得られた検索結果をユーザ端末1へ表示させる。   In FIG. 17B, the user accesses the search portal unit 73 of the file restoration unit 7 from his / her user terminal 1. The search portal unit 73 displays a search screen on the user terminal 1. The user inputs an instruction to include the search target file name and the past file in the search on the search screen. The search portal unit 73 of the file restoration unit 7 performs a search as shown in FIG. 15 based on the received search condition, and displays the obtained search result on the user terminal 1.

上記実施形態によれば、ファイル変更の都度バックアップファイルを生成するため、任意の時間におけるファイルを復元することができるとともに、生成されたバックアップファイルを管理するフォルダ名変更管理テーブルによって、目的の時刻において存在していたバックアップファイルを高速に検索することができる。そして、復元は、ユーザ専用のフォルダにシンボリックリンクを作成する方式であるため、現在ファイルサーバに記憶されている内容や、他のユーザにも影響を与えことがない。また、バックアップ管理テーブル、フォルダ名変更管理テーブルが失われた場合でも、バックアップファイルから復旧すすることができる。ファイルを削除したときには、削除を示すダミーファイルを生成するため、ファイル削除も併せてバックアップ管理テーブルに復旧することができる。
さらには、重複排除技術を用いることにより、バックアップファイルの記憶領域を削減することも可能である。本実施形態では、データ構造が類似している多くのファイルが保存できること、大量の記憶領域が要求されることから、重複排除技術を用いた記憶装置(ストレージ)と組み合わせることで、記憶装置の利用効率を向上させることができる。
According to the above embodiment, since a backup file is generated every time a file is changed, it is possible to restore a file at an arbitrary time, and at a target time by a folder name change management table that manages the generated backup file. The existing backup file can be searched at high speed. Restoration is a method of creating a symbolic link in a folder dedicated to the user, so that the contents currently stored in the file server and other users are not affected. Further, even when the backup management table and the folder name change management table are lost, it is possible to recover from the backup file. When a file is deleted, a dummy file indicating deletion is generated, so that the file management can also be restored to the backup management table.
Furthermore, the storage area of the backup file can be reduced by using a deduplication technique. In this embodiment, since many files having similar data structures can be stored and a large amount of storage area is required, the storage device can be used by combining with a storage device (storage) using a deduplication technique. Efficiency can be improved.

なお、ユーザ端末1、ファイルサーバ2、及び、ファイル管理装置3は、内部にコンピュータシステムを有している。そして、上述したユーザ端末1、ファイルサーバ2のファイル操作部22、ならびに、ファイル管理装置3のバックアップ処理部6、ファイル復元部7及びテーブル復旧部8の動作の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータシステムが読み出して実行することによって、上記処理が行われる。ここでいうコンピュータシステムとは、CPUや各種メモリ、OSや周辺機器等のハードウェアを含むものである。   In addition, the user terminal 1, the file server 2, and the file management apparatus 3 have a computer system inside. The operations of the user terminal 1, the file operation unit 22 of the file server 2, and the backup processing unit 6, the file restoration unit 7, and the table restoration unit 8 of the file management device 3 are read by a computer in the form of a program. It is stored in a possible recording medium, and the computer system reads out and executes this program, so that the above processing is performed. Here, the computer system includes a CPU, various memories, an OS, and hardware such as peripheral devices.

また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, and a CD-ROM, and a storage device such as a hard disk built in the computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

1…ユーザ端末
2…ファイルサーバ
21…記憶部
22…ファイル操作部
3…ファイル管理装置
4…バックアップ記憶部
5…テーブル記憶部
6…バックアップ処理部
61…検出部
62…バックアップファイル生成部
63…テーブル更新部
7…ファイル復元部
71…検索部
72…復元部
73…検索ポータル部
74…検索エンジン部
8…テーブル復旧部
9…パケットキャプチャ装置
DESCRIPTION OF SYMBOLS 1 ... User terminal 2 ... File server 21 ... Memory | storage part 22 ... File operation part 3 ... File management apparatus 4 ... Backup memory | storage part 5 ... Table memory | storage part 6 ... Backup process part 61 ... Detection part 62 ... Backup file generation part 63 ... Table Update unit 7: File restoration unit 71 ... Search unit 72 ... Restore unit 73 ... Search portal unit 74 ... Search engine unit 8 ... Table restoration unit 9 ... Packet capture device

Claims (11)

バックアップファイルを記憶するバックアップ記憶部と、
前記バックアップファイルを管理するバックアップ管理テーブルを記憶するテーブル記憶部と、
ファイル操作の種類及びファイルの更新時刻と、ファイル操作対象のファイルのフォルダ名を含んだ名前である対象ファイル名とを示す操作情報を受信し、当該操作情報によりファイルの作成または上書を検出する検出部と、
前記検出部によりファイルの作成または上書が検出された場合に、当該操作情報により示される対象ファイル名のファイルを複製したバックアップファイルを、バックアップファイルであることを示す情報と子番号とを当該対象ファイル名に付加したファイル名により前記バックアップ記憶部に書き込むバックアップファイル生成部と、
前記操作情報に設定されている更新時刻及び対象ファイル名と、前記バックアップ生成部が生成したバックアップファイルのファイル名であるバックアップファイル名とを対応づけた情報を前記バックアップ記憶部に記憶されている前記バックアップ管理テーブルに書き込むテーブル更新部と、
を備えることを特徴とするファイル管理装置。
A backup storage unit for storing backup files;
A table storage unit for storing a backup management table for managing the backup file;
Receives operation information indicating the file operation type and file update time, and the target file name including the folder name of the file operation target file, and detects creation or overwriting of the file based on the operation information. A detection unit;
When a file creation or overwriting is detected by the detection unit, a backup file obtained by duplicating a file having a target file name indicated by the operation information is represented by information indicating that it is a backup file and a child number. A backup file generation unit for writing to the backup storage unit by a file name added to the file name;
Information that associates the update time and target file name set in the operation information with the backup file name that is the file name of the backup file generated by the backup generation unit is stored in the backup storage unit A table update unit for writing to the backup management table;
A file management apparatus comprising:
前記検出部は、受信した操作情報によりファイルの削除を検出し、
バックアップファイル生成部は、前記検出部によりファイル削除が検出された場合に、当該操作情報により示される対象ファイル名に、ファイルの削除を示す情報と子番号とを付加したファイル名の削除用ダミーファイルを前記バックアップ記憶部に書き込み、
前記テーブル更新部は、前記操作情報に設定されている更新時刻及び対象ファイル名と、前記バックアップ生成部が生成した削除用ダミーファイルのファイル名とを対応づけた情報を前記バックアップ記憶部に記憶されている前記バックアップ管理テーブルに書き込む、
ことを特徴とする請求項1に記載のファイル管理装置。
The detection unit detects deletion of a file based on the received operation information,
When the detection unit detects a file deletion, the backup file generation unit deletes a dummy file with a file name in which information indicating deletion of the file and a child number are added to the target file name indicated by the operation information To the backup storage unit,
The table update unit stores in the backup storage unit information that associates the update time and target file name set in the operation information with the file name of the deletion dummy file generated by the backup generation unit. Writing to the backup management table
The file management apparatus according to claim 1.
前記検出部は、受信した操作情報によりファイル名の変更を検出し、
バックアップファイル生成部は、前記検出部によりファイル名の変更が検出された場合に、当該操作情報により示される変更前ファイル名に、ファイルの削除を示す情報と子番号とを付加したファイル名の削除用のダミーファイルを前記バックアップ記憶部に書き込むとともに、当該操作情報により示される変更後ファイル名のファイルを複製したバックアップファイルを、バックアップファイルであることを示す情報と子番号とを当該変更後ファイル名に付加したファイル名により前記バックアップ記憶部に書き込み、
前記テーブル更新部は、前記操作情報に設定されている更新時刻と、前記変更前ファイル名を示す対象ファイル名と、前記バックアップ生成部が生成した削除用ダミーファイルのファイル名とを対応づけた情報を前記バックアップ管理テーブルに書き込むとともに、当該操作情報に設定されている更新時刻と、前記変更後ファイル名を示す対象フィアル名と、前記バックアップ生成部が生成したバックアップファイルのバックアップファイル名とを対応づけた情報を前記バックアップ管理テーブルに書き込む、
ことを特徴とする請求項2に記載のファイル管理装置。
The detection unit detects a change in the file name based on the received operation information,
The backup file generation unit deletes the file name by adding information indicating deletion of the file and a child number to the pre-change file name indicated by the operation information when the detection unit detects a change in the file name. A dummy file for use in the backup storage unit, and a backup file obtained by duplicating the file having the changed file name indicated by the operation information, the information indicating that the file is a backup file and the child number are added to the changed file name. Write to the backup storage unit by the file name appended to
The table update unit is information that associates the update time set in the operation information, the target file name indicating the pre-change file name, and the file name of the deletion dummy file generated by the backup generation unit In the backup management table, the update time set in the operation information, the target file name indicating the changed file name, and the backup file name of the backup file generated by the backup generation unit are associated with each other Write the information to the backup management table,
The file management apparatus according to claim 2.
ユーザの端末から復旧対象時刻の情報を受信し、前記バックアップ管理テーブルから当該復旧対象時刻以前が更新時刻であるバックアップファイル名を復元対象として特定し、特定した復元対象に同じ対象ファイル名に対応しているバックアップファイル名が含まれる場合は、最も前記復旧対象時刻に近い更新時刻のバックアップファイル名のみを復元対象とし、当該復元対象のバックアップファイル名に対応した対象ファイル名を読み出す検索部と、
前記検索部により前記復元対象のバックアップファイル名に対応して読み出された前記対象ファイル名のファイルをファイル復旧領域に生成し、当該ファイル復旧領域に生成されたファイルの出力指示を受信した場合に、当該ファイルの対象ファイル名に対応した前記復元対象のバックアップファイル名のバックアップファイルを前記バックアップ記憶部から読み出して出力する復元部と、
をさらに備えることを特徴とする請求項1から請求項3のいずれかの項に記載のファイル管理装置。
Receives information about the recovery target time from the user's terminal, identifies a backup file name whose update time is before the recovery target time from the backup management table as a restoration target, and corresponds to the same target file name as the identified restoration target. A search unit that reads only the backup file name at the update time closest to the recovery target time and reads the target file name corresponding to the backup file name to be restored,
When the search unit generates a file with the target file name read corresponding to the backup file name to be restored in the file recovery area and receives an output instruction for the file generated in the file recovery area A restoration unit that reads out and outputs a backup file of the backup file name to be restored corresponding to the target file name of the file from the backup storage unit;
The file management apparatus according to any one of claims 1 to 3, further comprising:
前記復元部は、前記復元対象のバックアップファイル名に対応して読み出された前記対象ファイル名のファイルを、前記ユーザに対応したファイル復旧領域に生成する、
ことを特徴とする請求項4に記載のファイル管理装置。
The restoration unit generates a file having the target file name read corresponding to the backup file name to be restored in a file recovery area corresponding to the user.
The file management apparatus according to claim 4, wherein:
前記検索部は、前記バックアップ管理テーブルに、復元対象のバックアップファイル名に対応した対象ファイル名と同じ対象ファイル名に対応して削除用ダミーファイルのファイル名が登録されており、当該削除用ダミーファイルのファイル名に対応した更新時刻が当該復元対象のバックアップファイル名に対応した更新時刻以降であり、かつ、前記ファイル復旧対象時刻以前であった場合、当該バックアップファイル名を復元対象から除外する、
ことを特徴とする請求項4または請求項5に記載のファイル管理装置。
In the backup management table, the file name of the deletion dummy file corresponding to the same target file name as the target file name corresponding to the backup file name to be restored is registered in the backup management table. If the update time corresponding to the file name is after the update time corresponding to the backup file name to be restored and before the file recovery target time, the backup file name is excluded from the restoration target.
6. The file management apparatus according to claim 4, wherein the file management apparatus is a file management apparatus.
前記テーブル記憶部は、変更されたフォルダ名を管理するフォルダ名変更管理テーブルをさらに記憶し、
前記操作情報は、フォルダ操作の種類及びフォルダの更新時刻と操作対象のフォルダ名とを示し、
前記検出部は、受信した操作情報によりフォルダ名の変更を検出し、
前記バックアップファイル生成部は、前記検出部によりフォルダ名の変更が検出された場合に、当該操作情報により示されるフォルダ名変更時刻、変更前フォルダ名及び変更後フォルダ名を含んだフォルダ名のフォルダ名変更用ダミーファイルを前記バックアップ記憶部に書き込み、
前記検索部は、さらに、前記復元対象のバックアップファイル名に対応した更新時刻を読み出し、読み出した更新時刻以降、かつ、前記復元対象時刻以前のフォルダ名変更時刻に対応して、当該復元対象のバックアップファイル名に含まれるフォルダ名が変更前フォルダ名としてフォルダ名変更管理テーブルに登録されている場合に、当該変更前フォルダ名に対応した変更後フォルダ名を読み出し、
前記復元部は、前記検索部により前記復元対象のバックアップファイル名に対応して読み出された前記対象ファイル名内の前記変更前フォルダ名を前記変更後フォルダ名に置き換えたファイル名のファイルをファイル復旧領域に生成し、当該ファイル復旧領域に生成されたファイルの出力指示を受信した場合に、前記復元対象のバックアップファイル名のバックアップファイルを前記バックアップ記憶部から読み出して出力する、
ことを特徴とする請求項4から請求項6のいずれかの項に記載のファイル管理装置。
The table storage unit further stores a folder name change management table for managing the changed folder name,
The operation information indicates the type of folder operation, the update time of the folder, and the folder name to be operated,
The detection unit detects a change of the folder name based on the received operation information,
The backup file generation unit, when the change of the folder name is detected by the detection unit, the folder name of the folder name including the folder name change time, the folder name before change, and the folder name after change indicated by the operation information Write a change dummy file to the backup storage unit,
The retrieval unit further reads out the update time corresponding to the backup file name to be restored, and corresponds to the folder name change time after the read update time and before the restoration target time. When the folder name included in the file name is registered in the folder name change management table as the pre-change folder name, the post-change folder name corresponding to the pre-change folder name is read,
The restoration unit includes a file having a file name obtained by replacing the folder name before change in the target file name read by the search unit corresponding to the backup file name to be restored with the folder name after change. When generating in the recovery area and receiving an output instruction for the file generated in the file recovery area, the backup file with the backup file name to be restored is read from the backup storage unit and output.
The file management apparatus according to claim 4, wherein the file management apparatus is a file management apparatus.
前記バックアップ生成部は、
前記フォルダ名変更管理テーブルから変更前フォルダ名及びフォルダ名変更時刻を読み出し、
更新時刻が前記フォルダ名変更時刻以前であり、かつ、前記変更前フォルダ名が含まれるバックアップファイル名のバックアップファイルから、同じ対象ファイル名に対応したバックアップファイルについてはファイル生成時刻が最も前記フォルダ名変更時刻に近いバックアップファイルを抽出し、さらに、この抽出したバックアップファイルから、当該バックアップファイルと同じ対象ファイル名に対応して生成され、ファイル生成時刻が当該バックアップファイルのファイル生成時刻以降、かつ、フォルダ名変更時刻以前である削除用ダミーファイルが存在するバックアップファイルを除外し、
除外した残りのバックアップファイルを複製し、当該バックアップファイルのバックアップファイル名内の前記変更前フォルダ名を前記変更後フォルダ名に置き換え、新たな子番号を付与したバックアップファイル名により前記バックアップ記憶部に書き込み、さらに、前記除外した残りのバックアップフィアルに対応した対象ファイルの削除用ダミーファイルを生成して前記バックアップ記憶部に書き込み、
前記テーブル管理部は、前記バックアップ生成部が前記バックアップ記憶部に書き込んだバックアップファイルのバックアップファイル名と、当該バックアップファイル名から取得した対象ファイル名と、前記フォルダ名変更時刻とを対応づけた情報を前記バックアップ管理テーブルに書き込むとともに、前記バックアップ生成部が前記バックアップ記憶部に書き込んだ削除用ダミーファイルのファイル名と、当該ファイル名から取得した対象ファイル名と、前記フォルダ名変更時刻とを対応づけた情報を前記バックアップ管理テーブルに書き込む、
ことを特徴とする請求項7に記載のファイル管理装置。
The backup generation unit
Read the folder name before change and the folder name change time from the folder name change management table,
For backup files corresponding to the same target file name from the backup file name whose update time is before the folder name change time and which includes the pre-change folder name, the file generation time is the most A backup file close to the time is extracted, and is further generated from the extracted backup file corresponding to the same target file name as the backup file, the file generation time is after the file generation time of the backup file, and the folder name Exclude backup files with delete dummy files that are before the modification time,
Copy the remaining excluded backup files, replace the pre-change folder name in the backup file name of the backup file with the post-change folder name, and write to the backup storage unit with the backup file name given a new child number In addition, a dummy file for deleting the target file corresponding to the remaining backup file excluded is generated and written to the backup storage unit,
The table management unit includes information that associates the backup file name of the backup file written by the backup generation unit into the backup storage unit, the target file name acquired from the backup file name, and the folder name change time. In addition to writing to the backup management table, the file name of the dummy file for deletion written to the backup storage unit by the backup generation unit, the target file name acquired from the file name, and the folder name change time are associated with each other Writing information to the backup management table;
The file management apparatus according to claim 7.
前記バックアップ記憶部に記憶されているバックアップファイルのバックアップファイル名と、当該バックアップファイル名から取得した対象ファイル名と、当該バックアップファイルの作成時刻とを対応づけた情報を含んだバックアップ管理テーブルを生成するテーブル復旧部をさらに備える、
ことを特徴とする請求項1から請求項8のいずれかの項に記載のファイル管理装置。
Generate a backup management table including information that associates the backup file name of the backup file stored in the backup storage unit, the target file name acquired from the backup file name, and the creation time of the backup file A table recovery unit;
The file management apparatus according to claim 1, wherein the file management apparatus is a file management apparatus.
前記操作情報は、フォルダ操作の種類と操作対象のフォルダ名とを示し、
前記検出部は、受信した操作情報によりフォルダ名の変更を検出し、
バックアップファイル生成部は、前記検出部によりフォルダ名の変更を検出した場合に、当該操作情報により示される変更前フォルダ名及び変更後フォルダ名を含んだフォルダ名変更用ダミーファイルを前記バックアップ記憶部に書き込み、
前記テーブル復旧部は、前記バックアップ記憶部に記憶されている前記フォルダ名変更用ダミーファイルで示される変更前フォルダ名及び変更後フォルダ名と、当該フォルダ名変更用ダミーファイルの作成時刻とを対応づけた情報を含んだフォルダ名変更管理テーブルを生成する、
ことを特徴とする請求項9に記載のファイル管理装置。
The operation information indicates the type of folder operation and the name of the folder to be operated,
The detection unit detects a change of the folder name based on the received operation information,
The backup file generation unit, when the change of the folder name is detected by the detection unit, a folder name change dummy file including the folder name before change and the folder name after change indicated by the operation information in the backup storage unit writing,
The table restoration unit associates the folder name before change and the folder name after change indicated by the folder name change dummy file stored in the backup storage unit with the creation time of the folder name change dummy file. Create a folder name change management table that includes
The file management apparatus according to claim 9.
前記バックアップ記憶部は、重複排除技術を用いて前記バックアップファイルを記憶することを特徴とする請求項1から請求項10のいずれかの項に記載のファイル管理装置。   The file management apparatus according to claim 1, wherein the backup storage unit stores the backup file using a deduplication technique.
JP2009080453A 2009-03-27 2009-03-27 File management device Pending JP2010231656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009080453A JP2010231656A (en) 2009-03-27 2009-03-27 File management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009080453A JP2010231656A (en) 2009-03-27 2009-03-27 File management device

Publications (1)

Publication Number Publication Date
JP2010231656A true JP2010231656A (en) 2010-10-14

Family

ID=43047381

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009080453A Pending JP2010231656A (en) 2009-03-27 2009-03-27 File management device

Country Status (1)

Country Link
JP (1) JP2010231656A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012181796A (en) * 2011-03-03 2012-09-20 Nec Fielding Ltd Information processing system, duplicate file removal method for information processing system, information processor, and control method and control program for information processor
WO2013115584A1 (en) * 2012-02-01 2013-08-08 삼성전자 주식회사 Apparatus and method for managing media file
JP2014142764A (en) * 2013-01-23 2014-08-07 Nec Corp Computer, nas access method, and nas access program
JP2014526748A (en) * 2011-09-12 2014-10-06 マイクロソフト コーポレーション Efficient data recovery
WO2015033984A1 (en) * 2013-09-06 2015-03-12 株式会社Ubic Digital information management system, digital information management method, and digital information management program
JP2015069511A (en) * 2013-09-30 2015-04-13 株式会社日立ソリューションズ Mobile terminal internal data reference system
JP2017010150A (en) * 2015-06-18 2017-01-12 株式会社バッファロー Information processing device, information processing method, and program
JP2019028914A (en) * 2017-08-03 2019-02-21 富士通株式会社 Data analysis program, data analysis method, and data analysis device
JP2019135577A (en) * 2018-02-05 2019-08-15 富士通株式会社 Control program, control method, and information processing device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012181796A (en) * 2011-03-03 2012-09-20 Nec Fielding Ltd Information processing system, duplicate file removal method for information processing system, information processor, and control method and control program for information processor
JP2014526748A (en) * 2011-09-12 2014-10-06 マイクロソフト コーポレーション Efficient data recovery
WO2013115584A1 (en) * 2012-02-01 2013-08-08 삼성전자 주식회사 Apparatus and method for managing media file
JP2014142764A (en) * 2013-01-23 2014-08-07 Nec Corp Computer, nas access method, and nas access program
WO2015033984A1 (en) * 2013-09-06 2015-03-12 株式会社Ubic Digital information management system, digital information management method, and digital information management program
JP2015069511A (en) * 2013-09-30 2015-04-13 株式会社日立ソリューションズ Mobile terminal internal data reference system
JP2017010150A (en) * 2015-06-18 2017-01-12 株式会社バッファロー Information processing device, information processing method, and program
JP2019028914A (en) * 2017-08-03 2019-02-21 富士通株式会社 Data analysis program, data analysis method, and data analysis device
JP2019135577A (en) * 2018-02-05 2019-08-15 富士通株式会社 Control program, control method, and information processing device

Similar Documents

Publication Publication Date Title
JP2010231656A (en) File management device
US11520670B2 (en) Method and apparatus for restoring data from snapshots
US9542423B2 (en) Backup user interface
KR101014089B1 (en) System and method for a consistency check of a database backup
JP4749266B2 (en) Backup control apparatus and method without duplication of information resources
JP4847709B2 (en) Methods, media, and systems for recovering data using a timeline-based computing environment
US7904425B2 (en) Generating backup sets to a specific point in time
US8688645B2 (en) Incremental restore of data between storage systems having dissimilar storage operating systems associated therewith
US8135677B2 (en) File management system and method
JP5697754B2 (en) Computer system, file management method, and metadata server
JP2014526748A (en) Efficient data recovery
US20060212481A1 (en) Distributed open writable snapshot copy facility using file migration policies
US20130013653A1 (en) Tracking file contents
KR20090110823A (en) System for automatically shadowing data and file directory structures that are recorded on a computer memory
US20080195827A1 (en) Storage control device for storage virtualization system
US8990272B2 (en) Versioned file system with pruning
JP2008033912A (en) Method and device of continuous data protection for nas
JP2007317017A (en) Storage system, data protection method, and program
JP5650982B2 (en) Apparatus and method for eliminating file duplication
JP2009070143A (en) Method for restoring data in differential remote backup of nas device, and computer system
US20120185438A1 (en) Local backup
US9665594B2 (en) Local backup
Chivers et al. Forensic data recovery from the windows search database
US20120005162A1 (en) Managing Copies of Data Structures in File Systems
JP4437116B2 (en) Document file movement tracking device, document file movement tracking system, document file movement tracking method and program