Method, device and database system for database backup
A database and main database technology, applied in the database field, can solve the problems of inaccurate data analysis, affecting the normal use of the main database, and inability to precisely control the time point of backup completion, and achieve the effect of fast backup
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] In this embodiment, the primary disk where the primary database is located is synchronized with another secondary disk to form a synchronous disk group, and the data on the primary disk is synchronized to the secondary disk through synchronization, thereby obtaining the backup database of the primary database on the secondary disk.
[0043] In this embodiment, the database is backed up based on a synchronous disk group. The synchronous disk group includes a master disk and a slave disk. A master database is created on the master disk, and the master database is a real-time business database.
[0044]A synchronous disk group is a disk group formed by synchronously storing two disks using synchronization technology. The primary disk in the synchronous disk group is the data source, and the secondary disk is the disk for the backup data. The primary disk and the secondary disk are made as synchronous After the disk group, as long as the two are in a synchronized state, all ...
Embodiment 2
[0061] The difference from Embodiment 1 is that in this embodiment, the slave disk is obtained by taking a snapshot of the master disk, so that the master database on the master disk is backed up to the slave disk, and the backup database of the master database is obtained on the slave disk.
[0062] In this embodiment, the backup of the database is based on the snapshot. The main database is created on the main disk. The main database is a real-time business database, that is, a database used in the production environment. The status of the database will also change accordingly.
[0063] refer to figure 2 As shown, when specifically performing a backup, in step S201, at a preset time point, a snapshot is taken of the primary disk to generate snapshot data of the primary disk, the snapshot data includes a backup database of the primary database, and the backup database for data processing.
[0064] The preset time point is a specific time point set according to business req...
Embodiment 3
[0074] The database backup method of the embodiment of the present invention has been described in detail above. In addition, the application also provides a database backup device corresponding to the above embodiment, corresponding to Embodiment 1. Refer to image 3 As shown, the database backup device includes:
[0075] Synchronization unit 300, configured to maintain the synchronization state of the master disk and the slave disk, the master disk and the slave disk are synchronous disk groups, a master database is created on the master disk, and the master database is real-time Operational business database;
[0076] The disconnection unit 310 is configured to disconnect the synchronization state of the master disk and the slave disk at a preset time point, so as to obtain a backup database of the master database on the slave disk, and the backup database is used for Perform data processing.
[0077] Further, the method further includes: a restoration unit 320, configure...
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