Data backup and recovery method, device, computer equipment and storage medium
A technology of data backup and recovery method, which is applied in the field of data processing, can solve the problems of slow data repair and data recovery, achieve fast recovery, improve overall availability, and avoid failure recovery failures
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] refer to figure 2 As shown, the embodiment of the present invention provides a method for data backup and recovery, the method comprising steps:
[0047] S1. When performing data backup on the primary database, delay synchronizing the data of the primary database to multiple backup databases at different time intervals.
[0048] In this embodiment, there is a master-slave relationship between the master database and the backup database. If the master database performs an operation on a certain data, the corresponding data operation record for the data is recorded in the master database operation log, and the data operation record includes The data identification, storage path, operation instruction and operation time of the data, when the synchronization is delayed, the data operation record of the data is obtained from the operation log of the primary database, and the data is executed on the backup database according to the data operation record of the data The same...
Embodiment 2
[0072] As the realization of the data backup and recovery method in the first embodiment, the embodiment of the present invention also provides a data backup and recovery device, refer to image 3 As shown, the device includes:
[0073] The data backup module 31 is used to delay and synchronize the data of the main database to multiple backup databases at different time intervals when the main database is backed up;
[0074] The data recovery module 32 is configured to determine, among the plurality of backup databases, a target backup database for data recovery of the primary database when an error occurs in the primary database, and use the data pair of the target backup database to The data of the master database is restored.
[0075] In a preferred embodiment, the data recovery module 32 is specifically used for:
[0076] determining the erroneous operation that caused the error in said master database;
[0077] Determining a backup database that does not perform the er...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com