Database Administration (MOSC)

MOSC Banner

How to handle refreshing TEST schema with PRODUCTION schema ?

edited Feb 23, 2011 2:49AM in Database Administration (MOSC) 4 commentsAnswered
 

- we have database 10g ( standard edition), database name : ABC

- Schema name: ABC.PRODUCTION (which is our production schema)

- Schema name: ABC.TEST (which is our testing schema, where developers work)

Both the production & Test schemas exist in the same database.

Now once a week I wanted to refresh TEST schema with PRODUCTION data

Here is what I have been doing all these years:

=> Take a logical backup (EXPDP) of PRODUCTION schema (prod.dmp)

=> Drop user TEST cascade ( i don't need a backup of this TEST schema)

=> Create user TEST

=> Import PROD.DMP data into TEST schema

All the above 4 steps are being done manually.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center