Knowledge Document: The latest control file is restored when restore the control file for the specified date by using an RMAN script

1 Likes

Environment

Data Protector version: 11.01
Oracle 19c
 

Situation

The latest control file is restored when restore the control file for the specified date by using an RMAN script.

RMAN Script:

run {
allocate channel 'dev_0' type 'sbt_tape'
parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so';
restore controlfile to '/tmp/controlfile.dbf';
restore controlfile from 'xxxxx_rman<xxx_61115:11648123123:1>.dbf ';
release channel 'dev_0';
}

Cause

There is a problem with the RMAN script.
 

Resolution

restore controlfile to '/tmp/controlfile.dbf';
restore controlfile from 'xxxxx_rman<xxx_61115:11648123123:1>.dbf';

Modify to

restore controlfile to '/tmp/controlfile.dbf' from 'xxxxx_rman<xxx_61115:11648123123:1>.dbf';

Access article on support portal

Labels:

Knowledge Docs
Comment List
Related
Recommended