Information recording device and information recording method
The information recording device uses a high-speed primary backup storage to temporarily store data during backups, reducing downtime by enabling simultaneous data updates and additions, thus addressing the limitations of conventional backup methods.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- FANUC LTD
- Filing Date
- 2022-05-10
- Publication Date
- 2026-05-19
AI Technical Summary
Conventional data backup methods require stopping data updates and additions during the backup process, especially when using remote or slow storage devices, leading to prolonged downtime and impact on data write requesters.
An information recording device that uses a high-speed primary backup storage to temporarily store data during backups, allowing simultaneous data updates and additions, followed by copying to a slower backup storage, thereby minimizing downtime.
Reduces backup time and minimizes the impact on data write requesters by allowing simultaneous data updates and additions during the backup process.
Smart Images

Figure 0007862543000001 
Figure 0007862543000002 
Figure 0007862543000003
Abstract
Description
Technical Field
[0001] The present invention relates to an information recording apparatus and an information recording method that create a primary backup in a high-speed storage device and then copy the primary backup to backup storage.
Background Art
[0002] Conventionally, in information recording such as a database, backups have been created in preparation for failures of storage devices. Note that if writing (updating, adding, etc.) to the data file occurs during the backup of the data file in the data storage, the consistency of the backup file may be lost (broken). FIG. 5A is a diagram showing an overview of a case where writing to a data file occurs during the backup of a data file in a data storage. As shown in FIG. 5A, if data is written and the data file becomes V2 during the backup (copy) of the data file V1, then until halfway through the backup, the state of the data file V1 is copied, and from halfway through, the state of the data file V2 is copied, and a data file that is neither V1 nor V2 is copied. Therefore, when backing up (copying) a data file in a data storage, it is necessary to stop data updates, data additions, etc. to the data file being backed up until the backup is completed. [[ID=第十五]] FIG. 5B is a diagram showing an overview of a case where writing to a data file is stopped during the backup of a data file in a data storage. As shown in FIG. 5B, by writing to the data file after the backup of the data file is completed, destruction of the backup file during the backup can be suppressed. Patent Document 1 describes, as a conventional technique, stopping data updates, data additions, etc. to a database during backup.
Prior Art Documents
Patent Documents
[0003] [Patent Document 1] Japanese Patent Publication No. 2001-306407 [Overview of the project] [Problems that the invention aims to solve]
[0004] If backing up data files in data storage takes a long time, data updates and additions cannot be performed during that time. This can have consequences, such as preventing the source of a data write request from executing subsequent actions. This problem is particularly pronounced when the data file backup destination is a remote storage device (NAS: Network Attached Storage) accessed via a network or a slow storage device. Therefore, when backing up data files, it is desirable to shorten the time during which data updates and additions to the data files are prohibited, thereby reducing the downtime for data updates and additions, and minimizing the impact on the data write requester, such as preventing them from performing subsequent actions.
[0005] The present invention has been made in view of these problems, and aims to provide an information recording device that, when backing up data files in data storage, shortens the backup time of the data files, thereby shortening the downtime for updating data files, adding data, etc., and minimizing the impact on the data write requester, such as being unable to perform the next operation. [Means for solving the problem]
[0006] One aspect of the information recording device of this disclosure is an information recording device that is communicably connected to backup storage, comprising: data storage for storing information from a device; and primary backup storage for which the information recorded in the data storage is backed up; An information recording unit that records the information in the data storage in response to a write request, A primary backup creation unit, upon receiving an instruction to start backing up the information recorded in the data storage, stops the information recording unit or waits for a write request, and while the information recording unit is stopped or waiting for a write request, backs up the information recorded in the data storage to the primary backup storage, and upon completion of the backup, restarts the information recording unit or resumes writing to the data storage. The backup storage includes a backup copy unit that backs up the information recorded in the primary backup storage, The backup copy unit is an information recording device that, once the backup of the information recorded in the primary backup storage to the backup storage is complete, deletes the information recorded in the primary backup storage.
[0007] One aspect of the information recording method disclosed herein is an information recording method comprising an information recording device that includes a data storage for storing information from a device and a primary backup storage for backing up the information recorded in the data storage, and which is communicated with the backup storage, An information recording step of recording the information in the data storage in response to a write request, Upon receiving an instruction to start backing up the information recorded in the data storage, the system performs a stop instruction step to stop the information recording step or to wait for a write request, In the stop instruction step, while the information recording step is stopped or waiting for a write request, a primary backup creation step is performed to back up the information recorded in the data storage to the primary backup storage, Upon receiving confirmation of backup completion in the primary backup creation step, a restart instruction step is performed to restart the information recording step or to resume writing to the data storage. The system includes a backup copy step that backs up the information recorded in the primary backup storage to the backup storage, The backup copy step further includes a step of deleting the information recorded in the primary backup storage once the backup of the information recorded in the primary backup storage to the backup storage is complete. [Effects of the Invention]
[0008] According to one embodiment, when backing up data files in data storage, shortening the backup time of the data files reduces the downtime for updating the data files, adding data, etc., thereby minimizing the impact on the data write requester, such as preventing them from performing the next operation. [Brief explanation of the drawing]
[0009] [Figure 1] This is a schematic diagram showing the system configuration of a backup system according to one embodiment. [Figure 2] This is a conceptual diagram showing one aspect of creating backup data in an information recording device according to one embodiment. [Figure 3] This is a conceptual diagram showing one aspect of an information recording device according to one embodiment, in which the data storage is configured with multiple data files and backup data is created. [Figure 4] This is a flowchart showing the operation of an information recording device according to one embodiment. [Figure 5A] This diagram illustrates a scenario in which a write operation occurs to a data file while it is being backed up in data storage. [Figure 5B] This diagram illustrates a scenario where writing to a data file is stopped during the backup of a data file in data storage. [Modes for carrying out the invention]
[0010] Embodiments of the present invention will be described below with reference to the drawings. [composition] Figure 1 is a schematic diagram showing the system configuration of a backup system 100 according to one embodiment of the present invention. As shown in Figure 1, the backup system 100 comprises a write request source 1, an information recording device 2, and a backup storage 3, and the write request source 1 and the information recording device 2 are configured to communicate with each other. Here, the write request source 1 and the information recording device 2 may be connected to each other via a network 300 such as a LAN (Local Area Network) or the Internet. Alternatively, they may be directly connected to each other via a connection interface (not shown). Similarly, the information recording device 2 and the backup storage 3 may be connected to each other via a network 300 such as a LAN (Local Area Network) or the Internet.
[0011] In this embodiment, the configuration is illustrated as comprising, for example, an industrial device 1A including a machine tool or industrial robot as the write request source 1, and a data processing function unit 1B that requests information from the industrial device 1A to be written to the information recording device 2 by directly communicating with the information recording device 2. That is, the data processing function unit 1B performs the function of an input / output interface with the information recording device 2 in the write request source 1. Note that the industrial device 1A may also be equipped with the data processing function unit 1B. Industrial devices are known to those skilled in the art, and a detailed description is omitted. The data processing function unit 1B may, for example, exist as a database system between the industrial equipment 1A and the information recording device 2, independently of the industrial equipment 1A and the information recording device 2. Alternatively, the industrial equipment 1A may be replaced with any device or an information processing device or information processing system equipped with server functions. The data processing function unit 1B may request information from the information processing device or information processing system to be written to the information recording device 2. In the present embodiment, as will be described later, as information from the industrial equipment 1A, for example, for each of three processes including the drilling process X, the assembly process Y, and the inspection process Z, information related to each process is exemplified. In that case, the information from the industrial equipment 1A includes, in the drilling process X, information including, for example, a work ID, a processing time, a program number, a tool model number, an operator name, etc.; in the assembly process Y, information including, for example, a serial number of a part, a module number, an operator, etc.; and in the inspection process Z, information including, for example, a serial number of a module, an inspection equipment management number, a room temperature, etc.
[0012] The information recording device 2 will be described. As shown in FIG. 1, the information recording device 2 includes a control unit 21 and a storage unit 22. The control unit 21 reads out the program stored in, for example, the storage unit 22 for executing the functions specific to the present invention, and uses the data stored in a main storage device (not shown) such as a RAM for temporarily storing data required for executing the program to execute the program. As a result, as shown in FIG. 1, the control unit 21 is configured to realize the functions of the information recording unit 211, the primary backup creation unit 213, and the backup copy unit 215. These functional units will be described later.
[0013] As shown in FIG. 1, the storage unit 22 includes a data storage 221 and a primary backup storage 222.
[0014] The data storage 221 is a recording medium including, for example, a hard disk drive, etc., and includes a data file for storing the information from the industrial equipment 1A recorded in response to a write request. The data storage 221 may be partitioned into multiple storage areas. This allows, for example, multiple data files to be set up within the data storage, and primary backups and backups to be performed independently for each data file. This reduces the time required for primary backups of each data file, and also reduces the time required to stop the information recording unit 211 or wait for write requests to the data files. Further details will be described later.
[0015] The primary backup storage 222 is a high-speed storage device, such as all-flash storage. This allows for faster primary backups of data files to the primary backup storage 222 compared to slower devices such as NAS, as will be described later. This reduces the time required to stop the information recording unit 211 or to wait for write requests.
[0016] Backup storage 3 can be included in a file server (not shown) and configured as a so-called NAS (Network Attached Storage), as an example of its implementation, but it is not limited to this. The backup storage 3 may be, for example, a low-speed storage device that is communicatively connected to the information recording device 2.
[0017] Before describing the functional components of the information recording device 2, we will explain the processing overview of the information recording device 2. Figure 2 is a conceptual diagram showing one mode of creating backup data. Referring to Figure 2, when backing up data files in data storage 221, the data files are first backed up to primary backup storage 222, which is a high-speed device. During the primary backup, writing to the data file is stopped or put on hold, and writing to the data file is restarted after the backup of the data file is complete. Here, since primary backup storage 222 is a high-speed device, the time during which writing to the data file is unavailable can be significantly reduced compared to the time during which writing to the data file is stopped or put on hold during backups performed by conventional low-speed devices such as NAS. Next, the data that has been primarily backed up to the primary backup storage 222 can be copied to the backup storage 3, such as a NAS, which is connected to the information recording device 2 in a communicative manner, thereby allowing backup to be performed to the backup storage 3, such as a NAS, as before. Furthermore, since the time it takes to copy the data from the primary backup storage 222 to the backup storage 3 does not interrupt or delay the writing to the data file, the downtime for updating the data file, adding data, etc., which is the objective of the present invention, can be reduced, thereby minimizing the impact on the industrial equipment 1A, such as preventing it from performing subsequent operations. Furthermore, once the backup to backup storage 3 is complete, the capacity of primary backup storage 222 can be recovered by deleting the primary backup data of the data file recorded in primary backup storage 222. The above describes the overview of the backup process of information recording device 2. Next, we will describe the functional components of the information recording device 2. As described above, the control unit 21 includes an information recording unit 211, a primary backup creation unit 213, and a backup copy unit 215.
[0018] The information recording unit 211 records information in the data file (not shown) in the data storage 221 that was requested to be written, in response to a write request. If multiple data files are configured in the data storage 221, the information recording unit 211 can record information independently for each data file to be written to. Specifically, a request to write information specifies the file name of the data file where the information will be recorded, and the information recording unit 211 records the information based on the write request to the specified data file. The information recording unit 211 may also process write requests to different data files independently and in parallel. If multiple data files are configured within the data storage 221, when creating a primary data backup of, for example, a data file X (not shown) contained in the data storage 221, the primary backup creation unit 213 instructs the information recording unit 211 to stop writing to data file X or to wait for write requests, as described later. In this way, the information recording unit 211 stops or waits for writing to data file X. However, the information recording unit 211 can record information in data files other than data file X in response to requests to write information to those data files.
[0019] When the primary backup creation unit 213 receives a backup start instruction for information recorded in the data storage 221, it stops the information recording unit 211 or puts it on standby for a write request. As mentioned above, if multiple data files are set in the data storage 221, the backup start instruction is made by specifying the data file to be backed up from among the multiple data files set in the data storage 221. The primary backup creation unit 213 instructs the information recording unit 211 to stop writing to the data file to be backed up or to wait for a write request. The information recording unit 211 stops writing to the data file to be backed up or waits for a write request, but can record information based on write requests to data files other than the data file to be backed up.
[0020] The primary backup creation unit 213 instructs the information recording unit 211 to stop writing to the data file to be backed up, or to wait for a write request, and then backs up the data file to be backed up, which is recorded in the data storage 221, to the primary backup storage 222. As described above, if multiple data files are set in the data storage 221, a primary backup is performed independently only for the data file to be backed up from among the multiple data files set in the data storage 221, and the primary backup data of that data file is created in the primary backup storage 222. By setting multiple data files within the data storage 221, the information recording device 2 can further reduce the downtime for data updates, data additions, etc., for each of the multiple data files contained in the data storage 221, thereby further reducing the impact on the industrial equipment 1A, such as preventing it from performing subsequent operations. Furthermore, as mentioned above, the information recording unit 211 can record information on data files that are not subject to backup, based on write requests, without making them wait for write requests. The primary backup creation unit 213 may also independently and in parallel perform primary backup processing for a primary backup of a certain data file 1 (not shown) and a primary backup of another data file 2 (not shown) that is different from data file 1.
[0021] This section describes the processing overview of the information recording device 2 when multiple data files are configured within the data storage 221 and backups are created independently for each data file. Figure 3 is a conceptual diagram showing one configuration in the information recording device where the data storage is configured with multiple data files and backup data is created. As shown in Figure 3, three data files X, Y, and Z are set up in the data storage 221, and write requests can be made independently to each of the data files X, Y, and Z. This example shows a configuration in which a primary backup of data file X is performed. Referring to Figure 3, the information recording device 2 writes to data file X in predetermined cycles, and in between these cycles, it creates primary backup data of data file X in primary backup storage 222. During the creation of the primary backup data for data file X, writing to data file X is stopped. On the other hand, data files Y and Z remain writable, as shown in Figure 3. Thus, if multiple data files are configured within the data storage 221, the information recording unit 211 can record information based on write requests to data files other than the data file to be backed up.
[0022] The embodiment shown in Figure 3 can be applied, for example, when equipment 1A is used as industrial equipment, and as described above, the information recording device 2 records information related to each of the three manufacturing processes, including the drilling process X, the assembly process Y, and the inspection process Z, in three data files X, Y, and Z set up in the data storage 221. In this case, the information recording device 2 records, for example, work ID, processing time, program number, tool model number, and operator name in data file X during the drilling process X; for example, the serial number of the part, module number, and operator in data file Y during the assembly process Y; and for example, the serial number of the module, inspection equipment management number, and room temperature in data file Z during the inspection process Z, thereby enabling an effective processing cycle in the factory. By doing so, the settings for each manufacturing process cycle and the required capacity of the primary backup storage 222 can be customized, allowing the information recorded in each data file of the data storage 221 containing information related to the manufacturing process to be backed up to the primary backup storage 222 between each manufacturing process cycle. This eliminates the need to wait for information write requests during each manufacturing process cycle.
[0023] Once the primary backup creation unit 213 has completed the primary backup of the data files to the primary backup storage 222, it restarts the information recording unit 211 or resumes recording information to the data storage 221 based on a write request. As mentioned above, if multiple data files are configured in the data storage 221, the primary backup creation unit 213, once it has completed the primary backup of the data file to be backed up from among the multiple data files configured in the data storage 221 to the primary backup storage 222, restarts the information recording unit 211's writing to the data file or resumes information recording to the data file based on a write request.
[0024] The backup copy unit 215 backs up the primary backup data recorded in the primary backup storage 222 by the primary backup creation unit 213 to the backup storage 3. Once the backup of the primary backup data recorded in the primary backup storage 222 to the backup storage 3 is complete, the unit deletes the information recorded in the primary backup storage 222. Furthermore, if multiple data files are configured in the data storage 221, the backup copy unit 215 backs up information related to the data file that has been primarily backed up to the primary backup storage 222 from among the multiple data files configured in the data storage 221 to the backup storage 3. Once the backup of the data file recorded in the primary backup storage 222 to the backup storage 3 is complete, the primary backup data of the data file recorded in the primary backup storage 222 is deleted. This allows the capacity of the primary backup storage 222 to be recovered. Specifically, while backup storage 3 records backup data of all data files in chronological order, primary backup storage 222 is a kind of temporary buffer area, and after the primary backup data is copied to backup storage 3, the area where the primary backup data was recorded can be recovered. The backup copy unit 215 may also independently and in parallel perform backup processing for the primary backup data of a certain data file 1 (not shown) to the backup storage 3, and for the primary backup data of a different data file 2 (not shown) to the backup storage 3. The functional components of the information recording device 2 have been described above.
[0025] Figure 4 is a flowchart illustrating the operation of the information recording device 2. Here, we describe the processing flow when backing up information recorded in a data file ("data file X") (not shown) set in the data storage 221 to the backup storage 3. If multiple data files are set in the data storage 221 and managed separately, as mentioned above, the information recording device 2 can back up each data file to the backup storage 3.
[0026] Referring to Figure 4, in step S10, the primary backup creation unit 213 receives a backup instruction for data file X.
[0027] In step S11, the information recording unit 211 either stops writing to data file X or waits for a write request.
[0028] In step S12, the primary backup creation unit 213 starts backing up the information recorded in data file X to the primary backup storage 222.
[0029] In step S13, the primary backup creation unit 213 completes the backup of the information recorded in data file X to the primary backup storage 222.
[0030] In step S14, the primary backup creation unit 213 restarts the information recording unit 211 or resumes recording data file information to data file X based on a write request.
[0031] In step S15, the backup copy unit 215 starts backing up the primary backup data of data file X recorded in primary backup storage 222 to backup storage 3.
[0032] In step S16, the backup copy unit 215 completes the backup of the primary backup data of data file X recorded in the primary backup storage 222 to the backup storage 3.
[0033] In step S17, the backup copy unit 215 deletes the primary backup data of data file X recorded in the primary backup storage 222. The above describes the processing flow related to the backup of data file X by the information recording device 2.
[0034] Through the above processing, the information recording device 2 can reduce the downtime for updating data files, adding data, etc., when backing up data files in the data storage 221, thereby minimizing the impact on industrial equipment 1A, such as preventing it from performing the next operation.
[0035] All or part of the functions of the backup system 100 of the embodiment described above can be implemented by hardware, software, or a combination thereof. Here, implementation by software means that it is implemented by a processor reading and executing a program. When implemented by hardware, some or all of the functions of the automatic backup system 1 can be implemented by, for example, an ASIC (Application Specific Integrated Circuit), a gate array, or an FPGA (Field Processor). It can be composed of integrated circuits (ICs) such as Programmable Gate Arrays (GATE Arrays) and Complex Programmable Logic Devices (CPLDs).
[0036] When all or part of the functions of the backup system 100 are configured in software, this can be achieved in a computer consisting of a storage unit such as a hard disk or ROM that stores a program describing all or part of the operation of the backup system 100, a DRAM that stores data necessary for calculations, a CPU, and a bus that connects each unit, by storing the information necessary for calculations in the DRAM and running the program on the CPU.
[0037] These programs can be stored and supplied to a computer using various types of computer-readable media. Computer-readable media include various types of tangible storage media. Examples of computer-readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memory (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash memory, and RAMs (Random Access Memory)). These programs may also be distributed by being downloaded to users' computers via a network.
[0038] Although embodiments of the present invention have been described in detail above, the embodiments described above are merely examples of how to implement the present invention. The technical scope of the present invention is not limited to the embodiments described above. The present invention can be modified in various ways without departing from its spirit, and these modifications are also included within the technical scope of the present invention.
[0039] [Example 1] In the embodiments described above, the backup storage 3 was explained using a remote storage device (NAS: Network Attached Storage) accessed via a network as an example, but it is not limited to this. For example, the backup storage 3 may be connected to a LAN. Alternatively, the backup storage 3 may be directly connected to the information recording device 2 via a communication line or the like.
[0040] [Differentiation 2] In the embodiments described above, the primary backup storage 222 is shown as being included in the information recording device 2, but the invention is not limited to this configuration. The primary backup storage 222 may also be connected as an external storage device to the information recording device 2.
[0041] [Difference 3] In the embodiment described above, the file system in the primary backup storage 222 may be equipped with a copy-on-write function (a function that copies only management information, such as pointers to data, of a file, and copies only the change-related parts when the data is actually changed). Doing so will further reduce the time required for primary backup.
[0042] [Differentiation Example 4] In the above-described embodiment, the information recording device 2 is shown as receiving a write request transmitted from the write request source 1. However, examples of the forms in which the write request source 1 transmits a write request include a form in which the write request source 1 is the main entity and transmits a write request to the information recording device 2 when a write request exists, and a form in which the information recording device 2 queries the write request source 1, for example at regular intervals (e.g., by polling), to see if a write request exists, and the write request source 1 transmits a write request to the information recording device 2 in response to the query from the information recording device 2 when a write request exists. In either form, the information recording device 2 receives (acquires) a write request from the write request source 1. In the latter configuration, the information recording device 2 may be equipped with a functional unit (not shown) that, in order to poll a plurality of pre-set write request sources 1, queries the write request sources 1 at regular intervals (e.g., by polling) to determine whether there is a write request. Furthermore, the write request source 1 may also be equipped with a functional unit (not shown) that transmits write requests, etc., in response to inquiries from the information recording device 2. Furthermore, in the latter configuration, the flowchart showing the operation of the information recording device 2 may include, for example, a step (not shown) of querying the write request source 1 at regular intervals, and the device may be configured to receive a write request when one exists and a backup instruction when one exists.
[0043] In other words, the information recording device and information recording method of this disclosure can take various forms having the following configurations.
[0044] (1) The information recording device 2 disclosed herein is an information recording device 2 that is communicably connected to a backup storage 3, and includes a data storage 221 that stores information from equipment 1A, The primary backup storage 222 is where the information recorded in the data storage 221 is backed up, An information recording unit 211 records information in the data storage 221 in response to a write request, When the primary backup creation unit 213 receives an instruction to start backing up the information recorded in the data storage 221, it stops the information recording unit 211 or puts it on standby for a write request, and while the information recording unit 211 is stopped or on standby for a write request, it backs up the information recorded in the data storage 221 to the primary backup storage 222, and when the backup is complete, it restarts the information recording unit 211 or resumes writing to the data storage 221. Backup storage 3 includes a backup copy unit 215 that backs up the information recorded in the primary backup storage 222, Furthermore, once the backup copy unit 215 has completed backing up the information recorded in the primary backup storage 222 to the backup storage 3, it deletes the information recorded in the primary backup storage 222. According to this information recording device 2, when backing up the data storage 221, the backup time of the data storage 221 can be shortened, thereby reducing the downtime for updating, adding data to, etc., of the data storage 221, and minimizing the impact on the data write requester, such as being unable to perform the next operation.
[0045] (2) In the information recording device 2 described in (1), the data storage 221 may be configured to be divided and managed into multiple storage areas, the information recording unit 211 may record information in each of the multiple storage areas in response to a write request, and the primary backup creation unit 213 may back up the information recorded in each of the multiple storage areas included in the data storage 221. By doing so, the information recording device 2 can shorten the time required for backup by backing up the information recorded in each of the multiple storage areas to the primary backup storage 222, thereby reducing the downtime for updating data, adding data, etc., in each of the multiple storage areas included in the data storage 221, and minimizing the impact on equipment 1A, such as preventing it from performing the next operation.
[0046] (3) In the information recording device 2 described in (1) or (2), the device 1A may be an industrial device. By doing so, the information recording device 2 can achieve the same effect as (1) or (2).
[0047] (4) In the information recording device 2 described in (3), the information recording unit 211 associates a manufacturing process using the industrial equipment 1A with each of the multiple storage areas in the data storage 221, and records the information in the storage area associated with each manufacturing process in response to a write request for information related to that manufacturing process, and the primary backup creation unit 212 backs up the information recorded in the storage area associated with the manufacturing process to the primary backup storage 222 in between cycles of the manufacturing process in which the information recording unit 211 is recording information in response to write requests. By doing so, the information recorded in each of the multiple areas of the data storage 221, which contains information related to the manufacturing process, can be backed up to the primary backup storage 222 between cycles of each manufacturing process. This eliminates the need to wait for information write requests during each cycle of the manufacturing process by configuring the cycles or selecting the primary backup storage 222.
[0048] (5) In the information recording method described in (1) or (2), the primary backup creation unit 213 The system may also record the information recorded when the primary backup data was created to the primary backup storage 222 based on the copy-on-write function. This further reduces the time required to create the primary backup, thereby further reducing the downtime for updating the data storage 221, adding data, etc., and further minimizing the impact on the data write request source, such as preventing it from performing the next operation. Toga can.
[0049] (6) The information recording method disclosed herein is an information recording method using an information recording device 2 which comprises a data storage 221 for storing information from device 1 and a primary backup storage 222 for backing up the information recorded in the data storage 221, and which is communicated with a backup storage 3, An information recording step in which information is recorded in the data storage 221 in response to a write request, Upon receiving an instruction to start backing up the information recorded in the data storage 221, a stop instruction step is performed to stop the information recording step or to wait for a write request. In the stop instruction step, while the information recording step is stopped or waiting for a write request, a primary backup creation step is performed to back up the information recorded in the data storage 221 to the primary backup storage 222, When the primary backup creation step receives confirmation that the backup is complete, a restart instruction step is initiated to restart the information recording step or to resume writing to the data storage 221. The system includes a backup copy step that backs up the information recorded in the primary backup storage 222 to the backup storage 3. The backup copy step further includes a step of deleting the information recorded in the primary backup storage 222 once the backup of the information recorded in the primary backup storage 222 to the backup storage 3 is complete. This information recording method can achieve the same effect as (1). [Explanation of Symbols]
[0050] 100 Backup Systems 1. Source of the write request 1A Industrial Equipment 1B Data Processing Function Unit 2. Information recording device 21 Control Unit 211 Information Recording Department 213 Primary Backup Creation Section 215 Backup Copy Section 22 Memory section 221 Data Storage 222 Primary Backup Storage 3. Backup Storage 300 Networks
Claims
1. An information recording device that is communicatively connected to backup storage, Data storage that stores information from devices, A primary backup storage where the information recorded in the aforementioned data storage is backed up, An information recording unit that records the information in the data storage in response to a write request, Upon receiving an instruction to start backing up the information recorded in the data storage, the information recording unit is stopped or made to wait for a write request. While the information recording unit is stopped or waiting for a write request, the primary backup storage is used to back up the information recorded in the data storage. Upon completion of the aforementioned backup, the primary backup creation unit restarts the information recording unit or resumes writing to the data storage, The backup storage includes a backup copy unit that backs up the information recorded in the primary backup storage, The aforementioned backup copy unit further, An information recording device that deletes the information recorded in the primary backup storage once the backup of the information recorded in the primary backup storage to the backup storage is complete.
2. The aforementioned data storage is It is configured to be managed by dividing it into multiple memory areas. The aforementioned information recording unit is The aforementioned information is recorded in each of the multiple storage areas in response to the write request. The aforementioned primary backup creation unit is: The information recording device according to claim 1, which backs up the information recorded in each of the plurality of storage areas included in the data storage.
3. The information recording device according to claim 1 or claim 2, wherein the aforementioned device is an industrial device.
4. The information recording unit associates a manufacturing process using the industrial equipment with each of the multiple storage areas in the data storage, and records the information in the storage area associated with each manufacturing process in response to a request to write information related to the manufacturing process. The information recording device according to claim 3, wherein the primary backup creation unit backs up the information recorded in the storage area associated with the manufacturing process to primary backup storage in between cycles of the manufacturing process in which the information recording unit records information in response to the write request.
5. The aforementioned primary backup creation unit is: The information recording device according to claim 1 or 2, wherein, while the information recording unit is stopped or in a state of waiting for a write request, backup data of the data files to be backed up, recorded in the data storage, is recorded in the primary backup storage based on a copy-on-write function.
6. An information recording method comprising an information recording device that includes a data storage for storing information from a device and a primary backup storage for backing up the information recorded in the data storage, and which is communicated with the backup storage, An information recording step of recording the information in the data storage in response to a write request, Upon receiving an instruction to start backing up the information recorded in the data storage, the system performs a stop instruction step to stop the information recording step or to wait for a write request, In the stop instruction step, while the information recording step is stopped or waiting for a write request, a primary backup creation step is performed to back up the information recorded in the data storage to the primary backup storage, Upon receiving confirmation of backup completion in the primary backup creation step, a restart instruction step is performed to restart the information recording step or to resume writing to the data storage. The system includes a backup copy step that backs up the information recorded in the primary backup storage to the backup storage, The aforementioned backup copy step further, An information recording method comprising the step of deleting the information recorded in the primary backup storage once the backup of the information recorded in the primary backup storage to the backup storage is complete.