参数文件恢复:RMAN-0617

RMAN> restore spfile from autobackup;

Starting restore at 03-APR-19
using channel ORA_DISK_1
using channel ORA_DISK_2

channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190403
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190402
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190401
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190331
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190330
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190329
channel ORA_DISK_1: looking for AUTOBACKUP on day: 20190328
channel ORA_DISK_1: no AUTOBACKUP in 7 days found
channel ORA_DISK_2: looking for AUTOBACKUP on day: 20190403
channel ORA_DISK_2: looking for AUTOBACKUP on day: 20190402
channel ORA_DISK_2: looking for AUTOBACKUP on day: 20190401
channel ORA_DISK_2: looking for AUTOBACKUP on day: 20190331
channel ORA_DISK_2: looking for AUTOBACKUP on day: 20190330
channel ORA_DISK_2: looking for AUTOBACKUP on day: 20190329
channel ORA_DISK_2: looking for AUTOBACKUP on day: 20190328
channel ORA_DISK_2: no AUTOBACKUP in 7 days found
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 04/03/2019 16:27:24
RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece

 

解决方法:

RMAN> restore spfile from '/u01/app/oracle/fast_recovery_area/PROD2/autobackup/2019_04_03/o1_mf_s_1004630646_gb8t7ro3_.bkp';

Starting restore at 03-APR-19
using channel ORA_DISK_1
using channel ORA_DISK_2

channel ORA_DISK_2: skipped, AUTOBACKUP already found
channel ORA_DISK_1: restoring spfile from AUTOBACKUP /u01/app/oracle/fast_recovery_area/PROD2/autobackup/2019_04_03/o1_mf_s_1004630646_gb8t7ro3_.bkp
channel ORA_DISK_1: SPFILE restore from AUTOBACKUP complete
Finished restore at 03-APR-19

 

原因是oracle无法识别db_recovery_file_dest参数,为避免出现以上报错,可以先设置db_recovery_file_dest参数

设置方法:

alter system set db_recovery_file_dest_size=4g;

alter system set db_recovery_file_dest='/u01/app/oracle/fast_recovery_file_dest'; 

 

2019-4-3 18:40

转载于:https://www.cnblogs.com/orcl-2018/p/10650012.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值