JP2010146038A - File preservation method in nas device - Google Patents

File preservation method in nas device Download PDF

Info

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
Application number
JP2008319079A
Other languages
Japanese (ja)
Inventor
Tokihiro Tsuchiya
時博 土谷
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2008319079A priority Critical patent/JP2010146038A/en
Publication of JP2010146038A publication Critical patent/JP2010146038A/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 provide a data preservation method for permitting the usage of past data by the operation of a general user him/herself without receiving the conventional restriction of the number of preservation generations and the interval of preservation in a NAS device. <P>SOLUTION: The file updating monitoring module of the NAS device monitors the updating (overwriting processing) of a file from a client device by a user operation, and then, the file before updating is automatically preserved with a different file name. Thus, the past data to be operated by the user him/herself is preserved. The present invention permits the preservation of the past data to be operated by the user him/herself in the NAS device. <P>COPYRIGHT: (C)2010,JPO&INPIT

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).

特開2005−275758号公報JP 2005-275758 A

複数のクライアント装置からのアクセスが可能であり、ファイルデータの共有目的で使用される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 NAS apparatus 101 includes a file system 103, a device driver 104, a data storage area 105 such as an HDD, a file update monitoring module 102, and a file update management table, and a plurality of clients via a network 107. This is a general configuration connected to the device 106. 1 shows a configuration in which the data storage area 105 is mounted inside the NAS apparatus 101. However, a configuration in which an external storage apparatus is connected as the data storage area is also possible. Since it is irrelevant whether the storage area is inside or outside the NAS apparatus 101, only the former configuration is described.

次に、図2は、本発明の実施の形態によるクライアント装置106からNAS装置101に対してファイル書込み時の動作を示すフローチャートである。図2のフローを参照しながら、ファイル更新書込み処理について説明する。   Next, FIG. 2 is a flowchart showing an operation at the time of writing a file from the client apparatus 106 to the NAS apparatus 101 according to the embodiment of the present invention. The file update writing process will be described with reference to the flow of FIG.

まず、クライアント装置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 client device 106 to the NAS device 101 (201), and the file system 103 reads the data of the target file from the data storage area 105 via the device driver 104. Here, the file update monitoring module 102 compares the file name of the read file with the information set in the file update management table, and determines whether the file is to be automatically saved with another file name (203). ). If it is not the target, the read file data is only transmitted to the client device 106 (205), and then a file write or file close request from the client device 106 is instructed to the file system 103 as it is (209). If it is determined to be the target, the file is transmitted to the client device and saved as a temporary file of an alias file in which the update date and time possessed as attribute information of the file is added to the file name of the read file data (204).

さらに、クライアント装置106にてファイルの編集を行い、上書き保存を実行した場合には、ファイル更新監視モジュール102は、ファイルシステム103に対して、当該ファイルの書込み指示と共に、別名ファイルとして保存した一時ファイルの書込み指示を行う(207)。一方、クライアント装置106にてユーザ自身で別名ファイルとして書き込みを行った場合や更新を行わずファイルクローズ操作を行った場合には、ファイル更新監視モジュール102は、ファイルシステム103に対して、当該ファイルの書込み又はクローズ指示と共に、別名ファイルとして保存した一時ファイルの削除指示を行う(208)。以降はファイルシステム103によりデバイスドライバ104を介してデータ記憶域105へデータの書き込み処理が行われる。   In addition, when the client device 106 edits the file and executes overwriting, the file update monitoring module 102 instructs the file system 103 to write the file together with the temporary file stored as an alias file. Is written (207). On the other hand, when the user himself / herself writes as an alias file in the client device 106 or performs a file close operation without updating, the file update monitoring module 102 sends the file system 103 to the file system 103. Along with the write or close instruction, an instruction to delete the temporary file stored as the alias file is issued (208). Thereafter, data is written into the data storage area 105 via the device driver 104 by the file system 103.

図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 target path information 302 to be automatically saved with another file name and the update automatically saved with another file name are shown. Interval information 303 is defined. As a result, when it is determined (203) whether the file is to be automatically saved with a different file name in the description of the above flow, along with the determination with the file name, the update date / time information of the read file is used as the system time information of the NAS device 101. If the update interval is within the update interval set in the file update management table 301, it is possible not to perform automatic saving with a different file name as a non-target file. By limiting the target file by specifying the file name, the file path name, and the update interval, it is possible to minimize the use of the data storage area by automatic saving with another file name.

本発明の別ファイル名での自動保存による過去データの保存方式を適用した実施例の構成を示す図である。It is a figure which shows the structure of the Example which applied the preservation | save method of the past data by the automatic preservation | save by another file name of this invention. 本発明の実施例に係るファイル更新監視モジュールが別ファイル名での自動保存を実行する方法例を示すフローチャート図である。It is a flowchart figure which shows the example of a method in which the file update monitoring module which concerns on the Example of this invention performs automatic preservation | save with another file name. 本発明の実施例に係るファイル更新管理テーブルの設定する定義情報である。It is the definition information which the file update management table which concerns on the Example of this invention sets. 本発明の実施例に係る別ファイル名での自動保存を行った場合のファイル名の実施例である。It is an Example of the file name at the time of performing automatic preservation | save with another file name based on the Example of this invention.

符号の説明Explanation of symbols

101…NAS装置、102…ファイル更新監視モジュール、103…ファイルシステム、104…デバイスドライバ、105…データ記憶域、106…クライアント装置、107…ネットワーク、108…ファイル更新管理テーブル。   DESCRIPTION OF SYMBOLS 101 ... NAS apparatus, 102 ... File update monitoring module, 103 ... File system, 104 ... Device driver, 105 ... Data storage area, 106 ... Client device, 107 ... Network, 108 ... File update management table.

Claims (2)

複数のクライアント装置からネットワークを介してファイルアクセスされるNAS装置において、ファイルシステムの上位にファイル更新監視モジュールを有しており、クライアント装置からのファイルの更新書込み時に当該ファイルの更新前のファイル名を変更して別ファイル名として保存することで、更新ファイルの履歴を全て保存することか可能となるNAS装置でのファイル保存方法。   In a NAS device that is accessed from multiple client devices via a network, it has a file update monitoring module at the upper level of the file system, and the file name before update of the file is written when the file update is written from the client device. A file storage method on the NAS device that can save all the history of updated files by changing and saving as a different file name. ファイル更新監視モジュールを有したNAS装置において、ファイル更新管理テーブルの情報に基づき、クライアント装置からのファイルの更新書込み時に当該ファイルの更新前のファイル名を変更して別ファイル名として保存する対象ファイルを、任意の範囲に限定することが可能であるNAS装置でのファイル保存方法。   In a NAS device that has a file update monitoring module, based on the information in the file update management table, the target file to be saved as a different file name by changing the file name before update of the file at the time of file update write from the client device File storage method on NAS device that can be limited to any range.
JP2008319079A 2008-12-16 2008-12-16 File preservation method in nas device Pending JP2010146038A (en)

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)

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