目前分類:RMAN (15)

瀏覽方式: 標題列表 簡短摘要

Restore Oracle 11g Database from RMAN Backup (Full and Archive Logs Backup)

 

Backed Up Data Environment:

DanBrother 發表在 痞客邦 留言(0) 人氣()

Using RMAN to Restore A Dropped Tablespace without Resetlogs (11gR2)

 

##############################################

DanBrother 發表在 痞客邦 留言(0) 人氣()

There are two SYS Packages Used by RMAN while performing the backup:

1. SYS.dbms_backup_restore
à
used to create system calls to backup datafiles, control files and archived redo logs

DanBrother 發表在 痞客邦 留言(0) 人氣()

# Perform Backup:

. oraenv
[test1]

DanBrother 發表在 痞客邦 留言(0) 人氣()

RMAN Encrypted Backups Practice (Oracle 11g):

export ORACLE_SID=TESTDB

DanBrother 發表在 痞客邦 留言(0) 人氣()

Clone RAC Database to a None-RAC DB From RMAN Backup Without Connect to the Source DB  (Oracle11gR2)


DanBrother 發表在 痞客邦 留言(0) 人氣()

Alert Log:
************************************************************************
You have following choices to free up space from flash recovery area:

DanBrother 發表在 痞客邦 留言(0) 人氣()

 

Rman: Ora-01008 When Connecting To Target in 11.2.0.2 [ID 1280447.1]
Bug#10414993

DanBrother 發表在 痞客邦 留言(0) 人氣()

List All Archivelog:
RMAN> list archivelog all;

DanBrother 發表在 痞客邦 留言(0) 人氣()

SQL> conn /@test9i as sysdba
已連線.
SQL> archive log list

DanBrother 發表在 痞客邦 留言(0) 人氣()

rman_backup_arch.sh
>>

################################

DanBrother 發表在 痞客邦 留言(0) 人氣()

rman_backup_level0.sh
>>

 

DanBrother 發表在 痞客邦 留言(0) 人氣()

Restore Database Using RMAN: 

Prerequisite:
a. controlfile  copied to the db controlfile path

DanBrother 發表在 痞客邦 留言(0) 人氣()

以下的RMAN Script 可將之前RMAN備份的Archive Log還原到新的路徑:


run {

DanBrother 發表在 痞客邦 留言(0) 人氣()

-- Without Recovery Catalog

SQL> select 'set newname for datafile '||file_id||' to '''||replace(file_name,'SRCDB','NEWDB')||''';' from dba_data_files;   -->  取得新DB datafile的各個路徑

set oracle_sid=NEWDB

DanBrother 發表在 痞客邦 留言(0) 人氣()

Close

您尚未登入,將以訪客身份留言。亦可以上方服務帳號登入留言

請輸入暱稱 ( 最多顯示 6 個中文字元 )

請輸入標題 ( 最多顯示 9 個中文字元 )

請輸入內容 ( 最多 140 個中文字元 )

reload

請輸入左方認證碼:

看不懂,換張圖

請輸入驗證碼