Backup from 9i and restore this backup to 10g using RMAN

Hi all;
I have a database 9i on SuSE9. And I want to restore another server this database's backupsets to 10g on SuSE10 using RMAN. Then I have run following scripts.
On 9i Database: (SID=discoden)_
RMAN > backup database plus archivelog;
and I have three backupsets (05l87nik_1_1, 06l87nio_1_1, 07l87nml_1_1) and one controlfile backup (c-4279316798-20100310-00). then I copy these backuppieces to new server.
On 10g Database:_
+1. I have created udump and bdump folder into $ORACLE_BASE/admin/discoden/+
+2. I have copied init.ora, pasted initdiscoden.ora in $ORACLE_HOME/dbs folder. And I have changed following parameters+
db_name = discoden
shared_pool_size = 350000000
control_files = (/disk2/oracle/discoden/control01.ctl, /disk2/oracle/discoden/control02.ctl, /disk2/oracle/discoden/control03.ctl)
user_dump_dest = /opt/oracle/admin/discoden/udump
background_dump_dest = /opt/oracle/admin/discoden/bdump
compatible = 10.2.0.3.0
undo_management = auto
+3. export ORACLE_SID=discoden+
+4. cd $ORACLE_HOME/bin+
+5. ./rman target /+
+6. RMAN> startup nomount;+
+7. RMAN> restore controlfile from '/disk2/setup/c-4279316798-20100310-00';+
+8. RMAN> alter database mount ;+
+9. RMAN> catalog backuppiece '/disk2/setup/05l87nik_1_1';+
RMAN> catalog backuppiece '/disk2/setup/06l87nio_1_1';
RMAN> catalog backuppiece '/disk2/setup/07l87nml_1_1';
+10. SQL> alter database rename file '/disk2/oracle9i/databases/discoden/redo01.log' to '/disk2/oracle/discoden/redo01.log';+
SQL> alter database rename file '/disk2/oracle9i/databases/discoden/redo02.log' to '/disk2/oracle/discoden/redo02.log';
SQL> alter database rename file '/disk2/oracle9i/databases/discoden/redo03.log' to '/disk2/oracle/discoden/redo03.log';
+11. RMAN > list backup; (With this command, I have learned last sequence number. For example 204)+
+12. I have run following command on RMAN:+
+run {+
set until sequence 204;
set newname for datafile 1 to '/disk2/oracle/discoden/system01.dbf';
set newname for datafile 2 to '/disk2/oracle/discoden/undotbs01.dbf';
set newname for datafile 3 to '/disk2/oracle/discoden/cwmlite01.dbf';
set newname for datafile 4 to '/disk2/oracle/discoden/drsys01.dbf';
set newname for datafile 5 to '/disk2/oracle/discoden/example01.dbf';
set newname for datafile 6 to '/disk2/oracle/discoden/indx01.dbf';
set newname for datafile 7 to '/disk2/oracle/discoden/odm01.dbf';
set newname for datafile 8 to '/disk2/oracle/discoden/tools01.dbf';
set newname for datafile 9 to '/disk2/oracle/discoden/users01.dbf';
set newname for datafile 10 to '/disk2/oracle/discoden/xdb01.dbf';
set newname for datafile 11 to '/disk2/oracle/discoden/DATASPACE1.dbf';
set newname for datafile 12 to '/disk2/oracle/discoden/CARDEM.dbf';
set newname for datafile 13 to '/disk2/oracle/discoden/MUHASEBE.dbf';
set newname for datafile 14 to '/disk2/oracle/discoden/ORTAK.dbf';
set newname for datafile 15 to '/disk2/oracle/discoden/MAGAZA.dbf';
restore database;
switch datafile all;
recover database;
alter database open resetlogs;
+}+
Then I have an error like following lines:
+..........+
media recovery complete, elapsed time: 00:00:04
Finished recover at 06-MAR-10
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03004: fatal error during execution of command
ORA-03114: not connected to ORACLE
ORA-03114: not connected to ORACLE
RMAN-03002: failure of alter db command at 03/06/2010 09:00:47
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
ORACLE error from target database:
ORA-03114: not connected to ORACLE
I don't understand the mistakes. I hope your helps. Thank you.

Hi,
You have followed the steps correctly while restoring and recovering the 9i database under 10g home using RMAN except the last step of opening the database.
Remove 'alter database open resetlogs;' from the rman script and rerun the script. Once the database is restored and recovered, open the database with RESETLOGS & UPGRADE option through SQL*Plus as below.
SQL> alter database open resetlogs upgrade;
Once the database is opened, create the SYSAUX tablespace and run $ORACLE_HOME/rdbms/admin/ upgrd.sql catupgrd.sql script to upgrade the database to 10g ( follow the steps for upgrading the database).
MetaLink Note : 369644.1 - Answers To FAQ For Restoring Or Duplicating Between Different Versions And Platforms
Regards,
Vaibhav
Edited by: Vaibhav on Mar 11, 2010 11:09 AM

Similar Messages

  • User State backup from SCCM and Restore it from Command Prompt

    Am testing a scenario for my SCCM 2012 R2 Operation guy’s
    I have captured with default settings by using SCCM Task Sequence with USMT steps.
    see attachment file "USMT Capture Step.png"
    And restoration wanted to restore manually. (I have tested with SCCM 2012 R2 automated method and it works, However my Operations Manager wanted this to be done manually in the event of Failure of automated.. as they wanted to take some kind of local copy and
    restore)
    I have recovery key from SCCM Console as “XW7zaXhecBhAayMT2r+qtyWfEF5rc0FSBc9RH067ZV/FIrTCsfTXJZgBoofnukzWquTsb8Gx0l0Q+I71IqAQwymVFRBb4nXsSKpyobRd34NrNcivP/Xu1uaJvRuB70S6d2KIpwsa8KnwU47Zcx7HUX9Wu66y0pmCMOwm5ay5UwdAy8tnDGvwMabdWMbqsmfUTwd1QKcmMGpe1ruGoJcuoizom3PcNGnqoNyd5dCURpUmXVnEDWedqgDc+FN0ZC1k”
    However when executed below command it giving syntax errors.
    loadstate /i:migapp.xml /i:migdocs.xml c:\usmt /decrypt /key:mykey
    try with UNC alos
    loadstate /i:migapp.xml /i:migdocs.xml  \\Ipofsystem\usmt /decrypt /key:mykey
    See attchemnt as error.Png
    As per Microsoft article the command am using is correct one L any
    inputs here
    Ms command  https://technet.microsoft.com/en-us/library/hh825190.aspx
    loadstate /i:migapp.xml /i:migdocs.xml \\server\share\migration\mystore /decrypt /key:mykey
    Kindly help me with your experience
    Error Log file
    2015-04-23 21:12:00, Info [0x000000] LOADSTATE.EXE Version 6.2.9200.16384[gle=0x000000b7]
    2015-04-23 21:12:00, Info [0x000000] USMT Started at 2015/04/23:21:12:00.266
    2015-04-23 21:12:00, Info [0x000000] Command line: loadstate /i:migapp.xml /i:migdocs.xml c:\usmt /decrypt /key:****
    2015-04-23 21:12:00, Info [0x000000] Failed.[gle=0x00000002]
    2015-04-23 21:12:00, Info [0x000000] An error occurred processing the command line.
    Invalid store path; check the store parameter and/or file system permissions[gle=0x00000002]
    2015-04-23 21:12:00, Info [0x000000] USMT Completed at 2015/04/23:21:12:00.266[gle=0x00000002]
    2015-04-23 21:12:00, Info [0x000000] ----------------------------------- USMT ERROR SUMMARY -----------------------------------[gle=0x00000002]
    2015-04-23 21:12:00, Info [0x000000] * USMT error code 27: [gle=0x00000002]
    2015-04-23 21:12:00, Info [0x000000] +-----------------------------------------------------------------------------------------[gle=0x00000002]
    2015-04-23 21:12:00, Info [0x000000] | An error occurred processing the command line.[gle=0x00000002]
    2015-04-23 21:12:00, Info [0x000000] | Invalid store path; check the store parameter and/or file system permissions[gle=0x00000002]
    2015-04-23 21:12:00, Info [0x000000] +-----------------------------------------------------------------------------------------[gle=0x00000002]
    HunBoy Started learning from this page

    Got it...
    my mistake https://support.microsoft.com/en-us/kb/2892374?wa=wsignin1.0
    To resolve this issue, provide a path of the same folder level that was used in the scan state. Do not use the full path in the
    command. 
    For example, if the MIG file is located at "C:\store\usmt\usmt.mig," the LoadState command
    should be pointed to "C:\store" as follows:
    Loadstate.exe c:\store /auto
    now the issue is resolved 
    HunBoy Started learning from this page

  • TS3297 Hi, I've setup my new mini ipad today, restored a backup from icloud and all is fine.  However, when I try to download my music, they almost completely download then an error message pops up saying "unable to download songs" - can anyone help pleas

    Hi, I've setup my new mini ipad today, restored a backup from icloud and all is fine.  However, when I try to download my music, they almost completely download then an error message pops up saying "unable to download songs" - can anyone help please?

    So it appears iCloud/iTunes Match isn't the issue - the error message would seem to be complaining about where the music is being downloaded to. So with this in mind:
    In iTunes select Preferences and select Advanced. The iTunes media folder should be set to /Users/<your account>/Music/iTunes/iTunes Music. <your account> would be whatever your user account is. If you see something else there I'd guessing it is a folder you don't have permission to write to.

  • After moving from Canada to the US, getting a new iPhone 5C, and restoring my backup from iCloud, I can't update my apps. I get an error message that my account is not valid in the Canadian App store and I must change to the US store. How do I do that?

    After moving from Canada to the US, getting a new iPhone 5C, and restoring my backup from iCloud, I can't update my apps. I get an error message that my account is not valid in the Canadian App store and I must change to the US store. How do I do that?

    Change here:
    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region.
    You must have a verified billing address & be located in the country whose store you are trying to use.

  • Disk Utility can't repair this disk...disk, and restore your backuped-up file.

    Computer got uber slow.
    I started to worry.
    Now computer won't start.
    VERY worried.
    Tried to repair disk. Received error message above.
    Any help would be greatly appreciated.

    sulaver wrote:
    Computer got uber slow.
    I started to worry.
    Now computer won't start.
    VERY worried.
    Tried to repair disk. Received error message above.
    Any help would be greatly appreciated.
    You can't have received an error message "Disk Utility can't repair this disk...disk, and restore your backuped-up file." since that is pure gobbledegook and isn't even good English.
    What may have happened is that
    (a) your hard drive has become so full that the operating system can't find any space in which to.... operate.
    (b) as macjack says, it has crashed - possibly as a result of (a).
    (c) you have been allowing Time Machine to back up to your internal hard drive instead of to a backup disk, which has caused (a) to happen.

  • [Oracle 11G XE and Apex 4.2 ] Backup from System "A", restored in System "B" wont work.

    ***Backup from System A, restored in System B wont work.***
    Hi!
    i have a problem, my Apex 4.2 computer/server died, broken motherboard, made me to take the backup files from the HDDs within System A, moved them over to the HDD within System B.
    System OS: Win7 Ult 64bit.
    1. Installed Oracle 11g XE
    2. Installed Java JRE-7 (1.7.0_40)
    3. Installed Java Glassfish Server 3.1.2.2 (ogs-3.1.2.2-windows.exe) (Java EE6 Compatible)
    4. Run Restore, Succefully Restored. (the Backup is taken from System "A" that worked properly with Apex 4.2 before hardware crash.)
    The Result
    http://127.0.0.1:8080/apex/f?p=4950
    Error    Error processing request.
    ORA-01403: no data found
    OK    <-( Button )

    then i tryed just this URL -> http://127.0.0.1:8080/apex
    it works as it schould.

  • I forgot my restrictions passcode, if I do a restore to new with my phone and change the passcode, can I then backup from a previous restore

    I forgot my restrictions passcode, if I do a restore to new phone in iTunes and change the passcode, can I then backup from a previous restore to put everything back onto my phone.

    No you cannot. The restrictions passcode is part of the backup, and if you restore to a backup that contains the restrictions passcode, you will be right back where you started. Only alternative is to restore the device as new, or if you restore to a backup, it has to be before the restrictions passcode was entered into the phone. However, that could mean that you would be restoring to a date that does not contain all of your data.

  • TS4268 I buy a new iphone 4S with another company and restored my backup from a 4 and on the imessage activation I get incorrect activation but I can get imessage with my apple id what can i do ?

    I have problems with the iMessage activation with a new iphone 4S I buy a new iphone 4S with another company (movistar) and restored my backup from a 4 (telcel) and on the imessage activation I get incorrect activation but I can get imessage with my apple id what can i do ?

    I restored it and activated it as a new iphone and tried to activate imessage and is the same error
    Also I am receiving a message from +44 7860 015000 with REG-RESP?v=3;...........
    But I can't get the activation

  • HT1766 i have moved from an iphone 4 to iphone 5 and have done a back up of my iphone 4 and restored this back up to the iphone 5 but the apps do not appear to have come across, have I done something wrong?  Please can someone tell me how to move my apps

    i have moved from an iphone 4 to iphone 5 and have done a back up of my iphone 4 and restored this back up to the iphone 5, but the apps do not appear to have come across.  Have I done something wrong?  Please can someone tell me how to move my apps across?

    After you Restore from backup, sync the iPhone.

  • Reformat MacBook and restore a Backup

    what exactly do I have to do to reformat my MacBook and restore the Backup I have on my external hard drive? I want to revert to OS X only after installing Vista. will this bring back the EFI partition that was deleted?

    well I figured it out, I had used superduper, then I just booted onto my external drive and opened disk utility and used it to format my hard drive and restore it from the external drive, luckily this also fixed the problem of brining back the EFI partition and I was able to get XP back. now I can play my old games again
    Microsoft copied so many features from OS X on Vista
    BOYCOTT VISTA!!!!!!!!!
    even though you didn't really help me but your the only person that actually responded and at least tried to help I'll give you help points. thank you
    (its really annoying having no one respond when you need it especially when doing something like installing Vista on your Mac which isn't supported so you have to do it blindly not knowing what the **** your doing because no one had the decency to respond)

  • "You can't restore this backup because it was created by a different model"

    I've been using TM from my Mac Mini to Macbook extensively due to my remote locations and due to the fact that i am always on the run and need to have same apps in both computers. Now after having no probs and fully satisfied with my apple products i stumbled into this: "You can't restore this backup because it was created by a different model of mac". Can someone explain me how on earth did this happen after all these times?? Any suggestions? What are my alternatives?
    I tried the superduper image but image of my Mac Mini contains different system info from the Macbook componenets i guess, since they use different installation discs. In the end of the day i guess i will have to use the install dvd and then the migration assistant, but why did TM Restore failed me so much?

    I can only assume you tried restoring an entire system thus causing the error to avoid installing a Mini system on the MacBook or vice-versa. Transferring an application shouldn't bee a problem, but restoring the entire OS would be.
    It isn't clear exactly what you need to do, but my assessment is that you should be using a different utility such as one of the following:
    Backup Software Recommendations
    Backuplist
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    iBackup
    JaBack
    Silver Keeper
    MimMac
    Retrospect
    Super Flexible File Synchronizer
    SuperDuper!
    Synchronize Pro! X
    SyncTwoFolders
    Synk Pro
    Synk Standard
    Tri-Backup
    Others may be found at VersionTracker or MacUpdate.
    Visit The XLab FAQs and read the FAQ on backup and restore. Also read How to Back Up and Restore Your Files.

  • Backup contacts & messages and restore on new iphone with another computer

    Dear,
    My brother gifted me iphone-4 which was in his use, he has no music, videos even not much photos. But he has much contacts and messages also messages on viber.
    I made backup by iTune and also copied the backup folder from mobilesync from my computer. the backup is just only about 256MB.
    If i email him this backup folder or give on flash drive, Can he restore on his new iphone-4 or iphone-5 ?
    please advice me in this regard that the itune backup include contacts & messages and can be restored on new mobile with another computer.
    Thanks.

    Hey shoaibadil,
    Thanks for the question, and congratulations on the iPhone gift.
    It sounds like you are doing everything correct, however I suggest that you backup your iPhone, and restore his iPhone with the backup at the same time (instead of emailing). The backup file is probably too big to email to your brother. You could also use iCloud to accomplish this:
    Transfer content from an iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Thanks,
    Matt M.

  • BACKUP FROM OLD SERVER & RESTORE TO NEW SERVER

    Hi ,
    i have install SAP on New Server (ADM X86) , it has good hardware. that why i want to shiftout from old deveopment Server to new Server . From old server i want to take backup through DB13 and restore through Brtools on new server. backup will be on disk.
    please guide me which type of backup should be taken ?
    and what is difft b/t whole backup and full backup ?
    NEW SERVER with 2 Quard core processor, 24 GB RAM
    OS= SOLARIS 10
    DB= Oracle 10.2.0.4 with 39 Interim opatch
    SAP= Ecc 6.0
    Hostname=sapdev
    System No.=00
    OLD Server(SPARK) WITH 1 Dual Core Processor , 6 GB RAM
    OS= SOLARIS 10
    DB= Oracle 10.2.0.4 with 39 Interim opatch
    SAP= Ecc 6.0
    Hostname=devsap
    System No.=00
    Best Regard
    Imran Khan

    Hi Imran,
    In you have a full backup, using this existing backup further you can take incremental backups. The incremental backup is based on the previous full backup. The full and incremental backups is controlled by RMAN (Recovery manager).
    You can take a full backup and restore the same in your new server and later take an incremental backup from your old server and restore it to the new server for all the delta changes made. By this you can make sure that your production data is made consistent in the new server.
    If you have sufficient dowtime then, you can take a whole DB backup with redo log files and restore them in your new server.
    There is no difference between whole backup and full backup, with respect to the database data.
    784118 - System Copy Java Tools
    check the OraBrcopy tool in this note. It might help you.
    regards,
    chandru.

  • Flashing question mark on screen. Can I still backup my files and restore my system?

    Okay, so yesterday evening, I received a message from my teacher that I had to redo one of my papers because a program she used detected some copy paste information that was about 39% more than what she accepts and asked me to reword some of the information. When I started working on my paper to resubmit it to her, My laptop was freezing a lot in the middle of me working on my school paper. After a while, it completely froze to the point where I could no longer do anything and stayed frozen for hours on end. I couldn't even save my work which was very frustrating considering I wanted to get that done and out of the way. I felt that I had no choice but to force it to turn off and turn it back on. In the process of me doing so, a flashing file with a question mark came on in which I took the time to look up to see what it meant and how can I fix it. However, after many reading, I realized that if I reboot the system I will lose everything I have that's important to me (which technically is my school work, some photos, and licensing application). I never used the Time Machine when my laptop was up and running because I never understood it or knew how to use it. One of the things I read is that I am able to restore my laptop with Time Machine. But I was curious to know if I can still use Time Machine to backup and restore my laptop? I'm hoping I can as I really do not want to lose the information and files I have saved. Below are the basic information of my laptop. Please help!!!!
    Screen Size
    13.3 inches
    Screen Resolution
    1280x800
    Max Screen Resolution
    1280x800 pixels
    Processor
    2.5 GHz Intel Core i5
    RAM
    4 GB DDR3
    Hard Drive
    500 GB HDD 5400 rpm
    Graphics Coprocessor
    Intel HD Graphics 4000
    Chipset Brand
    Intel
    Card Description
    Intel HD 4000
    Graphics Card Ram Size
    128 MB
    Wireless Type
    802.11 a/b/g/n
    Number of USB 2.0 Ports
    2
    Average Battery Life (in hours)
    8 hours
    Expand 
    Other Technical Details
    Brand Name
    Apple
    Series
    MacBook Pro
    Item model number
    MD101LL/A
    Hardware Platform
    Mac
    Operating System
    Mac OS X 10.8 Mountain Lion
    Item Weight
    4.5 pounds
    Item Dimensions L x W x H
    8.94 x 12.78 x 0.95 inches
    Color
    Silver
    Processor Brand
    Intel
    Processor Count
    1
    Computer Memory Type
    DDR3 SDRAM
    Hard Drive Interface
    Serial ATA
    Hard Drive Rotational Speed
    5400 RPM
    Optical Drive Type
    DVD+R DL
    Audio-out Ports (#)
    1
    Power Source
    DC
    Voltage
    100 volts

    The fact that you can boot into Recovery Mode, which is a hidden partition on your HD, means your HD is working, at least somewhat. Since your main concern is retaining the files that are important to you, what I'd suggest is creating a clone on a separate, external HD. You can do that by booting into Recovery again, partitioning the external with a GUID partition table and creating at least one partition for a clone (3TB externals are pretty inexpensive these days and you could have plenty of partitions large enough to hold what's on your internal drive) and using "Restore" in DU with the internal as the source and the external partition as the target. With that done, see if you can boot from that external clone. If you can't, go back to Recovery, and, instead of Disk Utility, choose Reinstalling the OS but with the clone you just made as the target. When that's done, see if you can boot from the external, and if you can, you will have a working bootable backup of your internal and all your files. You can then wipe the internal and Restore to the internal by using Restore in Disk Utility in Recovery Mode with the external as the source and the internal as the target. Normally, I'd suggest just reinstalling the OS on the internal, but if there's something wrong with the drive, you may risk making things worse, and first priority is to protect your files.

  • Can I maintain Elements Tags and Stacking if I backup on Windows and restore on Mac

    Can I maintain Elements Tags and Stacking if I backup on Windows and restore on Mac

    Thanks Barbara and Michel, confirming that backup on from Elements 10 on Windows 7 and restore to Mac OSX albeit slow worked fine preserving stacks and tags.
    Previous experience of upgrading Elements 5 to 10 on Windows lost all stacks which put me in the dog house with my wife who had spent a lot of time creating them.
    All the best John

Maybe you are looking for

  • Page numbers in a photo book / keepsake

    Can anyone tell me how i can get page numbers to display in a photo book? In the help section it says that i can go to settings and turn this function on, however, I don't have that option in there. I need it to make a slideshow preview for others in

  • Digital signature on 10.6.1 update is missing or invalid

    therefore i cannot update. the installer gives the above error... can someone help, my mail is buggered while i wait.

  • Eagle eyes web not working iOS 6

    i updated my iphone 3g to ios 6, i have a problem because eagle eyes web not working, appear message that push video is not compatible

  • Problem in update operation for duet enterprise 1.0 from SharePoint end.

    Hi Everyone, I have developed a sap netweaver duet enterprise 1.0 to send the data from sap to share point and from share point to sap. The problem is that I am able to test the data successfully from duet system in sap for all the operations  Query,

  • Publishing changes only to Folder

    I am wondering if anyone can tell me how to publish only changes to a folder. I takes a while each time I make a slight change or correct an error to upload the entire site to my .com server. I am using Transmit FTP client which is slick but it has t