oracle nbu异机恢复,VERITAS NBU异机恢复演练-Oracle Database(Sun SPARC)

RMAN> run {

2> ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';

3> send 'NB_ORA_SERV=IXSNBU,

NB_ORA_CLIENT=DBha01';

4> set until time "to_date('2012-04-17

08:30:00','YYYY-MM-DD hh24:mi:ss')";

5> restore database;

6> recover database;

7> release channel ch00;

8> }

allocated channel: ch00

channel ch00: sid=644 devtype=SBT_TAPE

channel ch00: Veritas NetBackup for Oracle - Release 7.0

(2010010418)

sent command to channel: ch00

executing command: SET until clause

Starting restore at 18-APR-12

Starting implicit crosscheck backup at 18-APR-12

Finished implicit crosscheck backup at 18-APR-12

Starting implicit crosscheck copy at 18-APR-12

Crosschecked 2 objects

Finished implicit crosscheck copy at 18-APR-12

searching for all files in the recovery area

cataloging files...

no files cataloged

channel ch00: starting datafile backupset restore

channel ch00: specifying datafile(s) to restore from backup

set

restoring datafile 00002 to

/u03/oradata/newpay/undotbs01.dbf

restoring datafile 00007 to /u05/oradata/newpay/corpub01.dbf

restoring datafile 00014 to /u04/oradata/newpay/corio02.dbf

channel ch00: reading from backup piece bk_1937_1_780710413

channel ch00: restored backup piece 1

piece handle=bk_1937_1_780710413 tag=HOT_DB_BK_LEVEL0

channel ch00: restore complete, elapsed time: 00:09:16

channel ch00: starting datafile backupset restore

channel ch00: specifying datafile(s) to restore from backup

set

restoring datafile 00001 to /u03/oradata/newpay/system01.dbf

restoring datafile 00003 to /u03/oradata/newpay/sysaux01.dbf

restoring datafile 00009 to /u05/oradata/newpay/corio01.dbf

restoring datafile 00015 to /u04/oradata/newpay/ggs.dbf

channel ch00: reading from backup piece bk_1938_1_780710668

channel ch00: restored backup piece 1

piece handle=bk_1938_1_780710668 tag=HOT_DB_BK_LEVEL0

channel ch00: restore complete, elapsed time: 00:06:26

channel ch00: starting datafile backupset restore

channel ch00: specifying datafile(s) to restore from backup

set

restoring datafile 00004 to /u03/oradata/newpay/users01.dbf

restoring datafile 00005 to /u05/oradata/newpay/dblink01.dbf

restoring datafile 00010 to

/u05/oradata/newpay/appbank01.dbf

restoring datafile 00012 to /u05/oradata/newpay/appafs01.dbf

restoring datafile 00013 to /u03/oradata/newpay/appafs02.dbf

channel ch00: reading from backup piece bk_1939_1_780710783

channel ch00: restored backup piece 1

piece handle=bk_1939_1_780710783 tag=HOT_DB_BK_LEVEL0

channel ch00: restore complete, elapsed time: 00:02:26

channel ch00: starting datafile backupset restore

channel ch00: specifying datafile(s) to restore from backup

set

restoring datafile 00006 to

/u05/oradata/newpay/sysbase01.dbf

restoring datafile 00008 to

/u05/oradata/newpay/corrisk01.dbf

restoring datafile 00011 to /u05/oradata/newpay/appoper.dbf

restoring datafile 00016 to /u04/oradata/newpay/corio03.dbf

channel ch00: reading from backup piece bk_1940_1_780710868

channel ch00: restored backup piece 1

piece handle=bk_1940_1_780710868 tag=HOT_DB_BK_LEVEL0

channel ch00: restore complete, elapsed time: 00:02:16

Finished restore at 18-APR-12

Starting recover at 18-APR-12

starting media recovery

channel ch00: starting archive log restore to default

destination

channel ch00: restoring archive log

archive log thread=1 sequence=1320

channel ch00: restoring archive log

archive log thread=1 sequence=1321

channel ch00: reading from backup piece al_1943_1_780711108

channel ch00: restored backup piece 1

piece handle=al_1943_1_780711108 tag=TAG20120416T001022

channel ch00: restore complete, elapsed time: 00:02:16

archive log filename=/arch/newpay/1_1320_745172102.arc thread=1

sequence=1320

archive log filename=/arch/newpay/1_1321_745172102.arc thread=1

sequence=1321

unable to find archive log

archive log thread=1 sequence=1322

released channel: ch00

RMAN-00571:

===========================================================

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

===============

RMAN-00571:

===========================================================

RMAN-03002: failure of recover command at 04/18/2012

14:49:02

RMAN-06054: media recovery requesting unknown log: thread 1 seq

1322 lowscn 88530792

RMAN> run {

2> ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';

3> send 'NB_ORA_SERV=IXSNBU,

NB_ORA_CLIENT=DBha01';

4> RESTORE ARCHIVELOG FROM SEQUENCE 1322;

5> release channel ch00;

6> }

allocated channel: ch00

channel ch00: sid=644 devtype=SBT_TAPE

channel ch00: Veritas NetBackup for Oracle - Release 7.0

(2010010418)

sent command to channel: ch00

Starting restore at 18-APR-12

released channel: ch00

RMAN-00571:

===========================================================

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

===============

RMAN-00571:

===========================================================

RMAN-03002: failure of restore command at 04/18/2012

14:52:15

RMAN-20242: specification does not match any archive log in the

recovery catalog

RMAN> shutdown immediate

database dismounted

Oracle instance shut down

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值