IMP/EXP utility [message #368127] |
Mon, 21 August 2000 10:32 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Rob
Messages: 70 Registered: January 2000
|
Member |
|
|
I need the full command line syntax in order to export and import a database schema to a dumpfile. I was previously able to do this using the following commands:
EXPORT:
exp system/manager@ATLPTEST file=E:\atlp_test_backup_and_recover\2000-08-21\ATLPTEST-2000-08-21-09-50.dmp full=y feedback=1000 buffer=1000 LOG=E:\atlp_test_backup_and_recover\2000-08-21\ATLPTEST-2000-08-21-09-50.log
IMPORT:
(first I would drop the WORKBRAIN user with cascade and recreate the user, then run the following command...)
imp system/manager@ATLP file=E:\atlp_test_backup_and_recover\2000-08-21\me.dmp rows=Y grants=Y indexes=Y fromuser=WORKBRAIN touser=WORKBRAIN feedback=1000 buffer=1000 LOG=E:\atlp_test_backup_and_recover\2000-08-21\OracleImport.log
This export/import combo no longer works, I get a memory error when importing. If anyone can let me know a fool proof way of exporting and importing a user's schema, PLEASE HELP!!!
|
|
|
Re: IMP/EXP utility [message #368128 is a reply to message #368127] |
Mon, 21 August 2000 12:43 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Cpchin
Messages: 17 Registered: December 1999
|
Junior Member |
|
|
Depends on the Oracle version you were using. I understood that for Oracle 8.1.5, there is a bug that you cannot import the full export with fromuser/touser combination.
|
|
|
|
Re: IMP/EXP utility [message #368130 is a reply to message #368127] |
Mon, 21 August 2000 13:58 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
Cpchin
Messages: 17 Registered: December 1999
|
Junior Member |
|
|
Rob:
If you can access the metalink, please take a look of the note 76496.1 Alert: 8.1.5 export file may cause import FROMUSER/TOUSER to dump/Dr. Watson. Bug number 900811.
|
|
|
|
|
Re: IMP/EXP utility [message #368140 is a reply to message #368127] |
Tue, 05 September 2000 08:50 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
Rob
Messages: 70 Registered: January 2000
|
Member |
|
|
If you mean a parameter file, just edit a text file with all the arguements you want to pass to the exp utility.
For example:
exp system/manager@orcl file=backup.dmp rows=y buffer=1000
can be shortened to:
exp system/manager@orcl parfile=para.txt
where para.txt is:
file=backup.dmp rows=y buffer=1000
|
|
|