CN108647117A - A kind of method of data backup, main system, equipment and computer readable storage medium - Google Patents

A kind of method of data backup, main system, equipment and computer readable storage medium Download PDF

Info

Publication number
CN108647117A
CN108647117A CN201810385324.XA CN201810385324A CN108647117A CN 108647117 A CN108647117 A CN 108647117A CN 201810385324 A CN201810385324 A CN 201810385324A CN 108647117 A CN108647117 A CN 108647117A
Authority
CN
China
Prior art keywords
data
main system
standby
storage medium
standby system
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
CN201810385324.XA
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 CN201810385324.XA priority Critical patent/CN108647117A/en
Publication of CN108647117A publication Critical patent/CN108647117A/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/1448Management of the data involved in backup or backup restore

Abstract

This application provides a kind of methods of data backup, including main system to pre-establish the connection with standby system;When the main system is written in data, the data are sent to the standby system so that the standby system is by the data backup by the main system.By the above-mentioned means, when data change in main system, standby system can be backed up in time, waste time to carry out data backup with energy without the later stage, data backup is made to have real-time and high efficiency.Present invention also provides a kind of equipment of data backup, main system and computer readable storage mediums, all have above-mentioned advantageous effect.

Description

A kind of method of data backup, main system, equipment and computer readable storage medium
Technical field
This application involves technical field of data backup, more particularly to a kind of method of data backup, main system, equipment and Computer readable storage medium.
Background technology
Data backup is the basis of disaster tolerance, refers to operation error or the system failure occur for anti-locking system data is caused to be lost It loses, and all or part of data acquisition system is copied to the process of other storage mediums from the hard disk or array of applied host machine.System Data backup is a kind of common data back up method between system, i.e., by data backup to another storage system.Traditional system Between data backup to be all user will periodically need the data copy backed up to another system in main system, this backup mode without Method is backed up in time when main system is written in data, but the backup for needing the later stage that time and efforts is spent to carry out data, can See, existing backup method lacks real-time and high efficiency.
Therefore, how a kind of scheme that can solve above-mentioned technical problem is provided, is that those skilled in the art needs at present It solves the problems, such as.
Invention content
The purpose of the application is to provide a kind of method of data backup, when data change in main system, backup system System can be backed up in time, without the later stage waste time with energy carry out data backup, make data backup have real-time and High efficiency.The another object of the application is to provide a kind of main system of data backup, equipment and computer readable storage medium, With above-mentioned advantageous effect.
In order to solve the above technical problems, this application provides a kind of methods of data backup, including:
Main system pre-establishes the connection with standby system;
When the main system is written in data, the data are sent to the standby system so as to described by the main system Standby system is by the data backup.
Preferably, the main system pre-establishes the process being connect with standby system and is specially:
The main system pre-establishes the storage medium of storage medium and the standby system thereon correspondingly Connection, wherein the free memory of the storage medium of the main system is not more than corresponding in the standby system deposit The free memory of storage media.
Preferably, this method further includes:
After the standby system completes the data write-in, the main system receives the backup that the standby system is sent Complete signal.
Preferably, the standby system includes tape library and/or CD server.
In order to solve the above technical problems, present invention also provides a kind of main systems of data backup, including:
Unit is established, connection with standby system is pre-established by it for main system;
Transmission unit, for when the main system is written in data, the data to be sent to by the main system by it The standby system is so that the standby system is by the data backup.
Preferably, it is described establish unit specifically for the main system by the main system storage medium with it is described standby The storage medium of part system pre-establishes one-to-one connection by it, wherein the storage medium of the main system can be used Memory space is not more than the free memory of corresponding storage medium in the standby system.
Preferably, which further includes:
Receiving unit, for after the standby system completes the data write-in, the main system to receive institute by it Signal is completed in the backup for stating standby system transmission.
Preferably, the standby system includes tape library and/or CD server.
In order to solve the above technical problems, present invention also provides a kind of equipment of data backup, including:
Main system, for pre-establishing its connection with standby system;It is additionally operable to when data are written thereon, by the number According to being sent to standby system;
The standby system, for receiving and backing up the data.
In order to solve the above technical problems, present invention also provides a kind of computer readable storage medium, the computer can It reads to be stored with computer program on storage medium, as above any described one is realized when the computer program is executed by processor The step of method of kind data backup.
This application provides a kind of method of data backup, main system has pre-established the company with standby system in the application It connects, when user is when data are written in main system, which can be sent to standby system simultaneously and backed up by main system, in this way, When data change in main system, standby system can be backed up in time, be wasted time with energy into line number without the later stage According to backup, make data backup that there is real-time and high efficiency.
Present invention also provides a kind of main system of data backup, equipment and computer readable storage mediums, with above-mentioned number According to the method for backup advantageous effect having the same.
Description of the drawings
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to institute in the prior art and embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the application Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow diagram of the method for data backup provided herein;
Fig. 2 is a kind of structural schematic diagram of the main system of data backup provided herein;
Fig. 3 is a kind of structural schematic diagram of the equipment of data backup provided herein.
Specific implementation mode
The core of the application is to provide a kind of method of data backup, when data change in main system, backup system System can be backed up in time, without the later stage waste time with energy carry out data backup, make data backup have real-time and High efficiency.Another core of the application is to provide a kind of main system of data backup, equipment and computer readable storage medium, With above-mentioned advantageous effect.
To keep the purpose, technical scheme and advantage of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, technical solutions in the embodiments of the present application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Referring to FIG. 1, Fig. 1 is a kind of flow diagram of the method for data backup provided herein, this method packet It includes:
Step S11:Main system pre-establishes the connection with standby system.
Specifically, in order to solve the problems, such as that background technology proposes, main system and standby system is established and connected so that data It being capable of backed up in synchronization.Here connection includes hardware connection and software connection, and software connection establishes main system by code With " partner " relationship of standby system, this relationship is similar to the network neighbor on computer, can make under same LAN Computer be mutually distinguishable.Here hardware connection can be cable, can also be optical fiber cable etc., the application does not limit herein. Certainly, if be attached using cable, when software connects can by IP address, if be attached using optical fiber cable, Software connection can be by WWPN (World Wide Port Name, World Wide Port title) address, specifically can be according to practical feelings Condition is determined.
It should be noted that main system here is the common host for carrying out reading and writing data, can be computer etc..
Step S12:When main system is written in data, main system sends data to standby system so that standby system will count According to backup.
Specifically, when there is data to be written to the storage medium of main system, when data write main system, while to backup be System sends the data.For convenience, main system can detect whether data write-in by system log, naturally it is also possible to logical Other modes are crossed, the application does not limit herein.
This application provides a kind of method of data backup, the company of main system and standby system has been pre-established in the application It connects, when user is when data are written in main system, which can be sent to standby system simultaneously and backed up by main system, in this way, When data change in main system, standby system can be backed up in time, be wasted time with energy into line number without the later stage According to backup, make data backup that there is real-time and high efficiency.
On the basis of the above embodiments:
Embodiment as one preferred, main system pre-establish the process being connect with standby system and are specially:
The storage medium of storage medium and standby system thereon is pre-established one-to-one connection by main system, In, the free memory of the storage medium of main system is not more than the available storage of corresponding storage medium in standby system Space.
Correspondingly, main system establish and standby system between connection be specially by all storage mediums in main system with it is standby The storage medium of part system sets up one-to-one connection relation, for example, it is assumed that main system has tri- disks of A, B and C, standby Determine that three disks are corresponding with A, B, C in part system, after A disks have data write-in, disk corresponding with A in standby system Also the data are preserved.In addition, it is contemplated that the integrality of Backup Data, the free memory of A disks is less than or equal to The free memory of storage medium in standby system corresponding thereto.Generally, due to which memory space can be by artificial It divides, for example, the space size of D, E and F disk is divided by user on computer, establishes the company of main system and standby system for convenience It connects and the free memory of reasonable employment standby system, the free memory etc. of the storage medium of main system can be made The free memory of corresponding storage medium in standby system.
It should be noted that storage medium here includes hard disk and disk etc., the application does not limit herein.
Embodiment as one preferred, this method further include:
After standby system completes data write-in, main system receives the backup that standby system is sent and completes signal.
Specifically, it is contemplated that in practical applications, main system sends data to backup when data are written and are preserved System, it is to preserve data simultaneously to be considered as main system with standby system, and still, strictly speaking, main system compares standby system Fast, in order to ensure safety and the integrality of data, after the completion of standby system backs up, standby system is sent out to main system Backup is sent to complete signal, upon receipt of the signal, completion is just calculated in this data backup to main system.It may insure that data are complete in this way Site preparation backups to standby system, increases the safety of data.
Embodiment as one preferred, standby system include tape library and/or CD server.
Specifically, it is contemplated that the storage medium of cost, standby system can be tape library, or CD server, tape Library and CD server are at low cost with respect to for other storage mediums, can reduce backup cost.
Certainly, can also be other storage mediums in addition to above-mentioned tape library and/or CD server, the application is not done herein It is special to limit.
Referring to FIG. 2, Fig. 2 is a kind of structural schematic diagram of the main system of data backup provided herein, the principal series System includes:
Unit 1 is established, connection with standby system is pre-established by it for main system;
Transmission unit 2, for when data be written main system when, main system by its send data to standby system so as to Standby system is by data backup.
Embodiment as one preferred, establish unit 1 specifically for main system by main system storage medium with it is standby The storage medium of part system pre-establishes one-to-one connection by it, wherein the available storage of the storage medium of main system Space is not more than the free memory of corresponding storage medium in standby system.
Embodiment as one preferred, the main system further include:
Receiving unit, for after standby system completes data write-in, main system to receive what standby system was sent by it Signal is completed in backup.
Embodiment as one preferred, standby system include tape library and/or CD server.
Above method embodiment, the application are please referred to for a kind of introduction of the main system of data backup provided by the present application Details are not described herein.
To solve the above problems, referring to FIG. 3, Fig. 3 is a kind of structure of the equipment of data backup provided herein Schematic diagram, the equipment include:
Main system 10, the connection for pre-establishing itself and standby system 11;It is additionally operable to, when data are written thereon, to count According to being sent to standby system 11;
Standby system 11, for receiving simultaneously Backup Data.
Above method embodiment is please referred to for the introduction of equipment provided by the present application, this will not be repeated here by the application.
To solve the above problems, the application also provides a kind of computer readable storage medium, computer readable storage medium On be stored with computer program, following steps can be realized when computer program is executed by processor:
Main system 10 pre-establishes the connection with standby system 11;
When main system 10 is written in data, main system 10 sends data to standby system 11 so that standby system 11 will count According to backup.
The computer readable storage medium may include:USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various to deposit Store up the medium of program code.
Above method embodiment is please referred to for the introduction of computer readable storage medium provided by the present application, the application exists This is not repeated.
Main system, equipment and the computer readable storage medium of a kind of data backup provided by the present application, with above-mentioned data The method advantageous effect having the same of backup.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For system disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is said referring to method part It is bright.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, being wanted by what sentence " including one " limited Element, it is not excluded that there is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the application. Various modifications to these embodiments will be apparent to those skilled in the art, as defined herein General Principle can in other embodiments be realized in the case where not departing from spirit herein or range.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (10)

1. a kind of method of data backup, which is characterized in that including:
Main system pre-establishes the connection with standby system;
When the main system is written in data, the data are sent to the standby system so as to the backup by the main system System is by the data backup.
2. the method for data backup according to claim 1, which is characterized in that the main system is pre-established is with backup The process of the connection of system is specially:
The storage medium of storage medium and the standby system thereon is pre-established one-to-one connection by the main system, Wherein, the free memory of the storage medium of the main system is no more than storage medium corresponding in the standby system Free memory.
3. the method for data backup according to claim 1, which is characterized in that this method further includes:
After the standby system completes the data write-in, the main system receives the backup that the standby system is sent and completes Signal.
4. the method for data backup according to claim 1, which is characterized in that the standby system include tape library and/ Or CD server.
5. a kind of main system of data backup, which is characterized in that including:
Unit is established, connection with standby system is pre-established by it for main system;
Transmission unit, for when the main system is written in data, the data to be sent to described by the main system by it Standby system is so that the standby system is by the data backup.
6. the main system of data backup according to claim 5, which is characterized in that the unit of establishing is specifically for described The storage medium of storage medium and the standby system in the main system is pre-established one-to-one correspondence by main system by it Connection, wherein the free memory of the storage medium of the main system be not more than the standby system in it is corresponding The free memory of storage medium.
7. the main system of data backup according to claim 5, which is characterized in that the main system further includes:
Receiving unit, for after the standby system completes the data write-in, the main system to be described standby by its reception Signal is completed in the backup that part system is sent.
8. the main system of data backup according to claim 5, which is characterized in that the standby system includes tape library And/or CD server.
9. a kind of data backup device, which is characterized in that including:
Main system, for pre-establishing its connection with standby system;It is additionally operable to, when data are written thereon, the data be sent out It send to standby system;
The standby system, for receiving and backing up the data.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program is realized when the computer program is executed by processor such as Claims 1-4 any one of them data back up method Step.
CN201810385324.XA 2018-04-26 2018-04-26 A kind of method of data backup, main system, equipment and computer readable storage medium Pending CN108647117A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810385324.XA CN108647117A (en) 2018-04-26 2018-04-26 A kind of method of data backup, main system, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810385324.XA CN108647117A (en) 2018-04-26 2018-04-26 A kind of method of data backup, main system, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108647117A true CN108647117A (en) 2018-10-12

Family

ID=63747600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810385324.XA Pending CN108647117A (en) 2018-04-26 2018-04-26 A kind of method of data backup, main system, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108647117A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947598A (en) * 2019-03-20 2019-06-28 浪潮商用机器有限公司 A kind of SSD microcode backup method, system, equipment and computer storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801543A (en) * 2011-05-24 2012-11-28 中国银联股份有限公司 Method for dynamic data synchronization between active-active systems
CN103840961A (en) * 2012-11-23 2014-06-04 景幂机械(上海)有限公司 Dual-computer hot backup system
CN103838755A (en) * 2012-11-23 2014-06-04 景幂机械(上海)有限公司 Remote heterogeneous disaster tolerant system of database
CN104881336A (en) * 2015-05-22 2015-09-02 北京奇虎科技有限公司 Data backup method and device
CN105159795A (en) * 2015-08-21 2015-12-16 小米科技有限责任公司 Data synchronization method, apparatus and system
CN106126371A (en) * 2016-06-15 2016-11-16 腾讯科技(深圳)有限公司 Data return a grade method, Apparatus and system
CN106339278A (en) * 2016-08-24 2017-01-18 浪潮电子信息产业股份有限公司 Data backup and recovery method for network file system
CN106502822A (en) * 2015-09-08 2017-03-15 中兴通讯股份有限公司 Data read-write method and device
CN107193690A (en) * 2017-05-15 2017-09-22 深圳市奇摩计算机有限公司 The method and its system and alternate device for data of backing up in realtime
CN107577564A (en) * 2017-07-24 2018-01-12 杭州沃趣科技股份有限公司 A kind of method that dual-active system is realized based on block simultaneous techniques

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801543A (en) * 2011-05-24 2012-11-28 中国银联股份有限公司 Method for dynamic data synchronization between active-active systems
CN103840961A (en) * 2012-11-23 2014-06-04 景幂机械(上海)有限公司 Dual-computer hot backup system
CN103838755A (en) * 2012-11-23 2014-06-04 景幂机械(上海)有限公司 Remote heterogeneous disaster tolerant system of database
CN104881336A (en) * 2015-05-22 2015-09-02 北京奇虎科技有限公司 Data backup method and device
CN105159795A (en) * 2015-08-21 2015-12-16 小米科技有限责任公司 Data synchronization method, apparatus and system
CN106502822A (en) * 2015-09-08 2017-03-15 中兴通讯股份有限公司 Data read-write method and device
CN106126371A (en) * 2016-06-15 2016-11-16 腾讯科技(深圳)有限公司 Data return a grade method, Apparatus and system
CN106339278A (en) * 2016-08-24 2017-01-18 浪潮电子信息产业股份有限公司 Data backup and recovery method for network file system
CN107193690A (en) * 2017-05-15 2017-09-22 深圳市奇摩计算机有限公司 The method and its system and alternate device for data of backing up in realtime
CN107577564A (en) * 2017-07-24 2018-01-12 杭州沃趣科技股份有限公司 A kind of method that dual-active system is realized based on block simultaneous techniques

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947598A (en) * 2019-03-20 2019-06-28 浪潮商用机器有限公司 A kind of SSD microcode backup method, system, equipment and computer storage medium
CN109947598B (en) * 2019-03-20 2021-03-23 浪潮商用机器有限公司 SSD microcode backup method, system, device and computer storage medium

Similar Documents

Publication Publication Date Title
US9009724B2 (en) Load balancing data access in virtualized storage nodes
CN107256182B (en) Method and device for restoring database
CN101808127B (en) Data backup method, system and server
CN102306115B (en) Asynchronous remote copying method, system and equipment
WO2018098972A1 (en) Log recovery method, storage device and storage node
US10353870B2 (en) Tracking structure for data replication synchronization
US8793456B2 (en) Automated migration to a new target volume via merged bitmaps to maintain consistency
CN106201338A (en) Date storage method and device
CN103780417B (en) A kind of database failure transfer method and device based on cloud hard disk
CN103051681B (en) Collaborative type log system facing to distribution-type file system
US9830237B2 (en) Resynchronization with compliance data preservation
US11768624B2 (en) Resilient implementation of client file operations and replication
CN102821111A (en) Real-time synchronizing method for file cloud storage
CN107562575A (en) A kind of method and system of oracle database backup
CN103973727A (en) Data synchronizing method and device
CN112269772A (en) File deployment method, system, equipment and computer readable storage medium
CN103842954A (en) Data processing method, device and system in storage system
CN108647117A (en) A kind of method of data backup, main system, equipment and computer readable storage medium
EP4300314A2 (en) Data backup method, apparatus and system
CN109358988A (en) A kind of restoration methods, device, system and the readable storage medium storing program for executing of cloud Backup Data
CN103049391B (en) Data processing method and equipment
CN113051428B (en) Method and device for back-up storage at front end of camera
CN101794246A (en) Backup storage system, backup system, data backup method and recovery method
CN105446830A (en) Data backup method based on NDMP (Network Data Management Protocol) disk-to-disk replication technology
CN107888430B (en) Virtual machine management operation synchronization method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181012