设计并实现了备份软件H—info Backup中的Oracle数据备份与恢复模块.H—info Backup采用了模块化设计,有5个主要模块:Director(相当于其他备份软件的Server端),File Daemon(相当于其他备份软件的Client端),Storage Daemon(存储服务器端),Console(备份恢复工作控制台),Catalog DataBase(记录备份恢复Job信息的后台数据库),它们在软件运行时相互协调工作.在进行备份和恢复时,Oracle数据库备份恢复模块传递给File Daemon模块一个动态链接库(DLL),这个DLL里包含了数据库备份函数和数据库恢复函数,File Daemon通过动态加载DLL的方式调用这些函数来完成具体的数据库的备份恢复任务.本软件提供了一般备份恢复软件所不具备的逻辑备份功能,在操作系统为Windows2000,CPU为赛扬2.4GB,内存为768MB的测试环境下,本软件的逻辑备份恢复速度表现良好,物理备份恢复速度与现有备份恢复软件速度基本相当.
This paper presents the process for research and implementation a database proxy module in Oracle of the database backup software H-info Backup. This software used the modular design,and has 5 major modules: Director(As the Server of other backup software) ,File Daemon(as the client of other back- up software), Storage Daemon (Storage Server), Console (Control backup and recovery), Catalog DataBase (Background database for record the Job information of backup and recovery). While the software running, the database proxy module transfer a dynamic link library(DLL) to the File Daemon. This DLL includes functions of backup and recovery for database. File Daemon dynamically loaded DLL to call these fuctions, then backup and recovery a concrete database. The H-info Backup also provided the logical backup. The test environment is OS.windows2000,CPU..Celeron 2.4 GB,Memory.768 MB. Under such a test environment,this software worked well in logical backup. And the speed of physical backup almost equals to that of other backup software.