oracle12c备份与恢复,Oracle 12c 备份与恢复
備份:
1.備份全部的數(shù)據(jù)庫(包括CDB)
rman target /
BACKUP DATABASE;
2.只備份CDB
rman target /
BACKUP DATABASE ROOT;
3.只備份PDB(一個或多個)
3.1 單個CDB備份:
rman target=sys/oracle@pdb1
BACKUP DATABASE;
或者
rman target /
BACKUP PLUGGABLE DATABASE pdb1;
3.2 多個CDB備份:
rman target /
BACKUP PLUGGABLE DATABASE pdb1,pdb2;
4.只備份其中的某一個表空間
這個和原來的沒啥區(qū)別,只需要rman登入要備份那個數(shù)據(jù)庫就行了。
rman target=sys/oracle@pdb1
BACKUP TABLESPACE users;
還原:
1.全部數(shù)據(jù)庫還原
rman target /
startup mount;
restore database;
recover database;
alter database open;
2.只CDB還原
rman target /
startup mount;
restore database root;
recover database root;
alter database open;
3.只PDB還原(一個或者多個)
rman target /
alter pluggable database pdb1, pdb2 close;
restore pluggable database pdb1, pdb2;
recover pluggable database pdb1, pdb2;
alterpluggable database pdb1, pdb2 open;
Oracle 12c RMAN備份與恢復(fù)實(shí)驗(yàn)
https://www.cnblogs.com/wwxbi/p/4216719.html
http://blog.chinaunix.net/uid-20802110-id-5214435.html
Oracle 12c多租戶特性詳解:PDB 的備份與恢復(fù)
Oracle 12c利用數(shù)據(jù)泵DataPump進(jìn)行Oracle數(shù)據(jù)庫備份
https://www.cnblogs.com/xqzt/p/5101874.html
Oracle 12c pdb使用expdp/impdp導(dǎo)入導(dǎo)出
https://blog.51cto.com/liuqun/2052654
總結(jié)
以上是生活随笔為你收集整理的oracle12c备份与恢复,Oracle 12c 备份与恢复的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 62道开发人员面试经典题
- 下一篇: uniapp-商品详情配置