Import .dmp file in Oracle 11g in Linux
Hi experts,
I m new here, please tell me how to import the database as .dmp file in Oracle 11g Release in Oracle Enterprise Linux 5.5.
As i tried to execute this command:-
**$ impdp username/password@orcl file = FILENAME.dmp full=y log=log.txt**
but it gives error as:-
**bash: impdp: command not found**
Now please help me about this.
Thanx.
Abhishek Kumar
Hello,
**$ impdp username/password@orcl file = FILENAME.dmp full=y log=log.txt**
but it gives error as:-
**bash: impdp: command not found**First, if the command was not found it means that you don't have the right environment variables. So, be sure to be connected with the right OS User (oracle for instance).
Secondly, the parameter FILE is not used with Datapump. Instead you should use the Parameter DUMPFILE and, more over, you should better specify a DIRECTORY.
So, as said by Azar, you should read the documentation and see the differences between Datapump and classical Export/Import utility.
These links may help you:
http://download.oracle.com/docs/cd/E11882_01/server.112/e16536/toc.htm
http://www.oracle.com/technetwork/database/datapump11g2009-techover-1-131288.pdf
Hope this help.
Best regards,
Jean-Valentin
Similar Messages
-
Error while trying to import .dmp file in oracle
Hi,
I am trying to import a .dmp file using impdp command. Whenever I try that I get following error logs:
Import: Release 10.2.0.1.0 - Production on Wednesday, 27 July, 2011 19:22:18
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/******** DUMPFILE=HIST_IR_APR_2011.dmp
Processing object type TABLE_EXPORT/TABLE/TABLE
ORA-39083: Object type TABLE failed to create with error:
ORA-00439: feature not enabled: Partitioning
Failing sql is:
CREATE TABLE "DBO"."HIST_IR" ("IR_ID" NUMBER(9,0), "ELS_ID1" NUMBER(9,0), "ELS_ID2" NUMBER(9,0), "ZONE_ID" NUMBER(2,0) NOT NULL ENABLE, "TYPE" NUMBER(2,0) NOT NULL ENABLE, "START_TIME" DATE NOT NULL ENABLE, "END_TIME" DATE NOT NULL ENABLE, "ROAD_NAME" VARCHAR2(50) NOT NULL ENABLE, "UP_POINT" NUMBER(4,2), "DN_POINT" NUMBER(4,2), "UP_LINK_ID" NUMBER(9,0) NOT NULL ENABLE, "DN_LINK_ID" NUMBER
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
ORA-39112: Dependent object type OBJECT_GRANT:"DBO" skipped, base object type TABLE:"DBO"."HIST_IR" creation failed
ORA-39112: Dependent object type OBJECT_GRANT:"DBO" skipped, base object type TABLE:"DBO"."HIST_IR" creation failed
ORA-39112: Dependent object type OBJECT_GRANT:"DBO" skipped, base object type TABLE:"DBO"."HIST_IR" creation failed
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
ORA-39112: Dependent object type INDEX:"DBO"."INDX_HIST_IR_LOC_TYPE" skipped, base object type TABLE:"DBO"."HIST_IR" creation failed
ORA-39112: Dependent object type INDEX:"DBO"."INDX_HIST_IR_ROAD_NAME" skipped, base object type TABLE:"DBO"."HIST_IR" creation failed
ORA-39112: Dependent object type INDEX:"DBO"."INDX_HIST_IR_ELS_ID1" skipped, base object type TABLE:"DBO"."HIST_IR" creation failed
ORA-39112: Dependent object type INDEX:"DBO"."PK_HIST_IR" skipped, base object type TABLE:"DBO"."HIST_IR" creation failed
ORA-39112: Dependent object type INDEX:"DBO"."INDX_HIST_IR_START_TIME" skipped, base object type TABLE:"DBO"."HIST_IR" creation failed
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
ORA-39112: Dependent object type CONSTRAINT:"DBO"."PK_HIST_IR" skipped, base object type TABLE:"DBO"."HIST_IR" creation failed
Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 10 error(s) at 19:22:21
Any idea how to get rid of the errors ?
BR///
TayyabI also tried to open the .dmp file using Oracle 11g Enterprise Edition but kept getting following errors:
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/******** dumpfile=HIST_IR_APR_2011.dmp
Processing object type TABLE_EXPORT/TABLE/TABLE
ORA-39083: Object type TABLE failed to create with error:
ORA-01918: user 'DBO' does not exist -
How to insert data from *.dmp file to oracle 11g using Oracle SQL Develope
hi
i backup my database using PL/SQL developer and made *.dmp file
how to insert data from *.dmp file to oracle 11g using Oracle SQL Developer 2.1.1.64
and how to make *.dmp file from sql*plus ?
thanks in advancePl/Sql developer has a config window, there you choose the exec to do the import/export.
Find it and his home version, it may be exp or expdp, the home version is the version of the client where the exp executable is.
Then use the same version of imp or impdp to execute the import, you do not need to use Oracle SQL Developer 2.1.1.64. If you want to use it, you must have the same version in the oracle home that exp/imp of sql developer use. -
Import DMP file into Oracle 8.1.5 on Windows 2000
How to import DMP file into Oracle 8.1.5 database on Windows 2000 ?
Please mention a coding example
Thanks,
Vivek GuptaImport has a lot of options, so it depends on what you want to do.
C:\> imp help=y
will show you all possible options. An example of full import :
C:\> imp <username>/<password>@<TNS alias> file=<DMP file> full=y log=<LOG file>
Message was edited by:
Paul M.
...and there is always [url http://download-uk.oracle.com/docs/cd/F49540_01/DOC/index.htm]The documentation -
hi
how to import *.dmp file Through Oracle SQL Developer (3.2.20.09) ?
how to do it ?
thanksYou do not.
.dmp files are created from our Export and Data Pump database utilities and are proprietary files. You use the corresponding Import (or Data Pump) utility to import the data. -
Regarding Import .dmp files to Oracle
I have GosalesDw.dmp files. I need to import these files to Oracle database.
I am loging to system/admin . Then I issues 'host cmd' and then i am using ' imp' command for import. But i am unable to import.
I think I am giving wrong information for path . so suggested me how i will give the path.
can you please explain me with Example.
Thanks,
MohanaKrishna KPost Operating System (OS) name & version for DB server system.
Post results of
SELECT * from v$version
I am loging to system/admin why
imp help=yes
Import: Release 10.2.0.1.0 - Production on Wed Mar 3 09:47:46 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
You can let Import prompt you for parameters by entering the IMP
command followed by your username/password:
Example: IMP SCOTT/TIGER
Or, you can control how Import runs by entering the IMP command followed
by various arguments. To specify parameters, you use keywords:
Format: IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
USERID must be the first parameter on the command line.
Keyword Description (Default) Keyword Description (Default)
USERID username/password FULL import entire file (N)
BUFFER size of data buffer FROMUSER list of owner usernames
FILE input files (EXPDAT.DMP) TOUSER list of usernames
SHOW just list file contents (N) TABLES list of table names
IGNORE ignore create errors (N) RECORDLENGTH length of IO record
GRANTS import grants (Y) INCTYPE incremental import type
INDEXES import indexes (Y) COMMIT commit array insert (N)
ROWS import data rows (Y) PARFILE parameter filename
LOG log file of screen output CONSTRAINTS import constraints (Y)
DESTROY overwrite tablespace data file (N)
INDEXFILE write table/index info to specified file
SKIP_UNUSABLE_INDEXES skip maintenance of unusable indexes (N)
FEEDBACK display progress every x rows(0)
TOID_NOVALIDATE skip validation of specified type ids
FILESIZE maximum size of each dump file
STATISTICS import precomputed statistics (always)
RESUMABLE suspend when a space related error is encountered(N)
RESUMABLE_NAME text string used to identify resumable statement
RESUMABLE_TIMEOUT wait time for RESUMABLE
COMPILE compile procedures, packages, and functions (Y)
STREAMS_CONFIGURATION import streams general metadata (Y)
STREAMS_INSTANTIATION import streams instantiation metadata (N)
VOLSIZE number of bytes in file on each volume of a file on tape
The following keywords only apply to transportable tablespaces
TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
TABLESPACES tablespaces to be transported into database
DATAFILES datafiles to be transported into database
TTS_OWNERS users that own data in the transportable tablespace set
Import terminated successfully without warnings. -
Importing a dmp file in Oracle 11g XE Datapump
I received dmp file that was made with datapump in 11g. I need to import it into my 11g XE but can't figure out how to do it
ORA-00955: name is already used by an existing object.Take a look at the DBA_DIRECTORIES view with a SYSTEM login, to create the import log file the database user will need write permission to the directory, might have to use sysdba if the directory is owned by SYS user. Or just grant the privilege to the database user to create their own directory ...
$ sqlplus /nolog
connect system
... password
select * from dba_directories;
grant read, write on data_pump_dir to <username>;
-- or allow <username> to make a directory
grant create any directory to <username>;
conn <username>
... password
create directory dpdir as 'd:\<a valid folder path>'; -
Imp dmp file in oracle 10g on linux
i have oracle 10g on linux now i want to imp the dmp file to db.
i put the file in /mnt/erp/file.dmp folder.
i log in as oracle user and ....
and start the imp the file as
imp user/password file=/mnt/erp/file.dmp
but it giver error faile to open the file for read.....
what is the problem.....
is there any privillage issue???????????
helped with full syntax...and steps...i copy the dmp file in /mnt/erp folder as root user.
i am going to imp it as oracle user.
sir i don't know about dmp group.
i past the error i got..
[oracle@lnxdb erp]$ imp
Import: Release 10.2.0.1.0 - Production on Wed Oct 10 08:09:37 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Username: FS_10oct2012
Password:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 -
Production
With the Partitioning, OLAP and Data Mining options
Import file: expdat.dmp > FR_10_10_2012.dmp
IMP-00002: failed to open FR_10_10_2012.dmp for read -
hi friends
what is the command to import DMP file in Oracle 10g database.
how to import this file in particular schema..
pls. help..Prior to import you must have below requirement,
1. Directory created on DB where you have your dump file, you must have priviledge on this directory.
2. dump file on above mentioned directory.
3 use imp if you have export your dump with exp command , use impdp if have exported your dmp file using impdp.
4. Also you must have correct priviledge on exp,expdp utilities.
try to run 'impdp help=y' on your putty, it will open help for impdp.
hope it will help you in some extend.
Edited by: imkhan on Oct 22, 2012 4:32 PM -
How do you import data base dmp file in oracle 10g
How do you run data base dmp file in oracle 10g
Examples..
Table Exports/Imports
The TABLES parameter is used to specify the tables that are to be exported. The following is an example of the table export and import syntax:
expdp scott/tiger@db10g tables=EMP,DEPT directory=TEST_DIR dumpfile=EMP_DEPT.dmp logfile=expdpEMP_DEPT.log
impdp scott/tiger@db10g tables=EMP,DEPT directory=TEST_DIR dumpfile=EMP_DEPT.dmp logfile=impdpEMP_DEPT.log
For example output files see expdpEMP_DEPT.log and impdpEMP_DEPT.log.
The TABLE_EXISTS_ACTION=APPEND parameter allows data to be imported into existing tables.
Schema Exports/Imports
The OWNER parameter of exp has been replaced by the SCHEMAS parameter which is used to specify the schemas to be exported. The following is an example of the schema export and import syntax:
expdp scott/tiger@db10g schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.dmp logfile=expdpSCOTT.log
impdp scott/tiger@db10g schemas=SCOTT directory=TEST_DIR dumpfile=SCOTT.dmp logfile=impdpSCOTT.log
For example output files see expdpSCOTT.log and impdpSCOTT.log.
Database Exports/Imports
The FULL parameter indicates that a complete database export is required. The following is an example of the full database export and import syntax:
expdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=expdpDB10G.log
impdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=impdpDB10G.log -
Import Datapump problems on Oracle 11g
am trying to Import (using Datapump) and DMP file from Oracle 10g (10.2.0.4).
The 10g database server has nls_characterset of:
SYSTEM@testers>
PARAMETER VALUE
NLS_CHARACTERSET WE8MSWIN1252
1 row selected.
The 11g server has:
SQL> select * from v$nls_parameters
2 where parameter = upper('nls_characterset');
PARAMETER
VALUE
NLS_CHARACTERSET
AL32UTF8
Here are the errors:
Import: Release 11.2.0.2.0 - Production on Tue Nov 8 16:40:11 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/********@Testers11g DIRECTORY=impdp_dir DUMPFILE=expdpT1400.dmp REMAP_SCHEMA=t1400:t1500 LOGFILE=expdpt1500.log
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
. . imported "T1500"."DPR_OPENING_BALANCE" 172.2 MB 4537640 rows
. . imported "T1500"."IVC_OFFSITE_OPENING_BALANCE" 199.0 MB 5120520 rows
. . imported "T1500"."IVC_OPENING_BALANCE" 187.3 MB 5171512 rows
. . imported "T1500"."FIN_AR_STATEMENT_SAVE" 33.73 MB 93 rows
. . imported "T1500"."AUDIT_CONTRACT" 17.74 MB 39855 rows
. . imported "T1500"."S1_CONTRACT_FORMAT_TEMP" 6.078 KB 2 rows
. . imported "T1500"."FO_OPENING_BALANCE" 12.42 MB 406974 rows
. . imported "T1500"."S1_TICKET_CHARGE_SAVE" 11.62 MB 24 rows
. . imported "T1500"."FO_TRANSACTION_SUMMARY" 11.76 MB 406974 rows
. . imported "T1500"."FIN_GL_ACCOUNT_BALANCE" 10.89 MB 337260 rows
. . imported "T1500"."FIN_GL_AUDIT_TRAIL_JOURNAL" 25.48 KB 30 rows
. . imported "T1500"."FIN_GL_AUDIT_TRAIL" 1.024 MB 6648 rows
. . imported "T1500"."DPR_TRANSACTION_DETAIL" 5.888 MB 74588 rows
ORA-02374: conversion error loading table "T1500"."AUDIT_RELEASE"
ORA-12899: value too large for column SHIP_TO_SHORT_NAME (actual: 11, maximum: 10)
ORA-02372: data for row: SHIP_TO_SHORT_NAME : 0X'C8746F696C65204C656D'
I also tried to Import a DMP (from Export) from Oracle10g server and got this result:
Connected to: Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
Export file created by EXPORT:V10.02.01 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses US7ASCII character set (possible charset conversion)
. importing T1400's objects into T1500
. . importing table "A1_ASYNCH_COMMUNICATION" 0 rows imported
. . importing table "A1_BROADCAST_LOCK" 1 rows imported
. . importing table "A1_BROADCAST_MESSAGE" 6 rows imported
. . importing table "A1_BROADCAST_USER" 0 rows imported
. . importing table "A1_BUILD_SCRIPT" 437 rows imported
. . importing table "A1_DBC_APPLIED_SCRIPT" 0 rows imported
. . importing table "A1_ERROR_HANDLER" 5880 rows imported
. . importing table "A1_ERROR_HANDLER_COMMON" 2956 rows imported
. . importing table "A1_ERROR_HANDLER_TITLE"
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "T1500"."A1_ERROR_HANDLER_TITLE"."TITLE_DESCRIPTION" (actual: 34, maximum: 32)
Column 1 7
Column 2 FR
Column 3 Relâche des Fact. Récurr des CAP
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
The errors always occur when I try to import a column containing French accented characters.
What am I missing???Multiple posts on the same topic is considered to be rude and bordering on spam - https://forums.oracle.com/forums/thread.jspa?threadID=2308355
-
Hi,
I had installed both oracle 8i and 11g, I'm trying to import my dmp file in oracle 8i, but that query will shift to 11g environment.
How can i import my dmp file in 8i.
eg:
host imp sys/sys@ora file='D:\Ven_Excercise\hlw_demo\koow.dmp' ignore=y
fromuser=trainee
regards
venkiAlready some references had been provided in ur previous post itself. Refer the
link been provided there.
Ur Orginal post:
problem of import file
Regards
Nirmal -
Help to import .dmp file to APEX
Hi All,
I have a question about export and import .dmp file to APEX.
I'm working on a data mining application based on database 11g. I managed to export the data mining model to a .dmp file using oracle data miner (ODM). now I wanna to know how to import this dmp file to the online schema (for example the free apex hosting). I used DBMS_DATA_MINING.EXPORT_MODEL and DBMS_DATA_MINING.IMPORT_MODEL and it's work in my computer.
thanksHello <unknown user>,
In short : you can't import a dmp file into apex.oracle.com.
That's because you need the imp utility (and the corresponding roles/rights).
You can create sql scripts for the DML and DDL and upload and run those.
Greetings,
Roel
http://roelhartman.blogspot.com/ -
Creation of two databases in oracle 11g on linux
HI,
I need to create two databases in oracle 11g on linux.
how to set SID'S in .bash_profile and change the init.ora file.
pls anyone let me know
thanks
srinivasIf you have different databases on same node you could choose to not set ORACLE_SID in shell init file but use instead interactive oraenv Oracle script to set the right ORACLE_SID.
Please read Configuring the Operating System Environment Variables in http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/em_manage.htm#ADMQS12369
To create easily a database (ie without using your own scripts) try to use DBCA that will automatically take care of database initialization file: http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/install.htm#BABEIAID
Edited by: P. Forstmann on 5 août 2011 12:01 -
Hi,
I try to do imp dmp file in oracle 10g xe.
the export done was done on oracle 9i but when i do import in oracle 10g it comes with this error msg:
Export file created by EXPORT:V09.02.00 via direct path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses US7ASCII character set (possible charset conversion)
IMP-00031: Must specify FULL=Y or provide FROMUSER/TOUSER or TABLES arguments
IMP-00000: Import terminated unsuccessfully
Is it dmp file was done using ascii rather than binary mode?
Do I have to migrate the character set from US7ASCII to WE8MSWIN1252? or any other idea?
Thanks.Hi,
IMP-00031: Must specify FULL=Y or provide FROMUSER/TOUSER or TABLES arguments
IMP-00000: Import terminated unsuccessfullyIn your import command: imp you need to use full=y if you want to importa all in the new DB or fromuser=x touser=x to import schema by schame or use tables=...
Cheers,
Francisco Munoz Alvarez
http://www.oraclenz.com
Maybe you are looking for
-
Error in Creating a WebDynpro iview in CE7.1
Hi Experts, when i'm trying to create a Web Dynpro iview in CE7.1, by copying respective Web dynpro application from GPAL repositoroes and pasting them as a object into tha PCD , its giving me the following error as below said and i 'm unable to c
-
How to get rid of ancient recipient email addresses in Mail??
This question has nothing to do with Address Book. My AB entries are up to date. However, one particular person I email frequently has probably had ten different addresses in the past few years. All of them still show up in Mail when I start to type
-
Delete query taking more than 2 hours
Hi I have table1 with more than 20 million rows.I am trying to delete some rows based on conditions.I have written a query to delete the rows.Butit is taking almost 2 hours.Is there any other way to achieve this? DEL FROM TABLE1 WHERE ID=100 AND SRCE
-
Is there a way to default only long text when you any of the financial posting transactions
-
Hello I need to configurate the EWA in my solman (SP12), and I need to monitori the all system, to active the connections external to support from OSS marcket place, and maintinacer oioptimaze configuration. Please I need the guides for these co