Setup test from production

I want to setup a test database from production rman copy. I have an rman level 0 backup with no catalog. I looked at the duplicate rman command, but that requires to have a dblink to the prod system. I dont' have that and can't.
Given that I do I create a test database with a different db name from the production rman level 0 copy?
Please suggest.

Thanks but the doc has the following assumptions.
1. db name is same on the restored host.(But I want to have db name test and should be the copy of db prod)
How do I restore to a different name than the source db name and also without the db link connection?
Thanks for your help.

Similar Messages

  • Use Grid to Refresh test from production or Using Grid for Cloning

    Is there a specific area of grid OEM specifically for database refreshing or cloning? We are about to do refresh of test from production and this has been brought up. We usu ally do either the copy datafiles+create control file or exp(dp)/imp(dp)
    Is there an OEM click-click-click way to do this?
    Thanks
    MN

    Yes you can create clone of Database from Production to Test using OEM.
    regards
    Pravin

  • Prepare new test from Production

    How to Clone JDEdwards Enterprise One from Production to Test. Which document to follow. Please advice as this is very urgent.
    Thanks.

    I see you posted in both sections in the JD Edwards World category. Again, there is a separate forum for JD Edwards Enterprise One. If you go back to Forum Home and scroll down below the JD Edwards World category, you will find the JD Edwards Enterprise One category. That would be the better place to post this question (technically there is a good amount of difference between World and Enterprise One).
    John Dickey

  • Database restore to test from production

    Hi,
    I am having 500+ GB database running in AIX with ASM. creating disk backups using rman and moving to Test server.. i like to know the commands for restore and recovery from disk to ASM in test server:
    Prod server : ASM on AIX single instance
    rman database backup to disk (SID : PROD)
    ftp to test serverTest server: ASM on AIX single instance
    clean up exiting database (SID : TEST)
    rman restore and recover command from disk The rman command i am using for backup is :
    run
    allocate channel backup_disk1 type disk;
    allocate channel backup_disk2 type disk;
    allocate channel backup_disk3 type disk;
    sql "ALTER SYSTEM ARCHIVE LOG CURRENT";
    backup
    format='<path>/Sml_full_bck_%Y%M%D_%d_%s_%p.dbf'
    database
    plus archivelog
    filesperset=1;
    backup
    format='<path>/Tp_cntl_%Y%M%D_%d_%s_%p.ctl'
    current controlfile;
    #sql "alter system switch logfile";
    release channel backup_disk1;
    release channel backup_disk2;
    release channel backup_disk3;
    What would be ideal command for restore....

    we have some issues with network....need to ftp manually after taking backup..i am looking around for the restore command like
    run
    allocate channel t1 type disk;
    restore database from '/<path>' to '+DATA';
    recover database;
    release channel t1;
    just want some clarifications on syntax especially from disk backup restore to ASM disk groups and recover from there..

  • Best wasy to move OC4J from Production to Test MidTier

    I've read the documents but I am still lost on the best way to move a OC4J instance to another MidTier
    I have 3 separate OC4J instances that are deployed for 3 separate divisions that contain different apps.
    What is the easiest way to move them to a different MidTier in a different environment. (in my case same OS,portal 10.1.2 just slightly different layout)
    I have worked though the create a test from production and have my test up and running. I just need to deploy the production apps to the test environment. Both have separate MidTiers, Infrastures and database.
    I know I can manually recreate OC$J instance names and then manually recreate the apps from the .ear files but is there a easier faster way to do this?
    Thanks

    Hi,
    It's not a simple move, it's an upgrade...
    So perhaps transportable tablespace can help you (export from 10gR1 and import into 10gR2 should be work).
    Read the following doc for more info and sample :
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10825/dp_export.htm#i1006840
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10739/tspaces.htm#sthref1231
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#BEHFFDCD
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#sthref1267
    Or export your db in dump file, on the new server, precreate your db as well, and import like for an upgrade :
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14238/preup.htm#sthref67
    Nicolas.
    Message was edited by:
    N. Gasparotto

  • Insert into all tables on a Database on Test Server select from all tables on a database A from production server

     
    hi Friends ,i need a suggestion from  you on how to
    insert data to all tables on a Database  "A " on Test server
    Select data from all tables on  a Database  "A" on Production Server
    where id=123
    Database A is same with Structures on Test and Production also all Tables  will have  Id column in common.
    The purpose of this insert is ,as we all know Production has the latest data and i need to push to test server on request for particular ID only  ( may be weekly once or  twice a week )
    I  have a linked server setup name "LINQ" 
    Example for one table is below , like wise i need a script which does for 154 tables.
    Insert into ABC( id, name)---insert to test server
    Select Id, name  from  LINQ.ProdSerevrname.databasename.ABC where id = 123
    Please help me ..
    Thanks

    Why not use export import wizard for this if you've read access to production?
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Transfering data from Production to QA for testing

    Hi all,
    We're doing support pack testing on our systems but unfortunatly the data in QA is very old so we'd like to transfer new data to test with.
    After looking around it looks like we need to do Profile copy, is that all what I need? Or should we do a whole backup/restore DB from Production to QA?
    Do I need any other 3rd part tool?
    Do I need to do only a copy data or do I need to change some configurations? Like Source System,Central System,  Instance confugration?
    Thank you much!

    Hi samer,
    If you want to transfer data only ( without configuration ) between systems, then you need Third party.
    and as far as I know, there is two options :
    a) a full client copy, which system admins are reluctant to do on a weekly basis
    b) a third party product like EPI-USE, Arinso Transfer tool. It works fine for master data, Payroll and Time Data but for OM data, it is a distaster. But at least, I can download pernr at will, when troubleshooting.
    Hope this helps,
    Regards
    Anup.

  • 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 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

  • How to quickly create a test ADAM instance in the QA environment that is a replica of production ADAM but then disconnect it from production.

    I have restored from file backup an ADAM instance onto our QA server that was backedup from a production ADAM instance.
    The instance functions fine except that for stuff like FSMO roles, it still thinks its connected to the production ADAM instance.
    How can I completely disconnect and cut off this restored instance from production?
    I never want this replica to ever replicate with produciton again.
    This should be a standalone QA ADAM instance for testing only.
    The only thing I might want to do is add another QA ADAM server for this instance to replicate with.
    Thanks.

    Hi,
    When install a new ADAM instance, you have the option to replicate from another ADAM instance. After that, you can configure/delete site and replication information to prevent replication. Please refer to the following article.
    Administering replication and configuration sets
    http://technet.microsoft.com/en-us/library/cc783192(WS.10).aspx
    Manage Replication, Sites, and Configuration Sets
    http://technet.microsoft.com/en-us/library/cc786365(WS.10).aspx
    Also, other articles are very helpful, please read them to get more information.
    Thanks.
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Transfer content of BO XI 3.1 from production to test

    Hi all!
    I have separate production system BO XI R3.1 FP 1.3 and a test system BO XI R3.1 FP 1.7.
    After a crash I tried to use the import wizard to move the content of production to test. When I create a biar file with the Import Wizard under 1.3, this file is not recogized within Import Wizard 1.7.
    Is there another way to copy all items within the BO XI server?
    I tried with the Live Cycle Manager - but failed, as not all objects can be choosen for transfer.
    Can I use the repository database from production and copy it to test? How can I change then the CMS server settings?
    ciao Hakan

    So here the solution:
    1. Open CCM
    2. Stop Server Intelligence Agent (SIA)
    3. Open Properties -> Configuration -> Specify
    4. Copy from existing Datasource (Prod) to new Datasource (will be overwritten/Test)
    5. Check change Clustername to define the new clustername
    6. close
    7. Open CCM
    8. Add new Server Intelligence Agent (last option - don't recreate)
    9. Provide "Name and Port" : SIA2 port: 6410 -> on second register port: 6400
    10. Define Datasource (Test) - be aware of your production environment had auditing enabled you need the specify also an audtition database in Test too.
    11. Start the new entry within CCM for SIA2
    12. If everthing was okay, delete the existing node within CMC Website
    13. in CCM delete the obsolete entry for SIA - if not possible you need to hack the registry entries for services under Windows /currentcontrolset .. service is listed as BO120SIASIA
    I have my test still running, but if anything changes I will post them here.

  • Missing datafile after cloing oracle EBS from production to test

    Good Day
    I have done a restore from the production system to the test system some time ago . Today I got an error on my test system saying ORA-00376: file 375 cannot be read at this time . After checking I found that the file seems to be missing on the test environment .
    SQL > select file_name from dba_data_files where file_id=375 ;
    /gldb11i/devdb/9.2.0/dbs/MISSING00375
    So I got the name from production and since the file seems to be avilabe in test I did the rename as follows :
    SQL> alter database rename file '/gldb11i/devdb/9.2.0/dbs/MISSING00375' to '/gld
    b11i/oradevd/oradata/dev/gld16.dbf' ;
    Database altered.
    But when I tryed to recover the file I got the error .
    SQL> recover datafile '/gldb11i/oradevd/oradata/dev/gld16.dbf'
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 375: '/gldb11i/oradevd/oradata/dev/gld16.dbf'
    ORA-01122: database file 375 failed verification check
    ORA-01110: data file 375: '/gldb11i/oradevd/oradata/dev/gld16.dbf'
    ORA-01206: file is not part of this database - wrong database id
    Ofcourse that is becuse my test dataabse was renamed from production name fmprod to test name fmdev .
    Is there any way to recover the file ? . I have all the archive logs avilable . Can nid change the database id in the file if it is only one file ?
    Why did I not get any errors when I was doing the post cloneing process ?
    Please note my databse is versio 9.2.0.6
    Many thanks to all

    1. Use Transportable feature to transport the remaining datafile from production to test.
    How can I do that without stopping production or making it read only .
    2. Reclone only that tabespace from Production to test.
    How , I used the oracle provided scripts for the cloning process ie . adcfgclone.pl
    3. Depending on the size of data contents, manually drop and recreate the tablespace in test, export contents from Production, import into test.
    I am worried about the data consistancy . Will the database be consistant it I do that there might be tables on other tablespaces related to this tablespace
    Thanks

  • Transport planning book from Production to Dev/ Test system

    Hi APO Gurus,
    I need clarity for below mentioned point u2013
    I have a correct planning book in production system. I have a different structure in testing as well as in quality system. I want to transport planning book with all data views and macrou2019s associated with it to development system (or in test system).
    How to do this? Please elaborate with details
    Thanks in advance.

    I did the transport from Production to Dev client using TSOBJ last week. Basis team helped in connecting Prod and Dev clients.
    Everyting went ok except selection IDs. When I check 'with selection transport' in TSOBJ, it ends up in short dump saying Timed Out in reading SQL table /sapapo/sdpsetde. We increased the system profile parameter "rdisp/max_wprun_time" from 1800 seconds to 3600 seconds. It still timed out with same message. So, I created the transport without selection IDs and it worked.
    Next, I downloaded the only required selection IDs (total 498) from the DP Planning Area in Production client to excel spreadsheet using table /sapapo/TS_SELKO. Then created another transport using TSOBJ.....this time I used the 'Transport of Selections' section for Selection IDs and used single value selection from drop down, uploaded the IDs from clipboard option. That worked.
    Although my problem is solved....but by any chance, has anyone encountered that TSOBJ Timed out? Is there any OSS note for this?
    -Sachin

  • Clone JDEdwards Enterprise One from Production to Test

    Please advice what is the way of Cloning JDEdwards Enterprise One from Production to Test.

    Uhh, this is the JD Edwards World forum. There is actually a separate forum for JD Edwards Enterprise One. Go back to the Forum Home and scroll down past JD Edwards World and you will find the Enterprise One forum. Technically there is a good amount of difference between World and Enterprise One. So to get better answers to your question, you need to post this on the Enterprise One forum. Good luck.
    John Dickey

  • Versioning after migrating from Production to test

    After migrating the Business partner from production to test , Will i be able to delete the latest version and go back to the -1 version. If so , are there any utilities available for the same.

    Have yo used  TDMS-BPL for migrating the Business partner data ?

Maybe you are looking for