Creating a database from backups of the production test

Hello Experts,

I'm a newbie with a lot new in Oracle. I got the backup inc0 (which includes even backup controlfile) (PROD) production base taken by RMAN and asked to create a new test database (TEST) by using the backup. Can someone please give me the steps on how to restore and create the new database?

The 10.2.0.4 basic version
I am aware of the concept of duplicated with RMAN database, but I was asked to do not connect to the target (PROD) database while duplicating. So, I need to create the test database using the prod database backup without being connected to the PROD database. Please guide me.

Refer
http://arjudba.blogspot.in/2008/05/restore-and-recover-database-to-new.html
RMAN restore database from another backup of the different database name

When you perform a restore using backup of the production database, the db_name would be same on the auxiliary database. Once you restore and recover the database in your test server, you can change the prod db_name to test by recreating the controlfile

Tags: Database

Similar Questions

  • How can I transfer a file from the operating system to a backup of the production running VM virtual machine?

    Problem:  After I do a backup one using ghettoVCB on a local VMFS volume, I have a virtual machine that I can start something happened to that running.  However, sometimes I just need a file from the OS level, which means that I would need to start to get them, but then I have an IP address conflict.  I can't imagine a way to have the NICs turned off and still be able to move the file.  If I change the IP addresses, the software that I need to create the file that I need to transfer no longer works because, although there no need of constant connectivity to the seller, it is locked to the public IP address.http://communities.vmware.com/images/emoticons/sad.gif

    Material:  I have two 4 ESXi hosts to work, each with local VMFS volumes.  They share a private vlan common and a vlan common public.  They each ssh, ftp, wput, wget, and rsync available.  I have a Windows 2003 Server VM which also hosts a NFS and the VI client and other VMWare tools.  It also has private and public interfaces as do virtual machines that would be to make and receive the OS files.

    Question:  How can I transfer a file from the operating system to a backup of the production running VM virtual machine?

    Thank you!

    Yes Mr President, make sure you set the network on this virtual machine to be connected to the 'Internal' vswitch, you set up before turning the power on to the virtual machine.

    -

  • Can I get an extra anytime upgrade and also pay for a backup of the product upgrade DVD?

    Can I get an extra anytime upgrade and also pay for a backup of the product upgrade DVD?  And, if so, how do I that?  Thanks, Dave

    Whenever upgrade is available as a digital download only, there is no backup of DVDs available.

  • RMAN Duplicate Database from backups without a target without a catalog.

    I apologize if this has been posted before, although I couldn't find in the forums.
    We are currently on 11 GR 1 matter of database and currently implementing RMAN backup and restore.
    We have databases of test periodically refresh us sources of production for our clients on a regular basis (exp / imp currently). As with general practice, these test reside on a different server.
    I have been through a lot of documentation on RMAN and I have several questions regarding the creation of a database of duplicate backup copies (backup of level 0 currently) without a target database and catalogue (No. Duplication Active)

    We have Oralce files managed, implemented.

    (1) RMAN requires a database for replication?
    The reason I ask this question, it is only
    http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28270.PDF Chapter 23, 23-13/23-14. Alll indicate that need a target.

    (2) if there is No target, then setting SPFILE used the backup SpFILE?

    (3) what are recommended approaches.

    (4) what is the command for the simple reproduction of backup without purpose and without catalog

    Thank you

    'Target-free' RMAN duplication is a feature of 11 GR 2:

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e17128/Chapter1.htm#FEATURENO06994

  • How do I delete the database and backup of the ASM

    Hi all

    Oracle 11.2.0.3 database
    OEL 5.7

    We have a host for restore purposes.
    Run us monthly or quarterly operations to verify that I am able to restore a subset data in the given duration or for other purposes of restoration.
    I have an automated script to clone the database, but the database Clone to remove former base ASM before starting this process. I want to delete only the database files and keep the configuration (for example oratab/network/ocr and so on).

    Question: There is an easy way to delete these files without logging on ASM or using DBCA?

    Appreciate any help.

    user12028775 wrote:
    Hi all

    Oracle 11.2.0.3 database
    OEL 5.7

    We have a host for restore purposes.
    Run us monthly or quarterly operations to verify that I am able to restore a subset data in the given duration or for other purposes of restoration.
    I have an automated script to clone the database, but the database Clone to remove former base ASM before starting this process. I want to delete only the database files and keep the configuration (for example oratab/network/ocr and so on).

    Question: There is an easy way to delete these files without logging on ASM or using DBCA?

    Yes, there is a simple way. Use the DROP DATABASE command.

    Use the DROP DATABASE command to remove the database target and, if RMAN is connected to a recovery catalog, unregister it. RMAN removes all the data files, online redo logs and control belonging to the target database files. By default, RMAN prompts.

    Put this command in your script before clone your database:

    RMAN> CONNECT TARGET SYS@test1
    
    RMAN> STARTUP FORCE MOUNT
    RMAN> SQL 'ALTER SYSTEM ENABLE RESTRICTED SESSION';
    RMAN> DROP DATABASE INCLUDING BACKUPS NOPROMPT;
    

    Kind regards
    Levi Pereira

  • Newspaper archive database pending apply to the production server.

    Dear all,

    How to apply for standby database archive log apply to the production server.

    Please help me.

    Thank you
    Manas

    Follow the steps of permutation.

    http://taliphakanozturken.WordPress.com/2011/10/28/physical-standby-database-switchover-failover-operations/

    Talip Hakan Öztürk
    http://taliphakanozturken.WordPress.com/

  • Restoring a database from backup

    Hi guys,.


    If I'm trying to restore my oracle 9i database (250 gb) with the backup of the BCV, how long can be need to restore me with BCV.

    After that, I want to update my database to 11g. WHT will be my down time for these two tasks.

    Hello

    Make a copy of the DB and upgrade test and check the time it takes, and verify that the upgrade was successful

    -Pavan Kumar N
    Oracle 9i / 10g - OCP
    http://oracleinternals.blogspot.com/

  • Cannot open the database from backup

    Hello

    I use Oracle Database 10 g on Lunix and have a physical database ensures.

    I was check on the primary it shows

    Primary

    SQL > archive logs list;
    Database log mode Archive Mode
    Active AutoArchive
    Archive destination /database/oraapps/PROD/db/tech_st/10.2.0/dbs/arch
    More old sequence of journal online 568
    Log sequence archive 569
    Current log sequence 569


    Sleep mode


    SQL > list of archive logs
    Database log mode Archive Mode
    Active AutoArchive
    Archive destination /database/oraapps/PROD/db/tech_st/10.2.0/dbs/arch
    More old sequence of journal online 568
    Log sequence to archive 0
    Current log sequence 569

    Whenever I run

    alter system switch logfile, that is happening, but when I try to open the database of Eve I get error like below;

    SQL > ALTER DATABASE OPEN;
    ALTER DATABASE OPEN
    *+
    ERROR on line 1:
    ORA-16004: backup database requires recovery
    ORA-01152: 1 no file has been restored from a sufficiently old backup
    ORA-01110: data file 1: ' / database/oraapps/PROD/db/apps_st/dddd/system01.dbf'

    Please advice.

    Thank you.

    Published by: user8676543 on October 16, 2012 03:55

    recreate your Eve yet once, you did something wrong in creation.

    http://oracleinstance.blogspot.com/2010/01/step-by-step-document-for-creating.html

  • Bounce the database from backup

    Hello

    I use oracle10g with database pending. Here is the version of database.

    Oracle Database 10 g Enterprise Edition release 10.2.0.3.0 - 64bi
    PL/SQL version 10.2.0.3.0 - Production
    CORE Production 10.2.0.3.0
    AMT for Linux: release 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production

    Now, I want to increase the number of processes in the primary database. Primary needs downtime. But in this case, do I bounce the day before?

    Let me ask my questions here.

    1 should I I bounce the day before to this scenario?

    2 here are the commands and the sequence of steps to stop and start the database. Please correct me if I'm wrong...

    2 (a) stop of the standby database first. (run this command at the secondary level)

    Connect / as sysdba
    SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    SQL > shutdown immediate


    2 (b) primary stop (run this command in the primary)

    SQL > ALTER SYSTEM SET PROCESSES = 999 SOPE = spfile;
    SQL > SHUTDOWN IMMEDIATE

    2 c) primary startup

    SQL > STARTUP

    beginning 2d) the secondary database

    Connect / as sysdba
    startup nomount
    ALTER DATABASE MOUNT STANDBY DATABASE;
    ALTER DATABASE RECOVER MANAGED STANDBY BASE DISCONNECT FROM THE SESSION.


    (3) after starting the database, how can I make sure, primary is on sale the archivelog in high school?



    Any help is appreciated...

    The backup database can be upward as you restart the primary database - which is not a problem.

    Just compare V$ MANAGED_STANDBY standby with V$ log primary: sequence # process MRP with APPLYING_LOG status must be equal or close to the sequence # who is CURRENT in V$ LOG of primary.

    You must also set the parameter to the eve with scope database = spfile. So after a failover or a passage, the setting is the same on your new primary database.

    Kind regards
    Uwe Hesse

    http://uhesse.WordPress.com

  • Select the flashback in my database from backup

    Hello

    Can I activate flashback in my database waiting without primary database?

    I need to convert standby database snapshot one.

    Best Regads.

    Hello

    Yes you can.

    To create the snapshot in the standby mode, you create guaranteed restore point. To create the restore point Flashaback must be enabled in the database.

    See Note: 443720.1 step by step assistance.

    concerning

    Maximus CR

  • The lines where him deleted using the databases from backup triggers

    Hi all

    1) CREATE TABLE student1

      (

         no    NUMBER,

         name  VARCHAR2(10 byte),

         marks NUMBER

      )


    I inserted the 10 records (1,2,3...10)


    (2) Created student1_history Table create table student1_history in select * from student1.

    (3) removal of Student 1

    When n = 10

    4) CREATE OR replace TRIGGER after_student1

      AFTER DELETE ON student1

      FOR EACH ROW

    START

    INSERT IN student1_history

                    (no,

                     name ,

                     marks )

        VALUES      (:old. no ,

                     :old . name ,

                     :old . brands of );

    END ;


    (5) select * from student1_history

    no row is returned.


    I have 2 tables as indicated above, I deleted a row in the table of Student 1 and I compile the trigger, I want store the deleted row in the Table student1_history


    Can you please help


    Hello

    Have you tried using the delete trigger BEFORE? Please try if you do not have

    Warm greetings,

    Jjun

  • Bookmarks to Safari from backup to the New Installation drive

    Failing HARD drive. Fortunately just copied HDD external HDD before the failure. New Safari installation on the new HARD drive. How to make bookmarks and favorites of the old disk backup on external drive for the new Safari installation on the new HARD drive?

    How do you have copied the data externally? You want to backup the folder User/Library/Safari, but how to get that depends on how you copied. If it's a Time Machine backup, go to Finder and select your user folder. With this Finder window as the windshield, select Finder/display/display options for presenting or order - J.  When the display options opens, check "show the library folder. This should make your visible user library folder in your user folder.  Select library/Safari. Enter Time Machine and restore this file.

    If the outside is bootable, boot off of it, do what above, and then copy the folder to the library user to internal drives.

  • How can I prevent users from access to my hard drive from backup to the enclosed address?

    I have a HD attached used only for backup. When I change the guest user attached the HD content is accessible. I tried to change the permissions for the disk 'all', using the information, 'no access' window (without blocking) that seemed to make the case, but a quick search gave terrible warnings about changing permissions, so I came back to the unsatisfactory "read only". Change return 'each' to 'No access' would be a bad move.  If so what can restrict the guest access to the HD (besides of course the disconnection of the latter!) attached.

    You can encrypt the back upward, then it will be password protected.

    http://osxdaily.com/2012/09/17/how-to-encrypt-an-external-drive-quickly-in-Mac-o s-x.

  • How can I restore passwords from backup in the computer?

    Recently I have backup my computer factory quite a reset. When I restored it all he did not return the registered mozilla bookmarks or passwords. I was able to find and restore bookmarks but have not been able to restore passwords. I am looking for a solution to find and store, copy or print the list of passwords in the backup copy.

    Thank you

    You can only access the passwords stored in signons.sqlite if you have the correct signons3.txt file that stores the encryption key to decrypt the names and passwords.
    If copy the two files in the current Firefox profile folder does not work then you will have a file signons3.txt evil.

    Make sure that you have copied both files to the correct location with Firefox closed.

    You can use this button to go to the Firefox profile folder:

  • Round Robin... Tired of waiting. Anyone heard of chess out there in the production/test?

    The question is explicit. Give me some feedback, I'm willing to spend some of my stuff of P2 and P3, after a few years of waiting, I'm ready to just go for it.

    Good call - look at this thread in no time.

    And here you go:

    http://communities.VMware.com/thread/186048

    -Matt

Maybe you are looking for

  • iWeb 3.04 quit on os ElCapitan 10.11

    I love my iWeb and have used every day since 2007. Continue to add pages and items and now have over 100 pages. After the purchase of a new office of iMac of the retina and the upgrade to El Capitan 10.11 - iWeb refuses to publish.  I know it is disc

  • Satellite P875-102 - touch pad / cursor freezes regularly for 2-3 sec

    Very happy to get very new P75-102 Toshiba (Windows 7) - £1. 1 k - WAITED so it works well immediately the day 1 - from the box. Unfortunately, the cursor on a regular basis (either 5 - 6 times in a surf web minutes) hangs for 2 to 4 seconds. Everyon

  • Apple devices on the charging mode

    He will be very grateful if Apple can produce an accumulation in the system on all Apple devices, which is to have a system of automatic disconnection or a program as to the user once the unit is fully charged and with such tools, it could prevent th

  • How to add data to the SD card file?

    I use OutputStream to write data to a file on the sd card. Before you start coding, I assumed that we can use a similar api seek() but I couldn't find a way to move the file position. is it possible to add data using OutputStream or any other method?

  • Windows 7 commands or Scripts to clean FlashPlayer and Java Control Panel history and Cache files

    Dear gurus:How to create commands or scripts to clean history and Cache of Flash Player and Java Control Panels of Windows7 files?Thank you very much! It would be a wonderful time saver! SF