Restore a .DMP file in Oracle XE
Hello,
I am new to Oracle and I downloaded the XE version for testing purposes. Can anyone tell how I restore a .dmp file? I got the file from a cient and need to run some queries on it. Any help on this would be great.
Thanks.
Anil
I wish I can tell you how it was created. I got this
file from my client site and I have been unable to
find out how it was created as yet. Is there a place
where I can get step by step instruction about how I
could import this file? Well, that's the dilema. The 'import' steps depend on how the 'export' was taken. Indeed, it it possible that the dump was created with non-Oracle tools.
Anyway, I created a couple of 'normal' exports from my Windows-based XE, one using exp and one using expdp. Then I opened the resulting dump files (with Cream/Vim) just to see what I could see.
exp test/test file=exp.dmp tables=testresulting in a file wit the first lines reading:
^C^@+EXPORT:V10.02.01
UTEST
RTABLES
2048
0
20
0and
expdp test/test directory=tempdir dumpfile=expdp.dmp tables=testcontained the following around the middle of line 2
TEST"."SYS_EXPORT_TABLE_01
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 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 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. -
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 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 KumarHello,
**$ 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 -
Restore DMP file in Oracle 10G - URGENT!
hello, Oracle forum. I am a sql dba crossing over and need some help ASAP! Since I am new at 10G, I received some DMP files from a client and need to restore them ASAP!. Can you please provide EXACT steps on how to do this? I prefer to use the OEM gui, but need step-by-step. Await reply...Many thanks!
Hi..
There are few questions to be answered:--
1. What does that dump contain. Is it a table level or a schema level or a full database dump
2. If its a table level who is the owner of the table
3. If its a schema level , whats the schema name.
4. was the export taken with exp or expdp utility.
5. Is the database in which the export dump is to be imported have that schema or is that the data has to be imported to some other schema.
After all this information you can use imp or impdp utility it import the data in 10g database.
For imp [http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1023560]
for impdp [http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#g1025464]
HTH
Anand -
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 -
Is it possible to import an Oracle 10 (export .dmp file) into Oracle 9 db ?
hi Oracle Guru's
Is it possible to import a oracle 10 (export .dmp file) into an oracle 9 database ?
I tried & got the following error ...
IMP-00010 not a valid export file, header failed verificationperhaps their is a work-around ?
thanksHi
You can take export from a previous version and import to a later version. Having said that, there is still a workaround to do what you want.
On 9i server add a connect string for your 10g instance. Then use 9i export utility to export 10g data. That way your export will be compatible with 9i. You can then import the data in your 9i instance.
To create connect string you can either use Net Configuration Assistant or manually edit TNSNAMES.ORA file in your 9i server.
Hope it helps.
Rgds
Adnan -
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. -
Handling a .dmp file in Oracle or Access
Hello!
I need to open a .dmp file in either Oracle or Access 2000.
Please let me know how this is possible?try importing it to oracle using imp utility
i do not know whether it is possible in access ... if any one can clarify, the help is greatly appreciated..
null -
How to extract data from dmp file to oracle express edition database
Hi,
I wanted to extract a oracle dump file in oracle express edition database. Is it possible? If yes, then can anyone please guide me how to do it?
ThanksHi,
This might help
Backup/Export Question!
Br,Jari -
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>'; -
How to load .dmp file into oracle 11gR2 data base schema ?
hello experts,
i have a .dmp file and i wnat to use the data in this file for my further practices.
so, i need to dump the data in the .dmp file to the any schema exiists in data base.
Please give me step by step procedure to execute my requirement....ASAP.
Thanks in Advance
LAkshmi kanthPl post details of exact OS and database versions. The answer will depend on exactly how this dmp file was created. What is the issue you are trying to resolve ? This is a forum of peer volunteers - for all ASAP issues, pl open an SR with Support
HTH
Srini
Maybe you are looking for
-
sound is not working
-
Dear community, I'm experiencing a problem since 2 days, that if I sign in in my iTunes account with my Apple ID on my iPhone it doesn't show at the end if scrolling down the ID details and credit anymore. If I try to download songs I bought once but
-
Upload fields from SAP R/3 to BW
Dear All, I'm looking for a method to upload fields from SAP R/3 to BI 7.0. My testing case as following: - Upload table DFKKKO \ field OBEL from R/3 to BW - I created a Generic Datasource and select this field. - When coming back to BI, I replicate
-
I had been using QuickVPN from home to connect to an RVS4000 at my office. I recetnly updgraded to a RV180W. I can connect a Windows 7 Pro PC on my home network to the RV180W with QuickVPN. But I cannot conncect with a Windos 8 laptop. I have tried a
-
The new iTunes has totally destroyed all of the playlists on my iPhone and I need help.
After updating to the new iTunes I lost songs, I lost playlists and I lost control over my music library in the iPhone. I am annoyed and frustrated <Edited By Host>