DBAsupport.com Forums - Powered by vBulletin
Results 1 to 9 of 9

Thread: Building database from hot backup

  1. #1
    Join Date
    Sep 2006
    Location
    London
    Posts
    58

    Building database from hot backup

    I need to create a database on the basis of hot backup from source daatbase including control files etc. to create a test environment for developers and other purpose.

    Can you please suggest me the procedure how to build the same copy of database?

    I've prepared the paramter file for this instance.

    Do I need to create the new script for creating same database?

    Do I need to take the script from my source database using ALTER DATABASE BACKUP CONTROLFILE TO .......

    How to poulate this data into my new created database incluidng all the objects.

    Thanks in advance.

  2. #2
    Join Date
    Oct 2006
    Location
    Mumbai
    Posts
    184
    Dear dbajay,

    Just restore the Hot-backup on the Disk.

    Create controlfile at mount stage from the trace created by changing the appropriate paths.

    apply logs (Archive logs) at mount stage to bring the database to consistent state and open the database.

  3. #3
    Join Date
    Sep 2006
    Location
    London
    Posts
    58
    How to apply archive log files?

    I think that I need to apply as below from the mount stage

    Restore database
    recover database

    Can you please check it?

  4. #4
    Join Date
    Oct 2006
    Location
    Mumbai
    Posts
    184
    Yes, in case you have RMAN Backup.

  5. #5
    Join Date
    Feb 2003
    Location
    Leeds, UK
    Posts
    367
    For detailed instructions on doing this the old fashioned way e.g. without RMAN refer to MetaLink Note 135651.1, otherwise:

    http://download-uk.oracle.com/docs/c...db.htm#1006085

  6. #6
    Join Date
    Sep 2006
    Location
    London
    Posts
    58
    Thanks. I'll go through this doc.

  7. #7
    Join Date
    May 2005
    Location
    Boracay
    Posts
    681
    Hi Friends,

    I see the examples are using catalog is it the same procedure
    if im using nocatalog(controlfile) rman backups?


    Thanks
    Behind The Success And Failure Of A Man Is A Woman

  8. #8
    Join Date
    Feb 2003
    Location
    Leeds, UK
    Posts
    367
    I've only ever performed this procedure in an environment where a catalog is available, however, I believe that the process is the same without a catalog.

  9. #9
    Join Date
    Dec 2006
    Location
    Brazil
    Posts
    36
    When you don't have a RMAN catalog the controlfile is the catalog. When you do a hot backup without the catalog, after the RMAN backup has finished you have to issue following command:

    RMAN> backup current controlfile;

    If you need to restore your backup, the first step on RMAN recover is:

    RMAN> restore controlfile from '/backup/rman_ctl_bkp';

    Follow the standard process to restore/recover whole database.
    Regards,

    Carlos Duarte
    Oracle Applications DBA

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width