how to set RMAN duplicate until time for 9pm last night
Hi All
I have been told to create a duplicate that recovers up to 9pm (the duplicate will run the next morning, say at 2am).
So the syntax I have tried is this
duplicate database ******* dbid ********** to ********
until time "TO_DATE(to_char(sysdate,'YYYY-MM-DD')||':21:00:00', 'YYYY-MM-DD:HH24:MI:SS')";
I fear this wont work - if anyone has the answer then great, but if not is there a way I can test this without waiting for the duplicate to run?
Thanks
12.1.0.2 (RHEL 7)