RMAN 11GR2 : DUPLICATE Without Target And Recovery Catalog Connection_874352.1
RMAN 11GR2 : DUPLICATE Without Target And Recovery Catalog Connection (Doc ID 874352.1)
In this Document
Applies to:Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterInformation in this document applies to any platform. ***Checked for relevance on 9-Sep-2013*** GoalRman 11g release 2 provides us the flexibility of creating the rman duplicate without connecting to the target database and recovery catalog.
All rman needs here is the location of the backup pieces which is accessible and rman reads the backup pieces and restores the spfile,controlfile,datafiles and archivelog files to perform the duplicate operation.
This is a New Feature in 11gR2
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/wnbradv.htm#BRADV021 Oracle? Database Backup and Recovery User's Guide 11g Release 2 (11.2) . What's New in Backup and Recovery? Solution
Process involved in this type of duplicate database
++ Rman restores the spfile from the backup pieces located in the mentioned location. The steps involved in creating the duplicate database are as follows
1) Take a backup of the spfile, controlfile, database, and archivelogs as follows:
RMAN> backup spfile ;
RMAN> backup database include current controlfile plus archivelog ;
++ If the duplicate is going to happen on different server, move the backup pieces to a new server using commands like ftp,scp etc.
++ If the duplicate is going to happen on the same server as target, then you can either retain them in the same location where the backup was done or copy it to a required location.
For unix copy the password file from the target database to $ORACLE_HOME/dbs and rename it.
For windows copy the password file from the target database to %ORACLE_HOME/database and rename it.
DB_NAME=dup11r2
Unix Example
============ Just set the environment variables and start the instance. % export ORACLE_SID=dup11r2 % export ORACLE_HOME=/home/oracle/ora11g % export PATH=$ORACLE_HOME/bin:$PATH % sqlplus "/as sysdba" SQL > startup nomount
Windows Example
=============== Create a service and then set the necessary environment variables and start the instance. % oradim -new -sid dup11r2 set ORACLE_SID=dup11r2 set ORACLE_HOME=D:\Orahome\Ora11gr2 set PATH=D:\Orahome\Ora11gr2\bin;%PATH% % sqlplus "/as sysdba" SQL > startup nomount
EXAMPLE
======= % rman auxiliary / RMAN > DUPLICATE DATABASE TO dup11r2 UNTIL TIME "TO_DATE('29-MAY-2010 14:16:42','DD-MON-YYYY HH24:MI:SS')" SPFILE set control_files='D:\dup11r2\c1.ctl' set db_file_name_convert='D:\Database\Ora11g2\ora11g2','d:\dup11r2' set log_file_name_convert='D:\Database\Ora11g2\ora11g2','d:\dup11r2' BACKUP LOCATION 'D:\dup11r2' ; |
![]() |
![]() |
![](https://i.iter01.com/images/d7affa2dc154ea0d067be44550aa86238daa24a53409866e815476b8fa313de6.gif)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1263438/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 備份恢復Lesson 04.Using the RMAN Recovery Catalog
- RMAN Duplicate RAC to Single Instance
- Oracle 11GR2 Duplicate from BackupOracle
- rman duplicate操作手冊
- Oracle rman duplicate遷移測試Oracle
- Oracle 備份恢復篇之RMAN catalogOracle
- 揭秘ORACLE備份之----RMAN之五(CATALOG)Oracle
- Oracle Rman Catalog的建立方法和備份原理Oracle
- 建立 SAP Fiori Catalog 時遇到的 duplicate 記錄的問題分析
- 【RMAN】什麼是Fast Recovery Area(FRA),如何配置FRAAST
- duplicate遇到RMAN-05535: warning: All redo log files were not defined
- 【DG】備庫RMAN還原方式搭建DG(不使用duplicate命令)
- rman duplicate建立異地auxiliary Database oracle_11g oracle_sid不同UXDatabaseOracle
- rman duplicate建立異地auxiliary Database oracle_11g oracle_sid相同UXDatabaseOracle
- 2012-06-03 20:40 catalog start with rman備份集直接匯入控制檔案中
- SCSS without和withCSS
- Openfiler配置ISCSI Target及FC Target
- Performance Without the Event LoopORMOOP
- scp without interative password
- 【RMAN】RMAN備份至ASMASM
- docker_sshd without passwordDocker
- Installing Windows Features without InternetWindows
- Rockchip RK3588 - Rockchip Linux Recovery recovery原始碼分析Linux原始碼
- Oracle 11G RAC複製備庫RMAN-03002 RMAN-05501 RMAN-03015 RMAN-03009 RMAN-10038Oracle
- 【RMAN】RMAN的備份保留策略
- CSS E:targetCSS
- currentTarget VS target
- catalog.sql指令碼介紹SQL指令碼
- [LeetCode] Find the Duplicate NumberLeetCode
- yum error - package is a duplicate withErrorPackage
- 11gR2 RAC convert ONENODE
- 11gR2 OneNode Convert RAC
- ORACLE rman與RMAN-00054&ORA-09945Oracle
- WebStorm Exception: ...requested without authorization...WebORMException
- ESP32-MicroPython without ThonnyPython
- [Flutter翻譯]Flutter without FlutterFlutter
- RMAN(轉)
- 【Addressable】Catalog檔案大小最佳化
- 資料庫-Duckdb-catalog和schema資料庫