Oracle12c多租戶資料庫備份與恢復 - 備份CDB下的多個PDBs

tolywang發表於2014-03-07

Oracle12.1.0  多租戶資料庫

備份多個PDBs 

syntax :   BACKUP PLUGGABLE DATABASE pdb1,pdb2 

範例:

$RMAN target  / 
run {
     allocate channel c1 type disk ;
     allocate channel c2 type disk ;
     allocate channel c3 type disk ;
      crosscheck archivelog all;
     backup as compressed backupset pluggable database plugdb,mypdb1 plus archivelog  format '/data01/tmp/pdbs_bak/db_full_%U_%p_%T_%s.bak';
      backup current controlfile format '/data01/tmp/pdbs_bak/contorlfile_%T_%U_%s.ctlbak';
     release channel c1;
     release channel c2;
     release channel c3;
  }

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-1103101/,如需轉載,請註明出處,否則將追究法律責任。

相關文章