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

Thread: Creating Staging Database

Threaded View

  1. #15
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    Just a couple of minor changes... in the blue color

    Quote Originally Posted by bhattnirav
    Will it be work with 24*7 DB?

    Put production database in backup mode
    Force checkpoint

    Copy datafiles to staging server.

    Create controlfile script from production database.

    Take production database out of backup mode

    Transfer archive logs to staging server.

    Rename database by creating controlfile. The script is created from production database like
    CREATE CONTROLFILE REUSE SET DATABASE "STGDB" RESETLOGS ARCHIVELOG

    recover database until cancel.

    Open DB with resetlogs.
    Last edited by PAVB; 07-26-2007 at 08:16 AM.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

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