How do I clone a database but still apply old archivelogs? Getting ORA-1223

Hi,
I'm doing a clone from PROD to DEV in 9.2.0.6 for 11.5.10.2 on Solaris 9. I worked through many issues, such as copying the files, changing the init<SID>.ora to the new DEV values, re-editing all of the env files with the new SID on the new (target) machine name, etc.
The data is about 2 weeks old and so I was hoping to not only recover this database during the clone, but ALSO roll forward, applying all of the old archive logs to date. (Nothing changed in the middle tier save for a few
paramaters in the xml file which I've already edited).
Normally when I'm cloning -- I do it with fresh/recent data files so I don't care about reseting the archivelogs, I just reset them and say si-a-nerra!
But.... now I am trying to both change the database name (SID) and apply a bunch of archvie logs (about 2 weeks worth). Note: I also recreate the control file as part of my whole process too.
Here's the problem I am having -- after doing a startup nomount in the new location (with my new environment files, data files, etc all in place) and
then doing @recreate.sql (which is the edited control file script from the 'backup controlfile to trace' on prod) I am getting this message:
SQL> @recreate.sql
CREATE CONTROLFILE SET DATABASE "DEV11i" NORESETLOGS
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01223: RESETLOGS must be specified to set a new database name
- well OK this message makes sense to me - yes I could easily just keep the new name and say RESETLOGS, but I don't want to do this !!! I want to set the new name for the clone, and keep the logs unset so that I can then recover until cancel, applying my 2 weeks worth of logs.
- What is the solution? Do I have to just bite the bullet and do RESETLOGS instead? (and in effect make my recovery practice seperate from my current cloning tasks)
- Or should I change everything back to the old (original name) LIVE11i (for Prod), including the env files, data files etc .. on the new (target) machine.., recover the database completely (maybe even disconnect it from the network and rename the (target) machine to the old prod server name), and then do another whole procedure (which I'd have to find - but I know it's similar) for changing the SID...
Please help. Thanks in advance! Marvin.
Message was edited by:
umfan866

Oviwan,
Because of getting the error message, the recreate controlfile has not
gone through, thus I have not yet reset the logs.
What I'm going to do for now is in fact change the script to SET
the new name for DEV11i and RESET the logs, just to test my clone. The
data will be 2 weeks out of date, but I'll have verified that my files from tape
work (these files had come of the tape, and are now 2 weeks old).
To make the DB fresher, I can just re-clone with RESET using last night's
hot backup from PROD. That'll freshen DEV's files up no problem.
I had wanted to test all these archive logs and see if they apply nicely,
but I'll just have do that on a separate box (disconnected from the network)
where I keep the DB name and machine name the same as prod.
Thanks for your help! Marvin.

Similar Messages

  • Change of ConfigOPtions but Database does still link old options

    Change of ConfigOPtions but Database does still link old options
    When we change options for a configuration in the configurator Screen, it allows to do this. However the database for this configuration still links to the unclicked old option and tries to pick these options.
    Has anyone experienced the same behaviour ? Is this a bug ?

    Hi Peter,
    Yes, I am calling RFC function module from XI.
    After I changed the interface of RFC in SAP, I have imported this RFC once more to XI in Integration Builder and new structures appeared.
    And exception returned is that first new field added to the RFC and Data Type and so on, returns an exception.
    And returned XML structures (in message monitoring) appears to be still old structures.

  • I unregistered my iphone but still am having issues getting texts from iphone users. Anyone know how to fix this?

    I unregistered my iphone but still am having issues getting texts from iphone users. Anyone know how to fix this?

    Turn off iMessage on the old iPhone.
    Restore the iPhone as new.
    Have the other iPhone users delete the current message thread, and start a new messae to you.
    Have the other iPhone users delete your contact, then re-add it.
    Go to ww.icloud.com and remove the device from your Find My iPhone.
    Go to appleid.apple.com and change your primary email address and/or password.
    Contact Apple Support at getsupport.apple.com for further assistance if these steps don't work.
    Wait about 30 days for the iMessage server to self-correct the issue.

  • My iPod Classic 160GB is recognized by computer, and goes through sync process, but still has old stuff...

    My iPod Classic 160GB is recognized by computer, and goes through sync process, but still has old stuff...
    I feel like there must be an issue with the library location, but I don't know how to correct that.  My Dad recently wiped my computer and deleted Windows XP and installed Windows 7.  I don't know what he did, but my iTunes library is still intact it seems. However, I've added quite a few podcasts that I'd like to sync to my iPod.  When I connect it, it goes through the sync process, but ends quickly and says its safe to disconnect.  None of the new podcasts are on there though.
    Also, there was something really wrong with my iTunes account.  When I went to buy something from the store, it wouldn't accept my password, and when I went to reset it, it wouldn't recognize my birthdate and month (I had the correct username).  I ended up creating a new account and purchasing a song.  This time, it did sync the new song onto my iPod, but not the podcasts I'm trying to sync.
    As far as the library location, is there anything particular that has to be included in that library in order for it to be recognized by iTunes when you sync?  Awhile back (before my Dad worked on my computer), I had changed the folder location to my external hard drive, but in researching, I saw that I still had in another drive some folders with music that is currently on my iPod.  So it looks like I have some stuff on two different drives... Maybe this has something to do with it not syncing right?
    I did check, and my Firewall doesn't have iTunes blocked.
    As you can see, I'm not very experienced with all of this... Sorry for the confusion.  If you are interested in helping me and have any questions, please let me know.
    I'm hoping someone will be able to help me... I desperately want to be able to listen to my podcasts, as I'm a stay-at-home Mom of 4 little ones, and the podcasts are kind of an "escape" for me when the children are napping or playing. :-) 
    Thank you in advance for your help!

    Oh my goodness!!  I am absolutely thrilled right now B-rock!!  I don't know how I missed it, but when I went back to change the setting like you mentioned, I noticed that the very top box that says "Sync Podcasts" wasn't checked!  I have no idea why... But my heart started to race when I checked that box and all of a sudden it started syncing all my podcasts!!  It's gonna take a long time (I have 385 of them!), but I am just so happy you helped me with this problem.  Thank you SO much! 

  • I have enabled pop-blocker but still pop-ups are getting opened.

    Hi Team,
    I have enabled pop-blocker but still pop-ups are getting opened.
    New browser gets opened automatically in various windows.
    Can you please help me?
    Regards,
    Hitesh

    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • I've tried everything but still can not! get rid of Babylon. Has anyone found a long term or permanent solution?

    I've tried everything but still can not! get rid of Babylon. Has anyone found a long term or permanent solution? I've tired uninstalling and reinstalling FF, done the about:config which also hasn't worked. I've deleted everything to go with this stupid search engine but still it reappears. It's just ridiculous. Please help!!! I don't really want to use another web browser

    Did you check these?
    *[[/questions/935739]] and [[/questions/935739#answer-367152]]
    *[[/questions/923451]]
    *http://support.babylon.com/index.php?/Knowledgebase/List/Index/48/english-faq
    *http://support.babylon.com/index.php?/Knowledgebase/List/Index/37/installation--technical-support

  • I am unable to configure my ipad 2 with my existing wifi of linksys though I have entered the all ip address as per my laptop but still I am not getting thru network kindly suggest the solution

    i am unable to configure my ipad 2 with my existing wifi of linksys though I have entered the all ip address as per my laptop but still I am not getting thru network kindly suggest the solution

    The ip-adress cannot be the same as your laptop. You have to make sure that your ip-adress is unique in the network. if your ip is 192.168.1.100 try 192.168.1.112 or somthing. More advanced is to check avalible adress in your router.

  • How to deactivate Adobe Acrobat 9 Standard on notebook(old), to get the license free for an installation on notebook(new)?

    How to deactivate Adobe Acrobat 9 Standard on notebook(old), to get the license free for an installation on notebook(new)?

    Yes, I do need deactivation, because the other one runs on my desktop pc. 
    And no, there is no deactivation option in the help menu in my version (acrobat 9 standard).

  • URGENT HELP How Can I clone the database only?

    Hi all
    I have two database, oracle9.2.0.6 running on RHEL4
    one is testing server and the other for the production server
    how can i clone the testing DATABSE on the productioin DATABASE?
    please help me urgent
    Thank You
    Regards

    Hello Tawfik,
    You can use RMAN duplicate with the following link for 9i.
    http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php
    If you want to clone manually then follow this thread
    Cloning 9i database manually

  • HT2731 I need verifymy account..... But how im waiting for an email but still no email arrive :-(

    How can i verify my account to start using my iphone 5
    Im waiting for an wmail but still... NO EMAILS
    FEELING STRESSED AND DISSAPOINTED :-(

    Hi Kirby grace bete,
    Thanks for visiting Apple Support Communities.
    If you have not received the verification email for your Apple ID, I recommend visiting the My Apple ID page to make sure your email was entered correctly, and re-send the verification email.
    You can also resend the email verification if the email address is not verified:
    Sign in to My Apple ID to manage your account information.
    Click Resend under Primary Email Address.
    Verify your changes by following the link in the email you receive from Apple, then signing back in to your account.
    From:
    Apple ID: Associating and verifying email addresses with your Apple ID
    http://support.apple.com/kb/he68
    All the best,
    Jeremy

  • Configuration for SCOT done but still the email not getting in outlook box

    Hi experts,
    I have done SCOT, SCIF, SU01, settings and configuration but still i cant send email from SAP to outlook,
    please suggest me what i have to do. I all ways getting error  _express mail cannot be send due to the
    technical foult_  plz explaine me  what i have to do.
    Thanks,
    Rajesh

    Hi Rajesh,
    Port is not open that why you sap server is not able to communciate with mail server & that is why mail is not getting trigger from spa server to mail server.
    Call you network guy and inform this that port 25 should be open from
    Source :- you sap server ip address
    destination :- mail server  ip address.
    Thanks
    Anil

  • HT1926 i have installed quick time ok but not itunes get an error code and tried downloading manually from tools but still no good. also get verify i have sufficient priviledges on apple mobile support and application ?????

    Hi all. I have tried installing itunes and quick time many times and have finally got quicktime but no itunes . I have followed apple support  and disabled anti virus and everything etc and also tried installing itunes manually from tools but still get error code. also when getting to apple mobile support and starter etc i get verify that i have sufficient priviledges ? Anyone know what the heck all this is about guys ?????

    SadisticIron wrote:
    i just baught my first iphone and it is a jalbroken
    Buzz! Thank you for playing!
    Discussing jailbroken devices is forbidden here by the Terms of Service.
    You can not get help here.

  • How to easily mute all sounds but still use phone?

    For the life of me, why doesn't the volume control on the side of the iPhone go down all the way to mute like the iPad does.  There is no one convenient place to go to turn off sounds while in a meeting but yet still use the phone without turning it off.  Turning it off is not an option for a lot of people. 

    To take advantage of the All Features in iOS 5 See Here
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  • How do we clone a database from RAC/ASM to RAC/ASM?

    Is there a best practice or recommended recipe for cloning from a RAC/ASM instance to another RAC/ASM instance? We've done single instance cloning in the past with RMAN and it looks like grid control does something similar -- until we try to clone from one Exadata cluster to another. Surely this is now a common procedure...?
    much thanks,
    Gary

    Hi,
    I would not use cloning with 11.2. anymore.
    Though this will work (you have to take care of copying some more stuff though, like the gpnp profile), simply using the "addnode.sh" which works in silent mode in 11.2. is a lot easier.
    Re: Any issues to add 3rd node to 11gr2 grid with 11.2.0.2 and 10.2.0.4 homes?
    Regards
    Sebastian

  • How can I "lock" my ipad but still use my PDF. I don't want anyone going outside of the PDF.

    I'm looking for a way to lock my PDF so consumers can't leave the app.... How can I do this?

    Not possible.

Maybe you are looking for

  • This is a test of the Edit button

    I am using Harm's original guide posts to see what's happening with the edit button How do you set up your editing machine in terms of disks for maximum performance and reliability? (SSD's are left out here.) This is a question that often arises and

  • I have problem in downloading and updating softwares

    The syndrome is: The first 99.96% of the softwares can be downloaded well and sound, but after that, they stopped. While, strangely enough, some of the softwares can fully download. I guess sth. happens to those can't at the moment of 99.96%. Help me

  • Passing values in master detail form

    Hi, I'm using Oracle Database 10g Express Edition. Application Express 2.1.0.00.39 I've created a Master/Detail Form like this 1. create page 2. Form 3. Master Detail Form 4. selected master table 5. selected fields 6. selected detail table 7. select

  • Help Me on Report

    Hi, In the selecion Screen User Enter we are retiving the data like VALUT , WRBTR, SHKZG from BSEG table on the basis of VALUT we are took the openning balence from the Selection -Screen I want closing balence for every day and the closing balence fo

  • Hiding of files in mobile

    Hi we are developing an application in J2ME where the files can be hidden in mobile. So please can you suggest some API or any other source where i can find some clue. Thank you