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

Active Publication Date: 2015-07-29
XINYANG BRANCH HENAN CO LTD OF CHINA MOBILE COMM CORP
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The present invention provides a backup method and system to solve the technical problem that the backup

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Backup method and system
  • Backup method and system
  • Backup method and system

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a backup method and a backup system. The method comprises the steps: receiving a read instruction, wherein the reading instruction is transmitted after an application program generates a backup list based on archived files processed in an archiving catalogue, and the processed archived files refer to the archived files which are analyzed and used by an application program; reading serial numbers of a backup list based on the reading instruction, wherein the serial numbers are used for marking the processed archived files; generating a backup task according to the serial numbers in the read backup list, wherein the backup task is used for backing up the processed achieve files; and implementing the backup task.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a backup method and system. Background technique [0002] Currently, in the dual-center database architecture mode, data synchronization is performed between the primary database and the standby database using data synchronization software. The data synchronization software obtains the incremental changes of data by analyzing the online logs or archived logs of the primary database, and then applies these changes to the standby database, thereby realizing the synchronization of the primary database and the standby database. [0003] The specific implementation steps are as follows: [0004] First, the data synchronization software reads the archive directory in the master database in real time; [0005] Then, the data synchronization software parses the archive directory to obtain the incremental changes of the data, and performs data synchronization to the standby datab...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/14G06F17/30
Inventor 李程
Owner XINYANG BRANCH HENAN CO LTD OF CHINA MOBILE COMM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products