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

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

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

  • 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

  • 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

  • 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

  • Updating test database from production in Oracle 10g

    What will be easiest way to have production database replicated to test database once a day basis? The 2 databases are on similar machines & same OS

    What sort of test system are you building? Are you building a reporting server so you can run reports on a snapshot of the data? Are you building a staging environment where you can test applying scripts and can simply reapply the DDL changes every day? Or do you have a real testing instance which will generally have slighly different table definitions/ objects/ etc than the production instance?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • 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

  • Need to refresh Test environment from Production

    Hi All,
    I need to refresh our Test environment from Production.
    Can anyone help me with the list of special tools from different vendors to do it?
    Any kind of help is appreciated.

    Hi Manoj,
    Thanks for your response. I am aware of the system copy.
    can you help me with some tools from different vendors that can be an alternative to system copy.
    we have categorized the task into 3 categories:
    Database restore
    Client Copy
    Special tools
    The third one includes tools from different vendors (for example: TDMS from SAP itself).

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

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

  • Production server Incremental Backup is restoring in Testing server

    Dear All,
    Currently our Production database is running in windows 2003 server , Oracle version is 10.2.0.4.0
    Now my question is daily incremental backup of production server will be restored in testing server (same configuration in production server
    and testing server ) how can i achieve this .....
    Regards,
    S.Arun

    Hi Oradba,
         Thanks for your response. I went through the link and we need this only for testing purpose and not for reporting.
    We need to take incremental backup and restore it in testing server. Is it possible to do this without RMAN.(Due to some Business reasons)
    Thanks & Regards,
    S.Arun

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

Maybe you are looking for

  • Won't turn on

    My mac book pro has been completely updated, third hard drive, third battery, os, ram, iLife suite, everything! After putting to sleep it won't turn on. This is all 2 months after the warranty expired. ********! i say. Now I'm stuck with this money p

  • Integration : Crystal Report Server 11.5 with Sharepoint standard 2007

    Hi, How can I configure my Crystal Report Server version 11.5 to store the generated reports directly to a Sharepoint Library (standard 2007).

  • HP P7-1174 Pavilion Home Edition PC audio

    Greetings, I thought I'd already posted this, but apparently not. I'm not familiar with this forum, so I apologize if I had. I have a new Windows 7, HP P7-1174 Pavilion Home Edition PC. It comes with "Integrated IDT 92HD89E Audio, Built-in High Defin

  • I have a licence for my PC but now want one for my Apple Mac, can I download a second copy or upgrade?

    I have a licence for Adobe Photoshop and Premiere Elements for my Windows 7 Desktop PC. Have just bought Apple Mac Pro and it seems imovies wont import my AVCHD or AVI files - typical Apple narrow mindness. Can I download a second copy or can I upgra

  • Field that is not persistent in Entity class

    Hi all, I have entity class "Author" it has OneToMany relationship with "Article" Entity. I want to create nbArticles in Author class, just is Long variable to get number of Articles created by this Author. That field is not persist just calculated f