CN110287063A - A kind of application method of Backup Data - Google Patents

A kind of application method of Backup Data Download PDF

Info

Publication number
CN110287063A
CN110287063A CN201910589515.2A CN201910589515A CN110287063A CN 110287063 A CN110287063 A CN 110287063A CN 201910589515 A CN201910589515 A CN 201910589515A CN 110287063 A CN110287063 A CN 110287063A
Authority
CN
China
Prior art keywords
data
backup
block device
data source
backup data
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
CN201910589515.2A
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.)
Nanjing Yunxinda Technology Co Ltd
Original Assignee
Nanjing Yunxinda 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 Nanjing Yunxinda Technology Co Ltd filed Critical Nanjing Yunxinda Technology Co Ltd
Priority to CN201910589515.2A priority Critical patent/CN110287063A/en
Publication of CN110287063A publication Critical patent/CN110287063A/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of application methods of Backup Data, mainly obtain the data that user needs to back up according to the backup strategy of user, wherein the backup strategy of user includes data source, BACKUP TIME and frequency of your backups.After getting Backup Data, the automatic snapshot for carrying out data guarantees the integrality of Backup Data.Automatically Backup Data is marked, guarantees the convenience of Backup Data management.Backup Data is stored with reset condition, without secondary operation, guarantees that user can directly use.Further according to the recovery demand of user, specified Backup Data is cloned automatically, by the block device where clone volume by network mode, carry is used to Backup Data using node.Data are realized without restoring, that is, can be used.It saves in actual production, data restore required plenty of time and equipment cost.

Description

A kind of application method of Backup Data
Technical field
The invention belongs to field of computer technology, in particular to a kind of application method of Backup Data.
Background technique
By taking oracle database as an example, in conventional backup/recovery field, a backup data files are used usually to divide For two steps, it may be assumed that first restore (hereinafter referred Restoration): impaired data file is covered by backup file, this When data file usually will be earlier than time point when breaking down;At this point, after the completion of Restoration, then execute recovery (hereinafter referred Recovery): by using Oracle log information, change is applied to each piece, by database Move forward to the time point of failure generation.Using conventional backup scheme, when operation system breaks down, from monetary cost It says, user needs first to prepare a set of recovery environment, other than needing to provide with the required software of application, it is also necessary to provide and be equal to Or the memory space greater than operation system.
For time cost, need to environment is restored to need Backup Data complete copy when Backup Data is larger Plenty of time.And traditional backup scenario will carry out compression, the recombination of data toward contact for after data backup.So when number After the completion of copy, it is also necessary to Backup Data are reduced into initial data state, operation system could be identified normally.
Due to two above cost problem, conventional backup scheme is had the disadvantage in that
It does that recovery rehearsal is at high cost, complicated for operation, and it is whether effective that user can not easily verify Backup Data, may result in industry After failure of being engaged in, it has been found that Backup Data failure, the case where can not restoring and lose data.After failure occurs, data restore slow, industry The business break period is long.Usually Backup Data occupies user's vast resources, and because of use cost height, user is but difficult to carry out it secondary It utilizes.
Summary of the invention
Goal of the invention: in view of the problems of the existing technology the present invention, provides one kind and does not need to restore data, can Directly to use the application method of the Backup Data of Backup Data.
Technical solution: to achieve the above object, the present invention provides a kind of application methods of Backup Data, including following step It is rapid:
Step 1: memory node provides of corresponding size piece to data source by network mode according to the type and size of data source Equipment;Here block device is memory node from local physical store, generates a logic block device.
Step 2: data source nodes carry block device, and different according to data source operation system, it will thus provide block device lattice Formula turns to corresponding file system;
Step 3: memory node obtains specific Backup Data according to the backup strategy of user setting;
Step 4: after data source nodes complete backup, unloading block device, memory node will be supplied to data source nodes by network Block device withdraw;
Step 5: being that Backup Data creates a snapshot by copy-on-write (Copy-on-Write) mode;
Step 6: record BACKUP TIME point, data source, backup mode, type of backup, data volume and status information;
Step 7: memory node finds required snapshot according to the recovery policy of user;
Step 8: memory node is according to the snapshot of selection, and by copy-on-write (Copy-on-Write) mode, creation one can Read writeable clone volume;
Step 9: the block device where clone volume is supplied to Backup Data by network mode and uses node by memory node;
Step 10: Backup Data uses node, and the block device that carry receives directly uses.
Further, the network mode in the step 1 and step 9 includes iscsi or FC or IB.
Further, in the step 1 when data source is database, the size for the block device that memory node provides is source number According to twice of size;When data source is file system, the size for the block device that memory node provides is identical as data source size. It can be effectively avoided in this way because the data of data source increase, the block device off-capacity for causing us to provide.
Further, if data source operation system is Windows in the step 2, block device is formatted as NTFS lattice Formula;If data source operation system is RHEL6, block device is formatted as ext4 format;If data source operation system is RHEL7, then block device is formatted as xfs format;If data source operation system is suse, block device is formatted as ext3 lattice Formula.
Working principle: the present invention obtains the data that user needs to back up according to the backup strategy of user, and wherein user's is standby Part strategy includes data source, BACKUP TIME and frequency of your backups.After getting Backup Data, the automatic snapshot for carrying out data is protected Demonstrate,prove the integrality of Backup Data.Automatically Backup Data is marked, guarantees the convenience of Backup Data management.Backup Data is with original The storage of beginning state guarantees that user can directly use without secondary operation.Further according to the recovery demand of user, automatically to finger Fixed Backup Data is cloned, and by the block device where clone volume by network mode, carry uses node to Backup Data It uses.Data are realized without restoring, that is, can be used.It saves in actual production, data are restored the required plenty of time and set Standby cost.
The utility model has the advantages that compared with prior art, the present invention realizes data without restoring, that is, can be used.Save reality In production, data restore required plenty of time and equipment cost.
Detailed description of the invention
Fig. 1 is the flow chart of method provided by the invention;
Fig. 2 is the hardware structural diagram of method provided by the invention.
Specific embodiment
Further explanation is done to the present invention with reference to the accompanying drawing.
As shown in Fig. 1 ~ Fig. 2, the present embodiment uses a kind of application method of Backup Data provided by the invention to back up first Oracle database, further according to demand using the Oracle database of backup, specifically includes the following steps:
Step 1: due to the Oracle database that the data source for needing to back up is 1T size, memory node is deposited from local physics Chu Zhong generates the logic block device of a 2T size.It is supplied to data source by iSCSI mode, network environment is kilomega network Network.
Step 2: data source nodes carry block device, and different according to data source operation system, it will thus provide block device lattice Formula turns to corresponding file system, since data source is the Oracle database installed on RHEL7, so can be by block device It is formatted into xfs format.
Step 3: deploying WEB application on memory node, backup strategy is provided in WEB application, in the present embodiment The backup strategy of setting is that primary manual full backup is carried out to the Oracle database, so memory node is answered by WEB Administration interface carries out primary manual full backup to the Oracle database.
Step 4: after data source nodes complete backup, unloading block device, memory node will be supplied to data by iSCSI The block device of source node is withdrawn;
Step 5: being that Backup Data creates a snapshot by copy-on-write (Copy-on-Write) mode;
Step 6: WEB application record the BACKUP TIME point, data source, backup mode, type of backup, data disposed on memory node Whether amount and backup succeed;
Step 7: memory node finds required snapshot according to the recovery policy being arranged in WEB application, in the present embodiment, storage Node finds the snapshot of the manual full backup of step 3 completion;General recovery policy is exactly the time of the good backup of user setting The specific Backup Data that point and recovery are given uses node.
Step 8: memory node passes through copy-on-write (Copy-on-Write) mode, creation one according to the snapshot of selection A readable writeable clone volume;
Step 9: the block device where clone volume is supplied to Backup Data by iSCSI and uses node by memory node;
Step 10: Backup Data uses node, and the block device that carry receives directly uses.
The recovery that an Oracle is completed by this method, can probably complete in 10 minutes, if it is passing through Traditional approach is restored, and under equal conditions, probably needs 4 ~ 5 hours.
The above is only a preferred embodiment of the present invention, it should be pointed out that: for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (4)

1. a kind of application method of Backup Data, it is characterised in that: the following steps are included:
Step 1: memory node provides of corresponding size piece to data source by network mode according to the type and size of data source Equipment;
Step 2: data source nodes carry block device, and different according to data source operation system, it will thus provide block device format For corresponding file system;
Step 3: memory node obtains specific Backup Data according to the backup strategy of user setting;
Step 4: after data source nodes complete backup, unloading block device, memory node will be supplied to data source nodes by network Block device withdraw;
Step 5: memory node is that Backup Data creates a snapshot by copy-on-write mode;
Step 6: record BACKUP TIME point, data source, backup mode, type of backup, data volume and status information;Status information table Show whether duplicated record succeeds;
Step 7: memory node finds required snapshot according to the recovery policy of user;
Step 8: memory node creates a readable writeable clone volume by copy-on-write mode according to the snapshot of selection;
Step 9: the block device where clone volume is supplied to Backup Data by network mode and uses node by memory node;
Step 10: Backup Data uses node, and the block device that carry receives directly uses.
2. the application method of Backup Data according to claim 1, it is characterised in that: the net in the step 1 and step 9 Network mode includes iscsi or FC or IB.
3. the application method of Backup Data according to claim 1, it is characterised in that: when data source is in the step 1 When database, the size for the block device that memory node provides is twice of source data size;When data source is file system, deposit The size for storing up the block device that node provides is identical as data source size.
4. the application method of Backup Data according to claim 1, it is characterised in that: if data source in the step 2 Operating system is Windows, then block device is formatted as NTFS format;If data source operation system is RHEL6, block device It is formatted as ext4 format;If data source operation system is RHEL7, block device is formatted as xfs format;If data source Operating system is suse, then block device is formatted as ext3 format.
CN201910589515.2A 2019-07-02 2019-07-02 A kind of application method of Backup Data Pending CN110287063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910589515.2A CN110287063A (en) 2019-07-02 2019-07-02 A kind of application method of Backup Data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910589515.2A CN110287063A (en) 2019-07-02 2019-07-02 A kind of application method of Backup Data

Publications (1)

Publication Number Publication Date
CN110287063A true CN110287063A (en) 2019-09-27

Family

ID=68021724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910589515.2A Pending CN110287063A (en) 2019-07-02 2019-07-02 A kind of application method of Backup Data

Country Status (1)

Country Link
CN (1) CN110287063A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612650A (en) * 2020-12-31 2021-04-06 上海英方软件股份有限公司 Byte-level real-time copying quick recovery method and system based on file system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8600937B1 (en) * 2008-09-30 2013-12-03 Emc Corporation System and method for fast volume cloning
CN105389230A (en) * 2015-10-21 2016-03-09 上海爱数信息技术股份有限公司 Continuous data protection system and method combining with snapshot technology
CN105843704A (en) * 2016-03-15 2016-08-10 上海爱数信息技术股份有限公司 Data protection method and system capable of combining with snapshot function based on distributed block storage
CN107066357A (en) * 2017-05-31 2017-08-18 广州鼎甲计算机科技有限公司 A kind of database synthetic backup and carry restoration methods

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8600937B1 (en) * 2008-09-30 2013-12-03 Emc Corporation System and method for fast volume cloning
CN105389230A (en) * 2015-10-21 2016-03-09 上海爱数信息技术股份有限公司 Continuous data protection system and method combining with snapshot technology
CN105843704A (en) * 2016-03-15 2016-08-10 上海爱数信息技术股份有限公司 Data protection method and system capable of combining with snapshot function based on distributed block storage
CN107066357A (en) * 2017-05-31 2017-08-18 广州鼎甲计算机科技有限公司 A kind of database synthetic backup and carry restoration methods

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612650A (en) * 2020-12-31 2021-04-06 上海英方软件股份有限公司 Byte-level real-time copying quick recovery method and system based on file system

Similar Documents

Publication Publication Date Title
CN105389230B (en) A kind of continuous data protection system and method for combination snapping technique
US10503616B2 (en) Periodic data replication
CN104239166B (en) A kind of method that file backup is realized to virtual machine in operation
CN102891849B (en) Service data synchronization method, data recovery method, data recovery device and network device
US6202071B1 (en) Method and system for improved database disaster recovery
CN102792276B (en) Buffer disk in flashcopy cascade
CN108351821B (en) Data recovery method and storage device
CN101441582A (en) Backup and recovery method of computer data object and system and program product for implementing the same
CN106776121B (en) Data disaster recovery device, system and method
CN103164295B (en) Enterprise information technology (IT) business virtualization disaster recovery method based on zettabyte file system (ZFS) and kernel-based virtual machine (KVM) kernel virtual underlying system
US8260754B2 (en) Computer system and restoration method
CN103605585B (en) Intelligent backup method based on data discovery
US20120078846A1 (en) Systems and methods of managing virtual storage resources
CN104166605B (en) Data backup method and system based on incremental data files
CN102955720A (en) Method for improving stability of EXT (extended) file system
CN109325075A (en) A kind of timely carry recovery system of Oracle based on timed backup and method
CN103336728A (en) Disk data recovery method
CN107038091B (en) A kind of Information Security protection system and electric power application system data guard method based on asynchronous remote mirror image
CN110109778A (en) A kind of a large amount of small data file backup methods and restoration methods
CN104750573B (en) The global coherency backup-and-restore method of distributed data system back end
US20110282843A1 (en) Method and system for data backup and replication
CN101739313A (en) Method for protecting and restoring continuous data
CN113886143B (en) Virtual machine continuous data protection method and device and data recovery method and device
CN109684338A (en) A kind of data-updating method of storage system
CN111177122A (en) Database backup method, device, equipment and computer readable storage medium

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: 20190927

RJ01 Rejection of invention patent application after publication