请输入搜索词进行查询
搜索 <book_title>...
NetBackup™ for Oracle 管理指南
Last Published:
2024-05-14
Product(s):
NetBackup & Alta Data Protection (10.4)
- 简介
- 安装 NetBackup for Oracle
- 为 Oracle 管理员配置 RBAC
- 管理 Oracle 发现和数据库
- 管理 Oracle 凭据
- 配置 Oracle 策略
- 执行 Oracle 的备份和还原
- Oracle 克隆
- NetBackup Copilot for Oracle
- 使用通用共享配置 OIP (Oracle Copilot)
- 具有即时访问的 Oracle Copilot
- 带有 Snapshot Client 的 NetBackup for Oracle
- 适用于 Oracle 的 NetBackup 直接重复数据删除
- 故障排除
- 排除 RMAN 备份或还原错误
- 附录 A. 重复数据删除最佳做法
- 附录 B. Snapshot Client 对 SFRAC 的支持
- 附录 C. UNIX 和 Linux 系统上基于脚本的块级增量式 (BLI) 备份(不带 RMAN)
- 附录 D. XML 存档程序
- 附录 E. 注册授权位置
基于数据流的备份的示例 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; }