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

Network backup method, device and system without proxy Download PDF

Info

Publication number
CN101841425A
CN101841425A CN 200910243590 CN200910243590A CN101841425A CN 101841425 A CN101841425 A CN 101841425A CN 200910243590 CN200910243590 CN 200910243590 CN 200910243590 A CN200910243590 A CN 200910243590A CN 101841425 A CN101841425 A CN 101841425A
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.)
Granted
Application number
CN 200910243590
Other languages
Chinese (zh)
Other versions
CN101841425B (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 that does not have the agency
Technical field
The present invention relates to storage and redundancy technique field, particularly a kind of network backup method, device and system that does not have the agency.
Background technology
Based on network redundancy technique is exactly by Network 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 enterprise customer was concerned about needs normally various data and the file system in the database 102 of backed up data, 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 communicates by letter, and the request latter derives data, and data are backuped on the backup server 104 by network 103.
The redundancy technique that all is based on the agency that the network backup of prior art uses.So-called agency just is meant the program module that an appointment is installed on data production machine, be called proxy module, and this proxy module is used to respond and handle 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: backup server is set up network with the proxy module on the data production machine and is connected.
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 data designated storehouse, data are derived from database.
Step 204: proxy module will send to backup server by network from the data that database is derived.
As can be seen, in whole backup procedure, the agency is playing the part of the replacement backup server and is sending backup request to database from above flow process, and then the data forwarding that DB Backup is come out is given the role of intermediary of 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 with 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 backup to data the optional position in the local device, but usually and how not know with transfer of data another machine in the network, therefore also have to be by proxy module, the data that allow proxy module intercepted data library backup come out are forwarded to backup server then.
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, needs to give the proxy module program version of a correspondence of each platform issue, make agency's exploitation in the development process of whole backup software a large amount of time cycle that accounted for.
2, need produce installation deployment Agent on the machine at each, increase the enforcement difficulty of solution so on the one hand, bring the potential safety hazard of the unknown also may for simultaneously the production machine.Produce machine for the very important data of some data, the client is also unwilling usually to install from third-party application program on 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 objective of the invention is to, propose a kind of network backup method, device and system that does not have the agency, can need not the agency and realize network data backup.
The embodiment of the invention proposes a kind of network backup method that does not have the agency, comprises the steps:
A, backup server startup file share service as shared region, and generate the network address of shared region with the part in the local storage region, this network address is sent to data produces machine;
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 produce machine according to the described network address, and the data obtained are sent to the shared region of backup server by file-sharing service, and shared region is stored described data.
Described steps A is sent to this network address after the data production machine, further comprises: data are produced machine the described network address are mapped as pseudo-local storage address.
The described data of step C are produced machine according to the described network address, with the data of being obtained by the shared region that file-sharing service is sent to backup server are: data are produced machine the data of being obtained 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 are produced machine and are sent the file-sharing service request according to the described network address to backup server.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, is used for being connected with data production machine by network, and backup is from the database data of data production machine, and 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;
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 to verify whether the network element that sends the 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 is used 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 behind the backup command of receiving from backup server, and the data of being obtained is sent to described pseudo-local storage address.
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;
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 is used 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 behind the backup command of receiving from backup server, and the data of being obtained is sent to described pseudo-local storage address.
Preferably, described file-sharing service module further comprises an authentication unit, be used to verify whether the network element that sends the 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, make that other machine in the network can be created file and write data under the assigned catalogue of this backup server, just as writing local file at the backup server end.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.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 realizes the flow chart of network backup for the embodiment of the invention.
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, make that other machine in the network can be created file and write data 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 data has been backuped 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 transfer of data is arrived 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 (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 to verify whether the network element that sends the 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 the RMAN instrument of this ORACLE database correspondence.
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 behind the backup command of receiving from backup server 303, and the data of being obtained is sent to described pseudo-local storage address.
Described pseudo-local storage address produces the file operation system of machine 302 in data, just as being both a local storage address,, but be actually with what not to have to real local memory storage file different to pseudo-local storage address storage file the shared region of file storage to backup server 303.
Described shared address mapping block 306 and backup module 307 can be produced the existing file operation of machine 302 system based on data and realize, 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 are produced machine and are sent the file-sharing service request according to the described network address to backup server.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 an optional step.
Step 406: data are produced machine the data of being obtained 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 the network address of machine according to described shared region, the data obtained are sent to the shared region of backup server by file-sharing service, and shared region is stored described data.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done 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 (11)

1. a network backup method that does not have the agency is characterized in that, comprises the steps:
A, backup server startup file share service as shared region, and generate the network address of shared region with the part in the local storage region, this network address is sent to data produces machine;
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 produce machine according to the described network address, and the data obtained are sent to the shared region of backup server by file-sharing service, and shared region is stored described data.
2. method according to claim 1 is characterized in that, described steps A is sent to this network address after the data production machine, further comprises: data are produced machine the described network address are mapped as pseudo-local storage address.
3. method according to claim 2, it is characterized in that, the described data of step C are produced machine according to the described network address, with the data of being obtained by the shared region that file-sharing service is sent to backup server are: data are produced machine the data of being obtained are saved to pseudo-local storage address.
4. 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.
5. according to each described method of claim 1 to 4, it is characterized in that, before the described step C, further comprise:
Data are produced machine and are sent the file-sharing service request according to the described network address to backup server.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.
6. a backup server is used for being connected with data production machine by network, and backup is characterized in that from the database data of data production machine 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;
The data base call module is used for sending backup command to data production machine.
7. backup server according to claim 6, it is characterized in that, described file-sharing service module further comprises an authentication unit, be used to verify whether the network element that sends the 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.
8. according to claim 6 or 7 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.
9. data are produced machine, it is characterized in that, comprising:
The shared address mapping block is used 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 behind the backup command of receiving from backup server, and the data of being obtained is sent to described pseudo-local storage address.
10. 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;
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 is used 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 behind the backup command of receiving from backup server, and the data of being obtained is sent to described pseudo-local storage address.
11. data backup system according to claim 10, it is characterized in that, described file-sharing service module further comprises an authentication unit, be used to verify whether the network element that sends the 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 true CN101841425A (en) 2010-09-22
CN101841425B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095392A (en) * 2015-07-02 2015-11-25 北京京东尚科信息技术有限公司 Method and device for data sharing among data marts
CN105446831A (en) * 2015-11-09 2016-03-30 上海爱数信息技术股份有限公司 Server-Free backup method in conjunction with SAN
CN106357814A (en) * 2016-10-27 2017-01-25 北京华为数字技术有限公司 File processing method, agency server side end and client side
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4325524B2 (en) * 2004-09-29 2009-09-02 日本電気株式会社 Switch device and system, backup and restore method and program
CN100411358C (en) * 2005-11-25 2008-08-13 华为技术有限公司 Method and apparatus for backing up and recovering management data in equipment management

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095392A (en) * 2015-07-02 2015-11-25 北京京东尚科信息技术有限公司 Method and device for data sharing among data marts
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
CN106357814A (en) * 2016-10-27 2017-01-25 北京华为数字技术有限公司 File processing method, agency server side end and client side
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

Also Published As

Publication number Publication date
CN101841425B (en) 2013-01-23

Similar Documents

Publication Publication Date Title
CN110647580B (en) Distributed container cluster mirror image management main node, slave node, system and method
CN107193490B (en) Distributed data storage system and method based on block chain
US8510404B2 (en) Peer to peer Synchronization system and method
US8171171B2 (en) Data synchronization method and system between devices
CN110784495B (en) Block chain-based discovery and configuration information management method for big data cluster system
US8230414B1 (en) Software distribution and cache management across client machines on a network
CN105224637A (en) A kind of based on PostgreSQL database active and standby/the comprehensive method of cluster application
CN107710164B (en) Disaster recovery as a service
CN106250270A (en) A kind of data back up method under cloud computing platform
WO2000026782A1 (en) File server system
US20030126133A1 (en) Database replication using application program event playback
KR20100016244A (en) Method and system for extending the services provided by an enterprise service bus
CN101841425B (en) Network backup method, device and system without proxy
US20110161724A1 (en) Data management apparatus, monitoring apparatus, replica apparatus, cluster system, control method and computer-readable medium
CN110489274A (en) Data back up method, device and interactive system
CN104023061A (en) High availability cluster scheme of OSS (Open Storage service) for LUSTRE
CN113919821A (en) Service transfer method, device, computer equipment and storage medium
CN102594874B (en) Synchronization processing method and device
CN112925612A (en) Monitoring service static configuration management method based on Kubernetes
KR102665749B1 (en) Method and apparatus for ensuring continued device operational reliability in cloud-degraded mode
US6519610B1 (en) Distributed reference links for a distributed directory server system
CN103888511A (en) Remote access control method based on dynamic proxy
CN115048190B (en) Virtual machine snapshot management method, system and computer readable medium
CN110019536B (en) Database system based on medical block chain technology
CN105740096A (en) Method and apparatus for data remote disaster tolerance backup of cluster file system

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