Database refresh from Prod to UAT

Please check whether i have missed out any step in database refresh in 11.5.10.2
Step 1 preclone executed on source Instance
Step 2 copied all datafiles in backup mode to UAT instance
Step 3 controlfile create and opened db in resetlogs.
Step 4 adcfgclone.pl dbconfig <target context file>
Step 5 Autoconfig executed on both db aswell apps
Is it required to execute adcfgclone.pl dbTechstack and adcfgclone.pl appsTier
environment is apps 11.5.10.2
db 10g
os AIX 5.3

Hello,
You will need to run:
perl adcfgclone.pl dbTier [Database Target Context File]
perl adcfgclone.pl appsTier [Appltop Target Context File]
and other tasks as per Section 4: Advanced Cloning Options / 1. Refreshing a Target System
of Note 230672.1 : "Cloning Oracle Applications Release 11i with Rapid Clone"
Regards, Carlo.

Similar Messages

  • Database refresh from production to test -how to clean existing test env

    All,
    My environment is
    Both Production and Test databases are in two node RAC environment
    Oracle version - 10.2.0.4.0
    OS - RHEL5
    Production database size 80GB
    We need to refresh the test environment from production database. Complete objects, data etc should be refreshed.
    We have a datapump export from production environment. With this export dump from production environment, I need to import into test environment.
    So far, I have imported with this kind of dump to the fresh database only.
    Now, we have already objects, data sitting in the test environment. How to clean the existing test environment and refresh the production datapump export dump.
    I thought of dropping all the tablespaces in test (other than system,sysaux, undo and temp). But not able to drop few tablespaces, it is telling that index is available in other tablespaces, dependency errors etc.
    Which is the best method to clean the existing test database. Management is not interested in dropping the test database and recreating it.

    I understand that you are Newbie , let give me simple steps.
    Follow the steps on testing envi.
    1. Drop only Application users that you want to refresh from Prod(Do NOT drop users system,sysaux.. or tablespaces)
    2. Create the users that you dropped.
    3. using import or import data pump import the data.
    In case you want to import user"A" data to "B" use REMAP_SCHEMA option.
    See the below link for data pump export/import with examples.
    http://oracleracexpert.blogspot.com/2009/08/oracle-data-pump-exportimport.html
    Hope this helps.
    Regards,
    Satishbabu Gunukula
    http://oracleracexpert.blogspot.com
    Click here for [How to add and remove OCR|http://oracleracexpert.blogspot.com/2009/09/how-to-add-and-remove-ocr-oracle.html]
    Click here in [ Making decisions and migrating your databases |http://oracleracexpert.blogspot.com/2009/08/download-sql-developer-migration.html]
    Click here to lean [ Static parameters change in SPFILE and PFILE|http://oracleracexpert.blogspot.com/2009/09/how-to-change-static-parameters-in.html]
    Edited by: Satishbabu Gunukula on Sep 14, 2009 5:09 PM
    Edited by: Satishbabu Gunukula on Sep 18, 2009 10:35 AM

  • Database Refresh From ASM Filesystem to Local Filesystem

    Hi ALL,
    I am performing a database refresh from production server to a demo server. Our Production database is 11.2.0.1 and it is using ASM filesystem to keep the data, redo and other files in ASM disks.
    On the other hand demo server is not having ASM, all the database files are stored in a local filesytem.
    I have taken a fresh backup of our production database, but I am not sure to perform the restore part as the demo server is not having ASM.
    Can anyone suggest me how to perform this, I mean datafile restore from ASM to local filesystem.
    Any usefull links will be helpful.
    Regards,
    Arijit

    Hello,
    You can restore the backup of your Production database which is using ASM to your demo server (using file system).
    Make sure that the control_files parameter in the pfile/spfile is pointing to the file system location where you want to have contol files located on the demo server.
    Next, before you use the restore command to restore the database, provide the location of the datafile where you need to restore using the "set newname" clause.
    run
    set newname for datafile 1 to '<file-system-location-on-demo-server>';
    set newname for datafile 2 to '<file-system-location-on-demo-server>';
    restore database;
    switch datafile all;
    recover database;
    }

  • Database refresh from cold backup and hotbackup.

    How can we perform Database refresh from cold backup and hotbackup?

    OracleM wrote:
    How can we perform Database refresh from cold backup and hotbackup?I understand that you have Cold/hot backup and you need recover(refresh) this backup?If yes then restore cold/hot backup and
    sqlplus "/as sysdba"
    startup mount;
    recover database using backup controlfile unil cancel;
    /*then apply all available archive logs*/
    alter database open resetlogs;

  • Database refresh from standby database

    All,
    OS : Sun version : 11.1.0.7
    I'm doing database refresh using stand by database datafiles in different server.
    1)Disabled Data guard broker in standby database .
    2)Copied all datafiles in mount stage to target server (different server)
    3)created controlfile and started the database in mount stage in different server
    4)Applied all archive log files .
    5)But still the database not recovered .
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 10401147296308 generated at 01/13/2012 09:03:43 needed for
    thread 1
    ORA-00289: suggestion :
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57879.arc
    ORA-00280: change 10401147296308 for thread 1 is in sequence #57879
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57879.arc
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57885.arc
    ORA-00279: change 10401156453328 generated at 01/13/2012 10:48:01 needed for
    thread 1
    ORA-00289: suggestion :
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57886.arc
    ORA-00280: change 10401156453328 for thread 1 is in sequence #57886
    ORA-00278: log file
    '/u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57885.arc' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'Am I missing any steps here ? Please advice me on this .
    Thanks.

    Hi,
    When you copy files of standby server to another target server ? - Yesterday.
    Is standby is SYNC with primary? or MRP is still running? - ---------yes, standby db is running fine .
    Even you can open database with resetlogs after recreating controlfile, no need of recovery too -- >I was unable to open . So went to apply arch files.
    Do you have archive of thread 1 is in sequence #57887, -- No , Because sequence 57887 yet generate. I have applied all recent available archive log files.
    ORA-00289: suggestion :
    /u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57886.arc
    ORA-00280: change 10401156453328 for thread 1 is in sequence #57886
    ORA-00278: log file
    '/u01/app/oracle/admin/qecgdeva/arch/qecgdeva_727091849_1_57885.arc' no longer
    needed for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'
    ORA-01112: media recovery not started
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01196: file 1 is inconsistent due to a failed media recovery session
    ORA-01110: data file 1:
    '/mounts/qecgdeva_data/oradata/qecgdeva/dbfiles/qecgprod_system.dbf'Edited by: 805877 on Jan 12, 2012 10:43 PM

  • Database refresh from production to test database

    Dear All,
    i want to refresh data on test database using production database.Test and production database has same backend structure.
    i am using following steps.Please correct if i am wrong any where.
    1)Take Full export from producion database
    2)DROP SCHEMA ON test database.SKIP schema like sys,system and other oracle schemas.
    3)do full import on test database.
    is this correct way to refresh the data on other enviornmet.
    Thanks.
    rajesh

    user12071799 wrote:
    Dear All,
    i want to refresh data on test database using production database.Test and production database has same backend structure.
    i am using following steps.Please correct if i am wrong any where.
    1)Take Full export from producion database
    2)DROP SCHEMA ON test database.SKIP schema like sys,system and other oracle schemas.
    3)do full import on test database.
    is this correct way to refresh the data on other enviornmet.
    Hi,
    You can do one correction here :
    Instead of taking full export backup , take export of only those schemas which you want to refresh.
    You can use datapump to make it faster.
    For improving speed please check
    http://www.dba-oracle.com/oracle_tips_load_speed.htm
    Regards
    Rajesh

  • Database refresh from db A to db B and changing the name from B to A

    We have two databases A and B, both running on HP-UX environment on different servers. both of 10.2.0.1.0 version.
    Now, database A is production with 75.5 GB of data. database B is just skeloton with no user tablespaces.
    1.Our requirement is to refresh / clone database A to B. we are fine in recreating the database B like in case of cloning. but we want to avoid recreating database B as much possible.
    2. After refresh/clone, database B should be renamed_ to database A.
    Can you all please suggest the different methods available both by shutting down / without shutdown of database A and the approximate time taken on each cases.

    Thanks Sanjay for your suggestion.
    As per your case, we need to shutdown database A and delete the database B. We are trying to avoid this case as much as possible.
    We are thinking of options like
    export/import using datapump,
    transportable tablespaces
    restoring and recovering from backups
    In the above scenarios, we no need to delete the database B and no need to shutdown database A.
    Also, I need the approx time for each process and the method to rename the database?

  • After refresh from Prod how to make sure source systems point to QA ECC sys

    Hi Gurus,
    We recently refrehed our qa with copy of prod,  The source system is still pointing to production source system. How to change this to point to pre-prod. Thanks.
    Best Regards,
    Suresh.

    Hi,
    Check notes 140276 and 325470.  You will get detailed instructions
    BR/
    Mathew.

  • Database Refresh with (data + metadata including views, functions etc)

    PROBLEM:
    I want to refresh data + metadata (tables, views, function, procedures, packages, triggers, package body etc) from one database to another database.
    Now if objects already exists in the TARGET database, then we have option as TABLE_EXISTS_ACTION=REPLACE for TABLE.
    But, do we have any other such option for OBJECTS OTHER THAN TABLE (LIKE VIEWS, PROCEDURES, FUNCTION, TRIGGER, PACKAGE, PACKAGE BODY).?
    Because I dont see any such option. Currently if the Object is already there in the TARGET Database, it errors out without importing as OBJECT ALREADY EXISTS statement.
    As we have lots of migration, number of objects changes & new objects coming up in Production very frequently.
    And due to this, we cannot put big list of INCLUDE and also even keeping that we have to prepare that list very often as number of objects changes very frequently.
    Please help me with some better solution.
    Thanks to all participants in advance.
    Nil

    I understand that you are Newbie , let give me simple steps.
    Follow the steps on testing envi.
    1. Drop only Application users that you want to refresh from Prod(Do NOT drop users system,sysaux.. or tablespaces)
    2. Create the users that you dropped.
    3. using import or import data pump import the data.
    In case you want to import user"A" data to "B" use REMAP_SCHEMA option.
    See the below link for data pump export/import with examples.
    http://oracleracexpert.blogspot.com/2009/08/oracle-data-pump-exportimport.html
    Hope this helps.
    Regards,
    Satishbabu Gunukula
    http://oracleracexpert.blogspot.com
    Click here for [How to add and remove OCR|http://oracleracexpert.blogspot.com/2009/09/how-to-add-and-remove-ocr-oracle.html]
    Click here in [ Making decisions and migrating your databases |http://oracleracexpert.blogspot.com/2009/08/download-sql-developer-migration.html]
    Click here to lean [ Static parameters change in SPFILE and PFILE|http://oracleracexpert.blogspot.com/2009/09/how-to-change-static-parameters-in.html]
    Edited by: Satishbabu Gunukula on Sep 14, 2009 5:09 PM
    Edited by: Satishbabu Gunukula on Sep 18, 2009 10:35 AM

  • SRM 7.0 Database Refresh

    Hi everyone,
    We are going to be performing a database refresh from our production system down to our development system.  We would like to maintain the current org structure that is in development though.  Does anyone know what tables we would need to export / import during the refresh to keep the org structure the same?  Also, do we need to worry about the product category replications?
    If anyone has had any experience with this your advice would be very appreciated.
    Thanks,
    Jeff

    Hi Nikhil,
    Ok thank you.  Do you know anything about maintaining the same org structure that was in place already in our Dev system?  It is different than our production system as we do not have all of the users setup in Dev.  Also we have some test ID's in Dev that we would like to keep.  Do you know how to maintain the same org structure?
    Thanks,
    Jeff

  • Full database refresh

    Hello Gurus,
    I am need to take make full database refresh from one database to other, Can someone let me know step how to do it?
    select * from V$VERSIONBANNER                                                          
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production                          
    CORE     10.2.0.5.0     Production                                        
    TNS for HPUX: Version 10.2.0.5.0 - Production                   
    NLSRTL Version 10.2.0.5.0 - Production      

    CKPT wrote:
    jgarry wrote:
    I'm with Ed and Brendan on this. 3 main reasons:
    1. Legacy has some special requirements.
    2. Definitely want different schema names, this has saved my bacon sooo many times. Even so, people still get it wrong (including me, and I'm totally paranoid about it to begin with).
    3. There are many more copies of production than actual production, for various reasons (test, several dev, special projects, future app versions...) . We would rather have one db with many schemata than many db's, right?
    Now if we could just rename user...Agreed some extent, I can say to refresh entire database the preferred method is RMAN restore, where it can manage very easily
    how?
    1) To import again we need to create a new database
    2) Need to create all the tablespaces with same names or we can use REMAP option
    3) need to monitor entire import process,
    4) need to take care of other things like , temp utilization and all.
    5) need to perform export, Need to copy those dumpfiles, We should have enough space on mount points of both source & destinations. ;-)
    I would just caution there that you shouldn't think that because you are taking rman backups you have no need to also regularly export the db. A good backup policy includes both physical backup (rman) and logical backup of the data (export).
    If you talk with couple of schemas the preferred method is EXPDP/IMPDP, totally agreed.
    If in case of database size is huge, then better to go with RMAN to refresh database. Either DUPLICATE or manual way restore.
    as ED said, still we could have chance to test RMAN backups too. Multiple advantages.
    Let me know if I'm wrong. :)

  • UAT DB's nonsystem dfile corrupted. how can I restore it from Prod by rman

    I have an UAT env. some non system tablespace's datafile corrupted (one tb one dbfile)
    errors look like below and the db could just be in mount state.
    Database mounted.
    ORA-01157: cannot identify/lock data file 4 – see DBWR trace file
    ORA-01110: data file 4: ‘D:\ORACLE_DATA\DATAFILES\ORCL\USERS01.DBF’
    When I took them offline, the db could be open.
    I could not use rman to recover it although it is in archivelog mode. it is because some corruptions in archived logs.
    Now, I would like to recover them from prod db.
    How can I do that by using rman/ export import. My DB's version is 10g R2
    I appreciate if there are any reference and instructions from all of you.
    Many Thanks

    you can use data pump export/import instead of traditional exp/imp, if you are oracle 10g or high. These tools are much faster(approximately 10 times) than traditional exp/imp.
    There is also another possibility you can use, which is called transportable tablespaces. Of course it will not be convenient if your corrupted datafile is one of the several datafiles of the certaion tablespace. But if your tablespace just consists of this corrupted datafile, you can use this method, which is much faster than export import tools.

  • Was this database migrated from dev or prod?

    We have several environments (e.g., development, staging, test, training, production).  When migrating a production database to a new version of SQL, we also migrate the related environments. Sometimes the developers want a refresh from production in
    development. Sometimes they want the old development database.  A question came up about the source of a development database - was it from dev or production?  If I'm lucky, the information I want is listed in the following query. 
    SELECT rh.[restore_date], rh.[destination_database_name], bs.server_name, bs.database_name
    FROM [msdb].[dbo].[restorehistory] rh
    LEFT JOIN [msdb].[dbo].[backupset] bs ON rh.backup_set_id = bs.backup_set_id
    WHERE bs.server_name <> @@SERVERNAME OR rh.destination_database_name <> bs.database_name
    If I'm not lucky, the history is no longer present.  This is often the case because we don't keep a lot of history.  Is there any other metadata that will help me identify where a database came from?  Should I insure that the most recent
    restore record for an existing db is not cleaned out, no matter how old it is?  Thanks. 
    Randy in Marin

    I was hoping that the source would have been hidden in a system table some place - reliable and no extra work/politics.  I think the answer is looking like, "The information is gone - it can't be done."  Yes, a new business process
    would certainly provide the information.  However, changing organizational behavior is not for the faint of heart. 
    I think it would be easier to update the history cleanup.  This would mean that I can't use msdb.dbo.sp_delete_history as it currently exists.  It has very simple logic.  I might create a version of my own that keeps the records I want. 
    https://connect.microsoft.com/SQLServer/feedbackdetail/view/967074/sp-delete-backuphistory-option-to-exclude-special-old-records
    Not a bad idea.  They could put a "keep" flag on the row and let you set it.
    Or you can copy out the rows you like and maintain your own table with your own logic.
    It would certainly be nice if every backup kept a record of its own source and wrote that to some read-only location in the restored database, but this does not seem to be the case.  Maybe I should file a connect suggestion on that - only my perception
    and experience with connect is to not waste my time, most suggestions are misunderstood and rejected out of hand.
    But what I was suggesting about the business process contents is that it is already there - any dev source database has developer IDs in it that never occur in production, and production databases have only production IDs that you might see are newer than
    anything currently in dev.  So no change in business process would be required, just some knowledge of what's already there and a couple of queries to count some differentiating factors.
    Josh

  • Best way to update DR database from PROD server automatic ?

    Hello Gurus,
    I want to decide best solution.
    Goal: Best way to update DR Database from PROD Server Database automatic.
    System: 32 bit Linux system with Oracle Database 10g Release 10.2.0.4.0 - Production (database version) Oracle version is standard.
    Please let me know how i can update my DR server with PROD data and this task should be automatic.
    Please ask me more information if required to solve this issue.
    Thanks- Priyank
    Edited by: Oracle DBA P on Nov 19, 2010 3:06 AM

    you mean to say data guard needs to implement ? i think that's one option but what you said is different ?
    tell me procedure how i can implement your idea ? steps i have to perform.
    Thanks
    Edited by: Oracle DBA P on Nov 19, 2010 3:38 AM

  • OBIEE 11g - Application role migration from DEV to UAT or to PROD

    Hello All,
    there are blogs which mentioned about application role migration from dev to UAT or Prod..
    Kindly provide the correct path of below two files which we use for application Role migration
    1. system-jazn-data.xml
    2. jps-config.xml
    I have searched these files but noticed there are 3 or 4 files with same name under different paths.
    Kindly help. TIA
    Regards

    if you mess up these files, your system will get corrupted.
    You need to take proper back up and then get it done.
    another way where you can avoid this risk is to manually enter the roles. Creating roles is one time effort unless you keep deleting and creating new roles. If you manually do it you will have more control on migration and you can fix if there an issue easily. Note, the migration of roles does not map the groups to roles . You still have to manually map them.
    OBIEEHOME\user_projects\domains\bifoundation_domain\config\fmwconfig
    1. system-jazn-data.xml
    2. jps-config.xml

Maybe you are looking for

  • Sharing iphoto library on network drive

    Hello, I'd like to use the same iPhoto library on two Macs. Therefore, I intend to use my time capsule as a network drive. I learned from other posts that I can easily move my iPhoto library to the network share. Using two laptop on the same photo li

  • On-line Back-up and Sharing Portal

    I just got FIos and downloaded the free trial of Security Suite including the On-line Back up and Ffile sharing.  It was simple to set up the back up schedule etc., however I can't seem to find a simple way to sign in to the on-line portal to getto m

  • IPhoto 09 - Unable to order photos now?

    So looking through the options on the new iphoto. I see options for ordering a photo book, calendar and photo card, but gone is the option to order various size photos. Is this not available, or am I looking in the wrong area? There use to be an opti

  • Photo app empty

    My photo app on the iPhone 3G is empty after uploading to iOS 4.1, even if iTunes believed that they had been synced.

  • How do I get permanently rid of unwanted addresses from Mail?

    How do I get permanently rid of unwanted addresses from Mail?