Backup system and backup method
The backup system addresses the limitations of single-path backup systems by employing multiple storage devices and routes to enhance availability and data protection, enabling efficient storage and retrieval of backup data.
Patent Information
- Application Number
- JP2023050534
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2024-10-09
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Conventional backup systems have limited availability due to a single acquisition path for backups stored in a data protection area, and existing technologies for duplicating backups do not provide multiple routes for data protection.
A backup system utilizing multiple storage devices and backup volumes with a data protection area that cannot be accessed externally, where each copy of the backup data is stored via multiple routes, ensuring redundancy and availability by storing multiple generations of backup images.
The system improves availability by providing multiple paths for acquiring backups and efficiently utilizes the data protection area capacity, allowing for a larger number of backup generations to be stored, ensuring data integrity even in the event of a failure.
Smart Images

Figure 2024139547000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a backup system and a backup method. [Background technology]
[0002] Due to the increasing sophistication of cyber attacks in recent years and the emergence of DeOS (Destruction of service) attacks that destroy backup data, traditional cybersecurity measures alone are no longer sufficient to protect organizations from constant cyber attacks. In response to this, solutions that aim not to prevent attacks but to quickly recover data even if an attack occurs ("Cyber Resilience") are being proposed to the market, and having such solutions is becoming a must in the MF (mainframe) market.
[0003] In conventional storage systems, there is a technology that uses storage functions to back up data read and written by a host in a data protection area that cannot be accessed from the outside. For example, Patent Document 1 is an example of this technology. The backup system disclosed in Patent Document 1 has one backup acquisition path, and the acquired backup is stored in a data protection area. Patent Document 2 is a technology for acquiring multiple backups. The technology in Patent Document 2 duplicates snapshots of volumes used by a host for each generation between different storage devices. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Patent Publication No. 2021-22390 [Patent Document 2] JP 2003-242011 A Summary of the Invention [Problem to be solved by the invention]
[0005] In the backup system of Patent Document 1, there is only one path for obtaining the backup to be stored in the data protection area, which poses an issue with availability. The technology of Patent Document 2 is a technology for simply duplicating backups (snapshots), and is not a technology for obtaining the backup to be stored in the data protection area via multiple paths. The present invention has been made to solve the above problem. That is, one of the objects of the present invention is to provide a backup system and a backup method that can improve availability by providing multiple paths for obtaining the backup to be stored in the data protection area. [Means for solving the problem]
[0006] In order to solve the above problems, the backup system of the present invention comprises a plurality of storage devices each constituting a plurality of different backup routes for the same backup target, and a backup storage device having a plurality of backup volumes corresponding to the plurality of backup routes, and a data protection area which is a storage area which cannot be accessed from external devices, and the backup storage device stores copies of data of the same backup target in each of the plurality of backup volumes via each of the plurality of backup routes, and stores multiple generations of backup images for each of the plurality of backup volumes in the data protection area.
[0007] The backup method of the present invention is a backup method using a plurality of storage devices, a plurality of backup volumes, and a backup storage device having a data protection area which is a storage area which cannot be accessed from an external device, wherein the plurality of storage devices form a plurality of different backup routes for the same backup target, the backup storage device stores copies of data of the same backup target in each of the plurality of backup volumes via each of the plurality of backup routes, and stores multiple generations of backup images for each of the plurality of backup volumes in the data protection area. Effect of the Invention
[0008] According to the present invention, availability can be improved by providing multiple paths for obtaining backups to be stored in a data protection area. Note that the effects described herein are not necessarily limited to those described herein, and may be any of the effects described in this disclosure. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram showing an example of the configuration of a backup system according to a first embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram showing an example of a hardware block configuration of a storage device. [Diagram 3] FIG. 3 is a schematic diagram showing an example of the configuration of the management server. [Figure 4] FIG. 4 is a schematic diagram showing an example of the configuration of the validation server. [Figure 5A] FIG. 5A is a diagram for explaining the volume copy management table of the first storage. [Figure 5B] FIG. 5B is a diagram for explaining the first True Copy management table of the first storage. [Figure 5C] FIG. 5C is a diagram for explaining the first external connection mapping table held by the first storage. [Figure 6A] FIG. 6A is a diagram for explaining a volume copy management table held by the second storage. [Figure 6B] FIG. 6B is a diagram for explaining the second True Copy management table of the second storage. [Figure 6C] FIG. 6C is a diagram for explaining the second external connection mapping table held by the second storage. [Figure 7] FIG. 7 is a diagram for explaining the backup route management table. [Figure 8] FIG. 8 is a diagram for explaining the backup route execution result management table. [Figure 9A] FIG. 9A is a diagram for explaining the first backup data management table. [Figure 9B] FIG. 9B is a diagram for explaining the second backup data management table. [Figure 10] FIG. 10 is a diagram for explaining the backup generation information management table. [Figure 11] FIG. 11 is a diagram for explaining the third circumscribing mapping table. [Figure 12] FIG. 12 is a diagram for explaining the linking table. [Figure 13] FIG. 13 is a diagram for explaining the fourth circumscribing mapping table. [Figure 14A] FIG. 14A is a diagram for explaining an outline of the operation of the backup system. [Figure 14B] FIG. 14B is a diagram for explaining an outline of the operation of the backup system. [Figure 14C] FIG. 14C is a diagram for explaining an outline of the operation of the backup system. [Figure 14D] FIG. 14D is a diagram for explaining an outline of the operation of the backup system. [Figure 15A] FIG. 15A is a diagram for explaining an outline of the operation of the backup system when a failure occurs on one of the backup routes. [Figure 15B] FIG. 15B is a diagram for explaining an outline of the operation of the backup system when a failure occurs on one of the backup routes. [Figure 15C] FIG. 15C is a diagram for explaining an outline of the operation of the backup system when a failure occurs on one of the backup routes. [Figure 15D] FIG. 15D is a diagram for explaining an outline of the operation of the backup system when a failure occurs on one of the backup routes. [Figure 16A] FIG. 16A is a diagram for explaining an outline of the operation of the backup system after recovery. [Figure 16B] FIG. 16B is a diagram for explaining an outline of the operation of the backup system after recovery. [Figure 16C] FIG. 16C is a diagram for explaining an outline of the operation of the backup system after recovery. [Figure 16D] FIG. 16D is a diagram for explaining an outline of the operation of the backup system after recovery. [Figure 16E] FIG. 16E is a diagram for explaining an outline of the operation of the backup system after recovery. [Figure 16F] FIG. 16F is a diagram for explaining an outline of the operation of the backup system after recovery. [Figure 17] FIG. 17 is a flowchart showing a process flow executed by the CPU of the management server. [Figure 18] FIG. 18 is a flowchart showing a process flow executed by the CPU of the management server. [Figure 19] FIG. 19 is a flowchart showing a process flow executed by the CPU of the validation server. [Figure 20] FIG. 20 is a diagram showing an example of a GUI screen displayed on the display. [Figure 21A] FIG. 21A is a diagram for explaining an outline of the operation of the backup system. [Figure 21B] FIG. 21B is a diagram for explaining an outline of the operation of the backup system. [Figure 22A] FIG. 22A is a diagram for explaining the effect of the backup system. [Figure 22B] FIG. 22B is a diagram for explaining the effect of the backup system. [Figure 23] FIG. 23 is a flowchart showing a process flow executed by the CPU of the management server. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, each embodiment of the present invention will be described with reference to the drawings. In addition, in all the drawings of the embodiments, the same or corresponding parts may be denoted by the same reference numerals.
[0011] In the following description, various information may be explained using expressions such as "table" and "record", but the various information may be expressed using data structures other than these. When explaining identification information, expressions such as "ID", "name", and "number" are used, but these are mutually interchangeable. For ease of explanation, the IDs of the volumes and storages are the same as the reference symbols (numbers) assigned to the volumes and storages, respectively. In the following description, processing may be explained using a CPU or a device as the subject, but the subject of the processing may be a program or device instead of a CPU, and a controller or CPU instead of a device.
[0012] <<First embodiment>> FIG. 1 is a configuration diagram showing an example of the configuration of a backup system according to a first embodiment of the present invention. As shown in FIG. 1, the backup system includes a host 1, a first storage system 10 (hereinafter referred to as "first storage 10"), a second storage system 20 (hereinafter referred to as "second storage 20"), a backup storage system 30 (hereinafter referred to as "BP storage 30"), a management server 100, and a verification server 200. The first storage 10 may also be referred to as the "first storage device". The second storage 20 may also be referred to as the "second storage device". The BP storage 30 may also be referred to as the "backup storage device".
[0013] In this example, the host 1, the first storage 10, the second storage 20 and the verification server 200 are typically included in a mainframe system (hereinafter referred to as "MF"). The management server 100 and the BP storage 30 are typically included in an open system.
[0014] The host 1 is connected to a first storage 10. A production volume 11, which is a logical volume, is provided to the host 1 from the first storage 10. By mounting the production volume 11 on the host 1, the host 1 recognizes the production volume 11 as a production PD1.
[0015] The first storage 10 is typically a storage installed close to the host 1, for example, and has a production volume 11 and a virtual volume 12. The production volume 11 is a volume that is the target of I / O requests from the host 1. The virtual volume 12 is a virtually created virtual volume that serves as a secondary volume of the production volume 11 by SI (Shadow Image). Note that SI (Shadow Image) is a function that copies all data of a primary volume to a secondary volume within the same storage system.
[0016] The second storage 20 is connected to the first storage 10 via a network (not shown). The second storage 20 is typically installed, for example, at a location remote from the first storage 10. The second storage 20 has a replica volume 21, which is a logical volume, a virtual volume 22, and a virtual volume 23.
[0017] In the second storage 20, a replica volume 21 that is a copy of the production volume 11 in the first storage 10 is created by True Copy. The replica volume 21 is synchronized with the production volume 11 by True Copy, and the identity of the production volume 11 and the replica volume 21 is guaranteed. In True Copy, data is copied to the replica volume 21 in the second storage 20 in synchronization with the data in the production volume 11 in the first storage 10. In response to a data write command from the host 1, after the data has been written to the first storage 10 and copied to the second storage 20, a completion response is returned to the host 1. In True Copy, all data written to the production volume 11 in the first storage 10 is copied to the replica volume 21 in the second storage 20.
[0018] The virtual volume 22 is a virtually created virtual volume that serves as a secondary volume of the replica volume 21 by SI (Shadow Image).
[0019] The virtual volume 23 is a virtually created virtual volume. The virtual volume 23 is mapped to the access volume 35, with the virtual volume 23 as the external connection source and the access volume 35 of the BP storage 30 as the external connection destination.
[0020] The BP storage 30 is connected to each of the first storage 10 and the second storage 20, and is installed, for example, in a location separate from each of the first storage 10 and the second storage 20.
[0021] The BP storage 30 comprises a first backup volume 31 , a second backup volume 32 , a data protection area 33 , a management data volume 34 , and an access volume 35 .
[0022] The first backup volume 31 is mapped to the virtual volume 12 of the first storage 10 by an external connection function, becomes the storage destination of the data of the virtual volume 12, and stores a copy of the data of the production volume 11. For example, the external connection function is realized by Hitachi's UVM (Universal Volume Manager). The external connection function is a function that uses virtualization technology to integrate multiple disk arrays of different models as if they were a single disk array, and is a function that can handle multiple disk arrays of different models as if they were a single disk array by connecting external storage and mapping its logical volume.
[0023] The second backup volume 32 is mapped to the virtual volume 22 of the second storage 20 by the external connection function, becomes the storage destination of the data of the virtual volume 22, and stores a copy of the data of the replica volume 21.
[0024] The management data volume 34 stores management information such as a backup route management table 700 (FIG. 7), a backup route execution result management table 800 (FIG. 8), a first backup data management table 900 (FIG. 9A), a second backup data management table 910 (FIG. 9B), a backup generation information management table 1000 (FIG. 10), a third external connection mapping table 1100 (FIG. 11), a linking table 1200 (FIG. 12), and a fourth external connection mapping table 1300 (FIG. 13).
[0025] The data protection area 33 is an area that cannot be accessed from the outside. This area is configured by a storage area that is not provided with information for external access to an external device and can only be recognized by the storage controller of the BP storage 30. For example, if the data protection area 33 is configured with multiple volumes, it may be configured so that the volume IDs required to access the data are not provided to the outside.
[0026] The backup images 31a, 31b, and 31c are backup images of the first backup volume 31 at different times. In order to create the backup images 31a, 31b, and 31c from the first backup volume 31, a thin image is used that saves only pre-update data in the first backup volume 31 to a pool volume that constitutes the data protection area 33. However, other implementation methods may be adopted as long as they are a function for acquiring data that constitutes a backup image of the first backup volume 31 at a specified time. Also, a backup function that can store data that constitutes a backup image in another volume may be used. Hereinafter, data that is composed of backup data at a specified time may be referred to as a backup image.
[0027] The backup images 32a, 32b, and 32c are backup images of the second backup volume 32 at different times. In order to create the backup images 32a, 32b, and 32c from the second backup volume 32, a thin image is used that saves only pre-update data in the second backup volume 32 to a pool volume that constitutes the data protection area 33. However, other implementation methods may be used as long as they are a function for acquiring data that constitutes a backup image of the second backup volume 32 at a specified time. Also, a backup function that can store data that constitutes a backup image in a different volume may be used.
[0028] As described above, the first backup volume 31 stores a copy of data in the production volume 11. The second backup volume 32 stores a copy of data in the replica volume 21, the identity of which is guaranteed to be the same as that of the production volume 11 by synchronous copying. Therefore, the backup image of the first backup volume 31 and the backup image of the second backup volume 32 are backup images (backup data) of the data copy of the production volume 11 (production PD1), which is the same backup target. This makes it possible to make the backup route redundant and ensure availability.
[0029] When creating backup images 31a, 31b, and 31c, the storage controller of the BP storage 30, in accordance with instructions from the management server 100, assigns copy numbers #3, #4, and #5 to each image and manages them using management information in the management data volume 34. Since each of the backup images 31a, 31b, and 31c is an image at a specified point in time of the first backup volume 31, they can be called generations of the first backup volume 31 at different points in time.
[0030] When creating the backup images 32a, 32b, and 32c, the storage controller of the BP storage 30, in accordance with instructions from the management server 100, assigns copy numbers #3, #4, and #5 to each image and manages them using management information in the management data volume 34. Since the backup images 32a, 32b, and 32c are images at a specified point in time in the second backup volume 32, they can be called generations of the second backup volume 32 at different points in time.
[0031] The backup image of the first backup volume 31 and the backup image of the second backup volume 32 at the same specified time are of the same generation (overlapping generations). The copy numbers assigned to (associated with) the backup images of the first backup volume 31 are assigned by the management server 100 in sequence starting from #3, and can be increased or decreased by deleting and adding. Similarly, the copy numbers assigned to (associated with) the backup images of the second backup volume 32 are assigned by the management server 100 in sequence starting from #3, and can be increased or decreased by deleting (for example, deleting from the copy number with the smallest number) and adding.
[0032] A copy number for which a backup image has not been acquired is referred to as an "free pair" or "free pair." A copy number for which a backup image has been acquired and a backup image assigned to that copy number are referred to as a "pair." The number of copy numbers for the first backup volume 31 (the number of pairs and free pairs) is referred to as the number of pairs. Similarly, the number of copy numbers for the second backup volume 32 (the number of pairs and free pairs) is referred to as the number of pairs.
[0033] 1, copy number #3 is assigned to backup image 31a of the first backup volume 31, copy number #4 is assigned to backup image 31b, and copy number #5 is assigned to backup image 31c. Copy number #4 is assigned to backup image 32a of the second backup volume 32, copy number #5 is assigned to backup image 32b, and copy number #6 is assigned to backup image 32c.
[0034] By associating (also referred to as "linking") the backup images of the first backup volume 31 and the second backup volume 32 at a specific time (specific generation) with the access volume 35, the backup image of the specific generation is provided to an external device (in this example, the second storage 20). This linking is an operation in which a backup image (copy number corresponding to the backup image) at a specific time (specific generation) is associated with the access volume 35, and the associated backup image is provided by the access volume 35. This operation is executed, for example, by the BP storage 30 receiving a command from the management server 100. In order to prevent the original backup image itself from being altered, information written from the external connection side is saved in a temporary area as a difference, and is discarded when the association is severed.
[0035] However, since the data constituting the backup image of the access volume 35 is stored in the first backup volume 31 and its backup images 31a, 31b, and 31c, and the second backup volume 32 and its backup images 32a, 32b, and 32c, access to the access volume 35 is generally slower than access to a volume that stores all of the copy data constituting the backup image.
[0036] Like the data stored in the first backup volume 31, the management information stored in the management data volume 34 also has a backup image stored in the data protection area 33, and a copy number is assigned to each backup image. The backup image of the management information is also linked to the management data volume 34, making it accessible from external devices including the management server 100. The management data volume 34 and the access volume 35 are assigned information required for external access (for example, a volume ID), and function as normal volumes.
[0037] <Hardware configuration> 2 is a block diagram showing an example of a hardware block configuration of a storage system, which corresponds to each of the first storage 10, the second storage 20, and the BP storage 30 in FIG.
[0038] 2, the first storage 10 will be described as an example, but the other storage systems have a similar configuration. The first storage 10 has a PDEV 51 which is a plurality of (or one) physical storage devices, and a storage controller 52 connected to the PDEV 51.
[0039] The storage controller 52 has an I / F 53, an I / F 54, two memories 55, and two processors 56 connected thereto.
[0040] The I / F 53 is a communication interface device that mediates data exchange between an external device (for example, the first host 1) and the storage controller 52. The first host 1 and the BP storage 30 are connected to the I / F 53 via an FC (Fibre Channel) network 60.
[0041] The first host 1 sends an I / O request (write request or read request) to the storage controller 52 specifying an I / O destination (for example, a logical volume number such as a LUN (Logical Unit Number) or a logical address such as an LBA (Logical Block Address)).
[0042] The I / F 54 is a communication interface device that mediates data exchange between the multiple PDEVs 51 and the storage controller 52. The I / F 54 is connected to the multiple PDEVs 51.
[0043] The memory 55 stores programs executed by the processor 56 and data used by the processor 56. The processor 56 executes the programs stored in the memory 55. In this example, the set of the memory 55 and the processor 56 is duplicated.
[0044] Although the configuration of the first storage 10 has been shown above, the other storages also have similar I / Fs and are connected to external devices. For example, the second storage 20 is connected to the first storage 10, the host 1, and the BP storage 30. The BP storage 30 is connected to the first storage 10 and the second storage 20.
[0045] Fig. 3 is a schematic diagram showing a configuration example of the management server 100. As shown in Fig. 3, the management server 100 includes a non-volatile storage device 110 capable of reading and writing data, a memory 120 (e.g., RAM), a CPU 130, an input / output interface 140, and a network interface 150. For convenience, a device including the CPU 130, the storage device 110, the memory 120, the input / output interface 140, the network interface 150, and the bus 160 is also referred to as an "information processing device." The information processing device may be a plurality of information processing devices or a virtual information processing device constructed on a cloud.
[0046] The storage device 110 holds (memorizes, stores) a program 111, first management information 112, and second management information 113. The program 111 includes a program for realizing various functions of the management server 100.
[0047] The CPU 130 loads the program 111 stored in the storage device 110 into the memory 120. The CPU 130 is a calculation device that realizes various functions of the management server 100 by executing the program 111 loaded into the memory 120.
[0048] The first management information 112 includes management information such as a backup route management table 700 (FIG. 7), a backup route execution result management table 800 (FIG. 8), a first backup data management table 900 (FIG. 9A), a second backup data management table 910 (FIG. 9B), a backup generation information management table 1000 (FIG. 10), a third external connection mapping table 1100 (FIG. 11), a linking table 1200 (FIG. 12), and a fourth external connection mapping table 1300 (FIG. 13).
[0049] The second management information 113 includes various tables (FIGS. 5A to 6C) that are possessed by and acquired from the first storage 10 and the second storage 20, which will be described in detail later.
[0050] In the memory 120, the program 111 to be executed by the CPU 130 is loaded as described above, and data used when the CPU 130 executes the program 111 is temporarily stored.
[0051] The input / output interface 140 is an interface for connecting operation devices such as a keyboard and a mouse, a display, etc. The network interface 150 is an interface for connecting the management server 100 to a network NW1 (for example, a SAN (Storage Area Network)).
[0052] At least a part of the processing performed by the CPU 130 executing a program may be executed by another computing device (for example, hardware such as an ASIC or an FPGA).
[0053] Fig. 4 is a schematic diagram showing an example of the configuration of the validation server 200. The validation server 200 validates backup data. As shown in Fig. 4, the validation server 200 includes a non-volatile storage device 210 capable of reading and writing data, a memory 220 (e.g., RAM), a CPU 230, an input / output interface 240, and a network interface 250. For convenience, a device including the CPU 230, the storage device 210, the memory 220, the input / output interface 240, the network interface 250, and the bus 260 is also referred to as an "information processing device." The information processing device may be a plurality of information processing devices or a virtual information processing device constructed on a cloud.
[0054] The storage device 210 holds (stores, holds) a program 211 including a script 211a and a verify tool 212b.
[0055] The CPU 230 loads the program 211 stored in the storage device 210 into the memory 220. The CPU 230 is a calculation device that executes the program 211 loaded into the memory 220 to realize various functions of the validation server 200, such as a validation function.
[0056] Into the memory 220, the programs executed by the CPU 230 are loaded as described above, and data used when the CPU 230 executes the program 211 is temporarily stored.
[0057] The input / output interface 240 is an interface for connecting operation devices such as a keyboard and a mouse, and a display 270, etc. The network interface 250 is an interface for connecting the validation server 200 to a network NW1 (for example, a SAN (Storage Area Network)).
[0058] At least a part of the processing performed by the CPU 230 executing a program may be executed by another computing device (for example, hardware such as an ASIC or an FPGA).
[0059] FIG. 5A is a diagram for explaining a first volume copy management table 500 possessed by the first storage 10. The first volume copy management table 500 includes a backup target name 501, a source VOLID 502, and a destination virtual VOLID 503 as columns for storing information (values). In the first volume copy management table 500, information corresponding to each column related to volume copying is associated with each other and stored as information (records) on a row-by-row basis. Specifically, the backup target name 501 stores the name of the production to be backed up. The source VOLID 502 stores an ID for identifying the production volume recognized as the production to be backed up. The destination virtual VOLID 503 stores an ID for identifying the secondary volume of the production volume 11.
[0060] 5B is a diagram for explaining a first True Copy management table 510 included in the first storage 10. The first True Copy management table 510 includes columns for storing information (values), such as a True Copy source storage ID 511, a True Copy source storage VOL ID 512, a True Copy destination storage ID 513, and a True Copy destination storage VOL ID 514. In the first True Copy management table 510, information corresponding to each column relating to True Copy is associated with each other and stored as information (records) on a row-by-row basis.
[0061] Specifically, the True Copy source storage ID 511 stores an ID for identifying the True Copy source storage. The True Copy source storage VOL ID 512 stores an ID for identifying the True Copy primary volume in the True Copy source storage. The True Copy destination storage ID 513 stores an ID for identifying the True Copy destination storage. The True Copy destination storage VOL ID 514 stores an ID for identifying the True Copy secondary volume in the True Copy destination storage.
[0062] 5C is a diagram for explaining a first external connection mapping table 520 possessed by the first storage 10. The first external connection mapping table 520 includes, as columns for storing information (values), an external connection source storage VOLID 521, an external connection source storage virtual VOLID 522, an external connection destination storage ID 523, an external connection destination storage VOLID 524, and a connection status (connected / disconnected) 525. In the first external connection mapping table 520, information corresponding to each column relating to a volume of the first storage 10 and an external volume mapped to that volume is associated with each other and stored as information (records) on a row-by-row basis.
[0063] Specifically, the external connection source storage VOLID 521 stores an ID for identifying the external connection source storage. The external connection source storage virtual VOLID 522 stores an ID for identifying the virtual volume to be mapped in the external connection source storage. The external connection destination storage ID 523 stores an ID for identifying the external connection destination storage. The external connection destination storage VOLID 524 stores an ID for identifying the mapped volume in the external connection destination storage. The connection status (connected / disconnected) 525 stores information indicating the external connection status.
[0064] FIG. 6A is a diagram for explaining a second volume copy management table 600 possessed by the second storage 20. The second volume copy management table 600 includes a backup target name 601, a source VOLID 602, and a destination virtual VOLID 603 as columns for storing information (values). In the second volume copy management table 600, information corresponding to each column related to volume copying is associated with each other and stored as information (records) on a row-by-row basis. Specifically, the backup target name 601 stores the name of the production to be backed up. The source VOLID 602 stores an ID for identifying the production volume recognized as the production to be backed up. The destination virtual VOLID 603 stores an ID for identifying the secondary volume of the production volume 11.
[0065] 6B is a diagram for explaining a second true copy management table 610 included in the second storage 20. The second true copy management table 610 includes columns for storing information (values), such as a true copy source storage ID 611, a true copy source storage VOL ID 612, a true copy destination storage ID 613, and a true copy destination storage VOL ID 614. In the second true copy management table 610, information corresponding to each column relating to true copy is associated with each other and stored as information (records) on a row-by-row basis.
[0066] Specifically, the True Copy source storage ID 611 stores an ID for identifying the True Copy source storage. The True Copy source storage VOL ID 612 stores an ID for identifying the True Copy primary volume in the True Copy source storage. The True Copy destination storage ID 613 stores an ID for identifying the True Copy destination storage. The True Copy destination storage VOL ID 614 stores an ID for identifying the True Copy secondary volume in the True Copy destination storage.
[0067] 6C is a diagram for explaining a second external connection mapping table 620 possessed by the second storage 20. The second external connection mapping table 620 includes, as columns for storing information (values), an external connection source storage VOLID 621, an external connection source storage virtual VOLID 622, an external connection destination storage ID 623, an external connection destination storage VOLID 624, and a connection status (connected / disconnected) 625. In the second external connection mapping table 620, information corresponding to each column relating to a volume of the second storage 20 and an external volume mapped to that volume is associated with each other and stored as information (records) on a row-by-row basis.
[0068] Specifically, an ID for identifying the source storage is stored in external connection source storage VOLID 621. An ID for identifying the virtual volume to be mapped in the source storage is stored in external connection source storage virtual VOLID 622. An ID for identifying the destination storage is stored in external connection destination storage ID 623. An ID for identifying the destination storage is stored in external connection destination storage VOLID 624. An ID for identifying the mapped volume in the destination storage is stored in connection status (connected / disconnected) 625. Information indicating the connection status of the external connection is stored.
[0069] 7 is a diagram for explaining a backup route management table 700. The backup route management table 700 includes columns for storing information (values), such as a backup route ID 701, a backup target name 702, a route number 703, and a route configuration 704. In the backup route management table 700, information corresponding to each column related to the acquisition route (sometimes referred to as a backup route, a route, or a path) of the backup data (backup image) is associated with each other and stored as information (records) on a row-by-row basis.
[0070] Specifically, an ID for identifying a backup route is stored in the backup route ID 701. The name of the production to be backed up is stored in the backup target name 702. An identification number for identifying (distinguishing) backup routes corresponding to the same backup target is stored in the route number 703. Information indicating the configuration of the backup route (for example, the ID of the volume that constitutes the backup route) is stored in the route configuration 704.
[0071] The backup route management table 700 is created by the management server 100 based on the various tables (FIGS. 5A to 6C) that the management server 100 acquires from the first storage 10 and the second storage 20.
[0072] FIG. 8 is a diagram for explaining a backup route execution result management table 800. The backup route execution result management table 800 includes a backup route ID 801, a backup target name 802, a route number 803, an execution date and time 804, and a backup status on the MF side 805 as columns for storing information (values). In the backup route execution result management table 800, information corresponding to each column related to the execution result of the backup in the backup route is stored as information (records) on a row basis in association with each other. Specifically, the backup route ID 801, the backup target name 802, and the route number 803 store information similar to the information stored in the backup route ID 701, the backup target name 702, and the route number 703 described above. The execution date and time 804 stores the date and time of the backup. The backup status on the MF side 805 stores information indicating the execution result (status) of the backup.
[0073] FIG. 9A is a diagram for explaining a first backup data management table 900. The first backup data management table 900 includes a backup volume ID 901, a copy number 902, a backup date and time 903, and an expiration date and time 904 as columns for storing information (values). In the first backup data management table 900, information corresponding to each column related to the backup image of the backup volume 31 is stored as information (records) in rows in association with each other. Specifically, the backup volume ID 901 stores an ID for identifying the backup volume. The copy number 902 stores a copy number associated with the backup image. The backup date and time 903 stores the acquisition time of the backup image. The expiration date and time 904 stores the expiration date and time of the backup image.
[0074] 9B is a diagram for explaining the second backup data management table 910. The second backup data management table 910 includes a backup volume ID 911, a copy number 912, a backup date and time 913, and an expiration date and time 914 as columns for storing information (values). In the second backup data management table 910, information corresponding to each column relating to the backup image of the backup volume 32 is stored as information (records) in rows in association with each other. Specifically, the backup volume ID 911, the copy number 912, the backup date and time 913, and the expiration date and time 914 store information similar to the information stored in the backup volume ID 901, the copy number 902, the backup date and time 903, and the expiration date and time 904 described above, respectively.
[0075] 10 is a diagram for explaining a backup generation information management table 1000. The backup generation information management table 1000 includes columns for storing information (values), such as a backup route ID 1001, a copy number 1002, a backup date and time 1003, and an expiration date and time 1004. In the backup generation information management table 1000, information corresponding to each column relating to backup data is associated with each other and stored as information (records) on a row-by-row basis.
[0076] Specifically, an ID for identifying a backup route is stored in the backup route ID 1001. The copy number 1002, backup date and time 1003, and expiration date and time 1004 store information similar to the information stored in the copy number 902, backup date and time 903, and expiration date and time 904 described above, respectively.
[0077] FIG. 11 is a diagram for explaining a third external connection mapping table 1100. The third external connection mapping table 1100 includes a backup volume ID 1101, an access VOL ID 1102, and a use 1103 as columns for storing information (values). In the third external connection mapping table 1100, information corresponding to each column regarding volume mapping is associated with each other and stored as row-by-row information (records). Specifically, the backup volume ID 1101 stores an ID for identifying a backup volume. The access VOL ID 1102 stores an ID for identifying an access volume. The use 1103 is information indicating the use of the access volume identified by the access VOL ID 1102, and stores information regarding the use, such as verifying for data verification, restoring a backup image, or further backing up a backup image.
[0078] 12 is a diagram for explaining the linking table 1200. The linking table 1200 includes columns for storing information (values), such as a backup volume ID 1201, an access VOL ID 1202, and a linked copy number 1203. In the linking table 1200, information corresponding to each column regarding the linking (association) between the copy number and the access volume is associated with each other and stored as information (records) on a row-by-row basis.
[0079] Specifically, the backup volume ID 1201 and the access VOL ID 1202 store the same information as that stored in the backup volume ID 1101 and the access VOL ID 1102, respectively.
[0080] The linked copy number 1203 stores the copy number linked to the access volume 35 .
[0081] FIG. 13 is a diagram for explaining a fourth external connection mapping table 1300. The fourth external connection mapping table 1300 includes columns (columns) for storing information (values): external connection source storage virtual VOL ID 1301, external connection destination storage ID 1302, external connection destination storage access VOL ID 1303, and connection status (connected / disconnected) 1304. In the fourth external connection mapping table 1300, information corresponding to each column regarding volume mapping is stored as information (records) in rows in association with each other. Specifically, the external connection source storage virtual VOL ID 1301 stores an ID for identifying a virtual volume that is an external connection source. The external connection destination storage ID 1302 stores an ID for identifying a storage that is an external connection destination. The external connection destination storage access VOL ID 1303 stores an ID for identifying an access volume of the external connection destination storage. The connection status (connected / disconnected) 1304 stores information indicating the connection status.
[0082] <Summary> Hereinafter, an overview of the backup system according to the first embodiment will be described. First, the basic operations of the backup system (basic backup operations and data verification) will be described.
[0083] <Basic backup operations> The first storage 10 refers to the first True Copy management table 510, and copies data written to the production volume 11 to the replica volume 21 of the second storage 20 by True Copy, thereby maintaining synchronization between the production volume 11 and the replica volume 21.
[0084] When the set backup acquisition date and time arrives, the first storage 10 refers to the first volume copy management table 500 and the first external connection mapping table 520, and uses SI (Shadow Image) and external connection functions to create a copy of the data in the production volume 11, stores the copy of the data in the backup volume 31, and updates the backup volume 31.
[0085] The BP storage 30 creates a backup image by backing up the updated portion of the backup volume 31 from before the update to a pool volume that constitutes the data protection area 33 using Thin Image, assigns a copy number of a free pair, and stores it in the data protection area 33.
[0086] Similarly, at the set backup acquisition date and time (i.e., the same date and time as the above backup acquisition date and time), the second storage 20 refers to the second volume copy management table 600 and the second external connection mapping table 620, and creates a copy of the data in the replica volume 21 using SI (Shadow Image) and external connection functions, stores the copy of the data in the backup volume 32, and updates the backup volume 32.
[0087] The BP storage 30 creates a backup image by using Thin Image to back up the updated portion of the backup volume 32 from before the update to a pool volume that constitutes the data protection area 33, assigns a copy number of a free pair, and stores it in the data protection area 33.
[0088] As a result of the above, in the backup system, a backup image (hereinafter referred to as the "first root BP image") is obtained for the production volume 11 of the first storage 10 using the first backup root consisting of the virtual volume 12 and the first backup volume 31 of the BP storage 30, and the obtained first root BP image is stored in the data protection area 33.
[0089] In the backup system, a backup image (hereinafter referred to as the "second root BP image") is obtained for the production volume 11 of the first storage 10 by a second backup root consisting of the replica volume 21 of the second storage 20, the virtual volume 22 and the second backup volume 32 of the BP storage, and the obtained second root BP image is stored in the data protection area 33.
[0090] Here, the first root BP image and the second root BP image acquired at the same backup acquisition date and time are backup data of the production volume 11 acquired at the same backup acquisition date and time. That is, in this backup system, backup data is duplicated using two backup routes (backup acquisition routes). Furthermore, in this backup system, one of the duplicated backup data (backup images) is stored in the data protection area 33. This makes it possible to efficiently use the capacity of the data protection area 33 and store a greater number of generations of backup images in a data protection area 33 of a specific capacity.
[0091] The above is the basic backup operation for the production PD1 (production volume 11). Note that with respect to the production PD2, a similar basic backup operation can be performed to acquire backup data for the production PD2 and store it in the data protection area 33. In Fig. 1, illustrations of the volumes and virtual volumes of the first storage 10 corresponding to the volume 11 and virtual volume 12 used in this case, the volumes and virtual volumes of the second storage 20 corresponding to the replica volume 21 and virtual volume 22, and the backup volumes of the BP storage 30 corresponding to the first backup volume 31 and second backup volume 32 are omitted.
[0092] <Data verification> When a backup generation is selected by the user operating the GUI screen 2000 (Fig. 20), the verification server 200 causes the management server 100 to transmit a restore command specifying the backup date and time of the selected generation, the backup target name, and the access volume to the BP storage 30. The GUI screen 2000 (Fig. 20) will be described in detail later.
[0093] When the BP storage 30 receives a restore instruction from the management server 100, it references the first backup data management table 900 and the second backup data management table 910, and identifies the copy number and the ID of the backup volume from the specified backup date and time.
[0094] The BP storage 30 links the backup image specified by the copy number and the ID of the backup volume to the specified access volume. The BP storage 30 updates the linking table 1200 by adding the copy number and the access volume ID to the linking table 1200.
[0095] For example, if the obtained copy number is "#5", the backup volume ID is "32", and the specified access volume ID is "35", the BP storage 30 links the backup image 32b identified by the copy number "#5" and backup volume ID "32" to the access volume 35 (see Figure 1).
[0096] Furthermore, the BP storage 30 may refer to the backup generation information management table 1000 and link the backup image to the specified access volume from the specified backup date and time, as follows.
[0097] That is, when the BP storage 30 receives a restore instruction from the management server 100, it refers to the backup generation information management table 1000 and identifies the copy number and backup route ID from the specified backup date and time.
[0098] The BP storage 30 links the backup image specified by the copy number and backup route ID to the designated access volume.
[0099] For example, if the acquired copy number is "#5", the backup route ID is "2", and the specified access volume ID is "35", the BP storage 30 links the backup image 32b specified by the copy number "#5" and backup route ID "2" to the access volume 35 (see FIG. 1). In this case, a column for the backup route ID is added to the linking table 1200, and an ID for identifying the backup route corresponding to the backup volume is stored in this column.
[0100] When the second storage 20 receives an external connection instruction from the verification server 200, a fourth external connection mapping table 1300 of the second storage 20 maps the access volume 35 of the BP storage 30 as the external connection destination access volume and the virtual volume 23 of the second storage 20 as the external connection source virtual volume, and sets the connection status to "connected".
[0101] This allows the verification server 200 to verify the data by referencing the data in the virtual volume 23. That is, the verification server 200 can read and verify the data constituting the backup image of a specific generation in the data protection area 33 by accessing the virtual volume 23 to which the access volume 35 is mapped. Note that, if necessary, the data in the virtual volume 23 may be copied to the backup target (production PD1 in FIG. 1) and the data may be restored.
[0102] After that, when the second storage 20 receives an external connection release instruction from the verification server 200, the second storage 20 dissolves (disconnects) the relationship between the virtual volume 23 and the access volume 35 of the BP storage 30. In response to an instruction from the management server 100, the BP storage 30 releases the link between the access volume 35 and the backup image 32b. The BP storage 30 updates the link table 1200 by deleting the corresponding row from the link table 1200.
[0103] In this way, the verification server 200 can perform data verification by referring to the data in the virtual volume 23. Note that the data in the virtual volume 23 may be used for other purposes other than data verification.
[0104] <Outline of backup system operation> An overview of the operation of the backup system (optimization of storage of backup data in the data protection area 33) will be described below. Figures 14A to 14D are diagrams for explaining the overview of the operation of the backup system. In this example, the BP storage 30 is set to acquire a backup image once a day at a specified time (9:00 in this example) and store it for six days. The BP storage 30 is set to hold only six generations of backup images with different acquisition dates and times in the data protection area 33.
[0105] In the initial state, the BP storage 30 manages backup images with six generations of copy numbers for data retention and two generations of copy numbers required for other data storage processing, so that each of the first backup volume 31 and the second backup volume 32 has a predetermined number of pairs (backup images).
[0106] For example, in the initial state, the BP storage 30 manages backup images using copy numbers for four generations of the first backup volume 31 and copy numbers for four generations of the second backup volume 32 .
[0107] First, a case where both the first root BP image and the second root BP image have been acquired (backup has been successful) will be described.
[0108] The data protection area 33 in Fig. 14A shows a state in which three generations of the first root BP image are stored, and three generations of the second root BP image are stored. In the state shown in Fig. 14A, copy number #6 for the first backup volume 31 is an empty pair, and copy number #6 for the second backup volume 32 is an empty pair. In the state shown in Fig. 14A, when the set backup acquisition date and time (9:00 on 1 / 7) arrives, the BP storage 30 can acquire the first root BP image by the above-mentioned basic backup operation, assigns an empty copy number #6 to it, and stores it in the data protection area 33. The BP storage 30 can acquire the second root BP image by the above-mentioned basic backup operation, assigns an empty copy number #6 to it, and stores it in the data protection area 33.
[0109] As a result, the BP storage 30 becomes the state shown in Fig. 14B. In the data protection area 33 shown in Fig. 14B, a first root BP image assigned copy number #6 and a second root BP image assigned copy number #6 have been acquired by the immediately preceding backup acquisition process.
[0110] In the following, the first root BP image to which copy number #N is assigned may be referred to as the first root BP image (#N) for convenience. The second root BP image to which copy number #N is assigned may be referred to as the second root BP image (#N) for convenience. The BP storage 30 creates free pairs in accordance with the following first storage optimization rules (1) to (3). (1) Delete the oldest expired backup image generation. (2) One of the backup images acquired in the immediately preceding process is deleted so that each of the first backup volume 31 and the second backup volume 32 has at least one free pair. (3) In (2), if there is a difference in the number of first root BP images and second root BP images stored in the data protection area 33, one of the backup images obtained in the immediately preceding process is deleted so that the difference in the numbers becomes smaller (eliminates).
[0111] Therefore, the BP storage 30 selects the expired second root BP image (#3) as the deletion target, and selects the first root BP image (#6) acquired in the immediately preceding process as the deletion target, and deletes them.
[0112] As a result, the BP storage 30 becomes the state shown in FIG. 14C. In this state, copy number #6 for the first backup volume 31 is an empty pair, and copy number #3 for the second backup volume 32 is an empty pair. In the state shown in FIG. 14C, when the set backup acquisition date and time (1 / 8, 9:00) arrives, the BP storage 30 can acquire the first root BP image by the above-mentioned backup basic operation, assigns an empty copy number #6, and stores it in the data protection area 33. The BP storage 30 can acquire the second root BP image by the above-mentioned backup basic operation, assigns an empty copy number #3, and stores it in the data protection area 33. As a result, the BP storage 30 becomes the state shown in FIG. 14D. In the state shown in FIG. 14D, the BP storage 30 selects the expired first root BP image (#3) as the deletion target, and selects the second root BP image (#3) acquired in the immediately preceding process as the deletion target, and deletes it. Thereafter, similar operations are performed. Incidentally, the BP storage 30 does not store the first root BP image and the second root BP image in the data protection area 33 so that their generations alternate, as in the second embodiment described later in detail, but they do alternate. If the first root BP image and the second root BP image are stored in the data protection area 33 so that their generations alternate, even if a failure occurs in one of the backup volumes, it is possible to verify / restore backups at even intervals throughout the entire retention period. Note that the details of this effect will be described in the second embodiment described later.
[0113] Next, an overview of the operation of the backup system when a failure occurs in one of the backup routes will be described. Figures 15A to 15D are diagrams for explaining the overview of the operation of the backup system when a failure occurs in one of the backup routes. Figures 16A to 16F are diagrams for explaining the overview of the operation of the backup system after failure recovery.
[0114] The data protection area 33 in Fig. 15A shows a state in which three generations of the first root BP backup image are stored, and three generations of the second root BP image are stored. In the state shown in Fig. 15A, after failure OB1 occurs in the second storage 20 after 9:00 on January 6th, when the set backup acquisition date and time (9:00 on January 7th) arrives, the BP storage 30 can acquire the first root BP image by the basic backup operation described above, assigns it an empty copy number #6, and stores it in the data protection area 33. On the other hand, the BP storage 30 cannot acquire the second root BP image, and therefore cannot store it in the data protection area 33. As a result, the BP storage 30 becomes in the state shown in Fig. 15B.
[0115] In this way, when a backup image can be stored only on one side of the root, in the state shown in FIG. 15B, the BP storage 30 creates a free pair in accordance with the following second storage optimization rules (1) and (2). (1) Delete the oldest expired backup image generation. (2) If there is a backup volume without a free pair even after performing (1), add the copy number of the free pair to that backup volume.
[0116] Therefore, the BP storage 30 selects the expired second root BP image (#3) as the deletion target and deletes it. Furthermore, the BP storage 30 adds free pair copy number #7. As a result, the BP storage 30 becomes the state shown in Fig. 15C.
[0117] In the state shown in Figure 15C, when the set backup acquisition date and time (1 / 8, 9:00) arrives, the BP storage 30 is able to acquire the first root BP image through the basic backup operation described above, assigns it the free copy number #7, and stores it in the data protection area 33. Meanwhile, since the failure has not yet been resolved in the second backup route, the second root BP image cannot be acquired. This puts the BP storage 30 into the state shown in Figure 15D.
[0118] In the state shown in Fig. 15D, the BP storage 30 creates a free pair in accordance with the second storage optimization rules (1) and (2) described above. Therefore, the BP storage 30 selects the expired first root BP image (#3) as the deletion target and deletes it. Note that in this case, even if (1) is performed, there is no backup volume without a free pair, so the copy number of the free pair is not added.
[0119] As a result, the BP storage 30 will be in the state shown in Figure 16A. In the state shown in Figure 16A, when the failure is recovered and the set backup acquisition date and time (1 / 9, 9:00) arrives, the BP storage 30 will be able to acquire the first root BP image through the above-mentioned basic backup operation, assign it free copy number #3, and store it in the data protection area 33. The BP storage 30 will be able to acquire the second root BP image through the above-mentioned basic backup operation, assign it free copy number #3, and store it in the data protection area 33. As a result, the BP storage 30 will be in the state shown in Figure 16B.
[0120] In the state shown in FIG. 16B, the BP storage 30 selects the expired second root BP image (#4) as the deletion target in accordance with the first storage optimization rules (1) to (3) described above, and selects the first root BP image (#3) acquired in the immediately preceding process as the deletion target and deletes them. This puts the BP storage 30 in the state shown in FIG. 16C. In the state shown in FIG. 16C, when the set backup acquisition date and time (9:00 on 1 / 10) arrives, the BP storage 30 can acquire the first root BP image by the above-mentioned basic backup operation, assigns it free copy number #3, and stores it in the data protection area 33. The BP storage 30 can acquire the second root BP image by the above-mentioned basic backup operation, assigns it free copy number #4, and stores it in the data protection area 33.
[0121] As a result, the BP storage 30 becomes the state shown in Fig. 16D. In the state shown in Fig. 16D, the BP storage 30 selects the expired first root BP image (#4) as the deletion target according to the above-mentioned first storage optimization rules (1) to (3), and selects the first root BP image (#3) obtained in the immediately preceding process as the deletion target, and deletes them.
[0122] As a result, the BP storage 30 enters the state shown in Figure 16E. In the state shown in Figure 16E, copy numbers #3 and #4 for the first backup volume 31 are a free pair, and copy number #6 for the second backup volume 32 is a free pair. In this way, after recovery, when the number of free pairs for one of the first backup volumes 31 becomes two, the BP storage 30 deletes one of the free pairs (i.e., deletes one of the copy numbers that is no longer necessary). As a result, the BP storage 30 enters the state shown in Figure 16F, and it is possible to delete the unnecessary free pair.
[0123] In the first embodiment, since priority is given to eliminating the difference in the number of pairs of the first root BP image and the second root BP image after recovery, cases may occur in which the generations of the first root BP image and the second root BP image are stored without alternating, such as the second root BP image (#3) and the second root BP image (#4) in Fig. 16E. In this respect, the first embodiment differs from the second embodiment described later.
[0124] <Specific operation> The specific operation of the backup system will now be described. Fig. 17 is a flowchart showing the process flow executed by the CPU 130 of the management server 100. The CPU 130 starts the process from step 1700 in Fig. 17, proceeds to step 1705, and refers to the backup route execution result management table 800 to determine whether or not it has been confirmed that the backup storage was successful in both routes.
[0125] If it is confirmed that the backup storage was successful via both routes, the CPU 130 judges "YES" in step 1705 and proceeds to step 1710, where it reads the first management information 112 (first backup data management table 900 and second backup data management table 910) and reads information about each backup generation (generation of backup image).
[0126] Thereafter, the CPU 130 proceeds to step 1715 to determine whether or not there is an expired backup generation.
[0127] If there is an expired backup generation, CPU 130 determines "YES" in step 1715 and proceeds to step 1720, where it sets a deletion flag for the oldest expired backup generation, and then proceeds to step 1725. If there is no expired backup generation, CPU 130 determines "NO" in step 1715 and proceeds directly to step 1725.
[0128] When the CPU 130 proceeds to step 1725, it regards the generation (copy number of the generation) with the deletion flag as an available pair, and determines whether or not there is a backup path with no available pair (that is, an available copy number for the backup volume).
[0129] If there is a backup path without a free pair, CPU 130 judges "YES" in step 1725 and proceeds to step 1730, where it sets a deletion flag for the backup (backup image) obtained in the previous process for the path without a free pair, and then proceeds to step 1750.
[0130] If there is no backup path without a free pair, CPU 130 judges "NO" in step 1725 and proceeds to step 1735, where it regards the generation (copy number of the generation) with the deletion flag as a free pair and judges whether there is a difference in the number of backups that can be obtained on both paths (backup routes) (i.e., the number of copy numbers of the free pair).
[0131] If there is a difference in the number of backups that can be obtained on both paths, CPU 130 determines "YES" in step 1735 and proceeds to step 1740. Of the backups (backup images) obtained in the previous process, a deletion flag is set for the path with the fewer number that can be obtained, and then the process proceeds to step 1750.
[0132] If there is no difference in the number of backups that can be obtained on both paths, CPU 130 determines "NO" in step 1735 and proceeds to step 1745, where it sets a deletion flag for the backup (backup image) obtained in the previous process that is on the path having the most recent backup generation, and then proceeds to step 1750.
[0133] When the CPU 130 proceeds to step 1750, it commands the BP storage 30 to delete the backup generation for which the deletion flag has been set. Upon receiving the command, the BP storage 30 deletes the backup generation for which the deletion flag has been set.
[0134] Thereafter, the CPU 130 proceeds to step 1755 to determine whether or not there is a route in which the number of pairs has increased from the initial number and the number of free pairs is two or more.
[0135] If the number of pairs has increased from the initial number and there is a route with two or more free pairs, the free pairs on that route become unnecessary. Therefore, in this case, CPU 130 determines "YES" in step 1755 and proceeds to step 1760, where it deletes one of the free pairs with the larger number.
[0136] If the number of pairs has increased from the initial number and there is no route with two or more free pairs, the CPU 130 determines "NO" in step 1755 and proceeds to step 1795, temporarily terminating this processing flow.
[0137] If it cannot be confirmed in the process of step 1705 that the backup storage was successful in both routes, the CPU 130 determines "NO" in step 1705 and proceeds to step 1800 in the process flow of FIG.
[0138] Fig. 18 is a flowchart showing the processing flow executed by the CPU 130 of the management server 100. When the CPU 130 judges "NO" in step 1705 in Fig. 17 and proceeds to step 1800, it starts processing and proceeds to step 1805, where it judges whether or not it has been confirmed that the backup storage was successful only on one of the routes.
[0139] If it is not possible to confirm that the backup storage was successful only on one of the routes, it means that the backup storage was not successful on either of the routes. Therefore, in this case, the CPU 130 judges "NO" in step 1805, proceeds to step 1895, and temporarily ends this processing flow.
[0140] If it is confirmed that the backup storage was successful only through one of the routes, the CPU 130 reads the first management information 112 (the first backup data management table 900 and the second backup data management table 910) and reads information regarding the generation of each backup (backup image).
[0141] Thereafter, the CPU 130 proceeds to step 1815 to determine whether or not there is an expired backup generation.
[0142] If there is an expired backup generation, CPU 130 determines "YES" in step 1815 and proceeds to step 1820, where it sets a deletion flag for the oldest expired backup generation, and then proceeds to step 1825. If there is no expired backup generation, CPU 130 determines "NO" in step 1815 and proceeds directly to step 1825.
[0143] When the CPU 130 proceeds to step 1825, the CPU 130 regards the generation (copy number of the generation) with the deletion flag as a free pair, and determines whether or not there is a backup path with no free pair (that is, a free copy number for the backup volume).
[0144] If there is a backup path without an available pair, CPU 130 determines "YES" in step 1825 and proceeds to step 1830, sets a pair addition flag for the backup path with no available pair, and then proceeds to step 1835. If there is no backup path without an available pair, CPU 130 determines "NO" in step 1825 and proceeds directly to step 1835.
[0145] When the CPU 130 proceeds to step 1835, it commands the BP storage 30 to delete the backup generation for which the deletion flag has been set. Upon receiving the command, the BP storage 30 deletes the backup generation for which the deletion flag has been set.
[0146] CPU 130 then proceeds to step 1840 and commands BP storage 30 to add one pair (free pair (copy number)) to the path for which the pair addition flag has been set. Upon receiving the command, BP storage 30 adds one pair (free pair (copy number)) to the path for which the pair addition flag has been set. CPU 130 then proceeds to step 1895 and temporarily ends this processing flow.
[0147] 19 is a flowchart showing the process flow executed by the CPU 230 of the validation server 200. The CPU 230 starts the process from step 1900 and executes the processes from step 1905 to step 1930 described below in order, and then proceeds to step 1995 to temporarily end this process flow.
[0148] Step 1905: The CPU 230 starts the verification content based on the user's operation.
[0149] Step 1910: The CPU 230 acquires the backup route management table 700 from the management server 100, reads the backup route management table 700, and acquires the backup route ID whose backup target name matches the verification target designated by the user.
[0150] Step 1915: The CPU 230 obtains the backup generation information management table 1000 from the management server 100, reads the backup generation information management table 1000, and obtains information related to the backup generation of the backup route ID obtained in step 1910 (backup date and time, expiration date and time, etc.).
[0151] Step 1920: CPU 230 merges information relating to the backup generations of the two routes, sorts them by backup date and time, and displays them on the GUI screen of display 270. Figure 20 is an example of a GUI screen displayed on display 270 in this process. GUI screen 2000 includes a backup generation information image 2001 and a process start button 2002. Backup generation information image 2001 includes information indicating the acquisition date and time of the backup stored in data protection area 33, the expiration date and time, and whether or not it has expired. Process start button 2002 is a button made up of an image.
[0152] Step 1925: CPU 230 specifies the verification target based on the user's operation on GUI screen 2000. For example, when the user selects a backup generation (row) to be verified on GUI screen 2000 and presses (operates) process start button 2002, the verification target is specified as the selected backup generation.
[0153] Step 1930: The CPU 230 instructs the BP storage 30 via the management server 100 to restore the backup generation to be verified that was identified (selected) in step 1925. The CPU 230 maps the virtual volume 23 to the access volume 35 that is linked to the copy number corresponding to the backup image of the generation specified by the BP storage 30. This enables the verification server 200 to read and verify the backup image stored in the data protection area 33 by accessing the virtual volume 23.
[0154] <Effects> As described above, the backup system according to the first embodiment can improve availability by multiplexing (duplicating in this example) the paths for acquiring the backup data to be stored in the data protection area 33. Furthermore, the backup system according to the first embodiment stores the duplicated backup data in the data protection area 33 so that the generations of the duplicated backup data do not overlap, thereby efficiently utilizing the capacity of the data protection area 33 and making it possible to store a greater number of generations of backup data in the data protection area 33 with a limited capacity.
[0155] <<Second embodiment>> A backup system according to the second embodiment of the present invention will be described. In the first embodiment, if a backup image can be obtained smoothly without any problems from the initial state, the first root BP image and the second root BP image held in the data protection area 33 are stored so that their generations alternate.
[0156] On the other hand, if an error or the like occurs and a difference occurs between the number of generations of the first root BP image and the number of generations of the second root BP image stored in the data protection area 33, either the first root BP image or the second root BP image is stored in the data protection area 33 so that the difference is reduced.
[0157] This is because in the first embodiment, priority is given to preventing any difference in the number of generations of backup images retained (i.e., any difference in the number of first root BP images and second root BP images stored in the data protection area 33), and therefore, for example, after a failure occurs and is recovered from, the generations of the first root BP image and the second root BP image are stored in these data protection areas 33 without alternating (see, for example, the second root BP image (#3) and the second root BP image (#4) in Figure 16E).
[0158] In contrast, the backup system of the second embodiment differs from the backup system of the first embodiment only in that, when acquisition of both the first root BP image and the second root BP image is successful, a backup image (i.e., a backup image of a root different from the previously acquired root) is actively stored in the data protection area 33 so that the generations of the first root BP image and the second root BP image alternate.
[0159] Specifically, in the backup system of the second embodiment, when acquisition of both the first root BP image and the second root BP image is successful, the BP storage 30 creates a free pair in accordance with the following third storage optimization rules (1) to (3) instead of the first storage optimization rules (1) to (3) of the first embodiment. (1) Delete the oldest expired backup image generation. (2) One of the backup images acquired in the immediately preceding process is deleted so that each of the first backup volume 31 and the second backup volume 32 has at least one free pair. (3) In (2), delete the backup image in the root which has the most recent backup image generation.
[0160] As a result, for example, in the backup system of the second embodiment, even after a failure occurs and is recovered, the first root BP image and the second root BP image are stored in the data protection area 33 so that their generations alternate (see Figures 21A and 22B).
[0161] In the case where a difference occurs between the number of generations held by both routes, in the method of the first embodiment, backup images are stored consecutively in the route with fewer generations held, but there is a risk that data near the backup acquisition date and time (AT TIME) to be restored will be lost when a volume failure occurs. To prevent this, in the second embodiment, backup images are stored in the data protection area 33 under normal circumstances so that generations are actively alternated in both routes. This makes it possible to verify / restore backup data at even intervals throughout the entire retention period, even if a failure occurs.
[0162] The following description will focus on these differences. <Summary> Fig. 22A is a diagram for explaining the effect of the backup system according to the second embodiment. The state of the BP storage 30 shown in Fig. 22A is the state after a failure (OB2) occurred in the second backup volume 32 of the BP storage 30 on 1 / 15, after the second root BP image (#6) of the set backup acquisition date and time (1 / 14, 9:00) was stored in the data protection area 33.
[0163] In the state shown in Fig. 22A, the BP storage 30 selects the first root BP image (#3) as the one to be deleted in accordance with the second storage optimization rules (1) and (2) described above, and adds a free pair to the first backup volume 31. Thereafter, each time the set backup acquisition date and time arrives, the BP storage 30 stores the backup image created on the route where no failure has occurred (i.e., the first root BP image) in the data protection area 33 in accordance with the second storage optimization rules (1) and (2) described above. Fig. 22B shows the state of the BP storage 30 after that, when it is restored on 1 / 18.
[0164] In the example shown in Figures 22A and 22B, a failure (OB2) occurred in the second backup volume 32 between the time the failure occurred (1 / 15) and the time the failure was recovered from (1 / 18), so it is not possible to restore the backup data (backup images) using the second root BP image (#3) obtained on 1 / 10, the second root BP image (#4) obtained on 1 / 12, and the second root BP image (#5) obtained on 1 / 14.
[0165] On the other hand, between the time the failure occurs (1 / 15) and the time the failure is recovered (1 / 18), backup data (backup images) can be restored using the first root BP image (#3) obtained on 1 / 9, the first root BP image (#4) obtained on 1 / 11, and the first root BP image (#5) obtained on 1 / 13, etc.
[0166] In this way, the backup system of the second embodiment stores the first root BP image and the second root BP image in the data protection area 33 so that the generations alternate, so that even if the data of one of the roots makes verification (restoration) impossible, the interval between generations where data verification (restoration) is impossible is only one generation.
[0167] Therefore, the backup system according to the second embodiment can reduce the possibility that the interval between generations during which data cannot be verified (restored) will become long when a failure occurs in one of the backup volumes. As a result, the backup system according to the second embodiment can verify / restore backup data at equal intervals (at equal intervals of every other generation) throughout the entire retention period, even when a failure occurs in one of the backup volumes. For example, in the above example, when a volume failure occurs in the BP storage 30 of the first backup route, data for three days will become unverifiable, but the backup image can be accessed once every two cycles (two generations).
[0168] <Specific operation> A specific operation of the backup system according to the second embodiment will be described. The backup system according to the second embodiment executes the process flow shown in FIG. 23 instead of FIG. 17, and the process flows shown in FIGS. 18 and 19. The description of the process flows shown in FIGS. 18 and 19 will be omitted. The process flow shown in FIG. 23 will be described below.
[0169] Fig. 23 is a flowchart showing the processing flow executed by the CPU 130 of the management server 100 of the backup system according to the second embodiment. This flowchart is the same as the flowchart in Fig. 17, except that steps 1730 to 1745 in Fig. 17 are replaced with steps 2305 and 2310. Therefore, in the following explanation, detailed explanations of the processing that overlaps with Fig. 17 will be omitted.
[0170] The CPU 130 starts the process from step 2300 and executes the appropriate process from step 1705 to step 1725 or step 1755 described above.
[0171] When the CPU 130 proceeds to step 1725, it regards the generation (copy number of the generation) with the deletion flag as an available pair, and determines whether or not there is a backup path with no available pair (that is, an available copy number for the backup volume).
[0172] If there is a backup path with no free pairs, the CPU 130 judges "YES" in step 1725 and proceeds to step 2305, where it sets a deletion flag for the backup (backup image) obtained in the previous process for the path with no free generation, and then proceeds to step 1750.
[0173] If there is no backup path without a free pair, CPU 130 determines "NO" in step 1725 and proceeds to step 2310, where it sets a deletion flag for the backup (backup image) acquired in the process immediately before on the path having the latest backup acquisition generation. Then, CPU 130 proceeds to step 1750.
[0174] When the CPU 130 proceeds to step 1750, it executes the processing already described, and then executes the appropriate processing of the already described steps 1755 and 1760, after which it proceeds to step 2395 and temporarily ends this processing flow. In the backup system, the CPU 130 of the management server 100 executes this processing flow, so that the BP storage 30 can store the first root BP image and the second root BP image in the data protection area 33 so that these generations are actively alternated.
[0175] <Effects> As described above, the backup system according to the second embodiment can improve availability by multiplexing (duplicating in this example) the paths for obtaining backup data to be stored in the data protection area 33. Furthermore, the backup system according to the second embodiment stores duplicated backup data in the data protection area 33 so that generations do not overlap, thereby efficiently utilizing the capacity of the data protection area 33 and being able to store a greater number of generations of backup data in the limited capacity of the data protection area 33. Furthermore, even if a failure occurs, the backup system according to the second embodiment can verify / restore backup data at equal intervals throughout the entire retention period.
[0176] <<Modifications>> The present invention is not limited to the above-described embodiments, and various modifications can be adopted within the scope of the present invention. Furthermore, the above-described embodiments and the following modifications can be combined with each other without departing from the scope of the present invention.
[0177] In each of the above embodiments, the number of backup routes for one production to be backed up is two, but the number of backup routes for one production may be three or more.
[0178] In this case, for example, the present invention can take the following configurations [1] and [2].
[0179] [1] a plurality of storage devices each constituting a plurality of different backup routes for the same backup target; a backup storage device having a plurality of backup volumes corresponding to the plurality of backup routes and a data protection area which is a storage area which cannot be accessed from an external device; Equipped with The backup storage device storing copies of the same backup target data in each of the plurality of backup volumes via each of the plurality of backup routes; storing a plurality of generations of backup images for each of the plurality of backup volumes in the data protection area; Backup system.
[0180] [2] A plurality of storage devices; a backup storage device having a plurality of backup volumes and a data protection area which is a storage area which cannot be accessed from an external device; A backup method using forming a plurality of different backup routes for the same backup target by the plurality of storage devices; The backup storage device: storing copies of the same backup target data in each of the plurality of backup volumes via each of the plurality of backup routes; storing a plurality of generations of backup images for each of the plurality of backup volumes in the data protection area; Backup methods.
[0181] In each of the above embodiments, one of the duplicated backup data (backup images) acquired through two routes may be stored as is in the data protection area 33 without being deleted. Even in this case, availability can be improved. However, the utilization efficiency of the capacity of the data protection area 33 will be lower than in each of the above embodiments.
[0182] In each of the above embodiments, the access volume 35 may be used as the verification volume. That is, upon receiving a restore instruction from the verification server 200, the BP storage links the copy number corresponding to the backup image of the specified generation to the access volume 35. The BP storage mounts the access volume to the verification server 200. This allows the verification server 200 to access the access volume 35 to read and verify the backup image stored in the data protection area. [Explanation of symbols]
[0183] Reference Signs List 1... host, 10... first storage system, 11... production volume, 12... virtual volume, 20... second storage system, 21... replica volume, 22... virtual volume, 23... virtual volume, 30... BP storage system, 31... first backup volume, 32... second backup volume, 33... data protection area, 34... management data volume, 35... access volume, 100... management server, 200... verification server
Claims
1. a plurality of storage devices each constituting a plurality of different backup routes for the same backup target; a backup storage device having a plurality of backup volumes corresponding to the plurality of backup routes and a data protection area which is a storage area which cannot be accessed from an external device; Equipped with The backup storage device storing copies of the same backup target data in each of the plurality of backup volumes via each of the plurality of backup routes; storing a plurality of generations of backup images for each of the plurality of backup volumes in the data protection area; Backup system.
2. 2. The backup system according to claim 1, The backup storage device storing the backup images of multiple generations in the data protection area so that there are no duplicated backup images of different generations; Backup system.
3. 2. The backup system according to claim 1, The plurality of storage devices include a first storage device and a second storage device, The backup storage device a first backup volume corresponding to the first storage device and a second backup volume corresponding to the second storage device as the plurality of backup volumes; storing a first root BP image as the backup image for the first backup volume and a second root BP image as the backup image for the second backup volume in the data protection area such that a generation of the first root BP image and a generation of the second root BP image do not overlap; Backup system.
4. 4. The backup system according to claim 3, The backup storage device storing the first root BP image and the second root BP image in the data protection area such that a difference in the number of generations of the first root BP image and the second root BP image is small; Backup system.
5. 4. The backup system according to claim 3, The backup storage device storing the first root BP image and the second root BP image in the data protection area such that a generation of the first root BP image and a generation of the second root BP image alternate; Backup system.
6. 4. The backup system according to claim 3, The backup storage device When both the first root BP image and the second root BP image having the same backup acquisition date and time can be stored in the data protection area, deleting the expired first root BP image and the expired second root BP image stored in the data protection area; deleting one of the first root BP image and the second root BP image so that a difference in the number of generations of the first root BP image and the second root BP image stored in the data protection area becomes small; Backup system.
7. 7. The backup system according to claim 6, The backup storage device When only one of the first root BP image and the second root BP image is successfully acquired by one of the backup routes, and only one of the first root BP image and the second root BP image having the same backup acquisition date and time can be stored in the data protection area, deleting the expired first root BP image and the expired second root BP image stored in the data protection area; adding a free pair to one of the first backup volume and the second backup volume corresponding to one of the backup routes; Backup system.
8. 8. The backup system according to claim 7, The backup storage device After the free pair is added to one of the backup volumes, when both the first root BP image and the second root BP image of the same generation can be stored in the data protection area, the added free pair that is no longer necessary is deleted. Backup system.
9. 4. The backup system according to claim 3, The backup storage device If both the first root BP image and the second root BP image of the same generation can be stored in the data protection area, deleting any one of the first root BP image and the second root BP image that is out of date and stored in the data protection area; deleting one of the first root BP image and the second root BP image so that generations of the first root BP image and the second root BP image stored in the data protection area alternate; Backup system.
10. 10. The backup system according to claim 9, The backup storage device When only one of the first root BP image and the second root BP image is successfully acquired by one of the backup routes and only one of the first root BP image and the second root BP image can be stored in the data protection area, deleting the expired first root BP image and the expired second root BP image stored in the data protection area; adding a free pair to one of the first backup volume and the second backup volume corresponding to one of the backup routes; Backup system.
11. 11. The backup system according to claim 10, The backup storage device after the free pair is added to one of the backup volumes, when both the first root BP image and the second root BP image of the same generation can be stored in the data protection area, deleting the added free pair that is no longer necessary. Backup system.
12. 3. The backup system according to claim 2, An information processing device including a computing device and a storage device, The storage device includes: backup route management information in which backup target identification information for identifying a backup target and backup route identification information which is identification information for identifying the backup route are associated with each other; backup generation information in which the backup route identification information is associated with information on the backup image corresponding to the backup route indicated by the backup route identification information; Store the The computing device includes: Identifying the backup route identification information corresponding to the input backup target identification information based on the backup route management information; Identifying information about the backup image corresponding to the identified backup route identification information based on the backup generation information; creating integrated backup generation information including information on the backup images of the multiple generations stored in the data protection area for the backup target by integrating information on the identified backup image; It was configured as follows: Backup system.
13. 13. The backup system according to claim 12, A display device capable of displaying an image is provided, The information processing device includes: displaying, on the display device, a GUI screen including information regarding the backup images of the multiple generations stored in the data protection area based on the integrated backup generation information; It was configured as Backup system.
14. 14. The backup system according to claim 13, The backup storage device having an access volume accessible from an external device, the backup storage device specifies the backup volume corresponding to the generation selected via the GUI screen and a copy number assigned to the backup image, and makes the backup image corresponding to the specified copy number of the backup volume accessible from an external device via the access volume; Backup system.
15. A plurality of storage devices; a backup storage device having a plurality of backup volumes and a data protection area which is a storage area which cannot be accessed from an external device; A backup method using forming a plurality of different backup routes for the same backup target by the plurality of storage devices; The backup storage device: storing copies of the same backup target data in each of the plurality of backup volumes via each of the plurality of backup routes; storing a plurality of generations of backup images for each of the plurality of backup volumes in the data protection area; Backup methods.
Citation Information
Patent Citations
Apparatus and method for multiple generation remote backup and fast restore
JP2003242011A
Backup system
JP2021022390A
