JP2010146038A - File preservation method in nas device - Google Patents
File preservation method in nas device Download PDFInfo
- Publication number
- JP2010146038A JP2010146038A JP2008319079A JP2008319079A JP2010146038A JP 2010146038 A JP2010146038 A JP 2010146038A JP 2008319079 A JP2008319079 A JP 2008319079A JP 2008319079 A JP2008319079 A JP 2008319079A JP 2010146038 A JP2010146038 A JP 2010146038A
- Authority
- JP
- Japan
- Prior art keywords
- file
- update
- nas device
- data
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
クライアント装置からネットワークを介してファイルアクセスされるNAS装置において、更新ファイルの履歴を保存世代数や保存時間間隔に制約されず全て保存する。 In the NAS device that is accessed from the client device via the network, all update file histories are stored regardless of the number of storage generations or the storage time interval.
従来、NAS装置に保存されたファイルの更新データの保護手段としては、ユーザ自身でファイル名にレビジョン番号を付けるなどして別ファイル名として保存することや、Windows(登録商標)のボリュームシャドウコピー機能による更新前データの保存や、バックアップソフトウェアによるバックアップ装置へのバックアップで取得することで行われてきた(たとえば、特許文献1)。 Conventionally, as a means of protecting the update data of files stored on NAS devices, the user can save the file name as a different file name by attaching a revision number to the file name, or the volume shadow copy function of Windows (registered trademark) It has been performed by storing data before update according to the above, and acquiring it by backing up to a backup device using backup software (for example, Patent Document 1).
複数のクライアント装置からのアクセスが可能であり、ファイルデータの共有目的で使用されるNAS装置において、意図して、意図しないに限らず、ファイルデータの更新が行われるが、更新前のデータが必要となる場合も少なからず発生するため、過去データの保護が重要となっている。 In NAS devices that can be accessed from multiple client devices and used for file data sharing purposes, file data is updated, whether intentionally or unintentionally, but pre-update data is required In many cases, the protection of past data is important.
ユーザ自身でファイル名にレビジョン番号を付けるなどして別ファイル名として保存する方法は、あくまでユーザ自身に委ねられるため、別ファイル名への変更忘れや誤操作により、必ずしも更新前データが保存できるとは言えない。 The method of saving the file name as a different file name by adding the revision number to the user name is left up to the user itself, so if you forget to change to a different file name or make a mistake, you can always save the pre-update data. I can not say.
一方、バックアップソフトウェアを利用したバックアップでは、バックアップおよびリストア作業は一般的にシステム管理者により行われ、一般ユーザが操作を行うことは困難であり、バックアップ間隔も1日に1回などに限られる場合が一般的である。 On the other hand, in backups using backup software, backup and restore operations are generally performed by system administrators, and it is difficult for general users to perform operations, and the backup interval is limited to once a day. Is common.
また、Windows(登録商標)のボリュームシャドウコピー機能では、更新前データをクライアント装置から復元することが可能となっており、一般ユーザが必要に応じて操作することが可能である。しかし、ボリュームシャドウコピー機能で保存されるのは最大64世代となっており、また保存間隔も制限されている。 In addition, with the volume shadow copy function of Windows (registered trademark), pre-update data can be restored from the client device, and can be operated by a general user as needed. However, the volume shadow copy function stores up to 64 generations, and the storage interval is limited.
従って、保存世代数や保存間隔の制約を受けずに、一般ユーザ自身の操作で過去データの利用が可能となるデータの保存方法が課題となる。 Accordingly, there is a problem of a data storage method that allows past data to be used by a general user's own operation without being restricted by the number of generations to be stored or a storage interval.
本発明は、NAS装置のファイル更新監視モジュールによって、クライアント装置からのファイル更新操作を監視し、既存ファイルの更新時には、更新前のファイルに対して直前の更新日を付加した別名ファイルとして自動保存することで、ユーザ自身で操作が可能な過去データの保存を可能とする。 According to the present invention, a file update operation from a client device is monitored by a file update monitoring module of a NAS device, and when an existing file is updated, it is automatically saved as an alias file with the previous update date added to the file before the update. Thus, it is possible to save past data that can be operated by the user himself / herself.
本発明によって得られる効果を簡単に説明すれば以下の通りである。 The effects obtained by the present invention will be briefly described as follows.
NAS装置において、ファイルの更新書込み時に自動的に更新前のデータを別名ファイルで保存することにより、ユーザが意識することなく全ての過去データの保存が可能となり、且つ保存される過去データは通常のファイルとして認識可能なデータであるため、ユーザ自身の操作において必要に応じて過去データの利用が可能となる。 In the NAS device, when the file is updated and written, the data before update is automatically saved as an alias file, so that all past data can be saved without the user's awareness. Since the data is recognizable as a file, past data can be used as needed in the user's own operation.
以下、図面を元に、本発明の実施の形態例について説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明のNAS装置と、クライアント装置がネットワークで接続されている一例を示す概略構成図である。NAS装置101は、ファイルシステム103、デバイスドライバ104、HDDなどのデータ記憶域105と共に、ファイル更新監視モジュール102およびファイル更新管理テーブルを有した構成となっており、ネットワーク107を介して、複数のクライアント装置106と接続された一般的な構成である。なお、図1では、NAS装置101の内部にデータ記憶域105を搭載した構成を示しているが、データ記憶域として、外部ストレージ装置を接続した構成とすることも可能ではあるが、本発明において記憶域をNAS装置101の内部であるか外部であるかは無関係であるため、前者の構成のみを記している。
FIG. 1 is a schematic configuration diagram showing an example in which a NAS device of the present invention and a client device are connected via a network. The
次に、図2は、本発明の実施の形態によるクライアント装置106からNAS装置101に対してファイル書込み時の動作を示すフローチャートである。図2のフローを参照しながら、ファイル更新書込み処理について説明する。
Next, FIG. 2 is a flowchart showing an operation at the time of writing a file from the
まず、クライアント装置106からNAS装置101に対して、対象ファイルのファイルオープン要求が出され(201)、ファイルシステム103はデバイスドライバ104を介してデータ記憶域105から対象ファイルのデータを読み出す。ここで、ファイル更新監視モジュール102は、読み出されたファイルのファイル名をファイル更新管理テーブルに設定された情報と比較して、別ファイル名での自動保存の対象であるかを判定する(203)。対象外の場合には、読み出したファイルデータをクライアント装置106へ送信するのみであり(205)、その後クライアント装置106からのファイル書き込みまたはファイルクローズ要求をそのままファイルシステム103へ指示する(209)。対象と判定した場合には、クライアント装置に送信すると共に、読み出したファイルデータのファイル名にそのファイルの属性情報として持っている更新日時を付加した別名ファイルの一時ファイルとして保存する(204)。
First, a file open request for a target file is issued from the
さらに、クライアント装置106にてファイルの編集を行い、上書き保存を実行した場合には、ファイル更新監視モジュール102は、ファイルシステム103に対して、当該ファイルの書込み指示と共に、別名ファイルとして保存した一時ファイルの書込み指示を行う(207)。一方、クライアント装置106にてユーザ自身で別名ファイルとして書き込みを行った場合や更新を行わずファイルクローズ操作を行った場合には、ファイル更新監視モジュール102は、ファイルシステム103に対して、当該ファイルの書込み又はクローズ指示と共に、別名ファイルとして保存した一時ファイルの削除指示を行う(208)。以降はファイルシステム103によりデバイスドライバ104を介してデータ記憶域105へデータの書き込み処理が行われる。
In addition, when the
図3には、ファイル更新管理テーブル301の設定情報を示しているが、本テーブルには、別ファイル名での自動保存の対象ファイル名もしくは対象パス情報302と、別ファイル名で自動保存する更新間隔情報303を定義している。これにより、上記フローの説明における別ファイル名での自動保存の対象であるかを判定(203)時に、ファイル名での判定と共に、読み出したファイルの更新日時情報を、NAS装置101のシステム時刻情報を比較して、ファイル更新管理テーブル301に設定された更新間隔以内の場合には、対象外ファイルとして別ファイル名での自動保存を行わないようにすることも可能となる。このようなファイル名、ファイルパス名指定および更新間隔指定により対象ファイルを限定することで、別ファイル名での自動保存によるデータ記憶域の使用を必要最小限に抑えることが可能となる。
FIG. 3 shows the setting information of the file update management table 301. In this table, the target file name or
101…NAS装置、102…ファイル更新監視モジュール、103…ファイルシステム、104…デバイスドライバ、105…データ記憶域、106…クライアント装置、107…ネットワーク、108…ファイル更新管理テーブル。
DESCRIPTION OF
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008319079A JP2010146038A (en) | 2008-12-16 | 2008-12-16 | File preservation method in nas device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008319079A JP2010146038A (en) | 2008-12-16 | 2008-12-16 | File preservation method in nas device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2010146038A true JP2010146038A (en) | 2010-07-01 |
Family
ID=42566466
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008319079A Pending JP2010146038A (en) | 2008-12-16 | 2008-12-16 | File preservation method in nas device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2010146038A (en) |
-
2008
- 2008-12-16 JP JP2008319079A patent/JP2010146038A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8135677B2 (en) | File management system and method | |
| US20110035428A1 (en) | Tracking file contents | |
| US9424265B1 (en) | Method and system for backing up and restoring a multi-user relational database management system | |
| US20140032833A1 (en) | Dynamic Disk Space Management In A File System | |
| US9135266B1 (en) | System and method for enabling electronic discovery searches on backup data in a computer system | |
| US9805075B1 (en) | Method and system for a data protection policy generator | |
| WO2018161559A1 (en) | Power failure protection method and device for non-volatile memory | |
| JP2008234140A (en) | File access destination controller, method therefor, and program therefor | |
| US10846181B2 (en) | Database recovery after system copy | |
| US8538925B2 (en) | System and method for backing up test data | |
| CN103729265B (en) | A kind of guard method storing data and device | |
| WO2016202070A1 (en) | Method and device for recording log in network system | |
| US9557932B1 (en) | Method and system for discovering snapshot information based on storage arrays | |
| JP2014178784A (en) | Information processing device, information processing system, and information processing program | |
| US10929338B2 (en) | Maintaining access control lists in non-identity-preserving replicated data repositories | |
| US7809778B2 (en) | Idempotent journal mechanism for file system | |
| US8239403B2 (en) | Enhancing soft file system links | |
| TW201516655A (en) | System and method for recovering distributed file system | |
| CN112000971B (en) | A file permission recording method, system and related device | |
| CN100447765C (en) | A mapping method for mobile storage devices | |
| JP2010146038A (en) | File preservation method in nas device | |
| US8688733B2 (en) | Remote inventory manager | |
| CN101419575A (en) | Data protection method | |
| US10534760B1 (en) | Method and system for retrieving backup parameters for recovery | |
| US9524217B1 (en) | Federated restores of availability groups |