Restoring 9i Rman backup in 10g
Hi,
Is it possible to clone a 10g database with the Rman backup of 9i database ? if yes what will be the steps for that ?
Hi;
Please see:
RMAN Compatibility Matrix [ID 73431.1]
Answers To FAQ For Restoring Or Duplicating Between Different Versions And Platforms [ID 369644.1]
Regard
Helios
Similar Messages
-
Restoring a RMAN backup to a new database instance
Hi Mates,
I have an issue with restoring a RMAN backup that i have with me to a new database instance. What i have with me are:
1. Backup of SPFile. (O1_MF_NCNNF_CTLFILE_BU_92DVGYO2_.BKP)
2. Backup of Control file (O1_MF_NNSNF_SPFILE_BU_92DVGW9H_.BKP)
3. Full database backup (O1_MF_NNSNF_FULLPROD_BU_92DVGW9H_.BKP)
I have received these files from a customer environment and I need to restore these to a new database instance in a local machine. I have given a attempt as follows (in Oracle 10g):
1, Created a new database instance (Test75) using Oracle Database Configuration Assistant
2. SET ORACLE_SID = Test75
3. Connected to this instance using RMAN
4. Tried to restore the SPFILE from the received BKP file.
I am getting errors and cannot proceed. I am not sure whether I am executing the correct steps. Please help me out by telling me how should I achieve this.
Thank you.1. Backup of SPFile. (O1_MF_NCNNF_CTLFILE_BU_92DVGYO2_.BKP)
2. Backup of Control file (O1_MF_NNSNF_SPFILE_BU_92DVGW9H_.BKP)
The first backuppiece looks like a ControlFile and the second one looks like an SPFILE'
>I am getting errors and cannot proceed
What is the error ? (I assume that you tried to restore the SPFILE from O1_MF_NNSNF_SPFILE_BU_92DVGW9H_.BKP
Note that you also have to SET DBID before you restore the controlfile
Hemant K Chitale -
Can we restore oracle 11g RMAN backups to 10g server
Hi,
I have RMAN backups (full backup)of oracle 11g database. My server was suddenly crashed due to hardware failure.
We have another Oracle 10g server. Is it possible to restore RMAN backups of 11g database to Oracle 10g server???
ThanksI don't have 11g server ready with me. The other server running oracle 10g and I dont have rights to install oracle 11g on the 10g server. So I can not test the RESTORE/RECOVER commands.
If anyone had experience in the past, please let me know whether we can RESTORE RMAN backups of 11g database to oracle 10g server...
Thanks -
Hi all,
i got a scenerion where i need to check whether rman back is valid or not.
i have y server where production db resides and storage team kept the 7 days old rman backup in the same production server and my resposibility is to reatore the rman backup with new database name in the same server and to query the new db to cross verify that rman backup is valid or not.
oracle version : 9.2.0.4.0
os : windows
appreciated the inputs.
Thanks
PrakashCan you solve your problem?
Now I explain this for you.Consider we have database which name is "w".We want craete new database (w1) using backup of w in same machine.Also backup of database have located in D:\oracle\product\10.2.0\flash_recovery_area\W.
First we have to create service and some directories for new W1,aslo restore spfile and controlfile as
C:\Documents and Settings\chinar>set ORACLE_SID=W1
C:\Documents and Settings\chinar>rman target sys/sm
Recovery Manager: Release 10.2.0.2.0 - Production on Fri May 14 11:00:51 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-12560: TNS:protocol adapter error
C:\Documents and Settings\chinar>oradim -new -sid W1 -intpwd sm
Instance created.
C:\Documents and Settings\chinar>rman target sys/sm
Recovery Manager: Release 10.2.0.2.0 - Production on Fri May 14 11:01:21 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database (not started)
RMAN> startup nomount;
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file 'D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE
\INITW1.ORA'
starting Oracle instance without parameter file for retrival of spfile
Oracle instance started
Total System Global Area 159383552 bytes
Fixed Size 1288292 bytes
Variable Size 58722204 bytes
Database Buffers 92274688 bytes
Redo Buffers 7098368 bytes
RMAN> restore spfile to pfile 'D:\oracle\product\10.2.0\admin\W1\pfile\initw1.or
a' from 'D:\oracle\product\10.2.0\flash_recovery_area\W\AUTOBACKUP\2010_05_14\O1
_MF_S_718973315_5YSS1O7W_.BKP';
Starting restore at 14-MAY-10
using channel ORA_DISK_1
channel ORA_DISK_1: autobackup found: D:\oracle\product\10.2.0\flash_recovery_ar
ea\W\AUTOBACKUP\2010_05_14\O1_MF_S_718973315_5YSS1O7W_.BKP
channel ORA_DISK_1: SPFILE restore from autobackup complete
Finished restore at 14-MAY-10
RMAN>
RMAN> restore controlfile to 'D:\oracle\product\10.2.0\oradata\W1\control01.ctl'
from 'D:\oracle\product\10.2.0\flash_recovery_area\W\AUTOBACKUP\2010_05_14\O1_M
F_S_718973315_5YSS1O7W_.BKP';
Starting restore at 14-MAY-10
using channel ORA_DISK_1
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
Finished restore at 14-MAY-10
RMAN>
then change initw1. pfile accourding to W!(all w change to W1) and create additional two copy of controlfile from
D:\oracle\product\10.2.0\oradata\W1\CONTROL01.CTL. then
C:\Documents and Settings\chinar>rman target sys/sm
Recovery Manager: Release 10.2.0.2.0 - Production on Fri May 14 11:14:34 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: DUMMY (not mounted)
RMAN> shutdoen immediate;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter
, backup, beginline, blockrecover, catalog, change, connect, copy, convert, crea
te, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flas
hback, host, {, library, list, mount, open, print, quit, recover, register, rele
ase, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, s
et, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport
, upgrade, unregister, validate"
RMAN-01008: the bad identifier was: shutdoen
RMAN-01007: at line 1 column 1 file: standard input
RMAN> shutdown immediate;
using target database control file instead of recovery catalog
Oracle instance shut down
RMAN> startup mount pfile='D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA';
connected to target database (not started)
Oracle instance started
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 05/14/2010 11:15:28
ORA-01103: database name 'W' in control file is not 'W1' -- return still db_name to w and restart
RMAN> shutdown immediate;
Oracle instance shut down
RMAN> startup mount pfile='D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA';
connected to target database (not started)
Oracle instance started
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 05/14/2010 11:16:17
ORA-01102: cannot mount database in EXCLUSIVE mode -- add pfile *.db_unique_name=w1
RMAN> shutdown immediate;
Oracle instance shut down
RMAN> startup mount pfile='D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA';
connected to target database (not started)
Oracle instance started
database mounted
Total System Global Area 125829120 bytes
Fixed Size 1288100 bytes
Variable Size 62916700 bytes
Database Buffers 54525952 bytes
Redo Buffers 7098368 bytes
RMAN> catalog start with 'D:\oracle\product\10.2.0\flash_recovery_area\W';
Starting implicit crosscheck backup at 14-MAY-10
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=157 devtype=DISK
Crosschecked 1 objects
Finished implicit crosscheck backup at 14-MAY-10
Starting implicit crosscheck copy at 14-MAY-10
using channel ORA_DISK_1
Crosschecked 2 objects
Finished implicit crosscheck copy at 14-MAY-10
searching for all files in the recovery area
cataloging files...
no files cataloged
searching for all files that match the pattern D:\oracle\product\10.2.0\flash_re
covery_area\W
List of Files Unknown to the Database
=====================================
File Name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\AUTOBACKUP\2010_05_14\
O1_MF_S_718973315_5YSS1O7W_.BKP
Do you really want to catalog the above files (enter YES or NO)? y
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\AUTOBACKUP\2010_05_14\
O1_MF_S_718973315_5YSS1O7W_.BKP
RMAN>
RMAN> run
2> {
3> set newname for datafile 1 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.D
BF';
4> set newname for datafile 2 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\UNDOTBS01.
DBF';
5> set newname for datafile 3 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSAUX01.D
BF';
6> set newname for datafile 4 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\USERS01.DB
F';
7> set newname for datafile 5 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\EXAMPLE01.
DBF';
8> set newname for datafile 6 to 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\USERS02.DB
F';
9> restore database;
10> }
executing command: SET NEWNAME
using target database control file instead of recovery catalog
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 14-MAY-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=157 devtype=DISK
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.DBF
restoring datafile 00002 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\UNDOTBS01.DBF
restoring datafile 00003 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSAUX01.DBF
restoring datafile 00004 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\USERS01.DBF
restoring datafile 00005 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\EXAMPLE01.DBF
restoring datafile 00006 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\USERS02.DBF
channel ORA_DISK_1: reading from backup piece D:\ORACLE\PRODUCT\10.2.0\FLASH_REC
OVERY_AREA\W\BACKUPSET\2010_05_14\O1_MF_NNNDF_TAG20100514T104649_5YSRYBV3_.BKP
channel ORA_DISK_1: restored backup piece 1
piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_05_14
\O1_MF_NNNDF_TAG20100514T104649_5YSRYBV3_.BKP tag=TAG20100514T104649
channel ORA_DISK_1: restore complete, elapsed time: 00:01:25
Finished restore at 14-MAY-10
RMAN>
then backup controlfile to trace as:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\chinar>set ORACLE_SID=W1
C:\Documents and Settings\chinar>sqlplus "sys/sm as sysdba"
SQL*Plus: Release 10.2.0.2.0 - Production on Fri May 14 11:26:42 2010
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> alter database backup controlfile to trace as 'D:\oracle\product\10.2.0\ora
data\W1\ctrl.sql';
Database altered.
SQL>
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL>
Now edit ctrl.sql for chhange database name to new W1 also change in pfile db_name from W to W1.And delete
all controlfile from D:\oracle\product\10.2.0\oradata\W1. Then
SQL> startup mount pfile=D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA;
ORACLE instance started.
Total System Global Area 125829120 bytes
Fixed Size 1288100 bytes
Variable Size 62916700 bytes
Database Buffers 54525952 bytes
Redo Buffers 7098368 bytes
Database mounted.
SQL>
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.DBF'
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 1419839 generated at 05/13/2010 12:36:09 needed for thread 1
ORA-00289: suggestion :
D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W1\ARCHIVELOG\2010_05_14\O1_MF_1_25
_%U_.ARC
ORA-00280: change 1419839 for thread 1 is in sequence #25
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.DBF'
ORA-01112: media recovery not started
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W1\SYSTEM01.DBF'
SQL>
add pfile *._allow_resetlogs_corruption=true
again
SQL> startup mount pfile=D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA;
ORACLE instance started.
Total System Global Area 125829120 bytes
Fixed Size 1288100 bytes
Variable Size 62916700 bytes
Database Buffers 54525952 bytes
Redo Buffers 7098368 bytes
Database mounted.
SQL> recover;
Media recovery complete.
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
then remove _allow_resetlogs_corruption=true parameter from pfile and
SQL> startup mount pfile=D:\oracle\product\10.2.0\admin\W1\pfile\INITW1.ORA;
ORACLE instance started.
Total System Global Area 125829120 bytes
Fixed Size 1288100 bytes
Variable Size 62916700 bytes
Database Buffers 54525952 bytes
Redo Buffers 7098368 bytes
Database mounted.
SQL> alter database open;
Database altered.
SQL> -
How to restore a Rman backup from Tape
Hi,
We need to restore the database backup taken through RMAN on 24-JUNE-2013 from tape as this backup is not currently available on disk.
Can you please help me on the following,
1) how i can check if the same backup on 24-JUNE-2013 is available on Tape.
2) If yes how i can restore to Disk.
Because we need to create a new Clone instance from the backup taken on 24-JUNE-2013.
We are having 12.1.3 Application on Exalogic and 11.2.0.3 Database on Exadata machine.
Our support is highly appreciated.
Thanksuser11969666 wrote:
Hi,
We need to restore the database backup taken through RMAN on 24-JUNE-2013 from tape as this backup is not currently available on disk.
Can you please help me on the following,
1) how i can check if the same backup on 24-JUNE-2013 is available on Tape.
2) If yes how i can restore to Disk.
Because we need to create a new Clone instance from the backup taken on 24-JUNE-2013.
We are having 12.1.3 Application on Exalogic and 11.2.0.3 Database on Exadata machine.
Our support is highly appreciated.
Thanks
Your questions are answered in the Backup and Recovery User's Guide -- Contents
Thanks,
Hussein -
Restoring Oracle 11g backup to 10g (or XE)
Is there a way to restore the Oracle 11g backup to 10g (or XE).
- impdp/expdp will be helpful for this exercise.
- or i have to use some other utility.
Please let me know.
w\So far i found this...
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#SUTIL103
h1. Using Different Releases and Versions of Export
Whenever you are moving data between different releases of the Oracle database, the following basic rules apply:
The Import utility and the database to which data is being imported (the target database) must be the same version.
The version of the Export utility must be equal to the earliest version of the source or target database.
For example, to create an export file for an import into a later release database, use a version of the Export utility that is equal to the source database. Conversely, to create an export file for an import into an earlier release database, use a version of the Export utility that is equal to the version of the target database.
In general, you can use the Export utility from any Oracle8 release to export from an Oracle9i server and create an Oracle8 export file. See Creating Oracle Release 8.0 Export Files from an Oracle9i Database. -
Restore old rman backup after changing dbid?
Hi,
I backed up database using rman. then i changed dbid for that databases. can i restore backup what i backed up before changing DBID?No.
When you change the DBID for a database, it becomes a different database. All the datafiles are stamped with the new DBID.
And you cannot select a DBID value either, so you cannot choose to change the DBID back to the previous value.
A RESTORE verifies that it is restoring to the same database -- it uses the DBID to verify. Since the DBIDs for the Backup and the now-present database do not match, a RESTORE cannot be attempted.
You can remove the database with the changed DBID and do a complete RESTORE from the backup.
Hemant K Chitale -
Restore an RMAN backup to a new db instance name.
I have a old copy of an RMAN backup of a production database from 2 months ago. I want to restore it to a new instance name. The backup no longer shows in the RMAN backup listing from the control file of the current production system.
The backup I have does have the control file as well as the other backup pieces, Is there a procedure to restore this to a new instance since the backup is no longer in the current production control file?
I have used the duplicate command of RMAN and have successfully restored databases to a new instance name by using the newname option.
But the backups were always in the control file.
Can this be done? If so, how?You need to restore the controlfile first and copy it into all locations where init.ora specify them. then startup mount, and 'rman / target' will give you access to the old contents of the controlfile at that time.. If the rest of the back is on tape, you need to restore the rman backupset first to disk on same location specified in the backupsets paths. same for the archivelogs.
Then you can decide to go for a duplicate database to target <newname> or a restore DB (must have the same name). but was the DB a cold backup ? then remember than Rman does not takes the redo logs, so that your shutdown before must be clean (shutdown immediate at most). If it is an hot you may need need to dump the arc and possible do a recover manual (case you forgot to put the arcchives or the archives names is not the same in the init.ora than original for you include the db name in it).
In that case the archive logs may be renamed to what ever is in the init.ora. and there are many others possbilities. you did not specified enough data on the backup -
Rman backup for 10g compresses?
Background Info:
10g production databases. 10.2.0
RedHat 4, 64 bit Linux
Use RMAN to backup to local, then backup software copies files to tape.
10 databases, DB size from 10gb - 200gb
Currently I perform: 2 * level 0 and 5 * level 2 per week.I have been using my 9i RMAN scripts (after doing many tests).
Right now I am thinking of using 10g feature 'Compressed Files'.
Does anyone know of any issues / side affect using this feature?
Same question for 'Block change feature', is it advisable to use on prod databases?
~
Many thanks for any response.Compression saves disk space, but you have to pay for it. Statement from Oracle:
There is some CPU overhead associated with compressing backup sets. If the database being backed up is running at or near its maximum load, you may find the overhead from using AS COMPRESSED BACKUPSET unacceptable. In most other circumstances, compressing backupsets saves enough disk space to be worth the CPU overhead.
Block change feature is useful, if you plan to use incremental backups. It makes such backups faster, because RMAN knows in advance which blocks were changed and which not.
Werner -
hi,
I have my prod database in oracle RAC two node. And i create a similar test setup for doing the testing.
Now i need to backup(hot) the data from prod and want to restore in test environment.
Even the test node is the two node RAC and with same directory structure.
The only difference is the DB name and instance names.
so anyone please help me which method i have to go for restoring the backup from prod.
Recover catalog is there.The documentation has irrefragable answers on your questions:
http://download-uk.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb001.htm#i1008888
Regards,
Andrey -
Restore RMAN from different Database Rman backup
Hi Everybody
I am practicing Rman so I have one query that how to restore rman backup from another database.
For Example :
1. I have Rman backup of DB1 with level 0 and level 1 cumulative database plus archievelog
2. I need to import or restore Rman backup of DB1 to another database DB2.
What is the procedure for doing the above queries. Please anyone one help me out.
I have using oracle 10g r2 running in windows server 2003.
Thanks in advance.These are the steps ; you need to write the appropiate commands for each step: Hope it helps!
1) Take appropriate RMAN backup of the database db1. Note that you should turn on the CONTROLFILE AUTOBACKUP configuration so that we have the controlfile backed up after the database backup. When we restore the controlfile on new host from this autobackup piece, it will have the information of the latest backup.
2) Create a PFILE for the destination database db2 using the database db1
3) Move the backup pieces and the modified INIT.ORA file to the new host. Starting from 10g it is NO longer compulsory to copy the RMAN backup pieces to exactly the same location on the new host as the production location.
4) Use the pfile created above to STARTUP NOMOUNT the database on the new host
5) Now invoke RMAN and restore the controlfile specifying the location where the controlfile autobackup piece is restored on this new server. You can mount the database once the controlfile is restored successfully.
6) You can skip this step if you have restored the RMAN backup pieces to exactly the same location they were backed up on database db1. If this is not the case then you need to catalog the RMAN backup pieces to make RMAN aware of thier new location on the new host. Note that CATALOG BACKUPPIECE command is available only starting from 10g.
7) Having determined the point up to which media recovery should run, start the restore/recovery using for example:
RMAN> run {
2> set until sequence 59 thread 1;
3> set newname for datafile 1 to '/new_location/system01.dbf';
4> set newname for datafile 2 to '/new_location/undotbs01.dbf';
5> set newname for datafile 3 to '/new_location/sysaux01.dbf';
6> set newname for datafile 4 to '/new_location/users01.dbf';
7> restore database;
8> switch datafile all;
9> recover database;
10> } -
Error , ORA-19809 & ORA-19804 While restoring RMAN backup .
Hi Experts,
I am restoring production RMAN backup to UAT . Using below steps
1)rman target=/
2)RMAN> startup nomount;
3) RMAN> restore controlfile from '/orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl';
Starting restore at 05-AUG-10
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=3 device type=DISK
channel ORA_DISK_1: copied control file copy
output file name=+DATA_ACME/acme/controlfile/current.256.724845209
output file name=+DATA_ACME/acme/controlfile/current.257.724845209
Finished restore at 05-AUG-10
4) RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
5) RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME/%F';
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME1/current/%F';
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME/%F';
new RMAN configuration parameters are successfully stored
6) RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
old RMAN configuration parameters:
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
new RMAN configuration parameters:
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
new RMAN configuration parameters are successfully stored
released channel: ORA_DISK_1
7) RMAN> CATALOG START WITH '/orabkdump/Rman_Bak/ACME';
searching for all files that match the pattern /orabkdump/Rman_Bak/ACME
List of Files Unknown to the Database
=====================================
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347594_1_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347939_2_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348365_3_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348681_4_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722349076_5_1
File Name: /orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl
File Name: /orabkdump/Rman_Bak/ACME/c-1904932673-20100622-00
File Name: /orabkdump/Rman_Bak/ACME/dbsnap.log
File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.log
File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.trc
Do you really want to catalog the above files (enter YES or NO)? YES
cataloging files...
cataloging done
List of Cataloged Files
=======================
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347594_1_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347939_2_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348365_3_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348681_4_1
File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722349076_5_1
File Name: /orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl
File Name: /orabkdump/Rman_Bak/ACME/c-1904932673-20100622-00
List of Files Which Where Not Cataloged
=======================================
File Name: /orabkdump/Rman_Bak/ACME/dbsnap.log
RMAN-07517: Reason: The file header is corrupted
File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.log
RMAN-07517: Reason: The file header is corrupted
File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.trc
RMAN-07517: Reason: The file header is corrupted
8) RMAN> run {
2> set until sequence 1789 thread 2;
3> restore database;
4> recover database;
5> sql 'alter database open resetlogs';
6> }
executing command: SET until clause
Starting restore at 06-AUG-10
using channel ORA_DISK_1
Finished restore at 06-AUG-10
Starting recover at 06-AUG-10
using channel ORA_DISK_1
starting media recovery
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=2803
channel ORA_DISK_1: restoring archived log
archived log thread=2 sequence=6051
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=2804
channel ORA_DISK_1: reading from backup piece /orabkdump/Rman_Bak/ACME/ACME_AL_726286927_57_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 08/06/2010 23:10:38
ORA-19870: error while restoring backup piece /orabkdump/Rman_Bak/ACME/ACME_AL_726286927_57_1
ORA-19809: limit exceeded for recovery files
ORA-19804: cannot reclaim 49283072 bytes disk space from 5218762752 limit
** My UAT database should be in noarchival mode . Generally such errors have been observed during backup , but have no clue why they occurred during recovery .Please advice .
Thanks
Edited by: user11981514 on Aug 6, 2010 9:46 AMHi,
Since the error ORA-19809 indicates the lack of space in flash recovery area during the media recovery, I suggested increasing the value of the parameter DB_RECOVERY_FILE_DEST_SIZE.
Yes, during the media recovery the RMAN will restore the archived log to the default destination (only if the required archived logs are not already on the disks).You can confirm the restore location of the archived log in RMAN restore log/destination specified by parameters log_archive_dest_1/db_recovery_file_dest.
Regards,
Vaibhav -
Database restore from old rman backup
Hi Friends,
My database version is oracle 10.2.0 O/s : Windows
I have a production database of an outlet. Yesterday night 11pm they have done some wrong transactions and whole stock is showing wrong.
They have taken a export backup at 9.30 pm and latest archives are there.
We have a rman backup on April-30,2008. when I am trying to restore from the old rman backup the controlfile I am unable to do it.
Can any one of you help me out.
thankyou
satyaHi,
I have tried installing in a seperate system and restore the rman backup, as I do not have the controlfile I have taken a standby controlfile and started restoring the rman backup as the old rman backup dbid is different with the current dbid and giving me following error:
ORA-19870: error reading backup piece D:\MPOUTLET\0AJF4BM3_1_1
ORA-19691: D:\MPOUTLET\0AJF4BM3_1_1 is from different database: id=1976833331, name=JEEVAMP
ORA-19870: error reading backup piece D:\MPOUTLET\0BJF4BOE_1_1
ORA-19691: D:\MPOUTLET\0BJF4BOE_1_1 is from different database: id=1976833331, name=JEEVAMP
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of catalog command at 07/13/2008 12:23:23
RMAN-06209: List of failed objects
RMAN-06211: ==========================
RMAN-06212: Object Type Filename/Handle
RMAN-06213: --------------- ---------------------------------------------------
RMAN-06214: Backup Piece D:\MPOUTLET\0AJF4BM3_1_1
RMAN-06214: Backup Piece D:\MPOUTLET\0BJF4BOE_1_1 -
Restoring RMAN backup on a different server
Hi oracle gurus
i have following scenario
i have a compressed backup set of a database
i want to restore that rman backup on to a different server.
both the server have same version of oracle.and both the server are of 32 bit.
please reply if any more info is required.RESTORE AND RECOVERY PROCEDURE OF PRODUCTION DATABASE BACKUP ON TEST SERVERS
As part of disaster recovery exercise or to test the validity of a RMAN backup, a full restore and recovery of databases can be performed on scratch or test servers utilising the production RMAN backups which have been restored from the tape backups on these test or scratch servers.
This note will illustrate the above procedure by detailing the steps required to restore the backup of a production database (prod1) on a test server linux01 .
The following assumptions are made in this note:
The RMAN backups have been restored from tape backups to the same backup location on the test server as the production server where the backup was originally taken
The identical directory structure as is present on production has been created on the test server. This will apply to not only the location of the database files (data, control files, redo log files), but also to the bdump,cdump, udump and adump locations.
Controlfile autobackup has been enabled. This is important.
Overview
Restore the spfile from the autobackup
Restore the controlfile from the autobackup
Restore the data files
Recover by applying archived redo log files
Open the database with resetlogs
Restore the SPFILE
[oracle@linux01 prod1]$ rman target /
connected to target database (not started)
RMAN> set dbid=4266928631
executing command: SET DBID
RMAN> startup force nomount;
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/dbs/initprod1.ora'
starting Oracle instance without parameter file for retrival of spfile
Oracle instance started
Total System Global Area 159383552 bytes
Fixed Size 2039056 bytes
Variable Size 67109616 bytes
Database Buffers 83886080 bytes
Redo Buffers 6348800 bytes
RMAN> run
2> {SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u02/backup/prod1/%F';
3> restore spfile from autobackup;
4> }
RMAN> shutdown immediate;
Restore the Control File
In this case, the instance is now being started with the restored spfile. We can create a pfile as well from this spfile is so required.
RMAN> startup nomount
connected to target database (not started)
Oracle instance started
RMAN> set dbid=4266928631
executing command: SET DBID
RMAN> run
2> {SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u02/backup/prod1/%F';
3> restore controlfile from autobackup;
4> }
RMAN> alter database mount;
database mounted
released channel: ORA_DISK_1
Restore the database
RMAN> restore database;
Recover the database
The recovery will fail at a point where it cannot restore any more archived redo log files.
In this case the last archived log file which has been backed up is sequence 613.
This information can be obtained by issuing a LIST BACKUP OF ARCHIVELOG ALL command.
So RMAN will fail when it tries to apply sequence 614 ….
RMAN> recover database
[oracle@linux01 PROD1]$ rman target /
connected to target database: PROD1 (DBID=4266928631, not open)
RMAN> sql 'alter database open resetlogs';
RMAN>
reference: http://gavinsoorma.com/recovery-scenarios/ -
Hi All,
DB:11.2.0.3.0
OS: Sun Solaris SPARC 64 bits
I am facing an issue - RMAN backup restore leads to the error "ORA-00600: internal error code, arguments: , , " on DB startup. Restored from RMAN backup DB test2 to DB test1.
<p mcekeep="true"> $ sqlplus / as sysdba
<p mcekeep="true"> SQL*Plus: Release 11.2.0.3.0 Production on Sun Oct 6 09:31:28 2013
<p mcekeep="true"> Copyright (c) 1982, 2011, Oracle. All rights reserved.
<p mcekeep="true"> Connected to an idle instance.
<p mcekeep="true">
SQL> startup
ORACLE instance started.
Total System Global Area 4277059584 bytes
Fixed Size 2166160 bytes
Variable Size 1493176944 bytes
Database Buffers 2768240640 bytes
Redo Buffers 13475840 bytes
ORA-00600: internal error code, arguments: , , ,
SQL> exit
DB test2 database validated:
RMAN> validate Database;
No issues reported.
Could anyone please let me the what's the cause of this error
Thanks for your time
Regards,
user10088255HI,
CASE : I
C:\>set ORACLE_SID=xxxx
C:\>sqlplus sys/XXXXX@rosen as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 2080377408 bytes
Database Buffers 1325400064 bytes
Redo Buffers 16007168 bytes
ORA-00600: internal error code, arguments: [kccsbck_first], [1], [3978145973],
Solution: AFTER GETTING ORA-00600, SHUT THE DATABASE AND STARTUP IT INTO MOUNT STAGE AND THEN ALTER DATABASE TO OPEN STAGE .
SQL> shut immediate
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 2080377408 bytes
Database Buffers 1325400064 bytes
Redo Buffers 16007168 bytes
Database mounted.
SQL> alter database open;
Database altered.
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
ROSEN READ WRITE
CASE :: II
C:\>sqlplus sys/XXXX@royalton as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:37:37 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 1979714112 bytes
Database Buffers 1426063360 bytes
Redo Buffers 16007168 bytes
ORA-00600: internal error code, arguments: [kccsbck_first], [1], [73515151],[], [], [], [], [], [], [], [], []
Solution : As in above case, I have started the database in mount and then alter it to the open mode but it doesnot work out. After some analysis ,troubleshooting and googling, we have decided to flush the shared pool component of the SGA . So, we have started the database in mount stage and then flush the shared pool and further alter it to open stage . Below are the steps performed to solve this issue .
SQL> shut immediate
ORA-01507: database not mounted
ORACLE instance shut down.
C:\>set ORACLE_SID= royalton
C:\>sqlplus sys/xxxxxxxx@royalton as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Jan 29 12:28:00 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area 3423965184 bytes
Fixed Size 2180544 bytes
Variable Size 2080377408 bytes
Database Buffers 1325400064 bytes
Redo Buffers 16007168 bytes
Database mounted.
SQL> alter system flush shared_pool;
SQL> alter database open
Database altered.
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
ROYALTON READ WRITE
Conclusion : Though this is not the solution but a workaround to solve ORA-00600 which is having same argument as above, then you may follow the above steps.
Please chek this link : One Can Succeed at Almost Anything For Which He Has Enthusiasm...: ORA-00600: internal error code, arguments: [kccsbck_f…
Maybe you are looking for
-
im locked out of my ipod, and the screen isnt responding when i go to swipe to unlock it or when i swipe to turn it off. All of my notifications are there but i cant reply to any of them. My screen is completly unresponsive. But, in the top left hand
-
Overview Page - How to hide links?
Hi all, I have a overview page and I hould like to know if I can hide some links on Overview page but have this links in Detailed Navigation for example, if I have this: - ROLE - WORKSET1 - OVERVIEW
-
HP laserjet 100 color MFP M175a printer driver to be installed evry time when the printer is made on
Hello, I am having the above mentioned printer. The problem with this printer is every time when I switch-on the printer its driver has to be installed then only I can start printing. The following is my PC configuration: MB: ConRoe865GV chipset, CPU
-
XML/XSLT: Setting xsl:include href attribute with a variable
I have a main layout stylesheet and depending on which page the user selects I want to use xsl:include to display the selected information in the 'content' DIV. The process works fine if hardcode it like this: <xsl:include href="welcome.xsl"/> <div i
-
Matrox O2 Mini not available for Mercury Transmit
I'm completely new to Speedgrade so please excuse me if this is a stupid question! My Matrox O2 Mini is working fine in Premiere Pro but is unavailable for selection in Speedgrade under the Display Preferences for Mercury Transmit. Without an externa