RMAN> CONNECT TARGET /;
RMAN> run {
SQL> shutdown immediate;
startup mount force;
startup mount;
set until time "to_date('2024-03-19 05:36:58','yyyy-mm-dd hh24:mi:ss')";
restore database;
recover database;
alter database open resetlogs;
}
RMAN> shutdown immediate;
RMAN> startup mount; # REM startup mount force;
RMAN> restore database until time "to_date('2024-03-19 05:36:58','yyyy-mm-dd hh24:mi:ss')";
RMAN> recover database until time "to_date('2024-03-19 05:36:58','yyyy-mm-dd hh24:mi:ss')";
RMAN> alter database open resetlogs;
标签:Restore,Recovery,database,Windows,03,mount,startup,yyyy,RMAN From: https://www.cnblogs.com/rgqancy/p/18085501