RMAN Duplicate set until time using wrong backup piece name to restore. [message #545032] |
Sun, 26 February 2012 22:01 |
dloresco
Messages: 6 Registered: February 2009 Location: Singapore
|
Junior Member |
|
|
We are doing RMAN Duplicate set until time to refresh daily our test database for our developers and it taking long time to finish. We noticed on the restore log that RMAN was using a day old old backup pieces to refresh the test database and don't immediately use the latest backup pieces instead.
For additional details here's the rman duplicate command we are using which we run daily(mon-sat) at 4am once daily full backup on production completed.
RMAN Duplicate commands:
run
{
set until time "to_date(to_char(sysdate,'Mon DD YYYY') || ' 04:00:00', 'Mon DD YYYY HH24:MI:SS')";
allocate auxiliary channel ch1 type disk;
duplicate target database to testdb;
}
exit
Is there a way on how to let RMAN use the latest backup pieces instead?..
Best Regards,
dloresco
[Updated on: Sun, 26 February 2012 22:08] Report message to a moderator
|
|
|
|