1.pdb示例恢复
注意:还原一个完整的pdb,必须先关闭pdb.
alter pluggable database robertpdb close;
restore pluggable database robertpdb ;
recover pluggable database robertpdb;
alter pluggable database robertpdb open;
同时多个pdb恢复
alter pluggable database robertpdb,test close;
restore pluggable database robertpdb,test ;
recover pluggable database robertpdb,test;
alter pluggable database robertpdb,test open;
pdb 不完全恢复
select current_scn from v$database;
RMAN> ALTER PLUGGABLE DATABASE PDBLHR3 CLOSE;
RMAN> RUN {
SET UNTIL SCN = 1851648 ;
RESTORE pluggable DATABASE PDBLHR3;
RECOVER pluggable DATABASE PDBLHR3 AUXILIARY DESTINATION='/u01/app/oracle/oradata';
ALTER PLUGGABLE DATABASE PDBLHR3 OPEN RESETLOGS;
}