Backup method and system
A backup and backup task technology, applied in the field of communication, can solve the problem of data inconsistency between the main and standby databases of the dual centers, and achieve the effect of ensuring data consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0029] Example one:
[0030] In the embodiment of the present application, a backup method is described.
[0031] See below figure 1 , The specific implementation steps of this method are as follows:
[0032] S101: Receive a read instruction.
[0033] In a specific implementation process, the read instruction is sent after the application program generates a backup list based on the processed archive files in the archive directory. The archive directory records operations performed on the main database, such as deleting a certain data in the main database, or adding a certain data. The application operates the standby database based on the archive directory, which can keep the data in the standby database consistent with the data in the primary database. The processed archive file in the archive directory is the archive file that has been parsed and used by the application. After processing, a backup list will be generated based on the processed archive files.
[0034] Further, the ...
Example Embodiment
[0088] The sequence number (INSTANCE1.seq) of the instance INSTANCE1 that has been resolved is 180669.
[0089] The sequence number (INSTANCE2.seq) of the instance INSTANCE2 that has been parsed is 94885.
[0090] The implementation code is:
[0091] If(ARCHSYNC.log UPDATE=Finished)
[0092] {
[0093] EXTRACT ARCH.seq to BACKUPLIST.seq;
[0094] }
[0095] Step 3: The backup template reads the serial number in the backup list.
[0096] The archive file backup uses the RMAN (Recovery Manager) backup template of the specified instance SEQ, and SEQ is identified by a fixed string.
[0097] The SEQ of the instance INSTACNE1 represents the string: SEQ-INSTANCE1.
[0098] The SEQ of the instance INSTANCE2 represents the string: SEQ-INSTANCE2.
[0099] In the backup template, SEQ-INSTANCE1 and SEQ-INSTANCE2 are variables, so the script about variables in the backup template is as follows:
[0100] "backup format'DB_bhzwa1_arch .dbf'archivelog until sequence SEQ-INSTANCE1thread1delete input;"
[0101...
Example Embodiment
[0110] The SEQ-INSTANCE2 identification string of instance INSTANCE2 is replaced with 94885.
[0111] Assign the variable in the backup template to the serial number, then the script becomes:
[0112] "backup format'DB_bhzwa1_arch .dbf'archivelog until sequence180669thread1delete input;"
[0113] Back up the archive files with the serial number of database instance 1 below 180669 (including the archive file with the serial number 180669); delete the backup files after the backup is complete.
[0114] "backup format'DB_bhzwa1_arch .dbf'archivelog until sequence94885thread2delete input;"
[0115] Back up the archive files with the serial number of database instance 2 below 94885 (including the archive files with the serial number 94885); delete the backup files after the backup is complete.
[0116] If the serial number is another value, the same method can be used to generate other backup tasks, which will not be repeated in this application.
[0117] The implementation code for generati...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap