CN109240857A - Remote copy relationship creation method, backup method, device, equipment and medium - Google Patents

Remote copy relationship creation method, backup method, device, equipment and medium Download PDF

Info

Publication number
CN109240857A
CN109240857A CN201811115296.6A CN201811115296A CN109240857A CN 109240857 A CN109240857 A CN 109240857A CN 201811115296 A CN201811115296 A CN 201811115296A CN 109240857 A CN109240857 A CN 109240857A
Authority
CN
China
Prior art keywords
book
determined
remote copy
copy relationship
remote
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811115296.6A
Other languages
Chinese (zh)
Inventor
胡正建
孟宪伟
蒋米传
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811115296.6A priority Critical patent/CN109240857A/en
Publication of CN109240857A publication Critical patent/CN109240857A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application discloses a kind of remote copy relationship creation method, backup method, device, equipment and media, it include: to create remote copy relationship between the first book and the second book, first book is determined as corresponding master file, second book is determined as corresponding secondary volume;Remote copy relationship is created between target data volume and third book, target data volume is determined as corresponding master file, the third book is determined as corresponding secondary volume;Wherein, the target data volume is first book or second book.Above scheme can enable the second book to back up the data in the first book, third book can then back up the data in the first book or the second book, it is equivalent in this way and has carried out two groups of backups for the data in the first book, the anti-disaster ability of data can be further enhanced accordingly, with respect to prior art the application.

Description

Remote copy relationship creation method, backup method, device, equipment and medium
Technical field
This application involves technical field of data backup, in particular to a kind of remote copy relationship creation method, backup method, Device, equipment and medium.
Background technique
Remote copy relationship refers to that the relationship between volume and volume, one of book are referred to as master file, another data Volume is referred to as secondary volume, and master file can be written in real time by I/O operation in data by host application program, without running to secondary volume I/O operation, the effect of secondary volume are for carrying out remote backup to the data in master file.
However, a volume exists only in a remote copy relationship in heritage storage system, so as to cause that can only incite somebody to action Remote data in master file backs up in a secondary volume, and this backup scenario will lead to, when above-mentioned master file and secondary volume are sent out After raw data disaster, the recovery for realizing data will be unable to.
Summary of the invention
In view of this, the application be designed to provide a kind of remote copy relationship creation method, backup method, device, Equipment and medium can enhance the anti-disaster ability of data.Its concrete scheme is as follows:
In a first aspect, this application discloses a kind of remote copy relationship creation methods, comprising:
Remote copy relationship is created between the first book and the second book, first book is determined as Second book is determined as corresponding secondary volume by corresponding master file;
Remote copy relationship is created between target data volume and third book, target data volume is determined as The third book is determined as corresponding secondary volume by corresponding master file;
Wherein, the target data volume is first book or second book.
Optionally, described to create remote copy relationship between the first book and the second book, by described first Book is determined as corresponding master file, and second book is determined as corresponding secondary volume, comprising:
The remote copy relationship between the first book and the second book is created in the first storage system, it will be described First book is determined as corresponding master file, and second book is determined as corresponding secondary volume;
Wherein, first book is located at first storage system, and second book is located at the second storage system System.
Optionally, described to create remote copy relationship between target data volume and third book, by the target Book is determined as corresponding master file, and the third book is determined as corresponding secondary volume, comprising:
The remote copy relationship between first book and third book is created in first storage system, First book is determined as corresponding master file, the third book is determined as corresponding secondary volume;
Wherein, the third book is located at third storage system.
Optionally, described to create remote copy relationship between target data volume and third book, by the target Book is determined as corresponding master file, and the third book is determined as corresponding secondary volume, comprising:
The remote copy relationship between second book and third book is created in second storage system, Second book is determined as corresponding master file, the third book is determined as corresponding secondary volume;
Wherein, the third book is located at third storage system.
Second aspect, this application discloses a kind of remote data backup methods, including remote copy relationship above-mentioned to create Method, further includes:
Remote data in first book is backed up into second book;
Remote data in target data volume is backed up into the third book.
The third aspect, this application discloses a kind of remote copy relationship creating devices, comprising:
First relationship creation module, for creating remote copy relationship between the first book and the second book, with First book is determined as corresponding master file, second book is determined as corresponding secondary volume;
Second relationship creation module, for creating remote copy relationship between target data volume and third book, with Target data volume is determined as corresponding master file, the third book is determined as corresponding secondary volume;
Wherein, the target data volume is first book or second book.
Fourth aspect, this application discloses a kind of remote data back-up devices, including remote copy relationship above-mentioned to create Device, further includes:
First remote backup module, for the remote data in first book to be backed up to second data Volume;
Second remote backup module, for the remote data in target data volume to be backed up to the third data Volume.
5th aspect, this application discloses a kind of remote copy relationships to create equipment, comprising:
Memory, for storing computer program;
Processor, for executing the computer program, to realize remote copy relationship creation method above-mentioned.
6th aspect, this application discloses a kind of remote data alternate devices, comprising:
Memory, for storing computer program;
Processor, for executing the computer program, to realize remote data backup method above-mentioned.
7th aspect, this application discloses a kind of computer readable storage mediums, for storing computer program, wherein The computer program realizes remote copy relationship creation method above-mentioned when being executed by processor.
As it can be seen that the application creates two remote copy relationships, one of remote copy relationship is present in the first data Between volume and the second book, another remote copy relationship is then present between target data volume and third book, also, Above-mentioned target data volume can be the first book, be also possible to the second book, through the above scheme, can make the second number The data in the first book can be backed up according to volume, third book then can be to the first book or the second book In data backed up, be equivalent to carried out two groups of backups for the data in the first book in this way, accordingly, with respect to existing There is the scheme for carrying out one group of backup in technology just for the data in a book, the application can further enhance data Anti-disaster ability.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of remote copy relationship creation method flow chart disclosed in the embodiment of the present application;
Fig. 2 is a kind of specific remote copy relationship creation method flow chart disclosed in the embodiment of the present application;
Fig. 3 is a kind of specific remote copy relationship creation method flow chart disclosed in the embodiment of the present application;
Fig. 4 is a kind of remote copy relationship creating device structural schematic diagram disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The embodiment of the present application discloses a kind of remote copy relationship creation method, shown in Figure 1, this method comprises:
Step S11: creating remote copy relationship between the first book and the second book, by first data Volume is determined as corresponding master file, and second book is determined as corresponding secondary volume;
Step S12: remote copy relationship is created between target data volume and third book, by the target data Volume is determined as corresponding master file, and the third book is determined as corresponding secondary volume;Wherein, the target data volume is institute State the first book or second book.
That is, the present embodiment can create remote copy relationship between the first book and third book, by One book is determined as master file corresponding with the remote copy relationship, and third book is determined as closing with the remote copy It is corresponding secondary volume.In this way, the present embodiment is equivalent to directly for two groups of remote copy relationships of the first data volume creation, it is subsequent Data in first book can directly be backed up to the second book and third book respectively, it is thus achieved that directly Two groups of backups are carried out to the data in the first book.It is understood that the first book is present in two groups in above scheme In remote copy relationship, the case where existing only in one group of remote copy relationship different from a book in the prior art.
Certainly, the present embodiment can also create remote copy relationship between the second book and third book, will Second book is determined as master file corresponding with the remote copy relationship, and third book is determined as and the remote copy The corresponding secondary volume of relationship.In this way, the present embodiment is equivalent between the first book and the second book and the second data Be respectively created corresponding remote copy relationship between volume and third book, it is subsequent can be first by the data in the first book The second book is backed up to, the Backup Data in the second book is then backed up into third book again, it is thus achieved that It connects and two groups of backups is carried out to the data in the first book.It is understood that the second book is present in two in above scheme The case where organizing in remote copy relationship, existing only in one group of remote copy relationship different from a book in the prior art.
It is understood that a book is enabled to be present in the schemes of two groups of remote copy relationships disclosed in the present embodiment On the basis of, a book can also be enabled to be present in three groups or more further according to relational extensions mode similar to the above Remote copy relationship in, can be realized the backups that the data in a book are carried out with three groups or more groups in this way, thus Further promote data anti-disaster ability.
As it can be seen that the embodiment of the present application creates two remote copy relationships, one of remote copy relationship is present in Between one book and the second book, another remote copy relationship be then present in target data volume and third book it Between, also, above-mentioned target data volume can be the first book, is also possible to the second book, through the above scheme, can make The second book can back up the data in the first book, third book then can be to the first book or the Data in two books are backed up, and are equivalent to have carried out two groups of backups for the data in the first book in this way, therefore, The scheme of one group of backup is carried out in compared with the existing technology just for the data in a book, the embodiment of the present application can be into The anti-disaster ability of one step enhancing data.
Shown in Figure 2, the embodiment of the present application discloses a kind of specific remote copy relationship creation method, comprising:
Step S21: creating the remote copy relationship between the first book and the second book in the first storage system, First book is determined as corresponding master file, second book is determined as corresponding secondary volume;
Wherein, first book is located at first storage system, and second book is located at the second storage system System.
It is understood that the present embodiment can execute the mode of the instruction of creation remote copy relationship in storage system Corresponding remote copy relationship is created, in above-metioned instruction, specifies which book is master file and which book is Secondary volume.
Step S22: it is created in first storage system long-range between first book and third book First book is determined as corresponding master file by replication relation, and the third book is determined as assisting accordingly Volume;
Wherein, the third book is located at third storage system.
Shown in Figure 3, the embodiment of the present application discloses a kind of specific remote copy relationship creation method, comprising:
Step S31: creating the remote copy relationship between the first book and the second book in the first storage system, First book is determined as corresponding master file, second book is determined as corresponding secondary volume;
Wherein, first book is located at first storage system, and second book is located at the second storage system System.
Step S32: it is created in second storage system long-range between second book and third book Second book is determined as corresponding master file by replication relation, and the third book is determined as assisting accordingly Volume;
Wherein, the third book is located at third storage system.
Further, the embodiment of the present application also discloses a kind of remote data backup method, including previous embodiment discloses Remote copy relationship creation method, further includes:
Remote data in first book is backed up into second book;
Remote data in target data volume is backed up into the third book.
It wherein, can be with reference to disclosed in previous embodiment about the specific steps of above-mentioned remote copy relationship creation method Corresponding contents are no longer repeated herein.
Shown in Figure 4, the embodiment of the present application also discloses a kind of remote copy relationship creating device, comprising:
First relationship creation module 11, for creating remote copy relationship between the first book and the second book, First book is determined as corresponding master file, second book is determined as corresponding secondary volume;
Second relationship creation module 12, for creating remote copy relationship between target data volume and third book, Target data volume is determined as corresponding master file, the third book is determined as corresponding secondary volume;
Wherein, the target data volume is first book or second book.
Corresponding contents disclosed in previous embodiment can be referred to about the more specifical course of work of above-mentioned modules, It is no longer repeated herein.
Further, the embodiment of the present application also discloses a kind of remote data back-up device, including previous embodiment discloses Remote copy relationship creating device, further includes:
First remote backup module, for the remote data in first book to be backed up to second data Volume;
Second remote backup module, for the remote data in target data volume to be backed up to the third data Volume.
Further, disclosed herein as well is a kind of remote copy relationships to create equipment, comprising:
Memory, for storing computer program;
Processor, for executing the computer program, to realize remote copy relationship creation method above-mentioned.
It wherein, can be with reference to disclosed in previous embodiment about the specific steps of above-mentioned remote copy relationship creation method Corresponding contents are no longer repeated herein.
Further, disclosed herein as well is a kind of remote data alternate devices, comprising:
Memory, for storing computer program;
Processor, for executing the computer program, to realize remote data backup method above-mentioned.
Wherein, corresponding contents disclosed in aforementioned can be referred to about the specific steps of above-mentioned remote data backup method, It is no longer repeated herein.
Further, disclosed herein as well is a kind of computer readable storage mediums, for storing computer program, In, remote copy relationship creation method disclosed in previous embodiment is realized when the computer program is executed by processor.
It wherein, can be with reference to disclosed in previous embodiment about the specific steps of above-mentioned remote copy relationship creation method Corresponding contents are no longer repeated herein.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part Explanation.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above to a kind of remote copy relationship creation method, backup method, device, equipment and medium provided herein It is described in detail, specific examples are used herein to illustrate the principle and implementation manner of the present application, the above reality The explanation for applying example is merely used to help understand the present processes and its core concept;Meanwhile for the general technology of this field Personnel, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this theory Bright book content should not be construed as the limitation to the application.

Claims (10)

1. a kind of remote copy relationship creation method characterized by comprising
Remote copy relationship is created between the first book and the second book, first book is determined as accordingly Master file, second book is determined as corresponding secondary volume;
Remote copy relationship is created between target data volume and third book, target data volume is determined as corresponding Master file, the third book is determined as corresponding secondary volume;
Wherein, the target data volume is first book or second book.
2. remote copy relationship creation method according to claim 1, which is characterized in that described in the first book and Remote copy relationship is created between two books, first book is determined as corresponding master file, by second number It is determined as corresponding secondary volume according to volume, comprising:
The remote copy relationship between the first book and the second book is created in the first storage system, by described first Book is determined as corresponding master file, and second book is determined as corresponding secondary volume;
Wherein, first book is located at first storage system, and second book is located at the second storage system.
3. remote copy relationship creation method according to claim 2, which is characterized in that described in target data volume and the Remote copy relationship is created between three books, target data volume is determined as corresponding master file, by the third number It is determined as corresponding secondary volume according to volume, comprising:
The remote copy relationship between first book and third book is created in first storage system, it will First book is determined as corresponding master file, and the third book is determined as corresponding secondary volume;
Wherein, the third book is located at third storage system.
4. remote copy relationship creation method according to claim 2, which is characterized in that described in target data volume and the Remote copy relationship is created between three books, target data volume is determined as corresponding master file, by the third number It is determined as corresponding secondary volume according to volume, comprising:
The remote copy relationship between second book and third book is created in second storage system, it will Second book is determined as corresponding master file, and the third book is determined as corresponding secondary volume;
Wherein, the third book is located at third storage system.
5. a kind of remote data backup method, which is characterized in that including the described in any item remote copies of such as Claims 1-4 Relationship creation method, further includes:
Remote data in first book is backed up into second book;
Remote data in target data volume is backed up into the third book.
6. a kind of remote copy relationship creating device characterized by comprising
First relationship creation module, for creating remote copy relationship between the first book and the second book, by institute It states the first book and is determined as corresponding master file, second book is determined as corresponding secondary volume;
Second relationship creation module, for creating remote copy relationship between target data volume and third book, by institute It states target data volume and is determined as corresponding master file, the third book is determined as corresponding secondary volume;
Wherein, the target data volume is first book or second book.
7. a kind of remote data back-up device, which is characterized in that create and fill including remote copy relationship as claimed in claim 6 It sets, further includes:
First remote backup module, for the remote data in first book to be backed up to second book;
Second remote backup module, for the remote data in target data volume to be backed up to the third book.
8. a kind of remote copy relationship creates equipment characterized by comprising
Memory, for storing computer program;
Processor, for executing the computer program, to realize that the described in any item remote copies of Claims 1-4 such as are closed It is creation method.
9. a kind of remote data alternate device characterized by comprising
Memory, for storing computer program;
Processor, for executing the computer program, to realize remote data backup method as claimed in claim 5.
10. a kind of computer readable storage medium, which is characterized in that for storing computer program, wherein the computer journey Such as Claims 1-4 described in any item remote copy relationship creation methods are realized when sequence is executed by processor.
CN201811115296.6A 2018-09-25 2018-09-25 Remote copy relationship creation method, backup method, device, equipment and medium Pending CN109240857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811115296.6A CN109240857A (en) 2018-09-25 2018-09-25 Remote copy relationship creation method, backup method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811115296.6A CN109240857A (en) 2018-09-25 2018-09-25 Remote copy relationship creation method, backup method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN109240857A true CN109240857A (en) 2019-01-18

Family

ID=65056662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811115296.6A Pending CN109240857A (en) 2018-09-25 2018-09-25 Remote copy relationship creation method, backup method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN109240857A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677656A (en) * 2012-08-31 2014-03-26 株式会社日立制作所 Management method of virtual storage system and remote copy system
CN107329701A (en) * 2017-06-29 2017-11-07 郑州云海信息技术有限公司 Creation method, the apparatus and system of dual-active volume in a kind of storage system
CN107402852A (en) * 2017-08-16 2017-11-28 郑州云海信息技术有限公司 A kind of band adaptively changes the remote copy method of volume

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677656A (en) * 2012-08-31 2014-03-26 株式会社日立制作所 Management method of virtual storage system and remote copy system
CN107329701A (en) * 2017-06-29 2017-11-07 郑州云海信息技术有限公司 Creation method, the apparatus and system of dual-active volume in a kind of storage system
CN107402852A (en) * 2017-08-16 2017-11-28 郑州云海信息技术有限公司 A kind of band adaptively changes the remote copy method of volume

Similar Documents

Publication Publication Date Title
CN104166606B (en) File backup method and main storage device
CN106201659B (en) A kind of method and host of live migration of virtual machine
CN106201338B (en) Date storage method and device
CN106021016A (en) Virtual point in time access between snapshots
CN103970585B (en) Create the method and device of virtual machine
CN103778034B (en) Data backup disaster recovery method and system based on cloud storage
US20160103845A1 (en) Enhanced Handling Of Intermediate Data Generated During Distributed, Parallel Processing
JP2009506399A (en) System and method for virtualizing backup images
CN105224422B (en) A kind of data back up method and equipment
US20140108345A1 (en) Exchanging locations of an out of synchronization indicator and a change recording indicator via pointers
CN105593829B (en) Method, system and the medium of file system object are excluded from original image backup
CN105550062B (en) The data reflow method restored based on continuous data protection and time point browsing
CN107748702A (en) Date storage method, restoration methods, relevant apparatus and system
RU2013156675A (en) MANAGING DUPLICATED VIRTUAL STORAGE ON RECOVERY SITES
US9672113B1 (en) Data recovery from multiple data backup technologies
US10459643B2 (en) Method and apparatus for storage system
US8874527B2 (en) Local seeding of a restore storage for restoring a backup from a remote deduplication vault storage
US8019953B2 (en) Method for providing atomicity for host write input/outputs (I/Os) in a continuous data protection (CDP)-enabled volume using intent log
CN103049539A (en) Method and device for storing file data in file system
CN104408154A (en) Repeated data deletion method and device
CN106681862A (en) Method and apparatus for incremental recovery of data
CN104572492A (en) Method and apparatus of burning data to FAT (File Allocation Table)32 partition
CN109388347A (en) A kind of data migration method and device
CN103842954A (en) Data processing method, device and system in storage system
US9483485B1 (en) Restore database from backup system where full and incremental backups are performed simultaneously

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118

RJ01 Rejection of invention patent application after publication