Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: export/import on the same server
Dave,
If you are in a position to shutdown prod. I would think it would be easier to copy all prod datafiles,etc to test location and recreate the control file on test to point to correct directory and your there. If you need more detail I can provide.
Rick
Rachel Carmichael To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> <wisernet100@ cc: yahoo.com> Subject: Re: export/import on the same server Sent by: root_at_fatcity. com 02/05/2002 10:05 AM Please respond to ORACLE-L
Dave,
are you planning on completely dropping the TEST database and recreating it from the PROD export? If so, you are right to be cautious.
If you want to refresh the data and the number of schema owners is small, you might consider just dropping the users and their objects then recreating the users in the TEST database.
Then you can just import fromuser= touser= and make sure that you are pointing to the TEST database (I'd log in via sqlnet, even though they are on the same box:
imp testdba/testdbapassword_at_test file= fromuser= touser= etc
If that won't work, then the next best thing to do would be to drop and recreate the TEST database, tablespaces/datafiles and all. Then use IGNORE=Y and DESTROY=N and again MAKE SURE YOU ARE POINTING TO TEST when you do the import.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rachel Carmichael INET: wisernet100_at_yahoo.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Rick_Cale_at_teamhealth.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Feb 05 2002 - 10:09:55 CST
![]() |
![]() |