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博客 ” ,链接:https://blog.itpub.net/35489/viewspace-1103101/ ,如需转载,请注明出处,否则将追究法律责任。