使用RMAN還原數(shù)據(jù)庫(kù)到某個(gè)時(shí)間點(diǎn)

在數(shù)據(jù)庫(kù)備份完全可用給的情況下,可以通過(guò)如下方式還原數(shù)據(jù)庫(kù)到某個(gè)時(shí)間點(diǎn)

關(guān)閉數(shù)據(jù)庫(kù)
并啟動(dòng)到mount


開(kāi)始恢復(fù)數(shù)據(jù)庫(kù)

RMAN> sql "alter session set nls_date_format=''yyyy-mm-dd hh34:mi:ss''";

using target database control file instead of recovery catalog
sql statement: alter session set nls_date_format=''yyyy-mm-dd hh34:mi:ss''

RMAN> restore database until time '2015-05-14 14:00:00';

RMAN> recover database until time '2015-05-14 14:00:00';

RMAN> sql 'alter database open resetlogs';


文章名稱(chēng):使用RMAN還原數(shù)據(jù)庫(kù)到某個(gè)時(shí)間點(diǎn)
文章URL:http://muchs.cn/article30/jpedpo.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供云服務(wù)器商城網(wǎng)站、做網(wǎng)站、建站公司、手機(jī)網(wǎng)站建設(shè)網(wǎng)站內(nèi)鏈

廣告

聲明:本網(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)

成都網(wǎng)站建設(shè)公司