"> Frequently Asked Questions about Restoring Or Duplicating Between Different Versions And Platforms [ID 369644.1] Modified15-MAR-2012TypeFAQStatusPUBLISHED
In this Document Purpose QuestionsandAnswers 1)CanIrestoreorduplicatemypreviousversiondatabaseusingalaterversionofOracle? 2)CanIrestoreorduplicatebetweentwodifferentpatchsetlevels? 3)CanIrestoreorduplicatebetweentwodifferentversionsofthesameoperatingsystem? 4)Isitpossibletorestoreorduplicatewhenthebitlevel(32bitor64bit)ofOracledoesnotmatch? 5)IsitpossibletorestorealaterversionbackuptoanearlierversionofOracle? 6)CanIrestoreorduplicatemyRMANbackupbetweentwodifferentplatformssuchasSolaristoLinux? References
Applies to:
OracleServer-EnterpriseEdition-Version:9.0.1.0andlater[Release:9.0.1andlater] Informationinthisdocumentappliestoanyplatform. OracleServerEnterpriseEdition
Purpose
1) Can I restore or duplicate my previous version database using a later version of Oracle?
RMANcanrestoreabackuptakenonanolderdatabasereleaseintoanewerrelease.Theolderbackupsmustbetakenon9.2orlaterrelease. Thismethodcanbeusedaspartofanout-of-placedatabaseupgrade,inwhichtheolderbackupsarerestoredtothenewerreleasedatabaseandthentheupgradescriptsarerunasnormal.Sincetheold duringtheupgrade,thismaybepreferabletoanin-placeupgrade,wherethedatabasemustremainoffline. Forexample,Iwanttoupgradea10.2databaseto11.2,usingbackupstakenonthe10.2database.The11.2databasewillresideonanewhost. Thestepsare: 1.Install11.2binariesandlatestpatchsetsonnewhostandpreparethe11.2Oraclehomeperthisdoc. 2.Allowdiskand/ortapebackupstobeaccessiblefromthenewhost. 3.Restorebackupstothe11.2databaseandrecoverthedatabasetoaconsistentpoint-in-timeperthisdoc.Do not open the database at this time. 4.Manuallyupgradethe10.2databaseto11.2pertheinstructionsinthisdoc,startingfromthepointimmediatelyafterthe11.2softwarehasbeeninstalled. Pleaseensurethatyoucompletepre-upgrade/post-upgradeproceduresforvariousdatabasecomponentsaslistedundertheupgradedocsforexample: Note837570.1CompleteChecklistforManualUpgradesto11gR2
Note:theaboveprocedureisforrestoringa10.2databasethathadneverbeenupgradedto11.2.Ifthedatabasehasalreadybeenupgraded,andyouneedtorestoreabackupthatwascreatedwhilethe youjustneedtorestoreandrecoverit,andmediarecoverywillreplayeverythingdonebytheupgrade. RMAN "duplicate" is not supported as it will fail attempting to automatically open the database after recovery (step #3).
3) Can I restore or duplicate between two different versions of the same operating system?
Forexample,canIrestoremy9.2.0.1.0RMANbackuptakenagainstahostrunningSolaris9toadifferentmachinewhere9.2.0.1.0isinstalledbutwherethathostisrunningSolaris10? IfthesameOracleServerinstallationCDs(mediapack)canbeusedtoinstall9.2.0.1.0onSolaris9andSolaris10,thistypeofrestoreissupportable. Forexample,isitpossibletorestoreorduplicatemy9.2.64-bitdatabasetoa9.2.32-bitinstallation? Itispreferabletokeepthesamebitversionwhenperformingarestore/recovery.However,excludingtheuseofduplicatecommand,theuseofthesameoperatingsystemplatformshouldallowfora bitor64bit)ofOracle.Note,thismaybespecifictotheparticularoperatingsystemandanyproblemswiththisshouldbereportedtoOracleSupport. Ifyouwillberunningthe64-bitdatabaseagainstthe32-bitbinaryfilesorviceversa,aftertherecoveryhasendedthedatabasebitversionmustbeconvertedusingutlirp.sql. Seethisnotefordetailsonswitchingbetweenbitsizes: Note62290.1Changingbetween32-bitand64-bitWordSizes Ifyoudonotrunutlirp.sqlyouwillseeerrorsincludingbutnotlimitedto:
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=KB&id... 4/18/2012
Page 2 of 2
ORA-06553:PLS-801:INTERNALERROR[56319]
6) Can I restore or duplicate my RMAN backup between two different platforms such as Solaris to Linux?
Ingeneral,youcannotrestoreorduplicatebetweentwodifferentplatforms. Note:RefertoNote1079563.1whichlistssupportedmixedplatformsandOracleversionsforduplicate/restore/recover. Inversionspreviousto10gtheonlyoptiontomigratefromoneplatformtoanotherwasusingexport/import.With10g,usingtheRMANconvertcommands,youcancrossbetweenplatformsusingthe Tablespacesoption.Formoredetailsreviewthisnote: Note243304.1TransportableTablespacesAcrossDifferentPlatforms and: http://www.oracle.com/technetwork/database/features/availability/thehartfordprofile-xtts-133180.pdf
Inversion10.2andlaterifthesourceandtargetOSarethesameendianyoumayissuea"CONVERTDATABASE"sothatdatafilesareconvertedandreadyfortransporttothedestinationmachine.For DATABASE"see: OracleDatabaseBackupandRecoveryAdvancedUser'sGuide 10gRelease2(10.2) Chapter15,RMANCross-PlatformTransportableDatabasesandTablespaces Note:RefertoNote732053.1for10.2and11.1proceduretoskipnon-UNDOcontainingdatafilesduringtransportabledatabase.Thiscansignificantlyreducetheoverallcompletiontime.Also,note UNNECESSARYDATAFILESoptionforCONVERTDATABASE,toaccomplishthis. Therearealso3rdpartyapplicationsformigrationbetweenplatformssuchasVERITASStorageFoundationportabledatacontainers: http://eval.veritas.com/mktginfo/products/White_Papers/Storage_Server_Management/Portable_Data_Containers_for_Oracle.pdf (ContactVeritasforinformationaboutVERITASStorageFoundationportabledatacontainers)
References
NOTE:307022.1-RMANCompatibilityOracle8i8.1.7.4-Oracle10g10.1.0.4 NOTE:560417.1-RecoveryThroughUpgradereturnsORA-1092onOpen NOTE:73431.1-RMANCompatibilityMatrix Related
Backtotop Copyright(c)2007,2010,Oracle.Allrightsreserved.LegalNoticesandTermsofUse|PrivacyStatement
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=KB&id... 4/18/2012