CN114510369A - Data recovery method based on complete machine continuous data protection - Google Patents

Data recovery method based on complete machine continuous data protection Download PDF

Info

Publication number
CN114510369A
CN114510369A CN202011282935.5A CN202011282935A CN114510369A CN 114510369 A CN114510369 A CN 114510369A CN 202011282935 A CN202011282935 A CN 202011282935A CN 114510369 A CN114510369 A CN 114510369A
Authority
CN
China
Prior art keywords
data
cloud platform
platform
bookmark
time
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
CN202011282935.5A
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.)
Yunwu Technology Beijing Co ltd
Original Assignee
Yunwu Technology Beijing 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 Yunwu Technology Beijing Co ltd filed Critical Yunwu Technology Beijing Co ltd
Priority to CN202011282935.5A priority Critical patent/CN114510369A/en
Publication of CN114510369A publication Critical patent/CN114510369A/en
Pending legal-status Critical Current

Links

Images

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/1469Backup restoration techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45537Provision of facilities of other operating environments, e.g. WINE

Landscapes

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

Abstract

The invention discloses a data recovery method based on complete machine continuous data protection, which comprises the following steps: 1) and synchronizing the complete machine data in the protected system to the virtualization platform or the cloud platform. 2) And after the data of the protected system is synchronized, creating a bookmark for the machine on the virtualization platform or the cloud platform. 3) And copying the data of each change of the protected system to a virtualization platform or a cloud platform in real time. 4) Change log data is stored and this stored data is used for future recovery. 5) Bookmarks are periodically and automatically generated for the protected system on a virtualization platform or a cloud platform. 6) In the data recovery phase, a user can select data to be recovered at any time from the protection time.

Description

Data recovery method based on complete machine continuous data protection
Technical Field
The invention belongs to the field of computer data disaster tolerance and backup, virtualization and cloud computing, and particularly relates to a data recovery method based on complete machine continuous data protection.
Background
Traditional computer data protection often only protects certain files or certain specific applications in the system, and is a way of regular backup. Obviously, the traditional mode can not meet the requirement of modern computer data protection. Modern computer data protection requires not only the protection of the entire machine (per volume in the system, per block, not directory), but also continuous protection of the data (CDP). In the traditional technical scheme of data protection, data of one server is often carried to another server, and the scheme of the invention is to protect the data on the protected server to a virtualization platform and a cloud platform in real time in a CDP mode.
In data disaster recovery, a technique that is also important is data recovery, i.e., restoration of data that has already been stored. In a conventional CDP system, data is often restored only once, and once restored, existing stored data is damaged, and once a selected restoration point is not a restoration point really desired by a user, the entire restoration fails. Another problem is that the existing protection scheme needs to be stopped during restoration, that is, once a data recovery operation is desired, the current protection needs to be terminated, which makes it very difficult to perform disaster drilling and other operations on the protected data.
Disclosure of Invention
Therefore, aiming at the problems in the prior art, the invention provides a data recovery method based on complete machine continuous data protection, so that a user can freely recover to any moment, and can recover data for multiple times and keep the protection scheme to continue to operate.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a data recovery method based on complete machine continuous data protection comprises the following steps:
step 1), the whole machine data in the protected system is synchronized to a virtualization platform or a cloud platform, the whole machine data is completed by taking one virtual machine on the virtualization platform or the cloud platform as an agent (virtual agent machine), and all the subsequent steps are completed on the virtual agent by performing interactive operation with the virtualization platform or the cloud platform.
And 2), after the data of the protected system is synchronized, creating a bookmark for the machine on the virtualization platform or the cloud platform, wherein the bookmark is a stable and recoverable point when the machine is synchronized.
And 3) copying the data changed each time of the protected system to the virtualization platform or the cloud platform in real time, and applying the changed data to a disk corresponding to the virtualization platform or the cloud platform so as to keep the data on the virtualization platform or the cloud platform in the latest state.
And 4) after the changed data are applied to the disk corresponding to the virtualization platform or the cloud platform, the changed data are sequentially stored in the virtual agent according to the sequence during generation, whether compression is performed or not can be determined by a user during storage so as to save storage space, and the stored data are used for future recovery and use.
And 5) generating a bookmark for the protected system on a virtualization platform or a cloud platform regularly and automatically, and simultaneously, manually generating the bookmark for the protected system at any time by a user.
And 6), in the data recovery stage, a user can select data to be recovered at any time from the protection time. And the data can be recovered for many times without stopping the existing protection scheme when recovering the data.
Drawings
FIG. 1 is a schematic diagram of a protected machine in a protected state with a data structure on a virtualization platform or cloud platform;
FIG. 2 is a schematic diagram of data change log records retained between each two bookmarks;
fig. 3 is a schematic diagram of a certain time T between two bookmarks.
Detailed Description
Other advantages and capabilities of the present invention will be readily apparent to those skilled in the art from the present disclosure by describing the embodiments of the present invention with specific embodiments thereof in conjunction with the accompanying drawings. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
The invention relates to a data recovery method based on complete machine continuous data protection, which comprises the following steps:
step 1), synchronizing complete machine data in a protected system to a virtualization platform or a cloud platform.
After the protection scheme is operated, a disk corresponding to the protected server is created on the virtualization platform or the cloud platform, and the complete machine data in the protected system is synchronized to the disk corresponding to the virtualization platform or the cloud platform.
And 2), after the data of the protected system is synchronized, creating a bookmark for the machine on the virtualization platform or the cloud platform, wherein the bookmark is a stable and recoverable point when the machine is synchronized.
After the synchronization bookmark is created for the protected machine, the entire synchronization process is completed. At this time, the virtualization platform or the cloud platform already stores data equivalent to the protected machine at the synchronization time.
And 3) copying the data changed each time of the protected system to the virtualization platform or the cloud platform in real time, and applying the changed data to a disk corresponding to the virtualization platform or the cloud platform so as to keep the data on the virtualization platform or the cloud platform in the latest state.
On the protected system, each change of data in the system is captured, and the real-time captured data is timely transmitted to the virtualization platform or the cloud platform in the form of log files. And simultaneously, the data in the log files are applied to corresponding disk data on a virtualization platform or a cloud platform, so that the data on the virtualization platform or the cloud platform is ensured to be in equal consistency with the data on the protected machine at any time.
And 4) after the changed log file data are applied to the disk corresponding to the virtualization platform or the cloud platform, the log files are sequentially stored according to the generated sequence, whether compression is performed or not can be determined by a user during storage so as to save storage space, and the stored data are used for future recovery and use.
When the log files are stored, besides whether the log files are compressed or not can be selected, indexes are also established for the log files according to the time sequence, so that the data recovered to a certain moment can be quickly positioned when the data is recovered.
And 5) generating a bookmark for the protected system on a virtualization platform or a cloud platform regularly and automatically, and simultaneously, manually generating the bookmark for the protected system at any time by a user.
Finally, in a protection state, on a virtualization platform or a cloud platform, for a protected machine, besides that one piece of data is always consistent with the protected machine in real time, a certain amount of bookmark data is also provided, and log file data which can be restored to any moment is also reserved.
Fig. 1 is a schematic diagram of a protected machine in a protected state and a data structure on a virtualization platform or a cloud platform.
And 7), in the data recovery stage, a user can select data to be recovered at any time from the protection time. And the data can be recovered for many times without stopping the existing protection scheme when recovering the data.
Assuming that a server has been protected for a period of time and 4 bookmarks are automatically made on the virtualization platform or the cloud platform, the data storage structure on the virtualization platform or the cloud platform side is shown in fig. 2.
In FIG. 2, data change log records are maintained between each two bookmarks, and the data change log records between the two bookmarks, which represent all data change records on the protected machine during the period of time that the two bookmarks were generated, are organized in the chronological order in which the data changes were generated. For example, the data change log 1 between bookmark 1 and bookmark 2 represents the change log of all data on the protected machine from the time bookmark 1 is generated to the time bookmark 2 is generated, and records each data change of the protected machine in the time.
When data recovery is carried out, a user can select data recovery at any time from the bookmark 1 to the latest data change log 4, and data change can be accurate to each time. The specific recovery process comprises the following steps:
resume step 1), select the point in time of resume, assuming that the user selects to resume the data to a certain time T between bookmark 2 and bookmark 3, as shown in fig. 3.
And a recovery step 2), creating a corresponding disk on the virtualization platform or the cloud platform through the bookmark 2, and loading the created disk on the virtual agent machine.
And a recovery step 3) of performing data log application on the disk created from the bookmark 2, and reapplying the data log information in the data change log 2 to the disk created from the bookmark 2 according to the generated time sequence until the time T.
And 4), after the application log data is finished, mounting the disk on the newly-built virtual machine, starting the virtual machine, or directly viewing the data in the disk to determine whether the data is really needed by the user, if the data is not really needed by the user, performing data recovery operation again by the user, and repeating the recovery steps 1 to 4 until the data is satisfied.
In summary, the data recovery method based on complete machine continuous data protection of the present invention can effectively protect the complete machine system, and can be easily recovered to any time and recovered for many times.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Therefore, the scope of the invention should be determined from the following claims.

Claims (2)

1. A data recovery method based on continuous data protection of a complete machine comprises the following steps:
step S1, the whole machine data in the protected system is synchronized to the virtualization platform or the cloud platform, and is completed by taking one virtual machine on the virtualization platform or the cloud platform as an agent (virtual agent machine), and all the subsequent steps are completed on the virtual agent by performing interactive operation with the virtualization platform or the cloud platform;
step S2, after the data of the protected system is synchronized, creating a bookmark for the machine on the virtualization platform or the cloud platform, wherein the bookmark is a stable recoverable point when the machine is synchronized;
step S3, copying each time changing data of the protected system to a virtualization platform or a cloud platform in real time, and simultaneously applying the changing data to a disk corresponding to the virtualization platform or the cloud platform so as to keep the data on the virtualization platform or the cloud platform in the latest state;
step S4, after applying the changed data to the disk corresponding to the virtualization platform or the cloud platform, sequentially storing the changed data in the virtual agent according to the sequence of generation, wherein during storage, a user may decide whether to compress the data to save storage space, and the stored data is used for future recovery;
step S5, generating bookmarks for the protected system on the virtualization platform or the cloud platform periodically and automatically, and simultaneously, the user may manually generate bookmarks for the protected system at any time;
step S6, data recovery phase, the user can choose to recover the data at any time from the protection time,
the data can be recovered for multiple times, and the existing protection scheme does not need to be stopped when the data is recovered;
2. a recovery process in a data recovery method based on continuous data protection of a complete machine comprises the following steps
Step S1, selecting the recovery time point, and assuming that the user selects the recovery data to a certain time T between bookmark 2 and bookmark 3;
step S2, creating a corresponding disk on a virtualization platform or a cloud platform through a bookmark 2, and loading the created disk on a virtual agent machine;
step S3, data log application is carried out on the disk created from the bookmark 2, and the data log information in the data change log 2 is reapplied to the disk created from the bookmark 2 according to the generated time sequence until T moment;
step S4, after the application of the log data is completed, the disk may be mounted on the newly created virtual machine, and then the virtual machine is started, or the data in the disk may be directly viewed to determine whether the data is really needed by the user, if the data is not really needed by the user, the user may perform the data recovery operation again, and repeat the recovery steps 1 to 4 until the data is satisfied.
CN202011282935.5A 2020-11-17 2020-11-17 Data recovery method based on complete machine continuous data protection Pending CN114510369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011282935.5A CN114510369A (en) 2020-11-17 2020-11-17 Data recovery method based on complete machine continuous data protection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011282935.5A CN114510369A (en) 2020-11-17 2020-11-17 Data recovery method based on complete machine continuous data protection

Publications (1)

Publication Number Publication Date
CN114510369A true CN114510369A (en) 2022-05-17

Family

ID=81546662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011282935.5A Pending CN114510369A (en) 2020-11-17 2020-11-17 Data recovery method based on complete machine continuous data protection

Country Status (1)

Country Link
CN (1) CN114510369A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115480880A (en) * 2022-10-09 2022-12-16 安超云软件有限公司 Continuous data protection method and system and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115480880A (en) * 2022-10-09 2022-12-16 安超云软件有限公司 Continuous data protection method and system and electronic equipment

Similar Documents

Publication Publication Date Title
US10049018B2 (en) Data backup using metadata mapping
CN105389230B (en) A kind of continuous data protection system and method for combination snapping technique
US6934725B1 (en) Management of file extent mapping to hasten mirror breaking in file level mirrored backups
US7197665B2 (en) Physical incremental backup using snapshots
US8924355B1 (en) Checkpoint restart
US8510271B1 (en) Application and file system data virtualization from image backup
US8856080B2 (en) Backup using metadata virtual hard drive and differential virtual hard drive
WO2016180160A1 (en) Data snapshot recovery method and apparatus
CN110209726A (en) Distributed experiment & measurement system system, method of data synchronization and storage medium
CN105302668B (en) A kind of method of block device data access performance in optimization object storage system
CN101739313B (en) Method for protecting and restoring continuous data
JP2017533520A (en) Point-in-time restore from database storage snapshots
EP4141667A1 (en) Efficiently providing virtual machine reference points
JP2009507278A (en) Search and restore data objects
US20140108345A1 (en) Exchanging locations of an out of synchronization indicator and a change recording indicator via pointers
CN108255638B (en) Snapshot rollback method and device
CN113886143B (en) Virtual machine continuous data protection method and device and data recovery method and device
CN104820625B (en) A kind of data record, backup and the restoration methods of Information management system
CN110995871A (en) Method for realizing high availability of KV storage service
CN104461773A (en) Backup deduplication method of virtual machine
CN110263095A (en) Backup and recovery method, apparatus, computer equipment and storage medium
CN112380067A (en) Metadata-based big data backup system and method under Hadoop environment
CN114510369A (en) Data recovery method based on complete machine continuous data protection
CN104636218B (en) Data reconstruction method and device
CN109753381B (en) Continuous data protection method based on object storage

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