RMAN-06023: no backup or copy of datafile 6 found to restore

一:问题描述

我用指定备份集恢复时,报错:

RMAN> run {

2> shutdown immediate;

3> startup mount;

4> allocate channel c1 type disk;

5> allocate channel c2 type disk;

6> restore database from tag='TAG20140829T020210'; --从指定备份集中进行转储

7> recover database;

8> alter database open;

9> }

 

database closed

database dismounted

Oracle instance shut down

 

connected to target database (not started)

Oracle instance started

database mounted

 

Total System Global Area     285212672 bytes

 

Fixed Size                     1218992 bytes

Variable Size                113247824 bytes

Database Buffers             167772160 bytes

Redo Buffers                   2973696 bytes

 

allocated channel: c1

channel c1: sid=151 instance=prod1 devtype=DISK

 

allocated channel: c2

channel c2: sid=142 instance=prod1 devtype=DISK

 

Starting restore at 29-AUG-14

 

released channel: c1

released channel: c2

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of restore command at 08/29/2014 02:31:20

RMAN-06026: some targets not found - aborting restore

RMAN-06023: no backup or copy of datafile 6 found to restore

RMAN-06023: no backup or copy of datafile 5 found to restore

RMAN-06023: no backup or copy of datafile 4 found to restore

RMAN-06023: no backup or copy of datafile 3 found to restore

RMAN-06023: no backup or copy of datafile 2 found to restore

RMAN-06023: no backup or copy of datafile 1 found to restore

 

 二:出错原因

       当前控制文件中并没有包含此RMAN 备份的信息(之前我进行了不完全恢复),这时进行恢复就会遇到RMAN-06023 的错误。

 三:解决办法

     1:先在nomount状态下恢复包含此备份信息的控制文件

  2:将数据库启动至mount状态

  3:恢复数据库(restore database;recover database;)

转载于:https://www.cnblogs.com/yabingshi/p/3944554.html

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值