oracle数据库rman备份与还原
生活随笔
收集整理的這篇文章主要介紹了
oracle数据库rman备份与还原
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
我是oracle 界的小白,由于公司領導要求,不得不硬著頭皮在網上找rman備份還原的方法,廢話不多說,具體看例子(window)
運行CMD;
rman target 管理員賬號/密碼@orcl
?
備份
run{
allocate channel d1 device type disk format 'F:\OracleBakupNew\switch40%u';
backup full database
include current controlfile
format 'F:/OracleBakupNew/bidhouse%U';
release channel d1;
}
?
還原
shutdown immediate;
startup mount;
reset database to incarnation 2;
restore database;
recover database until time "to_date('2016-04-29 15:10:25','yyyy/mm/dd hh24:mi:ss')";
alter database open resetlogs;
?
轉載于:https://www.cnblogs.com/dandanwozhishidan/p/5446659.html
總結
以上是生活随笔為你收集整理的oracle数据库rman备份与还原的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【金九银十】Java微服务面试题,看到你
- 下一篇: 【目录】吴恩达深度学习