RMAN備份及恢復(fù)歸檔日志的語(yǔ)法是怎樣的

本篇文章為大家展示了RMAN備份及恢復(fù)歸檔日志的語(yǔ)法是怎樣的,內(nèi)容簡(jiǎn)明扼要并且容易理解,絕對(duì)能使你眼前一亮,通過(guò)這篇文章的詳細(xì)介紹希望你能有所收獲。

在瑪沁等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強(qiáng)發(fā)展的系統(tǒng)性、市場(chǎng)前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供網(wǎng)站設(shè)計(jì)、成都網(wǎng)站設(shè)計(jì) 網(wǎng)站設(shè)計(jì)制作定制網(wǎng)站建設(shè),公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),品牌網(wǎng)站建設(shè),全網(wǎng)營(yíng)銷(xiāo)推廣,外貿(mào)網(wǎng)站制作,瑪沁網(wǎng)站建設(shè)費(fèi)用合理。

一.備份所有歸檔日志文件
   RMAN> backup archivelog all delete input;
二: restore archivelog 的各種選項(xiàng)
   1.恢復(fù)全部歸檔日志文件
     RMAN> restore archivelog all;
   2.只恢復(fù)5到8這四個(gè)歸檔日志文件
     RMAN> restore archivelog from logseq 5 until logseq 8;
   3.恢復(fù)從第5個(gè)歸檔日志起
     RMAN> restore archivelog from logseq 5;
   4.恢復(fù)7天內(nèi)的歸檔日志
     RMAN> restore archivelog from time 'sysdate-7';
   5. sequence between 寫(xiě)法
     RMAN> restore archivelog sequence between 1 and 3;
   6.恢復(fù)到哪個(gè)日志文件為止
     RMAN> restore archivelog until logseq 3;
   7.從第五個(gè)日志開(kāi)始恢復(fù)
     RMAN> restore archivelog low logseq 5;
   8.到第5個(gè)日志為止
     RMAN> restore archivelog high logseq 5;
三:如果想改變恢復(fù)到另外路徑下 則可用下面語(yǔ)句
   set archivelog destination to 'd:\backup';

   RMAN> run
   2> {allocate channel ci type disk;
   3> set archivelog destination to 'd:\backup';
   4> restore archivelog all;
   5> release channel ci;
   6> }

上述內(nèi)容就是RMAN備份及恢復(fù)歸檔日志的語(yǔ)法是怎樣的,你們學(xué)到知識(shí)或技能了嗎?如果還想學(xué)到更多技能或者豐富自己的知識(shí)儲(chǔ)備,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道。

本文標(biāo)題:RMAN備份及恢復(fù)歸檔日志的語(yǔ)法是怎樣的
分享鏈接:http://bm7419.com/article28/jdigjp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供App開(kāi)發(fā)、網(wǎng)站改版、微信小程序、網(wǎng)站排名網(wǎng)站營(yíng)銷(xiāo)網(wǎng)站策劃

廣告

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

小程序開(kāi)發(fā)