Unlock instant, AI-driven research and patent intelligence for your innovation.

Database backup method and device

A database and backup technology, applied in the database field, can solve the problems of inconvenient operation, inflexible use, and high labor costs

Active Publication Date: 2020-12-11
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a database backup method and device to at least solve the technical problems of high labor cost, inflexible use, and inconvenient operation caused by manual database backup in the related art

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
  • Database backup method and device
  • Database backup method and device
  • Database backup method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] According to an embodiment of the present invention, a database backup method embodiment is provided.

[0029] Optionally, in this embodiment, the above database backup method can be applied to figure 1 In the hardware environment constituted by the server 102 and the terminal 104 as shown. Such as figure 1 As shown, the server 102 is connected to the terminal 104 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The database backup method in the embodiment of the present invention may be executed by the server 102, may also be executed by the terminal 104, and may also be executed jointly by the server 102 and the terminal 104. Wherein, the execution of the database backup method in the embodiment of the present invention by the terminal 104 may also be executed by a client instal...

Embodiment 2

[0086] According to an embodiment of the present invention, a database backup device for implementing the above database backup method is also provided. Figure 6 is a schematic diagram of an optional database backup device according to an embodiment of the present invention, such as Figure 6 As shown, the device may include: a receiving unit 602, configured to receive configuration information uploaded by the client, wherein the configuration information is used to indicate to perform a backup operation on the database on the server; an adding unit 604, configured to , adding a backup command for instructing to perform a backup operation on the database to the target file, wherein the target file is used to set a periodically executed command; the first detection unit 606 is used to detect whether the execution has been added to the target file The scheduled execution time of the backup command; the backup unit 608 is configured to execute the backup command in the target fi...

Embodiment 3

[0107] According to an embodiment of the present invention, a server or terminal for implementing the above database backup method is also provided.

[0108] Figure 12 is a structural block diagram of a terminal according to an embodiment of the present invention, such as Figure 12 As shown, the terminal may include: one or more (only one is shown in the figure) processor 201, memory 203, and transmission device 205 (such as the sending device in the above-mentioned embodiment), such as Figure 12 As shown, the terminal may also include an input and output device 207 .

[0109] Wherein, the memory 203 can be used to store software programs and modules, such as the program instructions / modules corresponding to the database backup method and device in the embodiment of the present invention, and the processor 201 executes various functions by running the software programs and modules stored in the memory 203 A functional application and data processing, that is, to realize t...

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 database backup method and device. The method comprises: configuration information uploaded by the client is received, wherein the configuration information is used for indicating a backup operation on a database of a server; a backup command for indicating a backup operation on a database is added to a target file based on the received configuration information, wherein the target file is used for setting a command of periodic execution; whether predetermined execution time for executing the backup command added to the target file is reached is detected; and after detection of reaching of the predetermined execution time, the backup command in the target file are executed to carry out the backup operation on the database. Therefore, technical problems that the manpower cost is high, the usage flexibility is poor, and the operation can not be carried out conveniently because of the manual way of database backup in the prior art can be solved.

Description

technical field [0001] The invention relates to the field of databases, in particular to a database backup method and device. Background technique [0002] In related technologies, database backup mainly relies on DBA (Database Administrator, database administrator, refers to the general designation of relevant staff engaged in management and maintenance of database management system (DBMS)) to directly operate database management software, and manually configure the server-side database. After completing the backup, the above technical solution not only highly relies on the DBA for database backup and recovery, but also has high labor costs, is not flexible enough to use, lacks the customizability to adapt to specific businesses, and is not convenient to operate. [0003] For the above problems, no effective solution has been proposed yet. Contents of the invention [0004] The embodiment of the present invention provides a database backup method and device to at least s...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/14
CPCG06F11/1458G06F2201/80G06F16/21
Inventor 刘啸南朱建杰孔令玄
Owner TENCENT TECH (SHENZHEN) CO LTD