Recover to another host

Hi,
Can anyone help me, my oracle server physicaly destroy, but I have rman backups on disk, how can I restore this backups to another server?
please give me some step by step documentations

Physically copy the backups to another server. Ensure ur OS is same.
Start RMAN and connect to the target database instance.
At this stage, no initialization parameter file exists. If you have set ORACLE_SID and ORACLE_HOME, then you can use operating system authentication to connect as SYSDBA. For example, start RMAN as follows:
% rman
RMAN> CONNECT TARGET /
Specify the DBID for the target database with the SET DBID command, as described in "Restoring the Server Parameter File".
For example, enter the following command:
SET DBID 123456789;
Run the STARTUP NOMOUNT command.
When the server parameter file is not available, RMAN attempts to start the instance with a dummy server parameter file.
Allocate a channel to the media manager and then restore the server parameter file from autobackup.
For example, enter the following command to restore the server parameter file from Oracle Secure Backup:
RUN
ALLOCATE CHANNEL c1 DEVICE TYPE disk;
RESTORE SPFILE FROM AUTOBACKUP;
Restart the instance with the restored server parameter file.
STARTUP FORCE NOMOUNT;
Write a command file to perform the restore and recovery operation, and then execute the command file. The command file should do the following:
Allocate a channel to the media manager.
Restore a control file autobackup (see "Performing Recovery with a Backup Control File and No Recovery Catalog").
Mount the restored control file.
Catalog any backups not recorded in the repository with the CATALOG command.
Restore the datafiles to their original locations. If volume names have changed, then run SET NEWNAME commands before the restore operation and perform a switch after the restore operation to update the control file with the new locations for the datafiles, as shown in the following example.
Recover the datafiles. RMAN stops recovery when it reaches the log sequence number specified.
RMAN> RUN
# Manually allocate a channel to the media manager
ALLOCATE CHANNEL t1 DEVICE TYPE disk;
# Restore autobackup of the control file. This example assumes that you have
# accepted the default format for the autobackup name.
RESTORE CONTROLFILE FROM AUTOBACKUP;
# The set until command is used in case the database
# structure has changed in the most recent backups, and you want to
# recover to that point in time. In this way RMAN restores the database
# to the same structure that the database had at the specified time.
ALTER DATABASE MOUNT;
SET UNTIL SEQUENCE 1124 THREAD 1;
RESTORE DATABASE;
RECOVER DATABASE;
The following example of the RUN command shows the same scenario except with new filenames for the restored datafiles:
RMAN> RUN
# If you need to restore the files to new locations,
# use SET NEWNAME commands:
SET NEWNAME FOR DATAFILE 1 TO '/dev/vgd_1_0/rlvt5_500M_1';
SET NEWNAME FOR DATAFILE 2 TO '/dev/vgd_1_0/rlvt5_500M_2';
SET NEWNAME FOR DATAFILE 3 TO '/dev/vgd_1_0/rlvt5_500M_3';
ALLOCATE CHANNEL t1 DEVICE TYPE disk;
RESTORE CONTROLFILE FROM AUTOBACKUP;
ALTER DATABASE MOUNT;
SET UNTIL SEQUENCE 124 THREAD 1;
RESTORE DATABASE;
SWITCH DATAFILE ALL; # Update control file with new location of datafiles.
RECOVER DATABASE;
If recovery was successful, then open the database and reset the online logs:
ALTER DATABASE OPEN RESETLOGS;
Edited by: jazz81 on 11-Feb-2011 14:44
Edited by: jazz81 on 11-Feb-2011 14:52

Similar Messages

  • RC_datafile location changed after try recover datafile into another host

    Hi,
    I has a database whose datafiles was all in i:\ofs1, yesterday,to verify that my tape backup,
    I tried to restore and recover the database into another host and location c:\ofs1,
    I connected to the recover catalog for the database while performing the restoring and recovering, everything completed successfully.
    But then I found out that the location of datafile in rc_database view in my recovery catalog been updated from i:\ofs1 to c:\ofs1,
    apparent while doing the restoring, rman also update the location of the datafile in rc_datafile.
    And now when I perform backup for the original database, it search the datafiles in c:\ofs1 instead of i:\ofs1.
    Is there anyone know how should I do to update back the datafile location in rc_datafile?
    Thanks
    Vincent

    Hi,
    I can still perform backup, but the rman output will show that the datafile are now in c:\ofs1 as below
    input datafile fno=00005 name=C:\OFS1\DATA_SE.DBF
    input datafile fno=00006 name=C:\OFS1\INDEX_SE.DBF
    input datafile fno=00013 name=C:\OFS1\DATA_SE01.DBF
    input datafile fno=00014 name=C:\OFS1\INDEX_SE01.DBF
    input datafile fno=00003 name=C:\OFS1\SYSAUX01.DBF
    input datafile fno=00009 name=C:\OFS1\RMAN_CATALOG.DBF
    input datafile fno=00001 name=C:\OFS1\SYSTEM01.DBF
    input datafile fno=00002 name=C:\OFS1\UNDOTBS01.DBF
    input datafile fno=00010 name=C:\OFS1\DATA_ODCSE01.DBF
    input datafile fno=00012 name=C:\OFS1\FLOW_1.DBF
    input datafile fno=00007 name=C:\OFS1\DATA_Q107.DBF
    input datafile fno=00008 name=C:\OFS1\INDEX_Q107.DBF
    input datafile fno=00011 name=C:\OFS1\INDEX_ODCSE01.DBF
    input datafile fno=00004 name=C:\OFS1\USERS01.DBF
    channel oem_backup_disk1: starting piece 1 at 08-JUL-10
    channel oem_backup_disk1: finished piece 1 at 08-JUL-10
    piece handle=E:\BACKUP\OFS1\30LI990V_1_1 tag=TAG20100708T133318 comment=NONE
    channel oem_backup_disk1: backup set complete, elapsed time: 00:18:35
    Finished backup at 08-JUL-10
    and when I try to recover datefile copy, the below error show
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/08/2010 13:52:22
    RMAN-00600: internal error, arguments [8064] [1] [C:\OFS1\SYSTEM01.DBF] []
    Is it ok if I change the data in rman catalog to update the rc_datafile location to i:\ofs1?
    Thanks
    Vincent

  • Create test version of database in another host

    Hi!
    As a production system I have a database with a standby database. (Dataguard).
    Now we want to create a test system of the production database in another host, test system shall not be with a standby database.
    Production system is about 5GB.
    What is the fastest and easiest way to create the test database, Oracle binaries are installed in test host but no databases are created.
    /Ulf

    If your database is really only 5 Gb (which would be quite small, particularly for a system that warrants Data Guard), export and import is probably the easiest option. You can also clone the database or recover your backup to the QA machine, but those options seem like a bit more work.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Saving a website on the hard drive so that you can put it on another host

    I just made a website and want to save it to my hard drive just in case everything crashes or there is a dispute with the host and then I will have the website ready to put on another host. For example, if the host decides they don't like my content they might just pull it off the web. I have heard it happen to people and they had to find another host. I don't think it will happen to me but you never know and I just want to have a copy so that if there is any dispute, I can have the website saved and ready to put up on another hosting account.
    Can I just save it from the web using "Save file"? Will that save it in a form that's good enough for putting on another host? I can hire a designer to put it on the host if it takes a few extra programming steps, so long as I have the files saved .....
    Or do I have to do something complicated like special save programs like
    http://www.sitesucker.us/mac.html ?
    I use Scrapbook add-on on Firefox to save the webpages I like just in case the site gets pulled down in the future. Is that the kind of thing I need? If that is all I need, can I use Scrapbook to save my website?
    Will it save all the information to restore the website on another host exactly as it appears? My website has been coded with HTML/CSS. I don't think there is much PHP.
    I am not sure about databases. My website is simply selling a service so I don't keep a database I think or just a minimal one. The customer fills out a form and the information goes to my email address. And the information on my website doesn't change. It isn't a blog that I am adding information to constantly. It just has links for navigating to different pages on the same website. It doesn't have links that point to other websites. There are no fancy files like movies etc.
    I just want something to save my website so that I or an experienced web person can easily put it back up on another host.
    I use Snow Leopard 6.0 by the way. I haven't upgraded to Snow Leopard 6.3 because there were a lot of problems when I did that in the past. So I went back to Snow Leopard 6.0. (It's been good so far so I think I will stay with it.)

    I didn't make it. I gave the psd design to a web designer and gave him instructions to make it using CSS as I heard CSS web pages load faster. He said he wouldn't use database programming languages like php or MySquareL or whatever they're called because he said I didn't need them and he would charge me a lot more for that, so I said just make it with CSS/HTML. I think he's a PC guy, not a mac guy. He's a professional designer and he made my website from scratch from my designs, not with a website builder.
    He hasn't put it on the host yet though he's just about to. I did a search about backing up your website and one website said that some hosts allow you to backup the website using cPanel or something like that. I don't know whether my host has that or not. My host account is very cheap like $16 a year so I don't think there are any special features to the hosting account.

  • Transfer domain to Business Catalyst from another host

    I have redesigned my first website in Muse and want to host it on Business Catalyst. My client is currently using another host. How difficult is it to make the transfer using the existing domain?

    Heaps of guides on this in the guide section here, faq, and the knowledgebase.
    http://helpx.adobe.com/business-catalyst/partner/going-live-guide.html

  • HT1338 I am looking to publish a web site I created in iWeb to another hosting provider.  I have never published this site to MobileMe nor do I have a MobileMe account

    I am looking to publish a web site I created in iWeb to another hosting provider.  I have never published this site to MobileMe nor do I have a MobileMe account.  Can someone please help me?

    Hi Larry, no experience with iWeb, (which is ending soon), but what kind of files & folders does it make locally?
    You need a Wb Hosting service & an ftp client, if you need more info reply with that & what kind of files/folders it made.

  • DUPLICATE DATABASE IN ANOTHER HOST WITH THE SAME DATABASE NAME

    Hi all.
    I want duplicate a database(dbteste1 host:wander) to another host(magda) with the same database name.
    My tnsnames in host wander is this:
    DBTESTE1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = wander)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dbteste1)
    DBTEST1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = magda)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dbteste1)
    Tnsping is ok !!!
    Follow the rman command;
    RMAN> run
    duplicate target database to dbtest1 nofilenamecheck;
    and i get the following message:
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE falhou
    ORA-01504: o nome 'dbtest1' do banco de dados nÒo corresponde ao parÔmetro db_name 'dbteste1'
    If i run this command:
    RMAN> run
    duplicate target database to dbteste1 nofilenamecheck;
    and i get the following message:
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: RMAN-20021: database not set
    RMAN-06031: could not translate database keyword
    I´m using oracle 9.2.0.7 on Windows

    Wrong procedure and connection command,
    check Oracle document,
    Duplicating a Database with Recovery Manager
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#RCMUG012
    Follow all steps listed.

  • Database Moved to another Host

    Hello All,
    I have a Host where Portal and DB are installed (Using Oracle). Now due to the increase in load i'm planning to shift the DB to another host. After restoring the DB to another host i'll change the parameter "jdbc/pool/EP1/Url" in the Config tool and give the host name of the new DB Host.
    I just wanted to know other than this do i need to make changes anywhere else also.
    Any help on this would be really appreciated.
    Regards
    Vaib

    Hi Vaib,
       I have not done this, but this guide on Java system copy might be of use. 
    https://service.sap.com/~sapidb/011000358700000332442005E
    Hope this is of some use.
    John

  • How to migrate adobe business catalyst cms to another hosting

    how to migrate adobe business catalyst cms to another hosting
    is there any way .. i have tried but how can get database

    BC is a SAAS site so you can not just migrate it to another hosting. You would have to take layouts/templates and export the data as spreadsheets through reports in BC etc.
    From there you would have to replace modules and tags with flat content or what ever the system needs that you migrate to.
    Like with any system to system migration it wont be straight forward or a push click solution.

  • Web Dispatcher Connection to another host if Message Server not reached

    Hi Folks,
    Basically, the SAP Web dispatcher gets information which it needs for load distribution from the message server. If the message server is available the web dispatcher connects itself using the parameter rdisp/mshost.
    May i know if there is any parameter to enable connection to another host in case of e.g. a hardware failure and the message server is not able to receive any quests anymore from the web dispatcher?
    Regards,
    Collosis

    Hi,
    >May i know if there is any parameter to enable connection to another host in case of e.g. a >hardware failure and the message server is not able to receive any quests anymore from the web >dispatcher?
    There is no such parameter and it would not make any sense. There is only one Message server to connect to.
    If you need High availability you need to suppress the SPOFs.
    The Message server is one, the web dispatcher is another one.
    For this need, my CI and my web dispatcher are clusterised with MSCS.
    Regards,
    Olivier

  • Tranffer db to another host

    hellow to everyone,
    i need help here///
    i have sap system with sql db- thay are on the same host
    now i want to transfer the db to another host...
    i would like to know how to excute this .. step by step if someone can tell me
    thanks alot
    yossi

    Hi,
    see note 151603 for the procedure.
    Best regards
      Clas

  • What are the benefits to publishing to .mac vs. another host like Godaddy?

    It seems that .mac is much slower in viewing my web pages vs. Godaddy. I understand that I have to upload manually via FTP with Godaddy and the additional cost of paying for another host, but are there any benefits or functionality with iWeb that I will loose if I do not host at .mac?
    Thanks in advance.

    These features are only available If you publish your site to GoDaddy, etc., but not to .mac.
    receive emails addressed to [email protected] (.Mac only accepts mail addressed to [email protected])
    10+ times the space for the same price
    unlimited email accounts
    faster page loads
    more bandwidth
    etc, etc
    .Mac has slicker Albums but publishing iWeb to a folder creates Albums that are slick enough.
    http://www.mjweber.com/mjwredsite/mjweber/gallery/gallery.html

  • Publishing on .Mac versus another hosting plan

    I published the same Blog on .Mac and another hosting plan and get different results. To publish to my hosting plan at aPlus.net I first publish to a folder on my disk and then ftp that folder to my host.
    At ,Mac the Blog works fine. At aPlus.net when I click on the first entry I get the following error
    Not Found
    The requested URL /Investing/Blog/Entries/2007/8/18The_week_afterpill….html was not found on this server.
    Note the strange characers inserted after pilla....I have published the same stuff several times to a different folder and have ftp-ed several copies of this folder to aPlus. but the results are different compared to .Mac
    You can check it out by going to these two sites and click on the first entry
    http://www.flemishDNA.com/Investing/Blog/Blog.html
    This is the copy residing on .Mac
    http://www.dokuspublishing.com/Investing/Blog/Blog.html
    this is the same blog residing at aPlus.net
    Where do these strange characters come from and how come publishing to .Mac and to another host turn out to produce different results ?
    Anyone?

    Non-.Mac servers sometimes have more restrictions on characters they will accept. Yours is perhaps not accepting the ellipsis in UTF-8.
    One thing you could try is to put an .htaccess file in your web space with the entry "SecFilterEngine Off" and/or "SecFilterCheckUnicodeEncoding Off" (without quotes).
    A utility for fixing filenames with accented characters is available here.
    http://sschoenb.blogspot.com/2007/08/iweb-and-umlaut-characters.html

  • Change a central instance to another host

    Hi @all,
    we want to change a Central Instance (ABAP and JAVA distributed) to another host.
    centralinstance now sapci01 windows2000 Server 32 Bit
    databasehost now sapdb01 windows2003 Server 32 Bit
    centralinstance after sapci02 windows 2003 Server X86_64
    sapci01 will deleted
    Version SAP ERP 2005 SR1 on Oracle 10.2
    In SAP ERP 2004 i can do this easy via SAPINST and he installs the central instance and the Oracle Client.  In newest SAPInst is this not possible.
    Can anyone tell me the SAP Conform right way to do this? In Instguide this scenario is not described. In my opinon I must handle this as SysCopy
    thx

    Hi Martin,
            "we want to change a Central Instance (ABAP and JAVA distributed) to another host. "
    Do you mean ABAP and JAVA were installed with seperate installation numbers or database and CI are on another hosts. In either case, you can safely move CI to another physical host.
             " centralinstance now sapci01 windows2000 Server 32 Bit
               databasehost now sapdb01 windows2003 Server 32 Bit
               centralinstance after sapci02 windows 2003 Server X86_64
               sapci01 will deleted
               Version SAP ERP 2005 SR1 on Oracle 10.2
                In SAP ERP 2004 i can do this easy via SAPINST and he installs the central instance and     the       Oracle Client. In newest SAPInst is this not possible.
                Can anyone tell me the SAP Conform right way to do this? In Instguide this scenario is not     described. In my opinon I must handle this as SysCopy   "
    This is not at all system copy as you are not moving database from one physical host to another physical host"
    In ERP 2005 sapinst also have the entrie to install only Central instance. It is under distributed system installation. Please check.
    Thanks,
    Kiran.

  • Why can not scp the spfile to another host?

    Why can not scp the spfile to another host?
    The hostp is physically connect with hosts with a router. Both are RHEL5.0 OS. I copied some files from hostp to hosts successfully a few days ago. But it not work today. The SSH is disabled on both hosts.
    [oracle@hostp db10g] $ cd $ORACLE_HOME/dbs
    [oracle@hostp dbs] $ ls
    hc_db10g.dat init.ora orapwrcatalog spfilercatalog.ora
    hc_rcatalog.dat lkDB10G snapcf_db10g.f
    initdb10g.ora lkRCATALOG snapcf_rcatalog.f
    initdw.ora orapwdb10g spfiledb10g.ora
    [oracle@hostp dbs] $ scp spfiledb10g.ora hosts:/u01/app/oracle/product/10.2.0/db_1/dbs/
    ssh: connect to host hosts port 22: No route to host
    lost connection

    I ping the hostp from the hosts, it is reachable; But I ping hosts from the hostp, it is unreachable. The follows are some information for diagnosys.
    [root@hostp oracle]# route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
    0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
    [oracle@hostp ~]$ ping hosts
    PING hosts (192.168.0.3) 56(84) bytes of data.
    CFrom 192.168.0.107 icmp_seq=2 Destination Host Unreachable
    From 192.168.0.107 icmp_seq=3 Destination Host Unreachable
    From 192.168.0.107 icmp_seq=4 Destination Host Unreachable
    --- hosts ping statistics ---
    9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 7997ms, pipe 3
    [oracle@hostp ~]$ cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    192.168.0.2 hostp
    192.168.0.3 hosts
    [oracle@hostp ~]$ ping hostp
    PING hostp (192.168.0.2) 56(84) bytes of data.
    64 bytes from hostp (192.168.0.2): icmp_seq=1 ttl=64 time=0.394 ms
    64 bytes from hostp (192.168.0.2): icmp_seq=2 ttl=64 time=0.194 ms
    64 bytes from hostp (192.168.0.2): icmp_seq=3 ttl=64 time=0.190 ms
    --- hostp ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2002ms
    rtt min/avg/max/mdev = 0.190/0.259/0.394/0.096 ms
    [oracle@hostp ~]$ cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    192.168.0.3 hosts
    192.168.0.2 hostp

Maybe you are looking for

  • Can you get the plan headphones with a remote(like you do when you first buy a smaller gb ipod)? if so how much do they rage and where can you order then?

    i've been having a hard time just finding a good/not over 30$ headphones that will go with cause the the headphones i got are dead and not working no longer and you know parents or anyone these's days that are not willing to go buy something that isn

  • Is there a way to find items not yet stored in vault?

    I haven't been able to find anything about this on the forums or on the web... When I launch Aperture, it tells me that there are 52 items not yet stored in a vault. I want to know which items they are in my library, but haven't figured out a search

  • Using CLR Integration in SQL Server 2005

    I have several CLR SQLProcedures in my SQL Database for performing performing complex selects with regex etc.   These work exceptionally well form with Visual Strudio for retrieving a dataset. However from within Crystal Reports I can not see these s

  • Mac OS X Mavericks - Slow!

    Hey guys, I updated to Mavericks a while ago and I have been experiencing hangs and slowdowns across the system. The beachball is very common for relatively mundane tasks and things just take a lot longer to complete. Here is the Etrecheck run: Hardw

  • Opening JSP pages in Jdeveloper

    Hi all I am using Jdeveloper 10g preview for my project development. Lately I am getting an exception whenever I try to open JSP pages. I cannot get either the design view or the code view. My component palette also shows that it is inactive. The exc