RMAN cloning
1. while making RMAN cloning failed to copy the control file (got deleted main control file) however created new control file how to restore the backup in the control file.2. how to change the directories with RMAN all cloning
3. how to switch / switch
Please guide me on the things above
Hello;
If you make two copies for standby?
Here are my notes:
http://www.Visi.com/~mseberg/duprman2.html
For the control file I re-create the control file watch and move it.
On Primary DB,
SQL>startup mount;
SQL> alter database create standby controlfile as 'STANDBY.ctl';
SQL>ALTER DATABASE OPEN;
Then move STANDBY.ctl to the other server and rename it for as many copies as necessary.
The digital switchover
http://www.Visi.com/~mseberg/Data_Guard_switchover.html
Failover
http://www.Visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.PDF
Best regards
mseberg
Tags: Database
Similar Questions
-
Rman cloning (Segmentation fault) error
Hi all
Oracle version: 10.2.0.1
Operating system: linux
When we tried to make rman cloning by catalog, we get the following error here my clon database is on a server and my target and clon of database to Server B.
Please find the below error.
Please help me solve the problem.[oracle@test1161 ~]$ rman catalog rman/rman target sys/qfund@test Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jan 23 22:24:05 2011 Copyright (c) 1982, 2005, Oracle. All rights reserved. connected to target database: TEST (DBID=2034916279) connected to recovery catalog database RMAN> connect auxiliary sys/poor123@poor connected to auxiliary database: POOR (not mounted) RMAN> duplicate target database to poor; Starting Duplicate Db at 23-JAN-11 starting full resync of recovery catalog full resync complete allocated channel: ORA_AUX_DISK_1 channel ORA_AUX_DISK_1: sid=155 devtype=DISK contents of Memory Script: { set until scn 22564684; set newname for datafile 1 to "/u02/poor/oradata/system01.dbf"; set newname for datafile 2 to "/u02/poor/oradata/undotbs01.dbf"; set newname for datafile 3 to "/u02/poor/oradata/sysaux01.dbf"; set newname for datafile 4 to "/u02/poor/oradata/users01.dbf"; set newname for datafile 5 to "/u02/poor/oradata/example01.dbf"; set newname for datafile 6 to "/u02/poor/oradata/poorna.dbf"; set newname for datafile 7 to "/u02/poor/oradata/bigtbs_01.dbf"; set newname for datafile 8 to "/u02/poor/oradata/lak_tbs01.dbf"; set newname for datafile 9 to "/u02/poor/oradata/vir2_01.dbf"; set newname for datafile 10 to "/u02/poor/oradata/lak_tbs2_01.dbf"; set newname for datafile 11 to "/u02/poor/oradata/vir_user01.dbf"; set newname for datafile 12 to "/u02/poor/oradata/vir_bigf01.dbf"; set newname for datafile 17 to "/u02/poor/oradata/hrscott.dbf"; restore check readonly clone database ; } executing Memory Script executing command: SET until clause executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME executing command: SET NEWNAME Starting restore at 23-JAN-11 using channel ORA_AUX_DISK_1 channel ORA_AUX_DISK_1: starting datafile backupset restore restoring datafile 00003 to /u02/poor/oradata/sysaux01.dbf restoring datafile 00004 to /u02/poor/oradata/users01.dbf restoring datafile 00005 to /u02/poor/oradata/example01.dbf restoring datafile 00006 to /u02/poor/oradata/poorna.dbf restoring datafile 00007 to /u02/poor/oradata/bigtbs_01.dbf restoring datafile 00008 to /u02/poor/oradata/lak_tbs01.dbf restoring datafile 00009 to /u02/poor/oradata/vir2_01.dbf restoring datafile 00010 to /u02/poor/oradata/lak_tbs2_01.dbf restoring datafile 00011 to /u02/poor/oradata/vir_user01.dbf restoring datafile 00012 to /u02/poor/oradata/vir_bigf01.dbf restoring datafile 00017 to /u02/poor/oradata/hrscott.dbf channel ORA_AUX_DISK_1: reading from backup piece /u01/app/oracle/product/10.2.0/db_1/dbs/1pm2tq5e_1_1 channel ORA_AUX_DISK_1: restored backup piece 1 piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/1pm2tq5e_1_1 tag=TAG20110124T124846 channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:01:45 Finished restore at 23-JAN-11 sql statement: CREATE CONTROLFILE REUSE SET DATABASE "POOR" RESETLOGS ARCHIVELOG MAXLOGFILES 16 MAXLOGMEMBERS 3 MAXDATAFILES 100 MAXINSTANCES 8 MAXLOGHISTORY 292 LOGFILE GROUP 1 ( '/u02/poor/oradata/redo1a.log' ) SIZE 50 M REUSE, GROUP 2 ( '/u02/poor/oradata/redo2a.log', '/u02/poor/oradata/redo2b.log' ) SIZE 50 M REUSE, GROUP 3 ( '/u02/poor/oradata/redo3a.log', '/u02/poor/oradata/redo1b.log', '/u02/poor/oradata/redo3b.log' ) SIZE 50 M REUSE DATAFILE '/u02/poor/oradata/system01.dbf' CHARACTER SET WE8ISO8859P1 contents of Memory Script: { switch clone datafile all; } executing Memory Script released channel: ORA_AUX_DISK_1 datafile 2 switched to datafile copy input datafile copy recid=1 stamp=741272711 filename=/u02/poor/oradata/undotbs01.dbf datafile 3 switched to datafile copy input datafile copy recid=2 stamp=741272711 filename=/u02/poor/oradata/sysaux01.dbf datafile 4 switched to datafile copy input datafile copy recid=3 stamp=741272711 filename=/u02/poor/oradata/users01.dbf datafile 5 switched to datafile copy input datafile copy recid=4 stamp=741272711 filename=/u02/poor/oradata/example01.dbf datafile 6 switched to datafile copy input datafile copy recid=5 stamp=741272711 filename=/u02/poor/oradata/poorna.dbf datafile 7 switched to datafile copy input datafile copy recid=6 stamp=741272711 filename=/u02/poor/oradata/bigtbs_01.dbf datafile 8 switched to datafile copy input datafile copy recid=7 stamp=741272711 filename=/u02/poor/oradata/lak_tbs01.dbf datafile 9 switched to datafile copy input datafile copy recid=8 stamp=741272711 filename=/u02/poor/oradata/vir2_01.dbf datafile 10 switched to datafile copy input datafile copy recid=9 stamp=741272711 filename=/u02/poor/oradata/lak_tbs2_01.dbf datafile 11 switched to datafile copy input datafile copy recid=10 stamp=741272711 filename=/u02/poor/oradata/vir_user01.dbf datafile 12 switched to datafile copy input datafile copy recid=11 stamp=741272711 filename=/u02/poor/oradata/vir_bigf01.dbf datafile 17 switched to datafile copy input datafile copy recid=12 stamp=741272711 filename=/u02/poor/oradata/hrscott.dbf contents of Memory Script: { set until scn 22563972; recover clone database delete archivelog ; } executing Memory Script executing command: SET until clause Starting recover at 23-JAN-11 allocated channel: ORA_AUX_DISK_1 channel ORA_AUX_DISK_1: sid=158 devtype=DISK starting media recovery archive log thread 1 sequence 23 is already on disk as file /u02/archive/1_23_741021347.dbf archive log thread 1 sequence 24 is already on disk as file /u02/archive/1_24_741021347.dbf archive log thread 1 sequence 25 is already on disk as file /u02/archive/1_25_741021347.dbf archive log thread 1 sequence 26 is already on disk as file /u02/archive/1_26_741021347.dbf archive log thread 1 sequence 27 is already on disk as file /u02/archive/1_27_741021347.dbf archive log thread 1 sequence 28 is already on disk as file /u02/archive/1_28_741021347.dbf archive log thread 1 sequence 29 is already on disk as file /u02/archive/1_29_741021347.dbf archive log thread 1 sequence 30 is already on disk as file /u02/archive/1_30_741021347.dbf archive log thread 1 sequence 31 is already on disk as file /u02/archive/1_31_741021347.dbf archive log thread 1 sequence 32 is already on disk as file /u02/archive/1_32_741021347.dbf archive log thread 1 sequence 33 is already on disk as file /u02/archive/1_33_741021347.dbf archive log thread 1 sequence 34 is already on disk as file /u02/archive/1_34_741021347.dbf archive log thread 1 sequence 35 is already on disk as file /u02/archive/1_35_741021347.dbf archive log thread 1 sequence 36 is already on disk as file /u02/archive/1_36_741021347.dbf archive log thread 1 sequence 37 is already on disk as file /u02/archive/1_37_741021347.dbf archive log thread 1 sequence 38 is already on disk as file /u02/archive/1_38_741021347.dbf archive log filename=/u02/archive/1_23_741021347.dbf thread=1 sequence=23 archive log filename=/u02/archive/1_24_741021347.dbf thread=1 sequence=24 archive log filename=/u02/archive/1_25_741021347.dbf thread=1 sequence=25 archive log filename=/u02/archive/1_26_741021347.dbf thread=1 sequence=26 archive log filename=/u02/archive/1_27_741021347.dbf thread=1 sequence=27 archive log filename=/u02/archive/1_28_741021347.dbf thread=1 sequence=28 archive log filename=/u02/archive/1_29_741021347.dbf thread=1 sequence=29 archive log filename=/u02/archive/1_30_741021347.dbf thread=1 sequence=30 archive log filename=/u02/archive/1_31_741021347.dbf thread=1 sequence=31 archive log filename=/u02/archive/1_32_741021347.dbf thread=1 sequence=32 archive log filename=/u02/archive/1_33_741021347.dbf thread=1 sequence=33 archive log filename=/u02/archive/1_34_741021347.dbf thread=1 sequence=34 archive log filename=/u02/archive/1_35_741021347.dbf thread=1 sequence=35 archive log filename=/u02/archive/1_36_741021347.dbf thread=1 sequence=36 archive log filename=/u02/archive/1_37_741021347.dbf thread=1 sequence=37 archive log filename=/u02/archive/1_38_741021347.dbf thread=1 sequence=38 media recovery complete, elapsed time: 00:00:04 Finished recover at 23-JAN-11 contents of Memory Script: { shutdown clone; startup clone nomount ; } executing Memory Script database dismounted Oracle instance shut down connected to auxiliary database (not started) Oracle instance started Total System Global Area 524288000 bytes Fixed Size 1220384 bytes Variable Size 134217952 bytes Database Buffers 385875968 bytes Redo Buffers 2973696 bytes sql statement: CREATE CONTROLFILE REUSE SET DATABASE "POOR" RESETLOGS ARCHIVELOG MAXLOGFILES 16 MAXLOGMEMBERS 3 MAXDATAFILES 100 MAXINSTANCES 8 MAXLOGHISTORY 292 LOGFILE GROUP 1 ( '/u02/poor/oradata/redo1a.log' ) SIZE 50 M REUSE, GROUP 2 ( '/u02/poor/oradata/redo2a.log', '/u02/poor/oradata/redo2b.log' ) SIZE 50 M REUSE, GROUP 3 ( '/u02/poor/oradata/redo3a.log', '/u02/poor/oradata/redo1b.log', '/u02/poor/oradata/redo3b.log' ) SIZE 50 M REUSE DATAFILE '/u02/poor/oradata/system01.dbf' CHARACTER SET WE8ISO8859P1 contents of Memory Script: { set newname for tempfile 1 to "/u02/poor/oradata/temp.dbf"; switch clone tempfile all; catalog clone datafilecopy "/u02/poor/oradata/undotbs01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/sysaux01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/users01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/example01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/poorna.dbf"; catalog clone datafilecopy "/u02/poor/oradata/bigtbs_01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/lak_tbs01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/vir2_01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/lak_tbs2_01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/vir_user01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/vir_bigf01.dbf"; catalog clone datafilecopy "/u02/poor/oradata/hrscott.dbf"; switch clone datafile all; } executing Memory Script executing command: SET NEWNAME renamed temporary file 1 to /u02/poor/oradata/temp.dbf in control file cataloged datafile copy datafile copy filename=/u02/poor/oradata/undotbs01.dbf recid=1 stamp=741272727 cataloged datafile copy datafile copy filename=/u02/poor/oradata/sysaux01.dbf recid=2 stamp=741272727 cataloged datafile copy datafile copy filename=/u02/poor/oradata/users01.dbf recid=3 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/example01.dbf recid=4 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/poorna.dbf recid=5 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/bigtbs_01.dbf recid=6 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/lak_tbs01.dbf recid=7 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/vir2_01.dbf recid=8 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/lak_tbs2_01.dbf recid=9 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/vir_user01.dbf recid=10 stamp=741272728 cataloged datafile copy datafile copy filename=/u02/poor/oradata/vir_bigf01.dbf recid=11 stamp=741272729 cataloged datafile copy datafile copy filename=/u02/poor/oradata/hrscott.dbf recid=12 stamp=741272729 datafile 2 switched to datafile copy input datafile copy recid=1 stamp=741272727 filename=/u02/poor/oradata/undotbs01.dbf datafile 3 switched to datafile copy input datafile copy recid=2 stamp=741272727 filename=/u02/poor/oradata/sysaux01.dbf datafile 4 switched to datafile copy input datafile copy recid=3 stamp=741272728 filename=/u02/poor/oradata/users01.dbf datafile 5 switched to datafile copy input datafile copy recid=4 stamp=741272728 filename=/u02/poor/oradata/example01.dbf datafile 6 switched to datafile copy input datafile copy recid=5 stamp=741272728 filename=/u02/poor/oradata/poorna.dbf datafile 7 switched to datafile copy input datafile copy recid=6 stamp=741272728 filename=/u02/poor/oradata/bigtbs_01.dbf datafile 8 switched to datafile copy input datafile copy recid=7 stamp=741272728 filename=/u02/poor/oradata/lak_tbs01.dbf datafile 9 switched to datafile copy input datafile copy recid=8 stamp=741272728 filename=/u02/poor/oradata/vir2_01.dbf datafile 10 switched to datafile copy input datafile copy recid=9 stamp=741272728 filename=/u02/poor/oradata/lak_tbs2_01.dbf datafile 11 switched to datafile copy input datafile copy recid=10 stamp=741272728 filename=/u02/poor/oradata/vir_user01.dbf datafile 12 switched to datafile copy input datafile copy recid=11 stamp=741272729 filename=/u02/poor/oradata/vir_bigf01.dbf datafile 17 switched to datafile copy input datafile copy recid=12 stamp=741272729 filename=/u02/poor/oradata/hrscott.dbf contents of Memory Script: { Alter clone database open resetlogs; } executing Memory Script *Segmentation fault*
Thank you and best regards,
Kahina Prasad.S
Published by: SIDDABATHUNI on January 24, 2011 13:28After there alert.log of the AUXILIARY instance
-
RMAN cloning using the recovery catalog
Hi all
I do RMAN cloning using the recovery catalog.
I use oracle 10R2 on solaris, I have a PRIMARY primary database name. I create another database for the catalog name of recovery REC_DB. and the master database with REC_DB record and took the full backup. now I have a full backup of the PRIMARY database in the recovery catalog.
Now I want to clone the MAIN database using this backup (backup of the catalog).
I've done this before, without using the catalogue,
I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.
RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.
here target means what? primary or catalog database. kindly help me on this.
Kind regards
Kumar>
>
I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.
RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.
here target means what? primary or catalog database. kindly help me on this.
Looks like it is exactly what you were asking.
You need to connect to the TARGET, CATALOG & AUXILIARY of the rman prompt instance.
You then run your script/command clone, which you claim you already know how to do. -
Duplicate RMAN cloning using the database using the current database
Hi all
I am new bie, I want to clone my target database using the rman command 'DUPLICATE database OF ACTIVE DATABASE"new host.
steps on google, I searched, but I got confused, I doubt if you need to install oracle rdbms softare on new host or not? and also should I copy all files (redo, control, datafiles) to the new host? kind LY help and tell me the steps to clone the database using rman.your help will be appreciated.
Thank you.
Kind regards.
OS: RHEL 5.4
DB: 11.2.0.3
Hello
Have you not through document link to Gavin at least. It's very simple steps. If you wait until other measures, then won't them.
He had provided the demonstration, at least get in 'google' (you'll have so many links)
The Oracle Dba Italian Blogger: how to clone an Oracle 11 g 2 home
http://balaoracledba.com/2013/12/16/cloning-an-existing-Oracle11g-release-2-RDBMS-installation/
Note: If you feel always complex, better skip the task itself.
-Thank you
Pavan Kumar N
-
RMAN cloning of the CARS to the Non-RAC
Hi gurus,
I had cloned successfully my DB of RAC to Non-RAC via the RMAN. Below is the configuration
RAC
-2 nodes
-GR 11, 2 (Compatible 11.0.1.6 according to the needs of the Application)
-ASM (2 starts DATA and FRA)
-OS RHEL 6.3
Non - RAC
-node 1
-Stand alone11gR2 (Compatible 11.0.1.6 according to the needs of the Application)
-ASM (2 starts DATA and FRA)
-OS RHEL 6.3
My approach was to clone DB and then change SID with utility nest. My understanding is that utility nest will also replace file ASM paths of CRAMPRD to CRAMSIT, but that has not happened.
So question is when I'm checking my paths on CRAMSIT he still refelect CRAMPRD eg - + DATA1/CRAMPRD. Is it possible to rename this directory in ASM railways so that it should reflect my SID.
Kind regards
Nikhil Mehta.
No, NEST would change the paths of the DSO.
I assume that you have set the ORACLE_SID CRAMSIT on the server not CARS before the restoration.
What you should have done is to put DB_UNIQUE_NAME = "CRAMSIT" (even with DB_NAME = "CRAMPRD") on the server not CARS before the restoration. Oracle would have used the DB_UNIQUE_NAME to set the path of the ASM (note that when restoring, it would have shown ' restoration to + DATA1/CRAMPRD "but would have been catering to '+ DATA1/CRAMSIT').
You can now use Oracle Support Note
How to rename/move a data file in the same [564993.1 ID] ASM diskgroup
to rename the paths to the DSO.
Hemant K Collette
-
Using the question of RMAN cloning
DB version: 10 gr 2
Operating system: Solaris
We are thinking of cloning a database taking his full backup can
We run all these scripts (orders full backup and duplicate) for the night. After the auxiliary DB is in editing mode, there will be new archived logs generated in primary DB, which is the DB auxiliary not aware of. . Even if the archive logs are part of the using PLUS ARCHIVELOG backup script, we are talking about the archive logs generated after the auxiliary DB is mounted.rman target / auxillary sys/mypass@auxdb --- Done at Primary DB rman> duplicate target database to "smdprod" NOFILENAMECHECK; --- Done at Primary DB
Question1. How to apply these new archive logs in the auxiliary DB?
Question2. On which mode the auxiliary DB must be when we apply archive logs. Editing or open mode?N.Page wrote:
DB version: 10 gr 2
Operating system: Solaris
We are thinking of cloning a database taking his full backup canrman target / auxillary sys/mypass@auxdb --- Done at Primary DB rman> duplicate target database to "smdprod" NOFILENAMECHECK; --- Done at Primary DB
We run all these scripts (orders full backup and duplicate) for the night. After the auxiliary DB is in editing mode, there will be new archived logs generated in primary DB, which is the DB auxiliary not aware of. . Even if the archive logs are part of the using PLUS ARCHIVELOG backup script, we are talking about the archive logs generated after the auxiliary DB is mounted.
Question1. How to apply these new archive logs in the auxiliary DB?
Question2. On which mode the auxiliary DB must be when we apply archive logs. Editing or open mode?
To do this, create a standby database, complete his creation and apply to all the restoring archived log files that were generated during the creation on hold and perform a failover
Check my video tutorial on the creation of standby and Clone database with RMAN
http://kamranagayev.WordPress.com/2010/06/25/RMAN-video-tutorial-series-creating-duplicate-and-standby-database-using-RMAN/ -
Cannot read file backupset with RMAN cloning
Hello
I'm performing cloning on windows for windows operation. On the target, I took via rman backup using the recovery catalog. I got fresh backup of database as well as any archivelogs and delete the obsolete using the rman recovery catalog repository.
When I connect to target, Recovery catalog and the auxiliary instance after that running some RMAN commands gives the error that it is impossible to read file backupset. What could be the reason for this. I write the list error part of RMAN please see and tell me what could be the reasons I took fresh backups and it seems that it is impossible to read this particular backup.
channel ORA_AUX_DISK_1: reading from the backup C:\ORACLEBASE\PRODUCT\10.2.0\F piece
LASH_RECOVERY_AREA\ORCL\BACKUPSET\2010_09_27\O1_MF_NNNDF_TAG20100927T125050_6B0M
6YLD_. BKP
ORA-19870: error reading backup total C:\ORACLEBASE\PRODUCT\10.2.0\FLASH_RECOVER
Y_AREA\ORCL\BACKUPSET\2010_09_27\O1_MF_NNNDF_TAG20100927T125050_6B0M6YLD_. BKP
ORA-19505: impossible to identify the file 'C:\ORACLEBASE\PRODUCT\10.2.0\FLASH_RECOVERY_ '.
AREA\ORCL\BACKUPSET\2010_09_27\O1_MF_NNNDF_TAG20100927T125050_6B0M6YLD_. BKP ".
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 3) the system cannot find the path specified
switch to the previous backup
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 2010-09-27 13:17:22
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06023: no backup or copy of datafile 6 to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of the file 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
RMAN >
Please help me in this matter.
Kind regards
AbgrallIf your RMAN backup exists on the target server path.
Target server: C:\Oracle\RMAN_BACKUP\
Put on the same location on the auxiliary server.
Auxiliary server: C:\Oracle\RMAN_BACKUP\
When cloning also connect with your catalog of recovery that you use the catalog of recovery for the server target.
Concerning
Asif KabirPublished by: asifkabirdba on 27 Sep, 2010 14:51
-
RMAN cloning daily of the CARS to the NON-RAC
Hi all
How can I get a daily updating of Production - database of node 2 CARS to a single instance database. Ideally, I would use as RMAN backup to restore the database rather than duplicate using the current database.
Please can someone help me with the steps to achieve this?
Thank you very much
Details:
Database production 11.2.0.4 (node 2) RAC on ODA (Oracle Database Appliance) Oracle Linux 5.9
Backup RMAN in place on PROD - full backup weekly and daily incremental
I don't think that we have different steps to duplicate cars cars not
create pfile to auxiliary instance
Start the database in condition nomount
Have db_file_name_convert and log_file_name_convert
Run the command duplicate
RMAN target sys /
@TARGET auxiliary sys / @AUX DEBUG trace = rman.trc Also take a look at
https://blogs.Oracle.com/HA-architecture/entry/clone_rac_database_to_non
-
Hi all
Can someone give me the steps for the creation of a database of duplicate using a full backup of a database in the same server or a different server.
Oracle version: Oracle 11 g 2
OS: Windows
I need to create a database B in the same server with the RMAN of a database backup. Please help me with the steps to do so. I tried and it was not successful.
Thanks in advance.
Hello
MAN, you can duplicate your existing database to another database in the same host on Windows
Best regards
-
RMAN cloning to another server
using 10 gr 1 on windows xp
I have two dbs
prod db and db test
backup database more archivelog prod DB
create pfile from spfile
remote access connection password file = exclusive lock
copied file password
copy all these files to test site
created the directory for the data control, redo, fra, cdump, bdump, udump
changed all sites on pfile
oradim to create an instance
Restore controlfile from "'
This has created 3 control files in the location specified by the modified pfile file that was mentioned during the startup nomount (startup nomount pfile = ")
change the editing of the database;
catalog all backup items
* rman > run {*}
the value of newname for datafile 1 to "
*}*
I did it for all data files
in editing mode, I have changed the location of the redo log by using alter database files rename file 'oldpath' to the 'new path ';
I also used db_file_name_convert since
RMAN > outline report;
shows more former locations of the data files
:
:
RMAN > restore database;
gives me
RMAN > restore database;
From restoration to August 2, 12
using controlfile target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 160 devtype = DISK
channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
restoring datafile 00001 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\SYSTEM01. DBF
restoring datafile 00002 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\UNDOTBS01. DBF
restoring datafile 00003 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\SYSAUX01. DBF
restoring datafile 00004 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\USERS01. DBF
restoring datafile 00005 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\EXAMPLE01. DBF
restoring datafile 00006 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\LIBRARY. DBF
restoring datafile 00007 to E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\LIBRARY2. DBF
ORA-19624: operation failed, try again possible
ORA-19504: cannot create the file 'E:\ORACLE\PRODUCT\10.1.0\ORADATA\LIBRARY\LIBRARY2. DBF. "
ORA-27040: create file error, cannot create the file
04002 - OSD: could not open the file
S/O-error: (OS 3) the system cannot find the path specified.
switch to the previous backup
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command to 08-02-2012 09:25:46
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06023: no backup or copy of datafile 6 to restore
RMAN-06023: no backup or copy of datafile 5 found to restore
RMAN-06023: no backup or copy of the file 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
:
:
Help, please
where I'm going wrong
Thanks in advance
Edited by: 946207 August 2, 2012 11:34DB_FILE_NAME_CONVERT is used RMAN DUPLICATE and pending database.
You must use the VALUE of NEWNAME if you do a RESTORE RMAN.
Hemant K Collette
-
request for assistance with rman cloning script
Hello
Oracle 10.2.0.4, Win 2008
I take a full backup using rman using the script below.
Run {}
allocate channel d1 type disk;
backup filesperset 5
format 'R:\backup\df_t%t_s%s_p%p '.
database;
SQL 'alter system archive log current';
backup format 'R:\backup\al_t%t_s%s_p%p' (archivelog all delete input);
cross-checking of backup;
remove obsolete;
output channel d1;
}
Inorder to clone the database live everyday on machine clone, I copy the backup files of auxiliary machine to the same directory as the script traore Live.
My question is:
How to restore the database from the beginning through script. I mean
They invite cmd, set ORACLE_SID and ORACLE_HOME
Start the database in nomount
How to automatically include the number of scn in the restore script.
Please guide me.
Thank youIn machine clone do you have the same directory Live machine.
If the directory structure is different for the data files and log files and then in file pfile
you keep
DB_FILE_NAME_CONVERT = "string1", "string2".
log_file_name_convert = "string1", "string2".
When channel 1 is the direct model of machine datafile, channel 2 is the clone machine model
startup nomount machine clone(1) rman target
catalog auxiliary.
race 2)
{
allocate auxiliary channels ch1 typeor
allocate channel ch2 typeor
until the SNA <> or climbs up to the hour<>
duplicate target database standby
}Published by: renee_mathieu on July 19, 2012 07:51
Published by: renee_mathieu on July 19, 2012 07:51
-
Hi gurus,
I'm trying to clone the database on the same server in oracle 11 g 2 on oel 5.5.
When I ran
RMAN > duplicate target database to 'clone ';
It runs, but after that the execution cursor blinks like that alone. the script does not end.
This is the alert log database clone.
Commissioning:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the options of partitioning, OLAP, Data Mining and Real Application Testing.
Using parameters in Server pfile /u01/app/oracle/product/11.2.0/db_1/dbs/initclone.ora-side
Parameters of the system with default values:
process = 150
memory_target = 256 M
control_files = "/ u01/app/oracle/clone/control01.ctl".
control_files = "/ u01/app/oracle/flash_recovery_area/clone/control02.ctl".
db_file_name_convert = ' / u01/app/oracle/orcl.
db_file_name_convert = ' / u01/app/oracle/clone.
log_file_name_convert = ' / u01/app/oracle/orcl.
log_file_name_convert = ' / u01/app/oracle/clone.
DB_BLOCK_SIZE = 8192
compatible = "11.2.0.0.0."
log_archive_format = '% t_%s_%r.dbf '.
db_recovery_file_dest = ' / u01/app/oracle/flash_recovery_area.
db_recovery_file_dest_size = 3852M
undo_tablespace = 'UNDOTBS1.
Remote_login_passwordfile = "EXCLUSIVE."
db_domain = «»
dispatchers = "(PROTOCOL=TCP) (SERVICE = cloneXDB)" "
audit_file_dest = ' / u01/app/oracle/admin/clone/adump.
AUDIT_TRAIL = 'DB '.
db_name = 'clone '.
open_cursors = 300
diagnostic_dest = ' / u01/app/oracle '.
Wed Dec 07 04:21:43 2011
PMON started with pid = 2, OS id = 6533
Wed Dec 07 04:21:43 2011
VKTM started with pid = 3, OS id = 6535 high priority
VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms
Wed Dec 07 04:21:43 2011
GEN0 started with pid = 4, OS id = 6539
Wed Dec 07 04:21:43 2011
DIAG started with pid = 5, OS id = 6541
Wed Dec 07 04:21:43 2011
DBRM started with pid = 6, OS id = 6543
Wed Dec 07 04:21:43 2011
PSP0 started with pid = 7, OS id = 6545
Wed Dec 07 04:21:43 2011
DIA0 started with pid = 8, OS id = 6547
Wed Dec 07 04:21:43 2011
MA started with pid = 9, OS id = 6549
Wed Dec 07 04:21:43 2011
DBW0 started with pid = 10, OS id = 6551
Wed Dec 07 04:21:44 2011
LGWR started with pid = 11, OS id = 6553
Wed Dec 07 04:21:44 2011
CKPT started with pid = 12, OS id = 6555
Wed Dec 07 04:21:44 2011
SMON started with pid = 13, OS id = 6557
Wed Dec 07 04:21:44 2011
RECCE has started with pid = 14, OS id = 6559
Wed Dec 07 04:21:44 2011
MMON started with pid = 15, OS id = 6561
Wed Dec 07 04:21:44 2011
MMNL started with pid = 16, OS id = 6563
commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...
commissioning or shared server 1...
Environment ORACLE_BASE = / u01/app/oracle
Wed Dec 07 04:23:50 2011
Closure of proceedings (immediate)
Closure of proceedings: in addition to logons disabled
Stop background MMNL process
MMON background process stop
The high waters = 4 license
All dispatchers/dispatchers and shared servers stop
Wed Dec 07 04:28:54 2011
STOP: Active processes prevent the functioning of the stop
Can you please help me solve this problem...
Thank you very much...!899329 wrote:
Thank you gurus, when I increased the large pool, she did it.Thank you very much
Cool!!! Please close the thread as answered. :)
-
RMAN-05556: not all data files have backups can be picked up at SNA
Dear all,
By RMAN cloning in 11.2.0.3 database with ebs 11i.
We get below error.
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 03/07/2015 15:36:20
RMAN-05501: abandonment of duplicate target database
RMAN-05556: not all data files have backups can be recovered on SNA 15901715
991
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06100: no channel to restore a backup or a copy of the data file 94
RMAN-06100: no channel to restore a backup or a copy of the data file 93
RMAN-06100: no channel to restore a backup or a copy of the data file 92
RMAN-06100: no channel to restore a backup or a copy of the data file 91
RMAN-06100: no channel to restore a backup or a copy of the data file 90
RMAN-06100: no channel to restore a backup or a copy of the data file 89
RMAN-06100: no channel to restore a backup or a copy of the data file 88
RMAN-06100: no channel to restore a backup or a copy of the data file 87
RMAN-06100: no channel to restore a backup or a copy of the data file 86
RMAN-06100: no channel to restore a backup or a copy of the data file 85
RMAN-06100: no channel to restore a backup or a copy of the data file 84
RMAN-06100: no channel to restore a backup or a copy of the data file 83
RMAN-06100: no channel to restore a backup or a copy of the data file 82
RMAN-06100: no channel to restore a backup or a copy of the data file 81
RMAN-06100: no channel to restore a backup or a copy of the data file 80
RMAN-06100: no channel to restore a backup or a copy of the data file 79
RMAN-06100: no channel to restore a backup or a copy of the data file 78
RMAN-06100: no channel to restore a backup or a copy of the data file 77
RMAN-06100: no channel to restore a backup or a copy of the data file 76
RMAN-06100: no channel to restore a backup or a copy of the data file 75
RMAN-06100: no channel to restore a backup or a copy of the data file 74
RMAN-06100: no channel to restore a backup or a copy of the data file 73
RMAN-06100: no channel to restore a backup or a copy of the data file 72
RMAN-06100: no channel to restore a backup or a copy of the data file 71
RMAN-06100: no channel to restore a backup or a copy of the data file 70
RMAN-06100: no channel to restore a backup or a copy of the data file 69
RMAN-06100: no channel to restore a backup or a copy of the data file 68
RMAN-06100: no channel to restore a backup or a copy of the data file 67
RMAN-06100: no channel to restore a backup or a copy of the data file 66
RMAN-06100: no channel to restore a backup or a copy of the data file 65
RMAN-06100: no channel to restore a backup or a copy of the data file 64
RMAN-06100: no channel to restore a backup or a copy of the data file 63
RMAN-06100: no channel to restore a backup or a copy of the data file 62
RMAN-06100: no channel to restore a backup or a copy of the data file 61
RMAN-06100: no channel to restore a backup or a copy of the data file 60
RMAN-06100: no channel to restore a backup or a copy of the data file 59
RMAN-06100: no channel to restore a backup or a copy of the data file 58
RMAN-06100: no channel to restore a backup or a copy of the data file 57
RMAN-06100: no channel to restore a backup or a copy of the data file 56
RMAN-06100: no channel to restore a backup or a copy of the data file 55
RMAN-06100: no channel to restore a backup or a copy of the data file 54
RMAN-06100: no channel to restore a backup or a copy of the data file 53
RMAN-06100: no channel to restore a backup or a copy of the data file 52
RMAN-06100: no channel to restore a backup or a copy of the data file 51
RMAN-06100: no channel to restore a backup or a copy of the data file 50
RMAN-06100: no channel to restore a backup or a copy of the data file 49
RMAN-06100: no channel to restore a backup or a copy of the data file 48
RMAN-06100: no channel to restore a backup or a copy of the data file 47
RMAN-06100: no channel to restore a backup or a copy of the data file 46
RMAN-06100: no channel to restore a backup or a copy of the data file 45
RMAN-06100: no channel to restore a backup or a copy of the data file 44
RMAN-06100: no channel to restore a backup or a copy of the data file 43
RMAN-06100: no channel to restore a backup or a copy of the data file 42
RMAN-06100: no channel to restore a backup or a copy of the data file 41
RMAN-06100: no channel to restore a backup or a copy of the data file 40
RMAN-06100: no channel to restore a backup or a copy of the data file 39
RMAN-06100: no channel to restore a backup or a copy of the data file 38
RMAN-06100: no channel to restore a backup or a copy of the data file 37
RMAN-06100: no channel to restore a backup or a copy of the data file 36
RMAN-06100: no channel to restore a backup or a copy of the data file 35
RMAN-06100: no channel to restore a backup or a copy of the data file 34
RMAN-06100: no channel to restore a backup or a copy of the data file 33
RMAN-06100: no channel to restore a backup or a copy of the data file 32
RMAN-06100: no channel to restore a backup or a copy of the data file 31
RMAN-06100: no channel to restore a backup or a copy of the data file 30
RMAN-06100: no channel to restore a backup or a copy of the data file 29
RMAN-06100: no channel to restore a backup or a copy of the data file 28
RMAN-06100: no channel to restore a backup or a copy of the data file 27
RMAN-06100: no channel to restore a backup or a copy of the data file 26
RMAN-06100: no channel to restore a backup or a copy of the data file 25
RMAN-06100: no channel to restore a backup or a copy of the data file 24
RMAN-06100: no channel to restore a backup or a copy of the data file 23
RMAN-06100: no channel to restore a backup or a copy of the data file 22
RMAN-06100: no channel to restore a backup or a copy of the data file 21
RMAN-06100: no channel to restore a backup or a copy of the data file 20
RMAN-06100: no channel to restore a backup or a copy of the data file 19
RMAN-06100: no channel to restore a backup or a copy of the data file 18
RMAN-06100: no channel to restore a backup or a copy of the data file 17
RMAN-06100: no channel to restore a backup or a copy of the data file 16
RMAN-06100: no channel to restore a backup or a copy of the data file 15
RMAN-06100: no channel to restore a backup or a copy of the data file 14
RMAN-06100: no channel to restore a backup or a copy of the data file 13
RMAN-06100: no channel to restore a backup or a copy of the data file 12
RMAN-06100: no channel to restore a backup or a copy of the data file 11
RMAN-06100: no channel to restore a backup or a copy of the data file 10
RMAN-06100: no channel to restore a backup or a copy of the data file 9
RMAN-06100: no channel to restore a backup or a copy of the data file 8
RMAN-06100: no channel to restore a backup or a copy of the data file 7
RMAN-06100: no channel to restore a backup or a copy of the data file 6
RMAN-06100: no channel to restore a backup or a copy of the data file 5
RMAN-06100: no channel to restore a backup or a copy of the data file 4
RMAN-06100: no channel to restore a backup or a copy of the data file 3
RMAN-06100: no channel to restore a backup or a copy of the data file 2
RMAN-06100: no channel to restore a backup or a copy of the data file 1
Concerning
Villi Kumar
Dear all,
Solution:
Location of the data file is not correct that we are mentioned in the file (init.ora) settings.
Change the location of data file settings.
Test the issue again.
Concerning
Villi Kumar
-
I have,
When I'm doing Rman cloning I get the following error.
Please help me.
D:\ > rman catalog rman/rman target sys@oracle
Recovery Manager: Release 10.2.0.1.0 - Production on Friday, may 8, 18:51:23 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
target password database:
connected to target database: ORACLE (DBID = 1559396880)
connected to the recovery catalog database
RMAN > conn auxiliary sys@rclon
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'identifier': expected an a: "assign, edit, save, beginline, blockrecover, catalog, change, connect,
RMAN-01008: the bad ID was: conn
RMAN-01007: line 1 column 1 file: entry standard
RMAN > Connect auxiliary sys@rclon
database Assistant password:
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-04006: auxiliary database error: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Concerning
Poorna PrasadMay I know how you solve your problem.
UR = is used when the listener function does not block connections to the instance. It can occur in various cases, as if the database is not mounted. And there are many other reasons for this.
Note: You should give points according to the help that you got the answers
Concerning
-
copy data from one comprehensive database to another in the same windows server
Hi all
We intend to migrate or copy the complete data of a database which is in 11.2.0.1.0 enterprise edition for 11.2.0.1.0 in the standard edition.
Two oracle homes are even windows Server.
According to my knowledge, we can do this:
1. create a database in 11.2.0.1.0 in standard edition and migrate by datapump
2 tablespaces transportable datapump option.
3 Rman cloning.
Is it possible to lower the db in 11.2.0.1.0 enterprise edition in a uniform State... copy the file pfile, backup of the controlfile, data files and paste in 11.2.0.1.0 in the standard edition home... After you re-create the control file and db startup?
You cannot clone a database of EE in a self a.
The only option you have is option 1.
Refer to support note 465189.1 if you want more details
Maybe you are looking for
-
How can I restore my system to factory settings, after replacing the hard drive?
Original title: I have a hard nine; how I can start or put in the back of the recovery disc to my old sistem all gane I need help to start the recovery disc, in all new hard drive, in order to restore my system whole back
-
My printer is noise. OfficePro 8600 more.
Windows 7 starter edition. noise print. Newly installed printer.
-
If I enable all SNMP traps instead of activate certain specific traps. Will there be an effect on the performance of the device or the network performance? What is recommended, either we have to activate all or specific traps SNMP traps? Kind regards
-
Hello world I'm looking to deploy 2 5508 WLC-s and I intend to get a 4404 for N + 1 redundancy. Now there are the problems of deployment of this type of topology, i.e. all of the AP - s will return to 4404 if 5508 time? TNX.
-
HelloI uploaded the image 40904954 and it has been deducted from my 10 available images that now reads 9. I tried to download it again from my history of license but that doesn't work either. I tried twice.Please, either fix the problem with the imag