欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

如何使用nub恢復數(shù)據(jù)庫

這篇文章將為大家詳細講解有關如何使用nub恢復數(shù)據(jù)庫,小編覺得挺實用的,因此分享給大家做個參考,希望大家閱讀完這篇文章后可以有所收獲。

創(chuàng)新互聯(lián)建站作為成都網(wǎng)站建設公司,專注網(wǎng)站建設、網(wǎng)站設計,有關成都企業(yè)網(wǎng)站建設方案、改版、費用等問題,行業(yè)涉及成都葡萄架等多個領域,已為上千家企業(yè)服務,得到了客戶的尊重與認可。

1.NBU數(shù)據(jù)庫恢復腳本

run {

allocate channel t1 type 'sbt_tape';

allocate channel t2 type 'sbt_tape';

allocate channel t3 type 'sbt_tape';

send 'NB_ORA_CLIENT=192.168.x.x';

send 'NB_ORA_SERV=nbu5230';

set until sequence 12 thread 1;

restore database;

#switch datafile all;

recover database;

release channel t1;

release channel t2;

release channel t3;

}

2.歸檔日志恢復

run {

allocate channel t1 type 'sbt_tape';

allocate channel t2 type 'sbt_tape';

send 'NB_ORA_CLIENT=192.168.x.x';

send 'NB_ORA_SERV=nbu5230';

restore archivelog from sequence 8 until sequence 12 INCARNATION ALL;

release channel t1;

release channel t2;

}

3.其他恢復

更改還原路徑:

RMAN> set archivelog destination to '/u01/backup';

還原全部備份歸檔:

RMAN> restore archivelog all;

歸檔日志范圍恢復:

RMAN> restore archivelog from sequence 8 until sequence 12;

RMAN> restore archivelog sequence between 8 and 12;

從低sequence開始恢復:

RMAN> restore archivelog from sequence 5;

RMAN> restore archivelog low sequence 5;

從高sequnece截止恢復:

RMAN> restore archivelog until sequence 110;

RMAN> restore archivelog high sequence 108;

按時間恢復:

RMAN> restore archivelog from time 'sysdate-7';

關于“如何使用nub恢復數(shù)據(jù)庫”這篇文章就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,使各位可以學到更多知識,如果覺得文章不錯,請把它分享出去讓更多的人看到。

文章題目:如何使用nub恢復數(shù)據(jù)庫
當前網(wǎng)址:http://www.chinadenli.net/article26/jiijcg.html

成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供軟件開發(fā)定制網(wǎng)站動態(tài)網(wǎng)站企業(yè)建站微信小程序小程序開發(fā)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都做網(wǎng)站