CN101841425B - Network backup method, device and system without proxy - Google Patents

Network backup method, device and system without proxy Download PDF

Info

Publication number
CN101841425B
CN101841425B CN 200910243590 CN200910243590A CN101841425B CN 101841425 B CN101841425 B CN 101841425B CN 200910243590 CN200910243590 CN 200910243590 CN 200910243590 A CN200910243590 A CN 200910243590A CN 101841425 B CN101841425 B CN 101841425B
Authority
CN
China
Prior art keywords
data
backup
file
network
backup server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 200910243590
Other languages
Chinese (zh)
Other versions
CN101841425A (en
Inventor
殷亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Innovation Technology Co., Ltd.
Shenzhen Innovation Software Technology Co., Ltd.
Original Assignee
CHUANGXINKE SOFTWARE TECHNOLOGY (SHENZHEN) Co Ltd
Innovation And Technology Storage Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHUANGXINKE SOFTWARE TECHNOLOGY (SHENZHEN) Co Ltd, Innovation And Technology Storage Technology Co Ltd filed Critical CHUANGXINKE SOFTWARE TECHNOLOGY (SHENZHEN) Co Ltd
Priority to CN 200910243590 priority Critical patent/CN101841425B/en
Publication of CN101841425A publication Critical patent/CN101841425A/en
Application granted granted Critical
Publication of CN101841425B publication Critical patent/CN101841425B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a network backup method without proxy. The method comprises the following steps that: a backup server starts a file sharing service, takes one part in a local storage area as a sharing area, generates a network address of the sharing area, sends the network address to a data generator and sends a backup request to the data generator; and the data generator acquires data to be backed up from a database after receiving the backup request, and sends the acquired data to the sharing zone of the backup server for storage through the file sharing service according to the network address. The invention also discloses the data generator, the backup server and a data backup system. Through the scheme of the invention, the network backup can be realized without proxy.

Description

A kind of network backup method, device and system without the agency
Technical field
The present invention relates to data storage and redundancy technique field, particularly a kind of network backup method, device and system without the agency.
Background technology
Based on network redundancy technique is exactly by Internet Transmission, and the data on the data production machine are backuped on the backup server in the network, and this technology in these years develops rapidly, has been widely used in each corporate environment.Compared with the single failure point of unit backup, based on network redundancy technique provides extra network disaster tolerance node, even data are produced machine generation disaster, also can data production machine be recovered by the Backup Data that is kept on the backup server.
The principle of network backup of the prior art as shown in Figure 1.The data of needs that the enterprise customer is concerned about backup are various data and the file system in the database 102 normally, and described database comprises ORACLE, SQL Server, DB2 etc.In the process of network backup, backup server 104 needs to produce machine 101 by network 103 and data communicate by letter, and asks the latter that data are derived, and data communication device is crossed network 103 backups on the backup server 104.
The redundancy technique that all is based on the agency that the network backup of prior art uses.So-called agency just refers to be called proxy module in the program module of an appointment of data production machine installation, and this proxy module is used for response and processes the request of the backup server of automatic network.In the once typical backup procedure of prior art, based on the network backup flow process of acting on behalf of as shown in Figure 2, comprise the steps:
Step 201: the proxy module on backup server and the data production machine is set up network connection.
Step 202: backup server sends backup request by network to described proxy module, requires certain class data of backup.
Step 203: after proxy module is received request, send a command to the database of appointment, data are derived from database.
Step 204: proxy module will be crossed network from the data communication device that database is derived and send to backup server.
Can find out that from above flow process in whole backup procedure, the agency is playing the part of the replacement backup server and sending backup request to database, then with the intermediary role of DB Backup data retransmission out to backup server.
Why network backup software will use based on the redundancy technique of acting on behalf of, and mainly is subjected to the restriction of following two problems:
1, the software and hardware of backup server may come from different manufacturers from the software and hardware of database, and is incompatible each other, can't directly intercom mutually.Therefore have to be by means of having the proxy module of identical hardware environment with database.
2, database can back up data to the optional position in the local device, but usually and do not know how to transfer data to another machine in the network, therefore also have to be by proxy module, allow proxy module intercepted data library backup data out, then be forwarded to backup server.
So, by using agent skill group, backup software has been realized the data backup between machine and the machine.But this technical scheme is also because there is following defective in agency's use:
1, because want compatible different data to produce the machine operation system, need to be to the proxy module program version of a correspondence of each platform issue, so that agency's exploitation is in the development process of whole backup software a large amount of time cycle that accounted for.
2, need to produce machine at each the deployment Agent is installed, increase so on the one hand the enforcement difficulty of solution, also may give simultaneously and produce the potential safety hazard that machine bring the unknown.Produce machine for the very important data of some data, the client is usually also unwilling to install from third-party application program at this data production machine.
3, Backup Data is by the Agent transfer, if the Agent fault, the integrality of data just cannot be protected.
Summary of the invention
In view of this, the object of the invention is to, propose a kind of network backup method, device and system without the agency, can need not the agency and realize network data backup.
The embodiment of the invention proposes a kind of network backup method without the agency, comprises the steps:
A, backup server startup file share service, with the part in the local storage region as shared region, and the network address of generation shared region, this network address being sent to data producing machine, data are produced machine the described network address are mapped as pseudo-local storage address;
B, backup server send backup request to data production machine, and data are produced machine after receiving this backup request, obtain data to back up to database; And
C, data are produced machine the data of obtaining are saved to pseudo-local storage address.
The file-sharing service that described file-sharing service provides for NFS NFS or general internet file system CIFS.
Preferably, before the described step C, further comprise:
Data produce machine according to the described network address to the request of backup server Transmit message share service.Backup server judges whether described file-sharing service request comes from legal data and produce machine, if then allow the request of this document share service, continues execution in step C, otherwise the request of refusal this document share service, process ends.
The embodiment of the invention also proposes a kind of backup server, be used for being connected with data production machine by network, the database data of machine is produced in backup from data, described data production machine comprises: the shared address mapping block, be used for to preserve the network address of the shared region of backup server, and the described network address is mapped as pseudo-local storage address; Backup module is used for obtaining data to back up to database, and the data of obtaining being sent to described pseudo-local storage address behind the backup command of receiving from backup server; Described backup server comprises:
The file-sharing service module is used for opening up a shared region at the storage area of backup server, and this shared region provides file-sharing service for other network elements in the network; Generate the network address of shared region, this network address is sent to data produces machine;
The data base call module is used for sending backup command to data production machine.
Described file-sharing service module further comprises an authentication unit, be used for checking and send whether the network element of file-sharing service request is that legal data are produced machine, if then allow to carry out corresponding file-sharing operation, otherwise the request of refusal this document share service.
The file-sharing service that described file-sharing service provides for NFS NFS or general internet file system CIFS.
The embodiment of the invention also proposes a kind of data and produces machine, comprising:
The shared address mapping block, the network address of be used for preserving the shared region of backup server, and the described network address is mapped as pseudo-local storage address; The described network address is backup server startup file share service, with the network address of the part in the local storage region as the shared region of shared region and generation;
Backup module is used for obtaining data to back up to database, and the data of obtaining being sent to described pseudo-local storage address behind the backup command of receiving from backup server.
The embodiment of the invention also proposes a kind of data backup system, comprises database, data production machine and backup server,
Described backup server comprises:
The file-sharing service module is used for opening up a shared region at the storage area of backup server, and this shared region provides file-sharing service for other network elements in the network; Generate the network address of shared region, this network address is sent to data produces machine;
The data base call module is used for sending backup command to data production machine;
Described data production machine comprises:
The shared address mapping block, the network address of be used for preserving the shared region of backup server, and the described network address is mapped as pseudo-local storage address;
Backup module is used for obtaining data to back up to database, and the data of obtaining being sent to described pseudo-local storage address behind the backup command of receiving from backup server.
Preferably, described file-sharing service module further comprises an authentication unit, be used for checking and send whether the network element of file-sharing service request is that legal data are produced machine, if then allow to carry out corresponding file-sharing operation, otherwise the request of refusal this document share service.As can be seen from the above technical solutions, provide file-sharing service at the backup server end, so that other machine in the network can create file and data writing under the assigned catalogue of this backup server, just as writing local file.Like this, the database that is positioned on the data production machine just can by the shared mode of network, write data in the backup server.Therefore the present invention program can need not the agency and realize network backup.
Description of drawings
Fig. 1 is the principle schematic of network backup of the prior art;
Fig. 2 is based on the network backup flow chart of acting on behalf of in the prior art;
Fig. 3 is the Network Backup System block diagram of the embodiment of the invention;
Fig. 4 is the flow chart that the embodiment of the invention realizes network backup.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is further elaborated below in conjunction with accompanying drawing.
The core concept of technical solution of the present invention is: provide file-sharing service at the backup server end, so that other machine in the network can create file and data writing under the assigned catalogue of this backup server, just as writing local file.Like this, the database that is positioned on the data production machine just can write data in the backup server by the shared mode of network, and everything is all implicitly finished by operating system, just as writing a local file.And for database itself, it only knows and has backed up data to a file, and is indifferent to this file and is actually local, or in the network.
Described file-sharing service can be based on NFS (Net File System, NFS) or CIFS (Common Internet File System, CIFS), also can be the file system sharing mode that can be mounted to arbitrarily on the remote machine.
Like this, just solved the problem of " database does not know how to transfer data to network ".Simultaneously, backup server self as the some of self, has been finished the task of directly sending backup request to database by integrating a series of data base tool (such as the RMAN of ORACLE), like this, has just no longer needed Agent in scheme.
The Network Backup System of the embodiment of the invention comprises database 301, data production machine 302 and backup server 303 as shown in Figure 3.
Wherein, comprise on the backup server 303:
File-sharing service module 304 is used for opening up a shared region at the storage area of backup server 303, and this shared region provides file-sharing service for other network elements in the network.Described file-sharing service comprises NFS (Network File System, NFS) or general internet file system (Common Internet File System, CIFS) file-sharing service that provides, but be not limited to NFS, CIFS, the file system sharing mode that can be mounted to arbitrarily on the remote machine can be included.
In the present embodiment, described other network elements are defined as data and produce machine 302.Therefore, this document share service module 304 can further include an authentication unit, be used for checking and send whether the network element of file-sharing service request is that legal data are produced machine, if then allow to carry out corresponding file-sharing operation (for example in shared region, set up new file, revise file in the shared region and/or the file in the deletion shared region), otherwise refusal this document share service request.
Data base call module 305 is used for directly producing machine 302 to data and sends backup command.Described data base call module 305 adopts the data base tool corresponding with database 301.What for example database 301 adopted is the ORACLE database, and what then data base call module 305 adopted is RMAN instrument corresponding to this ORACLE database.
Data are produced on the machine 302 and are comprised:
Shared address mapping block 306, the network address of wherein having preserved file-sharing service module 304 shared regions of backup server 303, and the described network address is mapped as pseudo-local storage address.
Backup module 307 is used for obtaining data to back up to database 301, and the data of obtaining being sent to described pseudo-local storage address behind the backup command of receiving from backup server 303.
Described pseudo-local storage address produces the file operation system of machine 302 in data, just as being both a local storage address, from what not to have to real local memory storage file different, but be actually the shared region that file is stored into backup server 303 to pseudo-local storage address storage file.
Described shared address mapping block 306 and backup module 307 can based on data be produced the existing file operation of machine 302 system and are realized, need not that therefore data are produced machine 302 and transform.
Database 301 can adopt database of the prior art.
Fig. 4 shows the flow process of embodiment of the invention time limit network backup, comprises the steps:
Step 401: backup server startup file share service, the part in the local storage region as shared region, and is generated the network address of shared region, this network address is sent to data produces machine.
Step 402: data are produced machine the described network address are mapped as pseudo-local storage address.
Step 403: backup server sends backup request to data production machine.
Step 404: data are produced machine after receiving this backup request, obtain data to back up to database.
Step 405: data produce machine according to the described network address to the request of backup server Transmit message share service.Backup server judges whether described file-sharing service request comes from legal data and produce machine, if then allow the request of this document share service, continues execution in step 406, otherwise the request of refusal this document share service, process ends.This step is optional step.
Step 406: data are produced machine the data of obtaining are saved to pseudo-local storage address.
The file operation system that this step is produced machine from data it seems, save the data in exactly in the local memory, but in fact, data are produced machine according to the network address of described shared region, the data communication device that obtains is crossed the shared region that file-sharing service is sent to backup server, and shared region is stored described data.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the network backup method without the agency is characterized in that, comprises the steps:
A, backup server startup file share service, with the part in the local storage region as shared region, and the network address of generation shared region, this network address being sent to data producing machine, data are produced machine the described network address are mapped as pseudo-local storage address;
B, backup server send backup request to data production machine, and data are produced machine after receiving this backup request, obtain data to back up to database; And
C, data are produced machine the data of obtaining are saved to pseudo-local storage address.
2. method according to claim 1 is characterized in that, the file-sharing service that described file-sharing service provides for NFS NFS or general internet file system CIFS.
3. according to claim 1 to 2 each described methods, it is characterized in that, before the described step C, further comprise:
Data produce machine according to the described network address to the request of backup server Transmit message share service, backup server judges whether described file-sharing service request comes from legal data and produce machine, if then allow the request of this document share service, continue execution in step C, otherwise the request of refusal this document share service, process ends.
4. backup server, be used for being connected with data production machine by network, the database data of machine is produced in backup from data, it is characterized in that, described data production machine comprises: the shared address mapping block, be used for to preserve the network address of the shared region of backup server, and the described network address is mapped as pseudo-local storage address; Backup module is used for obtaining data to back up to database, and the data of obtaining being sent to described pseudo-local storage address behind the backup command of receiving from backup server;
Described backup server comprises:
The file-sharing service module is used for opening up a shared region at the storage area of backup server, and this shared region provides file-sharing service for other network elements in the network; Generate the network address of shared region, this network address is sent to data produces machine;
The data base call module is used for sending backup command to data production machine.
5. backup server according to claim 4, it is characterized in that, described file-sharing service module further comprises an authentication unit, be used for checking and send whether the network element of file-sharing service request is that legal data are produced machine, if then allow to carry out corresponding file-sharing operation, otherwise the request of refusal this document share service.
6. according to claim 4 or 5 described backup servers, it is characterized in that the file-sharing service that described file-sharing service provides for NFS NFS or general internet file system CIFS.
7. data are produced machine, it is characterized in that, comprising:
The shared address mapping block, the network address of be used for preserving the shared region of backup server, and the described network address is mapped as pseudo-local storage address; The described network address is backup server startup file share service, with the network address of the part in the local storage region as the shared region of shared region and generation;
Backup module is used for obtaining data to back up to database, and the data of obtaining being sent to described pseudo-local storage address behind the backup command of receiving from backup server.
8. a data backup system comprises database, data production machine and backup server, it is characterized in that,
Described backup server comprises:
The file-sharing service module is used for opening up a shared region at the storage area of backup server, and this shared region provides file-sharing service for other network elements in the network; Generate the network address of shared region, this network address is sent to data produces machine;
The data base call module is used for sending backup command to data production machine;
Described data production machine comprises:
The shared address mapping block, the network address of be used for preserving the shared region of backup server, and the described network address is mapped as pseudo-local storage address;
Backup module is used for obtaining data to back up to database, and the data of obtaining being sent to described pseudo-local storage address behind the backup command of receiving from backup server.
9. data backup system according to claim 8, it is characterized in that, described file-sharing service module further comprises an authentication unit, be used for checking and send whether the network element of file-sharing service request is that legal data are produced machine, if then allow to carry out corresponding file-sharing operation, otherwise the request of refusal this document share service.
CN 200910243590 2009-12-25 2009-12-25 Network backup method, device and system without proxy Active CN101841425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910243590 CN101841425B (en) 2009-12-25 2009-12-25 Network backup method, device and system without proxy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910243590 CN101841425B (en) 2009-12-25 2009-12-25 Network backup method, device and system without proxy

Publications (2)

Publication Number Publication Date
CN101841425A CN101841425A (en) 2010-09-22
CN101841425B true CN101841425B (en) 2013-01-23

Family

ID=42744564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910243590 Active CN101841425B (en) 2009-12-25 2009-12-25 Network backup method, device and system without proxy

Country Status (1)

Country Link
CN (1) CN101841425B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095392B (en) * 2015-07-02 2018-09-04 北京京东尚科信息技术有限公司 A kind of method and device of Data Mart data sharing
CN105446831A (en) * 2015-11-09 2016-03-30 上海爱数信息技术股份有限公司 Server-Free backup method in conjunction with SAN
CN106357814B (en) * 2016-10-27 2019-08-20 北京华为数字技术有限公司 A kind of document handling method, agency service end and client
CN108573162A (en) * 2017-05-31 2018-09-25 北京金山云网络技术有限公司 data copy system, method and device
CN111399984A (en) * 2020-03-19 2020-07-10 上海英方软件股份有限公司 File recovery method and system based on virtual machine backup data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1755640A (en) * 2004-09-29 2006-04-05 日本电气株式会社 Exchange apparatus and system and backup-and-restore method and program
CN1848763A (en) * 2005-11-25 2006-10-18 华为技术有限公司 Method and apparatus for backing up and recovering management data in equipment management

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1755640A (en) * 2004-09-29 2006-04-05 日本电气株式会社 Exchange apparatus and system and backup-and-restore method and program
CN1848763A (en) * 2005-11-25 2006-10-18 华为技术有限公司 Method and apparatus for backing up and recovering management data in equipment management

Also Published As

Publication number Publication date
CN101841425A (en) 2010-09-22

Similar Documents

Publication Publication Date Title
CN110647580B (en) Distributed container cluster mirror image management main node, slave node, system and method
CN106250270B (en) A kind of data back up method under cloud computing platform
KR101430517B1 (en) Device and mehtod for synchronizing data in data communication devices
US8230414B1 (en) Software distribution and cache management across client machines on a network
CN101841425B (en) Network backup method, device and system without proxy
WO2000026782A1 (en) File server system
CN107710164B (en) Disaster recovery as a service
CN101163036B (en) Method of implementing two-computer hot backup of network equipment management software
CN104219085A (en) Proxy server and data processing method and system of database
KR20100016244A (en) Method and system for extending the services provided by an enterprise service bus
US8533525B2 (en) Data management apparatus, monitoring apparatus, replica apparatus, cluster system, control method and computer-readable medium
CN110784495A (en) Block chain-based discovery and configuration information management method for big data cluster system
CN111966529A (en) Method and system for real-time incremental synchronous backup of database files
CN110489274A (en) Data back up method, device and interactive system
CN112261114A (en) Data backup system and method
CN108804248B (en) Automatic verification method for real-time protection data of volume
CN116560904A (en) NAS data backup disaster recovery method, system, terminal and storage medium
CN112925612A (en) Monitoring service static configuration management method based on Kubernetes
KR102567900B1 (en) Method and Apparatus for Ensuring Continuous Device Operational Stability in Cloud Degraded Mode
CN103888511A (en) Remote access control method based on dynamic proxy
CN110019536B (en) Database system based on medical block chain technology
CN115048190B (en) Virtual machine snapshot management method, system and computer readable medium
CN116541461A (en) Data processing method, device, equipment and storage medium applied to database
CN105740096A (en) Method and apparatus for data remote disaster tolerance backup of cluster file system
CN113986148B (en) Data reading method and device and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: Room 505, Taixing Building, 11 Garden East Road, Haidian District, Beijing, 100191

Co-patentee after: Shenzhen Innovation Software Technology Co., Ltd.

Patentee after: Innovation Technology Co., Ltd.

Address before: 100083 8th Floor of First Enjoyment Science and Technology Building, 51 College Road, Haidian District, Beijing

Co-patentee before: Chuangxinke Software Technology (Shenzhen) Co., Ltd.

Patentee before: Innovation and Technology Storage Technology Co., Ltd.

CP03 Change of name, title or address