Oracle12c多租戶資料庫備份與恢復 - 僅僅備份CDB

tolywang發表於2014-03-07

Oracle12.1.0  多租戶資料庫

僅僅備份CDB   

syntax : backup database root


範例:
$RMAN target  / 
RMAN> 
run {
     allocate channel c1 type disk ;
     allocate channel c2 type disk ;
     allocate channel c3 type disk ;
      crosscheck archivelog all ;
      backup as compressed backupset database ROOT plus archivelog format '/data01/tmp/cdb_bak/db_full_%U_%p_%T_%s.bak';
      backup current controlfile format '/data01/tmp/cdb_bak/contorlfile_%T_%U_%s.ctlbak';
     release channel c1;
     release channel c2;
     release channel c3;
  }

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

相關文章