Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 system in the prior art will cause data inconsistency between the main and backup databases of the two centers

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

Embodiment 1

[0030] In the embodiment of this application, a backup method is described.

[0031] See below figure 1 , the specific implementation steps of the method are as follows:

[0032] S101. Receive a read command.

[0033] In a specific implementation process, the read instruction is sent by the application program after the backup list is generated based on the processed archive files in the archive directory. The archive directory records the operations performed on the main database, such as deleting a certain data in the main database, or adding a certain data, and so on. The application program 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 files in the archive directory are archive files that have been parsed and used by the application program. After processing, a backup list is generated based on the processed archive files.

[0034] Fu...

example

[0088] The parsed sequence number (INSTANCE1.seq) of instance INSTANCE1 is: 180669.

[0089] The parsed sequence number (INSTANCE2.seq) of instance INSTANCE2 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 adopts the RMAN (Recovery Manager, recovery manager) backup template of the specified instance SEQ, and the SEQ is identified by a fixed character string.

[0097] The SEQ of instance INSTACNE1 represents the string: SEQ-INSTANCE1.

[0098] The SEQ of instance INSTANCE2 represents the string: SEQ-INSTANCE2.

[0099] In the backup template, SEQ-INSTANCE1 and SEQ-INSTANCE2 are variables, so the scripts about variables in the backup template are as follows:

[0100] "backup format'DB_bhzwa1_arch.dbf'archivelog until sequence SEQ-INSTANCE1thread1delete i...

example I

[0110] The SEQ-INSTANCE2 identification string of the 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 serial numbers below 180669 of database instance 1 (including archive files with serial numbers 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 serial numbers below 94885 of database instance 2 (including archive files with serial numbers 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 generating bac...

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
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More