KR20020065976A - Method for data backup using realtime monitoring of files and system therefor - Google Patents
Method for data backup using realtime monitoring of files and system therefor Download PDFInfo
- Publication number
- KR20020065976A KR20020065976A KR1020010006115A KR20010006115A KR20020065976A KR 20020065976 A KR20020065976 A KR 20020065976A KR 1020010006115 A KR1020010006115 A KR 1020010006115A KR 20010006115 A KR20010006115 A KR 20010006115A KR 20020065976 A KR20020065976 A KR 20020065976A
- Authority
- KR
- South Korea
- Prior art keywords
- file
- backup
- change
- identifier
- storage unit
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1435—Saving, restoring, recovering or retrying at system level using file system or storage system metadata
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
본 발명은 파일의 변경상태를 실시간으로 감지하여 상태가 변경된 파일의 식별자를 기록한 후 백업작업 수행시 상기 식별자를 이용하여 상태가 변경된 파일에 대해서만 백업하는 파일의 실시간 모니터링을 통한 데이터 백업 방법 및 시스템에 관한 것이다.The present invention provides a data backup method and system through real-time monitoring of a file that detects a file change state in real time and records an identifier of a file whose state is changed, and then backs up only a file whose state has been changed using the identifier when performing a backup operation. It is about.
파일상태감지부는 파일시스템상에서 파일들의 변경을 실시간으로 감지하여 상태 변경이 감지된 파일을 변경파일저장부로 송신한다. 이때 네트워크의 부하를 감소시키기 위해 상기 파일이 백업대상으로 선정되었는지 그리고 상기 파일의 식별자가 이미 변경파일저장부로 송신되었는지 여부를 확인하여, 백업대상이며 기전송되지 않은 파일의 식별자만을 전송함이 바람직하다. 변경파일저장부는 지속적으로 수신되는 상기 변경파일식별자를 저장한다. 백업작업이 시작되면 처리부는 상기 변경파일저장부에 기록된 파일식별자에 해당하는 파일만을 상기 파일시스템으로부터 읽어들여 이들을 백업데이터저장부에 저장함으로써 백업작업을 완료한다.The file state detection unit detects a change of files in a file system in real time and transmits a file whose state change is detected to the change file storage unit. At this time, to reduce the load on the network, it is preferable to check whether the file is selected as a backup target and whether the file identifier has already been transmitted to the change file storage unit, so that only an identifier of a file to be backed up and not transmitted is preferably transmitted. . The change file storage unit stores the change file identifier continuously received. When the backup operation starts, the processing unit reads only files corresponding to file identifiers recorded in the change file storage unit from the file system and stores them in the backup data storage unit to complete the backup operation.
이로 인해 백업에 소요되는 시간이 대폭 줄어들게 됨은 물론 백업시스템 및 백업대상 시스템에 걸리는 부하가 현저히 줄어드는 이점을 갖는다.As a result, the time required for backup is greatly reduced, and the load on the backup system and the backup target system is significantly reduced.
Description
본 발명은 데이터 백업 방법 및 시스템에 관한 것으로, 보다 상세하게는, 파일의 변경상태를 실시간으로 감지하여 상태가 변경된 파일의 식별자를 기록한 후 백업작업 수행시 상기 식별자를 이용하여 상태가 변경된 파일에 대해서만 백업하는 데이터 백업 방법 및 시스템에 관한 것이다.The present invention relates to a method and a system for backing up data, and more particularly, to detect a file change state in real time, record an identifier of a file whose state is changed, and then perform only a file whose state is changed using the identifier when performing a backup operation. A method and system for backing up data are provided.
종래의 백업방법은 사용자가 백업하고자 지정한 파일에 대해서 전체를 모두 백업하거나, 백업시 백업대상 파일 각각에 대해서 파일의 상태변경 여부를 순차적으로 비교하여 상태가 변경된 파일에 대해서만 백업을 수행하는 것이었다. 즉, 사용자의 명령 혹은 스케쥴에 의해 자동으로 백업수행 명령이 내려지면 백업프로그램은 사용자가 백업대상으로 선정한 파일의 식별자가 저장된 백업파일리스트를 참조하여 상기 식별자에 해당하는 파일이 이전의 최종 백업수행시각을 기준으로 변경되었는지 여부를 판단한다. 만약 최종백업시각 이후에 파일이 변경되었다면 상기 파일에 대해서는 백업을 수행하고, 파일변경이 없는 경우에는 실제적인 파일데이터 백업은 수행하지 않고 대신 백업파일리스트에 상기 파일에 대한 백업정보, 예를 들어 최종 백업 시각등을 갱신한다.The conventional backup method is to back up all of the files designated by the user to back up, or to back up only the files whose status is changed by sequentially comparing the state of the files with respect to each of the backup target files. That is, when a backup execution command is issued automatically by a user's command or schedule, the backup program refers to a backup file list in which an identifier of a file selected as a backup target is stored, and a file corresponding to the identifier is previously performed at a previous backup time. It is determined whether or not it has been changed. If the file has been changed since the last backup time, the file is backed up. If there is no file change, the actual file data backup is not performed. Instead, the backup information of the file in the backup file list, for example, Update the backup time.
이러한 종래의 방법은 매 백업시 백업파일리스트에 있는 파일의 수만큼 파일을 비교하는 작업이 수행되므로, 백업시 많은 시간이 소요되고 또한 백업에 따른 부하가 백업시스템에 과중하게 걸리는 단점이 있었다.This conventional method has a disadvantage in that a large amount of time is taken during backup and a heavy load on the backup system is performed because the operation of comparing files is performed by the number of files in the backup file list at every backup.
본 발명이 이루고자 하는 기술적 과제는 파일의 변경상태를 실시간으로 감지하여 상태가 변경된 파일의 식별자를 기록한 후 백업작업 수행시 상기 식별자를 이용하여 상태가 변경된 파일에 대해서만 백업하는 파일의 실시간 모니터링을 통한 데이터 백업 방법 및 시스템을 제공하는 데 그 목적이 있다.The technical problem to be achieved by the present invention is to detect the change state of the file in real time to record the identifier of the file whose state is changed, and then to perform data backup through the real-time monitoring of the file to back up only the file whose state has been changed using the identifier The purpose is to provide a backup method and system.
도 1은 본 발명에 따른 파일의 실시간 모니터링을 통한 데이터 백업 방법 및 시스템을 설명하기 위한 블록도이다.1 is a block diagram illustrating a data backup method and system through real-time monitoring of a file according to the present invention.
도 2는 본 발명에 따른 파일의 실시간 모니터링을 통한 데이터 백업 시스템을 이용하여 백업을 수행하는 방법을 설명하기 위한 흐름도이다.2 is a flowchart illustrating a method of performing a backup using a data backup system through real-time monitoring of a file according to the present invention.
도 3은 실시간으로 파일의 상태변경을 감지하여 상태가 변경된 파일의 식별자를 변경파일저장부에 저장하는 과정을 도시한 흐름도이다.3 is a flowchart illustrating a process of detecting a state change of a file in real time and storing an identifier of a file whose state is changed in a change file storage unit.
도 4는 백업작업의 내용이 변경된 경우 임시저장된 데이터를 수정하는 방법을 설명하기 위한 흐름도이다.4 is a flowchart illustrating a method of modifying temporarily stored data when contents of a backup job are changed.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
10...백업서버부, 11...파일상태감지부10 ... backup server part, 11 ... file status detection part
12...전송파일임시저장부, 13...파일시스템12 ... Temporary storage of transfer files, 13 ... file system
14...백업데이터저장부, 15, 16...외부시스템14 ... backup data storage, 15, 16 ... external system
101...처리부, 102...변경파일저장부101 processing unit, 102 changing file storage unit
103...백업파일저장부103.Backup file storage
본 발명은 상기한 기술적 과제를 달성하기 위하여, 파일의 백업작업을 수행하는 방법에 있어서, 백업을 수행할 적어도 하나 이상의 파일이 선정되어 있는 경우 상기 선정된 파일의 상태 변경을 실시간으로 감지하고 상기 상태가 변경된 파일을 식별하는 변경파일식별자를 송신하는 단계; 상기 변경파일식별자를 수신하여 이를 기록하는 단계; 및 백업하고자 선정된 파일에 대한 백업작업 수행시 상기 기록된 변경파일식별자에 해당하는 파일만을 백업하는 단계를 포함하는 파일의 실시간 모니터링을 통한 데이터 백업 방법을 제공한다.The present invention to achieve the above technical problem, in the method of performing a backup operation of the file, when at least one or more files to perform the backup is selected in real time to detect the state change of the selected file and the state Transmitting a change file identifier that identifies the changed file; Receiving and recording the change file identifier; And backing up only a file corresponding to the recorded change file identifier when performing a backup operation on the file selected for backup.
본 발명은 상기한 기술적 과제를 달성하기 위하여 본 발명의 다른 형태에 의하면, 파일의 백업작업을 수행하는 시스템에 있어서, 백업하고자 선정된 파일의 상태 변경을 실시간으로 감지하고 상기 상태가 변경된 파일을 식별하는 변경파일식별자를 송신하는 파일상태감지부; 상기 파일상태감지부로부터 변경파일식별자를 수신하여 이를 기록하는 변경파일저장부; 및 백업하고자 선정된 파일에 대한 백업작업 수행시 상기 변경파일저장부에 기록된 변경파일식별자에 해당하는 파일에 대해서만 백업을 수행하는 처리부를 포함하는 데이터 백업시스템을 제공한다.According to another aspect of the present invention, in order to achieve the above technical problem, in a system for performing a backup operation of a file, detecting a state change of a file selected for backup in real time and identifying a file whose state has been changed A file state detection unit for transmitting a change file identifier to perform a change; A change file storage unit for receiving a change file identifier from the file state detection unit and recording the change file identifier; And a processing unit performing a backup only for a file corresponding to a change file identifier recorded in the change file storage unit when performing a backup operation on the file selected for backup.
이하 첨부된 도면을 참조하여, 본 발명의 바람직한 실시예들에 의한 파일의실시간 모니터링을 통한 데이터 백업 방법 및 시스템의 구성과 동작에 대해 보다 상세히 설명하기로 한다.Hereinafter, the configuration and operation of a data backup method and system through real-time monitoring of a file according to preferred embodiments of the present invention will be described in detail.
도 1은 본 발명에 따른 파일의 실시간 모니터링을 통한 데이터 백업 방법 및 시스템을 설명하기 위한 블록도이다. 도 1을 참조하면, 본 발명의 데이터 백업 시스템은 백업작업을 처리하기 위한 백업서버부(10), 백업대상 시스템에 설치되어 파일시스템(13)의 변경상태를 실시간으로 감지하는 파일상태감지부(11), 파일상태감지부(11)에서 감지되어 백업서버부(10)로 전송된 정보를 임시로 저장하는 전송파일임시저장부(12), 및 백업파일의 데이터를 저장하는 백업데이터저장부(14)를 구비한다. 상기 백업서버부(10)는 파일상태감지부(11)로부터 수신되는 정보를 저장하는 변경파일저장부(102), 백업을 수행할 파일의 리스트를 저장하기 위한 백업파일저장부(103), 및 상기 변경파일저장부(102), 백업파일저장부(103), 및 백업데이터저장부(14)를 관리하고 파일 백업에 대한 전반적인 사항들을 제어하는 처리부(101)를 구비한다.1 is a block diagram illustrating a data backup method and system through real-time monitoring of a file according to the present invention. Referring to Figure 1, the data backup system of the present invention is installed in the backup server unit 10, the backup target system for processing the backup operation file state detection unit for detecting in real time the change state of the file system 13 ( 11), a temporary file transmission unit 12 for temporarily storing the information detected by the file state detection unit 11 and transmitted to the backup server unit 10, and a backup data storage unit for storing the data of the backup file ( 14). The backup server unit 10 includes a change file storage unit 102 for storing information received from the file state detection unit 11, a backup file storage unit 103 for storing a list of files to be backed up, and And a processing unit 101 for managing the change file storage unit 102, the backup file storage unit 103, and the backup data storage unit 14 and controlling the overall matters of the file backup.
본 발명에 따른 파일의 실시간 모니터링을 통한 데이터 백업 방법을 간략히 설명하면, 파일상태감지부(11)는 파일시스템(13)상에서 파일들의 변경을 실시간으로 감지하여 상태 변경이 감지된 파일을 변경파일저장부(102)로 송신한다. 이때 네트워크의 부하를 감소시키기 위해 상기 파일이 백업대상으로 선정되었는지 그리고 상기 파일의 식별자가 이미 변경파일저장부(102)로 송신되었는지 여부를 확인하여, 백업대상이며 기전송되지 않은 파일의 식별자만을 전송함이 바람직하다. 상기 전송파일임시저장부(12)는 전송된 파일식별자를 저장하여 상태가 변경된 파일의 기전송여부를 판단하는데 사용된다. 변경파일저장부(102)는 지속적으로 수신되는 상기 변경파일식별자를 저장한다. 백업작업이 시작되면 처리부(101)는 상기 변경파일저장부(102)에 기록된 파일식별자에 해당하는 파일만을 상기 파일시스템(13)으로부터 읽어들여 이들을 백업데이터저장부(14)에 저장함으로써 백업작업을 완료한다.Briefly describing the data backup method through the real-time monitoring of the file according to the present invention, the file state detection unit 11 detects the change of the files on the file system 13 in real time to save the change file of the changed file detected file It transmits to the part 102. At this time, in order to reduce the load on the network, it is checked whether the file is selected as a backup target and whether the identifier of the file has already been transmitted to the change file storage 102, so that only an identifier of a file which is a backup target and is not transmitted is transmitted. It is preferable to. The transmission file temporary storage unit 12 is used to store the transmitted file identifier and determine whether or not the previously changed file is transferred. The change file storage 102 stores the change file identifier continuously received. When the backup operation is started, the processing unit 101 reads only files corresponding to the file identifiers recorded in the change file storage unit 102 from the file system 13 and stores them in the backup data storage unit 14 to perform the backup operation. To complete.
파일상태감지부(11)는 백업하고자 하는 데이터를 보유하고 있는 시스템에 설치되어 파일시스템(13)에서의 파일과 관련한 변경(생성, 삭제, 갱신 등)를 감지한다. 상기 파일상태감지부(11)는 파일의 상태변경을 감지할 수 있으면 어떤 형태라도 사용될 수 있으나, 드라이버(driver) 혹은 데몬(demon)과 같은 상주형 프로그램의 형태로 제공됨이 바람직하다. 파일의 변경이 감지되는 경우 파일상태감지부(11)는 상기 파일이 백업파일저장부(103)에 저장된 파일인지, 즉 사용자에 의해 백업하도록 선정된 파일인지 여부를 판단한다. 변경된 파일이 백업대상 파일인 경우 파일상태감지부(11)는 상기 파일을 식별하기 위한 변경파일식별자가 전송파일임시저장부(12)에 존재하는지 유무를 판단하여 상기 변경파일식별자가 기전송되었는지를 판단한다. 만약 변경파일식별자가 존재하면, 이는 상기 변경파일식별자가 이미 송신되었음을 의미하므로 더 이상의 추가적인 송신은 이루어지지 않는다. 변경파일식별자가 존재않으면, 이는 상기 파일에 대한 변경이 처음 감지된 것을 의미하므로, 상기 변경파일식별자를 변경파일저장부(102)로 송신하고, 송신되었음을 나타내기 위해 상기 변경파일식별자를 전송파일임시저장부(12)에 저장한다. 이렇게 파일의 변경이 최초 감지된 경우에만 변경파일식별자를 전송하고 그 이후에 감지되는 상기 파일의 변경은 무시하여 전송하지 않음으로써, 네트워크 및 백업서버에 걸리는 부하를 감소시킬 수 있다. 여기서, 변경파일식별자는 파일을 유일하게 구분할 수 있는 형태의 것들은 모두 사용가능하며, 파일경로를 포함하는 파일명을 사용함이 바람직하다. 파일상태감지부(11)는 백업이 완료되거나 백업작업내용의 속성이 변경된 경우 그 사실을 처리부(101)로부터 수신하여, 전송파일임시저장부(12)에 저장된 데이터를 모두 삭제함으로써 신규 백업작업에 대비한다. 또한 백업대상파일이 변경되는경우, 즉 백업파일저장부(103)에 저장되는 백업파일식별자가 삭제/추가 되는 경우에는 상기 백업파일식별자에 해당하는 파일의 변경파일식별자를 삭제하여 전송파일임시저장부(12)의 데이터 크기를 최적화한다.The file state detection unit 11 is installed in a system that holds data to be backed up and detects a change (creation, deletion, update, etc.) related to a file in the file system 13. The file state detecting unit 11 may be used in any form as long as it can detect a state change of the file, but is preferably provided in the form of a resident program such as a driver or a daemon. When a file change is detected, the file state detecting unit 11 determines whether the file is a file stored in the backup file storing unit 103, that is, a file selected for backup by the user. When the changed file is a backup target file, the file state detecting unit 11 determines whether a change file identifier for identifying the file exists in the temporary file transfer file 12 and determines whether the change file identifier has been previously transmitted. To judge. If the change file identifier exists, this means that the change file identifier has already been transmitted and no further transmission is made. If a change file identifier does not exist, this means that a change to the file is first detected. Therefore, the change file identifier is transmitted to the change file storage unit 102, and the change file identifier is temporarily transmitted to indicate that the change file has been transmitted. Stored in the storage unit 12. By changing the file identifier only when a file change is detected for the first time and not transmitting the file change detected thereafter, the load on the network and the backup server can be reduced. Here, the change file identifier may use all the types of files that can be distinguished from each other and use a file name including a file path. The file state detection unit 11 receives the fact from the processing unit 101 when the backup is completed or the attributes of the backup job contents are changed, and deletes all the data stored in the temporary file storage unit 12 for the new backup job. Be prepared. In addition, when the backup target file is changed, that is, when the backup file identifier stored in the backup file storage unit 103 is deleted / added, the temporary file transfer unit deletes the changed file identifier of the file corresponding to the backup file identifier. Optimize the data size of (12).
변경파일저장부(102)는 상기 파일상태감지부(11)로부터 변경파일식별자를 수신하고, 이를 저장한다. 일반적으로 백업대상이 되는 시스템은 백업서버(10)와 네트워크로 접속되는 외부시스템(15, 16, ...)이지만 본 실시예에서와 같이 백업서버(10)가 설치된 데이터 백업시스템 내에 존재하는 파일시스템(13)에 대해서도 파일상태감지부(11) 및 전송파일임시저장부(12)를 설치함으로써 본 발명에 따른 데이터 백업이 가능하다. 또한 변경파일식별자를 수신함에 있어서 파일상태감지부(11)로부터 직접 수신하는 것으로 설명되었지만, 처리부(101)를 통해 수신할 수도 있음은 너무나 당연하다. 결과적으로 변경파일저장부(102)에는 백업작업시 실제로 백업해야 하는 파일에 대한 식별자만이 존재하게 된다. 변경파일저장부(102)는 백업이 완료되거나 백업작업내용의 속성이 변경된 경우 그 사실을 처리부(101)로부터 수신하여, 저장하고 있던 데이터를 모두 삭제함으로써 신규백업작업에 대비한다. 또한 백업대상파일이 변경되는경우, 즉 백업파일저장부(103)에저장되는 백업파일식별자가 삭제/추가 되는 경우에는 상기 백업파일식별자에 해당하는 파일의 변경파일식별자를 삭제하여 변경파일저장부(102)의 데이터 크기를 최적화한다.The change file storage unit 102 receives the change file identifier from the file state detection unit 11 and stores the change file identifier. Generally, the system to be backed up is an external system (15, 16, ...) connected to the backup server 10 via a network, but the file existing in the data backup system in which the backup server 10 is installed as in the present embodiment. Also in the system 13, the file state detection unit 11 and the transfer file temporary storage unit 12 are provided to enable data backup according to the present invention. In addition, although it has been described as receiving directly from the file state detection unit 11 in receiving the change file identifier, it is too natural that the reception may be received through the processing unit 101. As a result, only the identifier of the file to be actually backed up in the backup file storage unit 102 exists. The change file storage unit 102 receives the fact from the processing unit 101 when the backup is completed or the attributes of the backup job contents are changed, and prepares for the new backup job by deleting all the stored data. In addition, when the backup target file is changed, that is, when the backup file identifier stored in the backup file storage unit 103 is deleted / added, the changed file storage unit may be deleted by deleting the changed file identifier of the file corresponding to the backup file identifier. Optimize the data size.
백업파일저장부(103)는 백업을 수행하도록 사용자에 의해 선택된 파일을 식별하는 백업파일식별자를 저장한다. 여기서, 백업파일식별자는 파일을 유일하게 구분할 수 있는 형태의 것들은 모두 사용가능하며, 변경파일식별자와 마찬가지로, 파일경로를 포함하는 파일명을 사용함이 바람직하다. 백업파일저장부(103)에는 또한 백업작업정보, 즉 백업이 수행되는 날짜 및 시간, 백업주기 등 백업작업 자체와 관련된 여러가지 정보들이 저장된다.The backup file storage 103 stores a backup file identifier for identifying a file selected by the user to perform the backup. Here, the backup file identifier may use all types of uniquely distinguishable files, and like the change file identifier, it is preferable to use a file name including a file path. The backup file storage unit 103 also stores backup job information, that is, various information related to the backup job itself, such as the date and time at which the backup is performed and the backup cycle.
처리부(101)는 상술된 파일상태감지부(11), 변경파일저장부(102), 및 백업파일저장부(103)를 관리하고 백업작업에 대한 제어를 총괄한다. 사용자의 명령 혹은 예약된 스케쥴에 의해 백업작업을 수행시 상기 변경파일저장부(102)에 저장된 변경파일식별자들을 독출하여 이에 해당하는 파일들만을 상기 파일데이터(13)로부터 읽어들여 백업데이터저장부(14)에 백업한다. 백업이 완료되면 처리부(101)는 그 사실을 변경파일저장부(102) 및 파일상태감지부(11)에 송신하여, 저장되어 있던 모든 데이터를 삭제하도록 한다. 또한 처리부(101)는 백업작업내용이 변경되는 경우에도, 그 사실을 변경파일저장부(102), 및 파일상태감지부(11)로 송신하여 변경내용, 즉 백업작업의 속성 변경인지 백업대상파일의 변경인지에 따라 상술한 바와 같이 각각 적절히 대처하도록 한다.The processing unit 101 manages the file state detecting unit 11, the change file storing unit 102, and the backup file storing unit 103 described above, and controls the backup operation. When performing a backup operation according to a user's command or a scheduled schedule, read the change file identifiers stored in the change file storage unit 102, and read only the corresponding files from the file data 13 to backup data storage unit ( 14) back up. When the backup is completed, the processing unit 101 transmits the fact to the change file storage unit 102 and the file state detection unit 11 to delete all the stored data. Further, even when the backup job contents are changed, the processing unit 101 transmits the facts to the change file storage unit 102 and the file status detecting unit 11 to change the contents, that is, change the attributes of the backup job, and the backup target file. Depending on whether or not to change, as appropriate as described above.
이제 도 2를 참조하여 본 발명에 따른 파일의 실시간 모니터링을 통한 데이터 백업 방법을 상세히 설명하기로 한다. 먼저 사용자의 명령 혹은 작업스케쥴에 따라 백업작업을 수행하게 되면, 백업작업이 신규작업인지 여부를 판단한다(S21). 신규 작업이 아닌 경우, 즉 백업작업이 기 설정되어 있는 경우에는 변경파일저장부(102)로부터 변경파일식별자들을 독출한다(S22). 상기 변경파일식별자들은 모두 이전의 최종 백업작업후 그 내용이 변경된 파일들에 대한 식별자로서, 변경파일저장부(102)에 실시간으로 파일의 변경상태를 기록하는 과정은 향후 도 3을 참조하여 상세히 설명될 것이다. 처리부(101)는 상기 독출된 각 변경파일식별자들에 해당하는 파일데이터를 파일시스템(13)으로부터 독출한다(S23). 상기 독출된 파일데이터는 백업데이터저장부(14)에 저장됨으로써 백업을 수행하게된다(S24). 백업이 완료되면 처리부(101)는 백업완료 사실을 변경파일저장부(102) 및 파일상태감지부(11)로 송신하여 각각 저장하고 있는 변경파일식별자 데이터를 삭제하도록 한다(S25).Now, with reference to Figure 2 will be described in detail the data backup method through the real-time monitoring of the file according to the present invention. First, if a backup job is performed according to a user's command or a job schedule, it is determined whether the backup job is a new job (S21). If it is not a new job, that is, if a backup job is previously set, the change file identifiers are read from the change file storage unit 102 (S22). The change file identifiers are all identifiers of files whose contents have changed since the last backup operation, and the process of recording the change state of the file in real time in the change file storage 102 will be described in detail with reference to FIG. 3. Will be. The processing unit 101 reads out the file data corresponding to each of the read change file identifiers from the file system 13 (S23). The read file data is stored in the backup data storage unit 14 to perform backup (S24). When the backup is completed, the processing unit 101 transmits the backup completion fact to the change file storage unit 102 and the file state detection unit 11 so as to delete the stored change file identifier data (S25).
한편, 상기 S21 단계에서 신규 백업작업인 경우, 사용자는 신규백업작업을 생성하고 백업을 수행할 파일을 선정한다(S26). 그 후, 백업을 수행할 파일에 대한 백업파일식별자를 백업파일저장부(103)에 저장하고(S27), 저장된 백업파일식별자에 해당하는 파일에 대해 백업을 수행한다(S28).On the other hand, in the case of a new backup job in step S21, the user creates a new backup job and selects a file to perform the backup (S26). Thereafter, the backup file identifier for the file to be backed up is stored in the backup file storage unit 103 (S27), and the backup is performed for the file corresponding to the stored backup file identifier (S28).
도 3은 실시간으로 파일의 상태변경을 감지하여 상태가 변경된 파일의 식별자를 변경파일저장부(102)에 저장하는 과정을 도시한 흐름도이다. 도 3을 참조하면, 파일상태감지부(11)는 파일시스템(13)에서의 파일 상태변경을 실시간으로 감지한다(S31). 상태가 변경된 파일이 감지되면, 백업파일저장부(103)에 저장된 백업파일식별자를 참조하여 상기 파일이 백업대상으로 지정된 파일인지 여부를 판단한다(S32). 상기 파일이 백업대상인 경우 상기 파일에 대한 변경파일식별자가 전송파일임시저장부(12)에 존재하는지 여부를 확인한다(S33). 존재한다면, 상기 파일의 변경파일식별자는 이미 전송된 것이므로 네트워크 및 백업서버의 과부하를 방지하기 위해 다시 전송하지 않는다. 변경파일식별자가 전송파일임시저장부(12)에 존재하지 않는 경우, 이는 상기 파일에 대한 상태변경 사실이 전송된 적이 없었다는 것을 의미하므로, 변경파일식별자를 변경파일저장부(102)로 송신하고 이를 전송파일임시저장부(12)에 저장한다(S34). 변경파일저장부(102)는 상기 수신된 변경파일식별자를 저장한다(S35).3 is a flowchart illustrating a process of detecting a state change of a file in real time and storing an identifier of a file whose state is changed in the change file storage 102. Referring to FIG. 3, the file state detection unit 11 detects a file state change in the file system 13 in real time (S31). When a file whose state is changed is detected, it is determined whether the file is a file designated as a backup target by referring to the backup file identifier stored in the backup file storage unit 103 (S32). If the file is a backup target, it is checked whether a change file identifier for the file exists in the temporary file storage unit 12 (S33). If present, the modified file identifier of the file is already transmitted and is not sent again to prevent overloading the network and backup server. If the change file identifier does not exist in the transfer file temporary storage unit 12, this means that the fact of the state change for the file has never been transmitted. Therefore, the change file identifier is transmitted to the change file storage unit 102 and the change file identifier is transmitted. The transmission file is stored in the temporary storage unit 12 (S34). The change file storage unit 102 stores the received change file identifier (S35).
상술된 백업방법에 있어서, 파일의 변경을 실시간으로 감지하여 그 정보를 저장하므로, 만약 사용자에 의해 지정된 백업작업의 내용이 변경되는 경우, 예를 들어, 백업시간이 변경되거나 백업대상 파일이 추가/삭제된 경우 상기 저장된 데이터들에 대해 상기 저장된 정보는 수정될 필요가 있다. 도 3은 백업작업의 내용이 변경된 경우 상술된 정보의 수정 방법을 설명하기 위한 흐름도이다.In the above-described backup method, since the change of the file is detected in real time and the information is stored, if the contents of the backup job designated by the user are changed, for example, the backup time is changed or the backup target file is added / When deleted, the stored information needs to be modified for the stored data. 3 is a flowchart illustrating a method of modifying the above-described information when the contents of the backup job are changed.
도 4를 참조하면, 먼저 백업작업의 속성이 변경되었는지 유무를 판단한다(S40). 속성이 변경된 경우 파일상태감지부(11) 및 변경파일저장부(102)로 백업작업의 속성이 변경되었다는 사실을 송신하고(S41), 파일상태감지부(11) 및 변경파일저장부(102)는 전송파일임시저장부(12)에 저장되어 있던 모든 데이터를 삭제한다(S42). 한편 상기 S40 단계에서 백업파일의 속성이 변경되지 않은 경우, 백업파일저장부(103)의 백업파일식별자가 변경되었는지, 즉 백업대상으로 선정된 파일이 추가 혹은 삭제되었는지 여부를 판단한다(S43). 백업파일식별자가 변경된 경우 파일상태감지부(11) 및 변경파일저장부(102)로 변경된 파일의 백업파일식별자를 송신하고(S44), 파일상태감지부(11) 및 변경파일저장부(102)는 전송파일임시저장부(12)에서 상기 수신된 백업파일식별자에 해당하는 변경파일식별자를 삭제한다(S45).Referring to FIG. 4, it is first determined whether a property of a backup job is changed (S40). When the attribute is changed, the fact that the attribute of the backup job is changed is transmitted to the file state detection unit 11 and the change file storage unit 102 (S41), and the file state detection unit 11 and the change file storage unit 102 are changed. Deletes all the data stored in the temporary file storage unit 12 (S42). On the other hand, if the attributes of the backup file is not changed in step S40, it is determined whether the backup file identifier of the backup file storage unit 103 is changed, that is, whether the file selected as the backup target is added or deleted (S43). When the backup file identifier is changed, the file status detection unit 11 and the change file storage unit 102 transmit the backup file identifier of the changed file (S44), the file state detection unit 11 and the change file storage unit 102. In step S45, the transfer file temporary storage unit 12 deletes the changed file identifier corresponding to the received backup file identifier.
상술한 바와 같이 본 발명에 따른 파일의 실시간 모니터링을 통한 데이터 백업 방법 및 시스템은 파일의 변경상태를 실시간으로 감지하여 기록한 후 백업작업 수행시 백업대상으로 선정된 파일을 모두 일일히 비교하지 않고 변경된 파일만을 백업한다. 이로 인해 백업에 소요되는 시간이 대폭 줄어들게 됨은 물론 백업시스템 및 백업대상 시스템에 걸리는 부하가 현저히 줄어드는 이점을 갖는다. 또한 실제로 백업되어야 하는 파일에 대한 여러정보, 예를들어 파일명, 파일갯수, 파일크기 등을 백업작업 수행 이전에 미리 알 수 있으므로 백업작업을 수행하기 위한 보다 효율적인 스케쥴링이 가능해지는 이점을 제공한다.As described above, a data backup method and system through real-time monitoring of a file according to the present invention detects and records a change state of a file in real time, and then changes a file without comparing all files selected as backup targets at the time of performing a backup operation. Back up only. As a result, the time required for backup is greatly reduced, and the load on the backup system and the backup target system is significantly reduced. In addition, various information about the file to be backed up, for example, file name, number of files, file size, etc. can be known in advance before performing the backup operation, which provides more efficient scheduling for performing the backup operation.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR10-2001-0006115A KR100414617B1 (en) | 2001-02-08 | 2001-02-08 | Method for data backup using realtime monitoring of files and system therefor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR10-2001-0006115A KR100414617B1 (en) | 2001-02-08 | 2001-02-08 | Method for data backup using realtime monitoring of files and system therefor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20020065976A true KR20020065976A (en) | 2002-08-14 |
| KR100414617B1 KR100414617B1 (en) | 2004-01-07 |
Family
ID=27693705
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR10-2001-0006115A Expired - Fee Related KR100414617B1 (en) | 2001-02-08 | 2001-02-08 | Method for data backup using realtime monitoring of files and system therefor |
Country Status (1)
| Country | Link |
|---|---|
| KR (1) | KR100414617B1 (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20030048727A (en) * | 2001-12-13 | 2003-06-25 | 박성지 | Real Time PC Backup and Restore Method |
| KR100458550B1 (en) * | 2002-10-07 | 2004-12-03 | 주식회사 파이널데이터 | Data delete detecting and recovering system and methode thereof |
| WO2007139647A1 (en) * | 2006-05-29 | 2007-12-06 | Microsoft Corporation | Creating frequent application-consistent backups efficiently |
| KR100897479B1 (en) * | 2007-01-15 | 2009-05-14 | 이병배 | File backup method |
| WO2011123089A1 (en) * | 2010-03-29 | 2011-10-06 | Carbonite, Inc. | Managing backup sets based on user feedback |
| KR101118565B1 (en) * | 2009-10-30 | 2012-02-24 | (주)데이타프로텍 | System and method for pursuiting data stored in portable computer |
| WO2019045309A1 (en) * | 2017-08-29 | 2019-03-07 | 이호준 | Real time file alteration sensing-based automatic backup device |
| CN112631837A (en) * | 2020-12-30 | 2021-04-09 | 凌云光技术股份有限公司 | Method and system for storing engineering data |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101116053B1 (en) * | 2010-03-31 | 2012-02-22 | 주식회사 오즈네트웍스 | File Backup Method and devices using the same |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04295941A (en) * | 1991-03-25 | 1992-10-20 | Nec Corp | Automatic file backup system |
| JPH09146762A (en) * | 1995-11-20 | 1997-06-06 | Hitachi Ltd | System file backup method and restoration method |
| KR100483432B1 (en) * | 1998-03-11 | 2005-08-10 | 삼성전자주식회사 | Semiconductor Manufacturing Equipment Management System using Hot Backup |
| JP2000066939A (en) * | 1998-08-18 | 2000-03-03 | Advanced It:Kk | Backup data restration system and storage medium storing backup data restoring method |
| KR100313465B1 (en) * | 1999-06-28 | 2001-11-07 | 윤종용 | Data backup and restore method in relation database |
-
2001
- 2001-02-08 KR KR10-2001-0006115A patent/KR100414617B1/en not_active Expired - Fee Related
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20030048727A (en) * | 2001-12-13 | 2003-06-25 | 박성지 | Real Time PC Backup and Restore Method |
| KR100458550B1 (en) * | 2002-10-07 | 2004-12-03 | 주식회사 파이널데이터 | Data delete detecting and recovering system and methode thereof |
| WO2007139647A1 (en) * | 2006-05-29 | 2007-12-06 | Microsoft Corporation | Creating frequent application-consistent backups efficiently |
| US7613750B2 (en) | 2006-05-29 | 2009-11-03 | Microsoft Corporation | Creating frequent application-consistent backups efficiently |
| KR100897479B1 (en) * | 2007-01-15 | 2009-05-14 | 이병배 | File backup method |
| KR101118565B1 (en) * | 2009-10-30 | 2012-02-24 | (주)데이타프로텍 | System and method for pursuiting data stored in portable computer |
| WO2011123089A1 (en) * | 2010-03-29 | 2011-10-06 | Carbonite, Inc. | Managing backup sets based on user feedback |
| US9575843B2 (en) | 2010-03-29 | 2017-02-21 | Carbonite, Inc. | Managing back up sets based on user feedback |
| WO2019045309A1 (en) * | 2017-08-29 | 2019-03-07 | 이호준 | Real time file alteration sensing-based automatic backup device |
| US10684923B2 (en) | 2017-08-29 | 2020-06-16 | Ho Jun Lee | Real time file alteration sensing-based automatic backup device |
| CN112631837A (en) * | 2020-12-30 | 2021-04-09 | 凌云光技术股份有限公司 | Method and system for storing engineering data |
| CN112631837B (en) * | 2020-12-30 | 2024-04-12 | 凌云光技术股份有限公司 | Engineering data storage method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| KR100414617B1 (en) | 2004-01-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7331000B2 (en) | Apparatus and storage system for controlling acquisition of snapshot | |
| US7363330B1 (en) | Work monitor with file synchronization | |
| US6629109B1 (en) | System and method of enabling file revision management of application software | |
| US7280996B2 (en) | Data updating method and related information processing device | |
| KR100257061B1 (en) | Information processing system and control method thereof for enabling access to heterogeneous files | |
| JP5021929B2 (en) | Computer system, storage system, management computer, and backup management method | |
| JP2004227359A (en) | Storage system operation management method based on policy | |
| US20140297597A1 (en) | Computer system and management method for the same | |
| RU2005112716A (en) | IMAGE SUPPLY DEVICE, REGISTRATION SYSTEM AND METHOD OF REGISTRATION MANAGEMENT | |
| KR100414617B1 (en) | Method for data backup using realtime monitoring of files and system therefor | |
| JP4602535B2 (en) | Schedule execution management apparatus and management method | |
| CN101334791A (en) | Techniques for performing intelligent content indexing | |
| JP2004302635A (en) | Transaction processing method, execution device therefor and processing program therefor | |
| JPH08221433A (en) | Information retrieval system | |
| US7451279B2 (en) | Storage system comprising a shared memory to access exclusively managed data | |
| CN115729749A (en) | Data backup method and system | |
| EP4187335A1 (en) | Program, computer-readable recording medium, method, and system | |
| JP2008033527A (en) | Storage device, disk device, and data restoration method | |
| JPH07160561A (en) | File managing device | |
| JP2009507294A (en) | Device management system using log management object, and method for generating and controlling logging data in the system | |
| JP2009265962A (en) | Operation log information management system | |
| JP4847280B2 (en) | Print data management apparatus, print data management program, and recording medium | |
| JP3627144B2 (en) | COMMUNICATION TEST SUPPORT DEVICE, PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
| JP3547637B2 (en) | Operation file update system for telephone exchange and recording medium recording operation file update program | |
| CA1292575C (en) | Methods of retrieving records stored within a computer system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A201 | Request for examination | ||
| PA0109 | Patent application |
St.27 status event code: A-0-1-A10-A12-nap-PA0109 |
|
| PA0201 | Request for examination |
St.27 status event code: A-1-2-D10-D11-exm-PA0201 |
|
| PG1501 | Laying open of application |
St.27 status event code: A-1-1-Q10-Q12-nap-PG1501 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-3-3-R10-R18-oth-X000 |
|
| D13-X000 | Search requested |
St.27 status event code: A-1-2-D10-D13-srh-X000 |
|
| D14-X000 | Search report completed |
St.27 status event code: A-1-2-D10-D14-srh-X000 |
|
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
St.27 status event code: A-1-2-D10-D21-exm-PE0902 |
|
| E13-X000 | Pre-grant limitation requested |
St.27 status event code: A-2-3-E10-E13-lim-X000 |
|
| P11-X000 | Amendment of application requested |
St.27 status event code: A-2-2-P10-P11-nap-X000 |
|
| P13-X000 | Application amended |
St.27 status event code: A-2-2-P10-P13-nap-X000 |
|
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
St.27 status event code: A-1-2-D10-D22-exm-PE0701 |
|
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment |
St.27 status event code: A-2-4-F10-F11-exm-PR0701 |
|
| PR1002 | Payment of registration fee |
St.27 status event code: A-2-2-U10-U11-oth-PR1002 Fee payment year number: 1 |
|
| PG1601 | Publication of registration |
St.27 status event code: A-4-4-Q10-Q13-nap-PG1601 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 4 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 5 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 6 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 7 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 8 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 9 |
|
| FPAY | Annual fee payment |
Payment date: 20121205 Year of fee payment: 10 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 10 |
|
| FPAY | Annual fee payment |
Payment date: 20131127 Year of fee payment: 11 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 11 |
|
| FPAY | Annual fee payment |
Payment date: 20141201 Year of fee payment: 12 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 12 |
|
| R18-X000 | Changes to party contact information recorded |
St.27 status event code: A-5-5-R10-R18-oth-X000 |
|
| FPAY | Annual fee payment |
Payment date: 20151218 Year of fee payment: 13 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 13 |
|
| P14-X000 | Amendment of ip right document requested |
St.27 status event code: A-5-5-P10-P14-nap-X000 |
|
| PN2301 | Change of applicant |
St.27 status event code: A-5-5-R10-R13-asn-PN2301 St.27 status event code: A-5-5-R10-R11-asn-PN2301 |
|
| FPAY | Annual fee payment |
Payment date: 20161220 Year of fee payment: 14 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 14 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 15 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-4-4-P10-P22-nap-X000 |
|
| PR1001 | Payment of annual fee |
St.27 status event code: A-4-4-U10-U11-oth-PR1001 Fee payment year number: 16 |
|
| PC1903 | Unpaid annual fee |
St.27 status event code: A-4-4-U10-U13-oth-PC1903 Not in force date: 20191227 Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE |
|
| PC1903 | Unpaid annual fee |
St.27 status event code: N-4-6-H10-H13-oth-PC1903 Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE Not in force date: 20191227 |