Load rman backup on another instance
Hi All,
I am relatively new to Oracle and now I have to devise a strategy for backups and recovery. My objective is to backup the production database regularly in such a way that one month down the line I am able to load it on another instance. I have been trying to read up on the subject, but looks like it can be loaded only on the same instance.
Any thoughts how can this be achieved.
Thanks
Sanjay
Hi Pierre,
Looks like rman duplicate database command only supports creation of duplicate database on a instance that exists at the time. I am looking for something that can be archived on to disk/tape and when required restored on a database instance. I come from Sybase background, where we just dump (or backup) a database copy and restore it on to another server and database. I have tried dumping schema using both datapump and exp, but both have problems while restoring on another server. Datapump does not support XMLtype data and imp has problem restoring some views.
Similar Messages
-
RMAN backup from another DB server
Hi all,
I would like to know Can we take a rman backup from another DB server in oracle 9.2...
i.e
suppose that we have two server
1. main server
2. dup server
I want to take a backup of main server throeugh dup server.....
if it is poosible then what are all the things that i have to configure....
pls suggest me.....getting an error,
here hotest is the main db
and testho is dup db
F:\Documents and Settings\deepali>rman target rman/cat@hotest catalog rman/cat@testho
Recovery Manager: Release 9.2.0.4.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: HOTEST (DBID=982176707)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04004: error from recovery catalog database: ORA-01045: user RMAN lacks CRE
ATE SESSION privilege; logon denied
F:\Documents and Settings\deepali>sqlplus /nolog
SQL*Plus: Release 9.2.0.4.0 - Production on Mon Apr 6 12:17:13 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn sys/deepali as sysdba
Connected.
SQL> GRANT RECOVERY_CATALOG_OWNER TO rman;
Grant succeeded.
SQL> GRANT CONNECT, RESOURCE TO rman;
Grant succeeded.
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
F:\Documents and Settings\deepali>rman target rman/cat@hotest catalog rman/cat@t
estho
Recovery Manager: Release 9.2.0.4.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: HOTEST (DBID=982176707)
connected to recovery catalog database
recovery catalog is not installed
RMAN> register database;
recovery catalog is not installed
recovery catalog is not installed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of register command at 04/06/2009 12:18:09
RMAN-06429: RCVCAT database is not compatible with this version of RMAN
RMAN> select * from rc_database;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "identifier": expecting one of: "allocate, alter
, backup, beginline, blockrecover, catalog, change, connect, copy, create, cross
check, configure, duplicate, debug, delete, drop, exit, endinline, host, {, libr
ary, list, mount, open, print, quit, recover, register, release, replace, report
, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, s
pool, startup, shutdown, send, show, test, upgrade, validate"
RMAN-01008: the bad identifier was: select
RMAN-01007: at line 1 column 1 file: standard input
RMAN>pls suggest me whether i am following the right path or not... -
Recovery of RMAN backup in third instance
Hi,
is it possible for RMAN to create backups and use these backups to recover the database
in another instance.
For example as a disaster recovery. Is it possible to use the RMAN backups to create a new instance
with the data created by the RMAN backup.
Short answer, perhaps with doc link, is very welcome. ThanksShort Answer : Yes, Of Course !
Links :
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1006453
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1007814
Hemant K Chitale
http://hemantoracledba.blogspot.com -
Hi,
I am using oracle database 11g, and I am taking RMAN backup in the same server.
But now I need this RMAN backup to be saved on another server.
I created one database directory, but it did not work with me, since it cannot see the location.
I used the same idea with export file to another server and it worked.
But with RMAN directory it could not work !!!.
So any idea about this ?
Thanks and Best Regards.
Pure,Pure wrote:
Hi,
I am using oracle database 11g, and I am taking RMAN backup in the same server.
But now I need this RMAN backup to be saved on another server.
I created one database directory, but it did not work with me, since it cannot see the location.
I used the same idea with export file to another server and it worked.
But with RMAN directory it could not work !!!.
So any idea about this ?
Thanks and Best Regards.
Pure,How do I ask a question on the forums?
SQL and PL/SQL FAQ
my car does not go.
tell me how to make my car go.
Is COPY & PASTE broken for you? -
Restore Rman backup on another server
Hi.,
I am taking oracle 10g rman Incremental backup level 1
on Sunday I am taking full backup.
No Repository catlog is used.
I want to restore all the database using the backup of RMAN on the another server .
Can you tell mi whats are the step to restore on another server .http://download-uk.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov002.htm#sthref723
-
Hello!
This is the scenario:
I have a primary database(oracle 10g) and a standby database, created using Rman.
Is there a way to backup the standby database and transfer the backup to another server, so I can have the database in a third server that is neither primary nor standby.
Thank in advance!Hi user10385894,
Is there a way to backup the standby database and transfer the backup to another server?Yes you can copy the backup pieces from the standby side to the third server and copy a controlfilecopy from the primary and register the backup pieces.
Followed by a restore.
Do you happen to have a catalog than even a duplicate can be done easely?
Regards,
Tycho -
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> } -
Hi All,
I need details about some diagnostic test regarding RMAN backup on my instance.
The following are the current configuration of details:
SQL> select release_name from fnd_product_groups;
RELEASE_NAME
11.5.8
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
PL/SQL Release 9.2.0.8.0 - Production
CORE 9.2.0.8.0 Production
TNS for Solaris: Version 9.2.0.8.0 - Production
NLSRTL Version 9.2.0.8.0 - Production
===============================================
Database Size
1.5 TB
Earlier the RMAN backup used to take 20 -23 hours, now for the last 2 months, it has started taking 40 hours.
We want to identify the reason behind the increase in time.
Please let us know methods that we can use to diagnose the root cause.
Thanks
PeeksHi Talip,
Thanks for you suggestions.
I tried the three queries suggested by you, please find below the output:
SQL> select set_stamp from v$backup_async_io where to_date(open_time,'dd.mon.rr')='05.mar.12';
SET_STAMP
777154038
777154038
777154038
777154038
777154038
777154038
777154038
777154038
777154038
777154038
777167658
SET_STAMP
777167658
777167658
777167673
777167673
777167673
16 rows selected.The we checked the effective_bytes_per_second "mb/sec" column for the 777154038 and 777167658 Set_stamps.
SQL> select device_type "Device",
type,
open_time,close_time,
elapsed_time/100 "Ela",
effective_bytes_per_second/1024/1024 "mb/sec",
filename
from v$backup_async_io
where set_stamp = &a
order by close_time desc; 2 3 4 5 6 7 8 9
Enter value for a: 777154038
old 8: where set_stamp = &a
new 8: where set_stamp = 777154038
Device TYPE OPEN_TIME CLOSE_TIME Ela mb/sec FILENAME
SBT_TAPE OUTPUT 05-MAR-12 05-MAR-12 13498 3.03509712 bk_87606_1_777154038
SBT_TAPE OUTPUT 05-MAR-12 05-MAR-12 13475 3.03425884 bk_87605_1_777154038
DISK AGGREGATE 05-MAR-12 05-MAR-12 13476 3.041852
DISK INPUT 05-MAR-12 05-MAR-12 2832 2.90395451 /u1141/oradata/PRD1/rbs03.dbf
DISK AGGREGATE 05-MAR-12 05-MAR-12 13446 3.0486393
DISK INPUT 05-MAR-12 05-MAR-12 2829 2.90703392 /u1141/oradata/PRD1/rbs01.dbf
DISK INPUT 05-MAR-12 05-MAR-12 5332 3.07276821 /u1140/oradata/PRD1/ard01.dbf
DISK INPUT 05-MAR-12 05-MAR-12 5314 3.08317661 /u1140/oradata/PRD1/applsysx01.dbf
DISK INPUT 05-MAR-12 05-MAR-12 5309 3.08608055 /u1140/oradata/PRD1/gld01.dbf
DISK INPUT 05-MAR-12 05-MAR-12 5300 3.09132099 /u1140/oradata/PRD1/applsysd01.dbf
10 rows selected.
SQL> /
Enter value for a: 777167658
old 8: where set_stamp = &a
new 8: where set_stamp = 777167658
Device TYPE OPEN_TIME CLOSE_TIME Ela mb/sec FILENAME
SBT_TAPE OUTPUT 05-MAR-12 06-MAR-12 13323 3.07180786 bk_87607_1_777167658
DISK AGGREGATE 05-MAR-12 06-MAR-12 13289 3.08224869
DISK INPUT 06-MAR-12 06-MAR-12 2652 3.08898926 /u1141/oradata/PRD1/rbs02.dbf
DISK INPUT 06-MAR-12 06-MAR-12 5330 3.0739212 /u1140/oradata/PRD1/invd01.dbf
DISK INPUT 05-MAR-12 06-MAR-12 5305 3.08840752 /u1140/oradata/PRD1/arx01.dbf
SQL>The above output looks fine, but when i checked the long wait uery, it showed high percentage usage for OUTPUT streams. The below is the output:
TYPE IO_COUNT READY SHORT_WAITS LONG_WAITS LIO_PCT FILENAME
INPUT 16385 15361 0 1024 6.24961855 /u1140/oradata/PRD1/applsysd01.dbf
INPUT 16385 15361 0 1024 6.24961855 /u1140/oradata/PRD1/applsysx01.dbf
INPUT 16385 15361 0 1024 6.24961855 /u1140/oradata/PRD1/ard01.dbf
INPUT 16385 15361 0 1024 6.24961855 /u1140/oradata/PRD1/gld01.dbf
INPUT 8225 7711 0 514 6.24924012 /u1141/oradata/PRD1/rbs01.dbf
INPUT 8225 7711 0 514 6.24924012 /u1141/oradata/PRD1/rbs03.dbf
OUTPUT 10222 7662 0 2560 25.0440227 bk_87605_1_777154038
OUTPUT 10242 7678 0 2564 25.034173 bk_87606_1_777154038
AGGREGATE 40995 38433 0 2562 6.24954263
AGGREGATE 40995 38433 0 2562 6.24954263
10 rows selected.
TYPE IO_COUNT READY SHORT_WAITS LONG_WAITS LIO_PCT FILENAME
INPUT 16385 15361 0 1024 6.24961855 /u1140/oradata/PRD1/arx01.dbf
INPUT 16385 15361 0 1024 6.24961855 /u1140/oradata/PRD1/invd01.dbf
INPUT 8193 7681 0 512 6.24923715 /u1141/oradata/PRD1/rbs02.dbf
OUTPUT 10232 7669 0 2563 25.0488663 bk_87607_1_777167658
AGGREGATE 40963 38403 0 2560 6.24954227So, as per the output please suggest possible solutions to decrease the backup time, if not possible any other option.
Is there any problem with the tape device or is it an oracle issue.
Thanks
Peeks -
Syntax for revert the rman backup process
Hi
I am using oracle 10g. I have created one test database and try to restore the rman backup from another database, I have successful restoring but when i did recovery I have some error. Then I have try to up my another database it shows this error i don't know what to do and even don't know how it affect this database. Can anyone tell me how to revert the recover process.
ORA-01152: file 3 was not restored from a sufficiently old backup
ORA-01110: data file 3: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF'Now i am currently getting this error.
archive log thread 1 sequence 6298 is already on disk as file D:\ORACLE\PRODUCT\
10.2.0\ORADATA\ORCL\REDO03.LOG
archive log thread 1 sequence 6299 is already on disk as file D:\ORACLE\PRODUCT\
10.2.0\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_09_04\O1_MF_1_6299_766GO873_.ARC
archive log thread 1 sequence 6300 is already on disk as file D:\ORACLE\PRODUCT\
10.2.0\ORADATA\ORCL\REDO02.LOG
Oracle Error:
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 3 was not restored from a sufficiently old backup
ORA-01110: data file 3: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF'
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 09/05/2011 12:14:44
RMAN-06053: unable to perform media recovery because of missing log
RMAN-06025: no backup of log thread 1 seq 6297 lowscn 120952845 found to restore
RMAN-06025: no backup of log thread 1 seq 6296 lowscn 120928921 found to restore
RMAN-06025: no backup of log thread 1 seq 6295 lowscn 120928889 found to restore -
RMAN backup restoration on a different server under ASM .
Hello Experts,
This is regarding new installation of Oracle RAC 11gR2 on AIX 6.1 . Its a two node cluster setup , using ASM . As i am newbie for RMAN , I would like to know how i can restore my rman backup to another uat server which has standby database again cofigured under asm .
Thanks for your kind help .Hi ,
Thanks for reply
1) I performed the full database backup on source .
2) Source (prod) and target remote database (uat) are in ASM and have same DG for datafiles .
3) I have transfered the backup from production to UAT . I have already running uat database
do i need to drop it before i start the restoration ? My final purpose is just to refresh target with production backup . Kindly advice the steps from here to proceed with .
Thank you -
RMAN backup restore from RAC to single instance ASM
Hi,
We are using oracle 11gR2 on AIX 6.1,
We need to restore RMAN backup from RAC to single instance ASM,
Im new to RAC & ASM, What will be the changes
What will be steps involved into it.
ThanksHello,
Refer this MOS doc *HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]*
On the Single Instance ASM, you need to specify the diskgroup name for the parameters "control_files, db_create_file_dest"
Handle: user10745179
Email: [email protected]
Status Level: Newbie (5)
Registered: Feb 24, 2009
Total Posts: 168
Total Questions: 74 (52 unresolved)
Name Devesh
Location Mumbai If you feel that your questions have been answered, then please consider closing the threads by providing appropriate points. Please keep the forum clean !!
Regards,
Shivananda -
Import data backup into another DB instance
Hello all.
I need to import a Data Backup into Another Database instance. MaxDb version 7.3.
On higher versions of MaxDb I performed this operation without any problems (http://help.sap.com/erp2005_ehp_04/helpdata/EN/43/d5ebc2c9ed3ab3e10000000a422035/frameset.htm).
For this version of MaxDB I have such problem:
the commands don't coincide with help description, I define backup template, transfer DB instance to admin state, open utility session and try to srart recovery (there is no command db_activate RECOVER <template>)
dbmcli on Q46>util_connect
OK
dbmcli on Q46>recover_start DEMO
ERR
-24988,ERR_SQL: sql error
-903,Message not available,blockcount mismatch
What I can do? How can I start recover from data backup from another DB on this version of MaxDB?I have tried to perform backup of original system and recovery to another database one more time.
There is the another error:
dbmcli on Q46>recover_start DemoD46_recover
ERR
-24988,ERR_SQL: sql error
-3014,Invalid end of SQL statement -
Can I plug in (restore) an RMAN tablespace backup into another DB ?
11.2.0.3/AIX 6.1
We accidently dropped a development DB without taking the latest expdp backup of an important schema. All the objects on this schema belonged to only one tablespace and we have the RMAN backup of that tablespace. Is there anyway we could recreate that schema by restoring the tablespace backup into another database ?Yes.
Use the TRANSPORT TABLESPACE feature/method :
http://oracle.su/docs/11g/backup.112/e10643/rcmsynta2021.htm
Also check out sys.dbms_tts.transport_set_check
RMAN> transport tablespace emp_data, emp_data2
tablespace destination '/u01/app/oracle/oradata'
auxiliary destination '/u04/app/oracle/oradata';If you need to check your endian format use this query :
SELECT
PLATFORM_NAME,
ENDIAN_FORMAT
FROM
V$TRANSPORTABLE_PLATFORM;http://www.fadalti.com/oracle/database/how_to_transportable_tablespaces.htm
http://husnusensoy.wordpress.com/2008/07/12/migrating-data-using-transportable-tablespacetts/
Best Regards
mseberg -
Rman backup and restore on another box with the same database name
Hi,
I am using the following script to backup the database, I want to restore the backup on another server with same database name but different datafile locations , Can some one help me in the restoration please.
#set oracle_sid=LIVE
run {
allocate channel t1 type disk;
backup database plus archivelog delete input format 'D:\Backup\ORACLE\LIVE\df_t%t_s%s_p%p';
backup current controlfile;
release channel t1;
ThanksYou need to use "set newname" before you restore your database.
You can refer this http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupad.htm
RMAN> connect target /
connected to target database: TEST (DBID=2033933270)
RMAN> run
2> {
3> startup nomount;
4> restore controlfile from 'location/DF_T770331608_S104_P1';
5> alter database mount;
6> restore database;
7> recover database;
8> alter database open resetlogs;
9> }Also, you have connected to the database TEST, so is the TEST database the new database that you want to create using restore method ?
If yes, then how the status of the database is OPEN ? The database status should be nomount before you restore the controlfile.
If the database is not started, then:
RMAN shows as "connected to target database: TEST (not started)
If the database is in nomount stage, then
RMAN shows as "connected to target database: TEST (not mounted)
If the database is in mount stage, then
RMAN shows as "connected to target database: TEST (DBID=xxxxxxxx, not open)
If the database is open mode, then
RMAN shows as "connected to target database: TEST (DBID=xxxxxx)
In the output you mentioned, RMAN is showing the status of the database as opened. So if TEST is the database you are creating, then it has to be in nomount stage. In your case, it looks like TEST is the primary database from which you have taken the backup. -
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
Maybe you are looking for
-
I just installed Facebook app 6.0.1 on my iPad. When I browse an album with a large number of photos it shows the first few and says "xxx more photos". When I click on the link to see more photos, it repeats the same photos over and over again in an
-
Gettine error when importing .docx form into LiveCycle
I'm getting an error in LiveCycle Designer 8.21 when I attempt to open a form that a co-worker created as a .docx form with text fields and select boxes. Every time I get the alert that "Word (version XP or onwards) could not be found on the machine"
-
Mac Pro won't start after bootcamp partition
I have just used Bootcamp to place a partition on my MacBook Pro (2.5ghz 2008) and install Windows 7 ultimate x64. Whilst in Windows for the first time, I ran the windows support software (windows drivers for mac) from a DVD. I then allowed 2 wind
-
I can't pass photos into my ipod!
I try to pass pictures into my ipod by clicking options, photos, and then choose from where to sincronize my pictures. I choose a folder that I'm sure is smaller than the space left in my ipod and still it won't work... the ipod says its synchronizin
-
REINSTALLING MAC OS X - NEED YOUR HELP!
Hi everyone! First, thank god for this forum...you people are the best in the world! I have decided to reinstall my MAC OS X due to all the crap I have succeeded to accumulate on my computer and I want to start all over again. But I want to do it rig