A----------------------------------------EXPORT/BACKUP----------------------------------------------------
1-
make new folder for the backup let say c:/oracle/import/MY_DATA_PUMP_DIRECTORY
2-
sqlplus login as system user
3-
4-
grant all on directory MY_DATA_PUMP_DIRECTORY to system;
5- exit sqlplus and run the following from command line
expdp system/password DIRECTORY=MY_DATA_PUMP_DIRECTORY DUMPFILE=schemaName.dmp logfile=schemaName.log SCHEMAS=schemaName
B-----------------------------IMPORT/RESTORE--------------------------------------------------------------------
1- make sure you have the directory MY_DATA_PUMP_DIRECTORY the same as for the import
2-
impdp system/password DIRECTORY=MY_DATA_PUMP_DIRECTORY dumpfile=schemaName.dmp logfile=schemaName.log SCHEMAS=schemaName
1-
make new folder for the backup let say c:/oracle/import/MY_DATA_PUMP_DIRECTORY
2-
sqlplus login as system user
3-
CREATE DIRECTORY MY_DATA_PUMP_DIRECTORY AS 'c:/oracle/MY_DATA_PUMP_DIRECTORY';
4-
grant all on directory MY_DATA_PUMP_DIRECTORY to system;
5- exit sqlplus and run the following from command line
expdp system/password DIRECTORY=MY_DATA_PUMP_DIRECTORY DUMPFILE=schemaName.dmp logfile=schemaName.log SCHEMAS=schemaName
B-----------------------------IMPORT/RESTORE--------------------------------------------------------------------
1- make sure you have the directory MY_DATA_PUMP_DIRECTORY the same as for the import
2-
impdp system/password DIRECTORY=MY_DATA_PUMP_DIRECTORY dumpfile=schemaName.dmp logfile=schemaName.log SCHEMAS=schemaName
Comments
Post a Comment