Please enter search query.
Search <book_title>...
Veritas NetBackup™ for Oracle 管理指南
Last Published:
2017-11-02
Product(s):
NetBackup & Alta Data Protection (8.1)
- 介绍
- NetBackup for Oracle 快速入门
- 安装 NetBackup for Oracle
- Oracle 策略配置
- 为 NetBackup for Oracle 配置做准备
- Oracle 智能策略的实例管理
- 关于 Oracle 智能策略 (OIP)
- 关于基于脚本或模板的 Oracle 策略
- 执行 Oracle 的备份和还原
- 关于 NetBackup for Oracle 备份
- 关于 NetBackup for Oracle 还原
- 在 Microsoft Windows 群集环境中使用 NetBackup for Oracle
- 引导式恢复
- 带有 Snapshot Client 的 NetBackup for Oracle
- 故障排除
- 排除 RMAN 备份或还原错误
- 附录 A. 实际应用程序群集
- 附录 B. 使用 NetBackup 保护 Oracle RAC 的最佳做法
- 附录 C. 重复数据删除最佳做法
- 附录 D. Snapshot Client 对 SFRAC 的支持
- 附录 E. 基于脚本的块级增量式 (BLI) 备份(UNIX 和 Linux 系统上没有 RMAN)
- 附录 F. XML 存档程序
- 附录 G. 注册授权位置
基于数据流的备份的示例 RMAN 脚本
以下是执行 Oracle 数据库的优化的、重复数据删除的、基于数据流的备份的 RMAN 脚本中的示例片段。
RUN { # Back up the database. # Use 4 channels as 4 parallel backup streams. ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE'; ALLOCATE CHANNEL ch01 TYPE 'SBT_TAPE'; ALLOCATE CHANNEL ch02 TYPE 'SBT_TAPE'; ALLOCATE CHANNEL ch03 TYPE 'SBT_TAPE'; SEND ' NB_ORA_SERV=$NB_ORA_SERV’; BACKUP $BACKUP_TYPE SKIP INACCESSIBLE TAG hot_db_bk_level0 # The following line sets FILESPERSET to 1 and facilitates database deduplication. FILESPERSET 1 FORMAT 'bk_%s_%p_%t' DATABASE; sql 'alter system archive log current'; RELEASE CHANNEL ch00; RELEASE CHANNEL ch01; RELEASE CHANNEL ch02; RELEASE CHANNEL ch03; # Back up the archive logs # The FILESPERSET parameter setting depends on the number of archive logs you have. ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE'; ALLOCATE CHANNEL ch01 TYPE 'SBT_TAPE'; SEND ' NB_ORA_SERV=$NB_ORA_SERV’; BACKUP FILESPERSET 20 FORMAT 'al_%s_%p_%t' ARCHIVELOG ALL DELETE INPUT; RELEASE CHANNEL ch00; RELEASE CHANNEL ch01; # # Note: During the process of backing up the database, RMAN also backs up the # control file. This version of the control file does not contain the # information about the current backup because "nocatalog" has been specified. # To include the information about the current backup, the control file should # be backed up as the last step of the RMAN section. This step would not be # necessary if we were using a recovery catalog or auto control file backups. # ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE'; SEND ' NB_ORA_SERV=$NB_ORA_SERV’; BACKUP FORMAT 'cntrl_%s_%p_%t' CURRENT CONTROLFILE; RELEASE CHANNEL ch00; }