RMAN restore to another server - step by step

I have hot backups on tape, with catalog.
I have a prod database and a auxiliary database, but their names are the same..
I need to know the steps to perform a restore to auxiliary database´s machine (same plataform).
I´m doing the folowing for test purpose (the auxiliary database is in nomount state).
1) on AUXILIARY machine: rman target rman/pwd@PROD auxiliary sys/pwd
2) restore controlfile to 'c:\teste' from autobackup;
But, the controlfile was restored on PRODUCTION database´s machine.
Why?!
TIA
Rogério

Thanks for your help Kuljeet.
But i still have the same problem: if the *Backup must be available on new host" i need to restore to the new host. My problem is: I don´t know to do that using RMAN (my backup is in tape). In all my tests, the backup (controlfile) was restored to the target database´s host. If I try to restore the whole database, the target database will be overwrite. (Sorry for my english).
1) Where I connect to rman: in target database´s machine, in auxiliary database´s machine, etc? I think is in auxiliary database´s machine
2) How to connect? rman target user/pwd@database catalog user/pwd@database auxiliary sys/sys OR rman target user/pwd@database auxiliary sys/sys OR other?
Thanks
Rogerio

Similar Messages

  • 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

  • Impact of Rman restore on test server.

    Hi,
    I am working on oracle 10g on linux 64 bit
    I have rman backup from production database. Name and SID of production database is Prod1 and i want to to check this RMAN backup after restoring it on the other test server (VMDB) for Disaster recovery.
    Now problem is that, i want to test it for DR, where i only need to run a script to restore and recover a database at the time of disaster in production site.
    My disaster recovery site will be in different network, so i can keep the name of database and sid same as of Production but is it possible that i could install the database in test database with same db name and same sid as of Production when Test and Production database are in same network.
    What will be the steps if i want to have a single script to restore database to new server. Do i need to create database with installation of Oracle on test machine or RMAN script will create database by itself.
    Do i need to set same dbid as of production in test database before restore. What can be the problems when i have production database running and i am restoring backup of same database on test machine with different IP address but same database name and SID and setting same DBID. I am not using catalog
    I have a full backup of database +Auto backup of controlfile and spfile
    Production database is being accessed by client via TOMCAT server.

    >
    is it possible that i could install the database in test database with same db name and same sid as of Production when Test and Production database are in same network.
    >Yes it is possible.
    >Do i need to create database with installation of Oracle on test machine or RMAN script will create database by itself.
    >
    There is no need to run CREATE DATABASE. Running the right RMAN RESTORE statements will recreate database control files, datafiles and redo log files.
    >What will be the steps if i want to have a single script to restore database to new server.
    >
    Note that in case of disaster recovery, you must make sure that RMAN backups are available from test server.
    You can try to apply following example to your environment:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#BRADV156
    >
    What can be the problems when i have production database running and i am restoring backup of same database on test machine with different IP address but same database name and SID and setting same DBID. I am not using catalog If you are not using RMAN catalog, risks are limited: you should take care at least:
    1. that Oracle Net configuration files (tnsnames.ora) used in production are not updated
    2. that any tool/script you are using to manage (monitor, backup, etc.) the test database does not interfere with the production database.

  • Database Restore on another Server

    Could someone please explain to me (or point me in the right direction) the procedure (How-To) on how to restore a database to another server?
    please understand I'm just learning oracle and this is all new to me.
    e.g., I have good backups of a database. I restore those database files (control files, dbf, redo logs) to another server. What are the steps in bringing that database up online on a different server?
    ...thanks

    Read thread
    how to clone a database
    Always serach forum.oracle.com, beofre open new thread.
    Cheer,
    Virag Sharma

  • How to test restore in another server?

    Hi,
    I want to test full backup (hot backup using RMAN) of my DB (11.2 SE) on another server (I didn't install DB on yet).
    Saad,

    to test the backup -which is done by third party softwareHow you restore really depends on how you backup the database !
    Without knowing how the backup is done it would be incorrect to advice a single method to test restoration.
    Nevertheless, you need to start with an installation of Oracle software (RDBMS, Binaries) on the new test server. You would have to install the same Oracle RDBMS Release and Version as the one that is running in your production server (where the backup was taken). If the third party software incorporates media management libraries, you'd need to install and configure them as well. Thereafter, the restore command depends on how the backup is done.
    Hemant K Chitale

  • Rman backup to another server

    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

  • RMAN Backup on another server

    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?

  • Rman restore to windows server with different drive layout

    I'm restoring to a server with a different drive layout. I'm using the set newname for the datafiles and it's working fine. However. My redo logs show that they are on the f: drive and the f: drive doesn't exist on the new server (recovery). so when I'm all done I get an error saying that it cant find the redo02.log. Any ideas?
    TIA
    Dave

    no problem, thanks for the reply.
    Here's what I tried in the init.ora
    LOG_FILE_NAME_CONVERT=('F:\ORADATA\ORCQA08','D:\ORADATA\ORCQA08')
    I didn't even create the spfile I figured I could do that later.
    The datafiles alll go to the correct drive, here's my restore statement:
    run
    allocate channel disk_channel1 type disk;
    allocate channel disk_channel2 type disk;
    SET NEWNAME for datafile 1 to 'd:\ORADATA\ORCQA08\SYSTEM01.DBF';
    SET NEWNAME for datafile 2 to 'd:\ORADATA\ORCQA08\SYSAUX01.DBF';
    SET NEWNAME for datafile 3 to 'e:\ORADATA\ORCQA08\UNDOTBS01.DBF';
    SET NEWNAME for datafile 4 to 'd:\ORADATA\ORCQA08\USERS01.DBF';
    SET NEWNAME for datafile 5 to 'e:\ORADATA\ORCQA08\PLATDATA.DBF';
    SET NEWNAME for datafile 6 to 'd:\ORADATA\ORCQA08\PLATHISTDATA.DBF';
    SET NEWNAME for datafile 7 to 'd:\ORADATA\ORCQA08\TS_MV.DBF';
    SET NEWNAME for datafile 8 to 'e:\ORADATA\ORCQA08\PLATNDX.DBF';
    SET NEWNAME for datafile 9 to 'd:\ORADATA\ORCQA08\POADATA.DBF';
    SET NEWNAME for datafile 10 to 'd:\ORADATA\ORCQA08\POABDATA.DBF';
    SET NEWNAME for datafile 11 to 'd:\ORADATA\ORCQA08\POANDX.DBF';
    SET NEWNAME for datafile 12 to 'd:\ORADATA\ORCQA08\TS_REPORT_DATA.DBF';
    restore database;
    release channel disk_channel1;
    release channel disk_channel2;
    i then do a switch database to copy and this registers the datafiles under the correct drive BUT when I try to open the database this is what i get:
    ORA-00280: change 15613734 for thread 1 is in sequence #861
    ORA-00278: log file
    'D:\oracle\flash_recovery_area\ORCQA08\ARCHIVELOG\2012_08_03\ARC0000000860_07815
    80447.0001' no longer needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    Media recovery cancelled.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-00344: unable to re-create online log 'F:\ORADATA\ORCQA08\REDO01.LOG'
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    You can see that it's still looking on the f: drive for the redo log. Is my syntax correct?? - - LOG_FILE_NAME_CONVERT=('F:\ORADATA\ORCQA08','D:\ORADATA\ORCQA08')
    I can get rid of the other redo logs by dropping them and recreating under the proper drive but 01 is the active log.
    any other ideas?
    Dave

  • Rman restore in new server?

    My linux machine hardisk has crashed, i am rebuilt entire thing from begining, we have the rman backup & controlfiles & init.ora, pwd file in the tape.
    How to rebuild the database from the new catalog. appreciate any body provide a rman step to restore & rebuild...
    Adv thanks

    >>
    Whether i need to create catalog first?. Steps pls
    >>
    Tell us onething, were was the catalog kept? Was it in the same database? or any other database? or you were using controlfile instead catalog to backup your database?
    Lets, catalog is maintained in another database or nocatalog (controlfile) is used to backup.
    set oracle_sid
    startup nomount
    rman target /
    run {
    allocate channel t1 type 'sbt_tape';
    restore controlfile to '<destination>';
    sql "alter database mount";
    restore database;
    recover database;
    sql "alter database open resetlogs";
    }Jaffar

  • RMAN RESTORE A NEW SERVER

    I have a complete backup of the source server and I would like to restore it to target server.
    Problem is that on my source server I have the complete backup on "E" Drive.
    On My target server I just have C and D Drives.
    When I try to run Restore database command I get
    RMAN-06023: no backup or copy of datafile 1 found to restore
    for all the data files as it is looking for my backups on "E" drive which does not exist on Target Server.
    Is there a way I can guide RMAN to look on D: drive when restoring?
    Thanks
    Edited by: user12180649 on May 16, 2012 8:07 AM

    user12180649 wrote:
    I have a complete backup of the source server and I would like to restore it to target server.
    Problem is that on my source server I have the complete backup on "E" Drive.
    On My target server I just have C and D Drives.
    When I try to run Restore database command I get
    RMAN-06023: no backup or copy of datafile 1 found to restore
    for all the data files as it is looking for my backups on "E" drive which does not exist on Target Server.
    Is there a way I can guide RMAN to look on D: drive when restoring?
    Thanks
    Edited by: user12180649 on May 16, 2012 8:07 AMOnce you have your controlfile, you can connect to RMAN, delete all the backup piece, and add the new with the new position.
    The syntax is:
    delete backup; -- to delete all the backups information
    catalog start with 'PATH'; -- to add all the backup piece to the "catalog" that in this case could is in the controlfiles.
    Other syntax:
    http://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcmsynta011.htm
    Hope this helps.
    Nunzio

  • Advise on restoring to another server

    Hi all.
    I have the following scenario for an Oracle 10g DB SEO enviroment.
    1) Production server: Oracle Linux Update 5, Oracle 10g Database. Database in archive mode. Archive with two archive destination: USE_DB_RECOVERY_FILE_DEST and an alternate archive destination which will currently be a directory mounted through NFS.
    2) Recovery Server: this server will have identical SO and DB version, but will be used in case production server fails. This server will hold a copy of the archive of production server.
    In case production server fails, i'd like to be sure if this recovery procedure is feasible:
    1) Restore a cold backup from production server to recovery server.
    2) Recover the database from the most recent cold backup and apply of logs to cold backup up to just before failure. To do this one must:
    2.1) Rewrite newest version of control and redolog files from production server: assuming you can actually access.
    2.2) Start mount and recover database applying all required archive and redolog.
    Please advise on this scenario. Is this possible? Am i missing something?

    Look around on the intertubes for standby database scripts. Before dataguard, this was very common. There used to be a failover and failback whitepaper (maybe in the 8i timeframe?), but that may have disappeared in favor of more modern ways.
    It used to be you could avoid double licensing by not bringing up the standby more than so many days a year or something like that, but I think nowadays you may be stuck. Check for current official policies.

  • After insall'g SAP can a backup be restored from another server?

    I have installed SAP onto Server B, and would like to use a backup (third part vendor 'commvault') created by commvault on server A, to restore to Server B.
    The SIDs are the same, and the same CDs were used to install SAP, the ONLY differneces are the IP addresses and the Server names
    Will this work?
    Maria

    Hi Maria,
    If the server names are different then, you cannot restore a backup.
    In this case you have do a system copy.
    Please go through sap help site for more details on system copy.
    Best Regards
    Raghu

  • Filter List View by User and Groups in SharePoint Does Not Work on site Restore to another Server

    We have a scenario where users from a group or seeing items of list views entered by users of other group.
    For e.g, we have (ALL are Active Directory users and are authenticated as such)
    GROUP A with USER-A1, USER-A2, USER-A3
    GROUP B with USER-B1, USER-B2, USER-B3
    GROUP C with USER-C1, USER-C2, USER-C3
    We created views called
    GROUP_A_VIEW
    GROUP_B_VIEW
    GROUP_C_VIEW
    We created a web part for each of this view
    And from Advanced Settings, added Target audience for each VIew with respect. For e.g. if Target AUdience is Group A, then USER-A1 will see items entered by himself or USER-A2, and USER-A3 but not the mbers of GROUP_B and GROUP_C
    It works fine on the our development machine.
    However when we backup and restore to other machine containing the same Active Directory users, 
    GROUP A members are seeing records entered by GROUP B
    GROUP B members are seeing records entered by GROUP C
    GROUP C members are seeing records entered by GROUP D
    ....etc.
    Any help will be appreciated.
    Murali Boyapati

    Groups and users are stored locally in a cache on each site collection. Within that site collection they have IDs assigned which are used internally to identify those groups.
    What is probably happening is that the groups you've targeted are being identified by IDs which are not consistent between your source site collection and your destination collection.

  • RMAN Restore on a new system

    Hi,
    We are planning to impletment RMAN backups on our production systems. We took a RMAN backup and wanted to restore into another server using different sid and db name, without disturbing the running production database. We came across some errors and we need some help.
    Oracle Version - 9.2.0.7
    OS - Windows 2003
    Envirnoment
    =========
    Host A - DB1
    Host B - DB2 (Directory sturcture is different)
    Host C - Catalog
    Step 1. I took a full backup of DB1 on Host A connected to the catalog.
    Step 2. Copied the pfile and backup files from Host A to Host B.
    Step 3. Changed db_name, instance_name in Host B pfile.
    Step 4. Created oracle instance using oradim utility.
    Step 5. Started rman utiliy - rman target /
    Step 6. Resorted Controlfile
    Step 7. Mount database <---- Here we get an error
    Let me know if the above steps are wrong.
    RMAN> alter database mount;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 02/23/2011 14:16:02
    ORA-01103: database name 'DB1' in controlfile is not 'DB2'
    Edited by: user13431321 on Feb 23, 2011 12:42 PM

    user13431321 wrote:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 02/23/2011 14:16:02
    ORA-01103: database name 'DB1' in controlfile is not 'DB2'The db name in the controlfile doesn't match the spfile/init file.
    If the database is on a separate server, then you shouldn't need to worry about the db_name being the same. But if you are determined to have a new database name, you could restore the database with the same database name and then change it with the nid utility.
    Check Specifying Filenames When Restoring to a New Host to accommodate a new directory structure.

  • 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.

Maybe you are looking for

  • How can i use this alias name Day1 br 06/09/2005 without " "

    From my application (asp.net), i don't know how to pass alias name "Day1<br>06/09/2005"(with " ") I this possible anyother way to use this Day1<br>06/09/2005 alias name without using " " select sum(count) Day1<br>06/09/2005 from test Millions of than

  • How do I transfer pictures and videos on to computer

    Have all on Micro SD card, but computer won't read it. Used card reader as well as other computers, didn't work.

  • ERROR - no available datasource for source system exist

    I tried to load the master for 0Bill_Type 1) Install infoobject business content and Create infoobject 2) Activate datasource in R/3 3) Replicate datasource 4) Assign infosource ---> the error said no available datasource for source system exist When

  • The SAP's bug after bug Notes = 919535?

    Hi, I found a new bug after correcting the bug which is contained in Notes = 919535 and don't know how to correct it. pls help. tks in advance. the description of new bug is below: 1. I create a sales deal = A and don't create any price at the same t

  • Tracking button click in production environment (winforms)

    Hi All, We have released a new module in a winforms application and wanted to check how popular it is. We have not coded to track the amount of time that module is used. Is there a way to check in production how many times a button is clicked ? Is th