5.4.1 Oracle备份(Windows)
安装好客户端后,打开客户端界面,配置Oracle客户端信息,首先配置数据库登录实例名、dba帐户
以及介质(备份)服务器。备份Oracle必须保证数据库处于开启状态(startup)和归档模式(有RMAN机制)。
配置Oracle服务器的登录帐户和服务器名称。
备份服务器端在菜单栏“工具”下,选择“选项”,配置Oracle备份所使用的登录帐户,点击“修改列表”,添加Oracle服务器的系统登录(管理员)帐户。
选择数据源:选择Oracle数据库图标。其他选项与MSSQL备份类似。备份Oracle时必须保证数据库处于开启状态(startup)。
常用备份方法分:完全——备份选择;差异——备份自上次完全备份以来的变更;增量备份——自上次完全备份或增量备份以来的变更。
5.4.2 Oracle备份(Linux)
安装客户端后,把Oracle操作用户(如:oracle)加入beoper组。备份Oracle必须保证数据库处于开启状态(startup)和归档模式(有RMAN机制),并开启监听(lsnrctl)。 启动Backup exec的客户端程序,运行/opt/VRTSralus/bin/AgentConfig开始进行Oracle Agent配置。
选项1为Oracle服务器的配置;选项2为Oracle实例的配置;选项3为退出。
进入Oracle服务器的配置,1~5选项分别为:新建服务器帐户;修改服务器帐户;删除服务器帐户;查
看服务器帐户;退出。选择新建或者修改服务器帐户,填写服务器帐户(已加入beoper组oracle)、密码、Oracle服务器机器名或IP、通信端口(默认为5633)、提交更改。 进入Oracle实例的配置,1~5选项分别为:新建数据库信息;修改数据库信息;删除数据库信息;查看数据库信息;退出。选择新建或者修改数据库信息,选择存在的实例名,填写DBA帐户(sys)、密码、备份服务器机器名或IP、是否使用恢复目录(如使用,输入恢复目录的账户和密码)、设置作业模板(可使用自定义模板,默认为default模板)、提交更改。 Oracle服务器的配置过程(Configuring machine information): 注意:Oracle用户加入beoper组,数据库处于开启状态。 Choose one of the following options: 1. Add system credentials for Oracle operations 2. Edit system credentials used for Oracle operations 3. Remove system credentials used for Oracle operations 4. View system credentials used for Oracle operations 5. Quit Please enter your selection: 2——修改帐户 Do you want to edit the local system credentials that the media server will use for Oracle operations? (Y/N): Y——同意修改帐户 Enter a user name that has local system credentials: oracle——添加oracle帐户 Enter the password: ——输入密码 Re-enter password: ——确认密码 Validating credentials....... Do you want to to edit the full computer name? (Y/N): Y——同意输入Oracle服务器机器名或IP地址 Enter the full computer name or IP address: beoracle——添加Oracle服务器机器名或IP地址 Do you want to edit the custom port used to connect to the media server during Oracle operations? (Y/N): N——使用默认端口 Commit changes to the configuration file? (Y/N): Y——确认并提交更改 SUCCESS: Successfully edited the entry to the configuration file. 查看更改的服务器信息 ObjectName: Machine HostUsername: oracle FQDN: beoracle Port: 5633 Oracle数据库的配置过程(Configuring the Oracle Agent): 注意:监听lsnctl要开启。
Choose one of the following options: 1. Add a new Oracle instance to protect 2. Edit an existing Oracle instance 3. Delete an existing Oracle instance
4. View Oracle instance entries that have been added in the Remote Agent Utility 5. Quit
Please enter your selection: 1——添加帐户 Select an Oracle instance to configure Entry 1. be12
Enter the number 0 to go back
Enter your selection: 1——选择第一个实例be12
Enter the Oracle database SYSDBA user name: sys——添加帐户 Enter the Oracle database SYSDBA password: ——输入密码
Re-enter password: ——确认密码 Validating credentials.......
Enter the media server name or IP address: beserver——输入备份服务器机器名或IP地址 Do you use a recovery catalog? (Y/N):N——不使用恢复目录
Do you want to use a customized job template? (Y/N): N——使用默认的default模板 Commit Oracle operation settings to the configuration file? (Y/N): Y——确认并提交更改
Renamed file /oracle/product/10.2.0/db_1/lib/libobk.so to /oracle/product/10.2.0/db_1/lib/libobk.so.oracle.org Created symbolic link for /opt/VRTSralus/bin/libobk.so at /oracle/product/10.2.0/db_1/lib/libobk.so SUCCESS: Successfully added the entry to the configuration file.
查看更改的数据库信息 ObjectName: be12 DatabaseLogin: sys MediaServerName: beserver JobTemplate: Default
备份服务器端在菜单栏“工具”下,选择“选项”,配置Oracle备份所使用的登录帐户,点击“修改列表”,添加Oracle服务器的Oracle操作帐户(Linux下多为oracle)。
选择数据源:选择Oracle数据库图标。其他选项与MSSQL备份类似。备份Oracle时必须保证数据库处于开启状态(startup)。连接Linux服务器要用Oracle操作帐户oracle,连接数据库要用DBA帐户sys。
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库symantec backup exec system 2010备份教程 - 图文(6)在线全文阅读。
相关推荐: