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
Similar Messages
-
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 -
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 -
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 import a *.dmp file (exported from 10g) to 8i database?
Hi everybody!
Could anybody tell me how to import a *.dmp file (exported from 10g) to 8i database?
I have tried but it seemed to be error "wrong version".
Thanks a lot!From 10.1.0 to 8.1.7 => Use the EXPORT 8.1.7 to export the data from the 10.1.0 database and IMPORT 8.1.7 to
import the data into the 8.1.7 database.
Metalink note 132904.1 Subject: Compatibility Matrix for Export & Import Between Different Oracle
Nicolas. -
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 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.
AnilI 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 -
Attaching DBF / ORA files to Oracle 10g express
Hi,
I have Oracle 10g Express and I want to attach/restore database. I`m begginer in oracle so I know little about process of restoring/attaching databases. I have only DBF/ORA files, is it possible to restore them and how?
Any help appreciated.
Thanks,
Ivan.
Message was edited by:
VertygoProbably not... Oracle does not generally allow you to take data files from one machine and mount them on another machine.
If you have a small dump file (generally .DMP) and a handful of data files, you might have some transportable tablespaces, but it doesn't sound like that is the case.
If you have control files, you might have a closed database backup. If that were the case, you could do a database restore, but you would only be able to use the express edition if that was the original database version you took the backup from. It doesn't sound like you have control files, though, so I don't expect that you could do a recovery.
If the original database is still around, the easiest option would probably be to do an export from that system and an import into your new database (using the exp/imp or expdp/impdp tools depending on the source Oracle version).
Justin -
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 -
Not Loaded status after deploying a EAR file in Oracle 10g application serv
Hi,
I am deployed a simple ear file in Oracle App Server 10g. The deployment went on well. But when i use the enterprise manager to see the status , it shows 'Not Loaded'.
Can any body kindly give me a suggestion on why this is happening.
Any help is highly appreciated.
Thanks
SKHi,
You have to register your Portlet provider.
How to register new portlet in Oracle Portal 10g ?
Here are the steps -
1- Go to your oracle portal home page e.g. http://oracleportal.com/pls/portal
2- Login into the oracle portal by clicking on 'login' link
3- Go to the Builder and then Administer
4- Click on Portlets tab
5- Click on 'Register a Provider' in 'Remote Providers' portlet.
6- Enter the provider URL and other information and click finish. Normally the provider URL for portlets developed using JPDK is in the form of http://[your portal]/[context root]/providers/
Please note that you must have deployed the portlet before trying to register the provider for the portlet.
Best Regards,
Kevin -
How to create a single executable file in oracle 10g
hi all
i am a fairly new user to oracle. i would like to know if there is any way that i can compile both the database and forms that i have created, using the oracle 10g developer suite, into a single executable file and be able to install it on another system without installing the development environment?
can anyone please help
thanks in advanceHi there
The forum software was upgraded a few months back and many links to older content were lost.
There are possibly a few different things you need to do. First, click Project > Skin > Borders tab and DE-select the "Show Borders" check box. That will eliminate the _skin.SWF from the mix. If you have full motion clips you may need to take other steps.
Also note that while turning off the borders eliminates the _skin.SWF, it also has the side effect of coaxing the the playback controls up onto the main part of the presentation. If you don't like this, you need to resize the movie to make room for the playback controls to be placed into its own area.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Issue with lock file in Oracle 10g app server - MDB not running
Hi,
I have Oracle 10g & MQ 6 on my laptop. I generated JNDI bindings for app server-MQ by giving ip address of my machine first. Then i changed it to "localhost" & generated new set of .bindings file.
With this new set i am able to send messages from my program to a queue. I also have an MDB which should listen to the same queue.
However now my mdb is not listening to the queue & i suspect it is due to host address change, - because each time i start the server, i see a lock file created "OracleASRouter_store.lock" - under j2ee\home\persistance. And below is the content of the same -
"O10.1.4.245:/C:/Program Files/Oracle/oc4j_extended_101330/j2ee/home/persistence/"
As per few suggestions on this site, I deleted this file & restated app server, deleted whole content of persistance folder, restarted app server. But each time i see this file created and also see the ip address in log.xml under j2ee\home\log\oc4j
Error message in this log.xml file is
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-09-19T11:22:35.265-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE EJB-02009</MSG_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>IFLEXNY-EXT99</HOST_ID>
<HOST_NWADDR>10.1.4.245</HOST_NWADDR>
<MODULE_ID>ejb.runtime</MODULE_ID>
<THREAD_ID>10</THREAD_ID>
<USER_ID>chetanmi</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.1.4.245:65858:1190215355296:0</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>[STGMQ:STGMQEJB:TestMDB] Unexpected exception by JMS provider: javax.jms.MessageEOFException: initializeConnection.</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[javax.jms.MessageEOFException: initializeConnection
at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1075)
at com.evermind.server.jms.JMSUtils.toJMSException(JMSUtils.java:1155)
at com.evermind.server.jms.TCPJMSRemoteServer.initializeConnection(TCPJMSRemoteServer.java:154)
at com.evermind.server.jms.TCPJMSRemoteServer.initializeConnection(TCPJMSRemoteServer.java:110)
at com.evermind.server.jms.TCPJMSRemoteServer.<init>(TCPJMSRemoteServer.java:68)
at com.evermind.server.jms.EvermindConnection.<init>(EvermindConnection.java:122)
at com.evermind.server.jms.EvermindQueueConnection.<init>(EvermindQueueConnection.java:70)
at com.evermind.server.jms.EvermindQueueConnectionFactory.unprivileged_createQueueConnection(EvermindQueueConnectionFactory.java:101)
at com.evermind.server.jms.EvermindQueueConnectionFactory.access$000(EvermindQueueConnectionFactory.java:44)
at com.evermind.server.jms.EvermindQueueConnectionFactory$1.execute(EvermindQueueConnectionFactory.java:81)
at com.evermind.server.jms.InContainerProxy.doSecureOp(InContainerProxy.java:157)
at com.evermind.server.jms.EvermindQueueConnectionFactory.createQueueConnection(EvermindQueueConnectionFactory.java:78)
at com.evermind.server.jms.EvermindQueueConnectionFactory.createQueueConnection(EvermindQueueConnectionFactory.java:69)
at com.evermind.server.ejb.MessageDrivenConsumer.createNonXAResources(MessageDrivenConsumer.java:567)
at com.evermind.server.ejb.MessageDrivenConsumer.initializeJMSResources(MessageDrivenConsumer.java:491)
at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:208)
at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:358)
at com.evermind.server.jms.JMSRemoteServer.readCheck(JMSRemoteServer.java:678)
at com.evermind.server.jms.JMSRemoteServer.readProtocol(JMSRemoteServer.java:696)
at com.evermind.server.jms.TCPJMSRemoteServer.initializeConnection(TCPJMSRemoteServer.java:134)
... 16 more
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-09-19T11:22:35.312-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE EJB-02014</MSG_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>IFLEXNY-EXT99</HOST_ID>
<HOST_NWADDR>10.1.4.245</HOST_NWADDR>
<MODULE_ID>ejb.runtime</MODULE_ID>
<THREAD_ID>10</THREAD_ID>
<USER_ID>chetanmi</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.1.4.245:65858:1190215355296:0</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>[STGMQ:STGMQEJB:TestMDB] All message consumer threads have terminated due to provider errors, stopping MDB.</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
And my MDB is NOT WORKING. Please let me know how to deal with this.
Your suggestions would be much appreciated.
Regard,
ChetanLine # 127 is creating a new application object using ApplicationFactory.
ApplicationFactory aFactory =
(ApplicationFactory) FactoryFinder.getFactory(
FactoryFinder.APPLICATION_FACTORY);
application = aFactory.getApplication();
The only way that can throw a null pointer is when aFactory is NULL. I really doubt this case because, the same thing is doen in init() of FacesServlet. If it had failed there, the exception should have occured during server startup.
This leaves me more and more confused....I am desperate for some help now :((
Ramesh
Maybe you are looking for
-
when i plug my ipod nano (5th gen) into my windows 7 laptop it makes the noise to say that it has connected with teh usb port but does not show up in my computer or itunes? i dont know what to do but have already tried the troubleshooting guide on yo
-
Total JDBC connections rising steadily
Our J2EE application has been crashing recently. The app stops responding to requests and is eventually restarted by OPMN. I have been monitoring it through the enterprise manager web page since the the crashes seem to be related to waiting for datab
-
Warning by NAC when a new Pcs connecte to the network
Hi All, I have a NAC is configured to authenticate users through the NAC by local BD and just use vlan mapping mac-address filter list. I would like to control new Pcs connection to the network ; when a new mac-address -- PC ,laptop or any other ma
-
Returning into not working correctly
Hello everyone. I am experiencing a strange problem with Insert returning into clause. I'm using the latest ODP.NET client. Here is the problem description. There is a table called IPS_EXCEPTION_LOG. CREATE TABLE IPS_EXCEPTION_LOG ID NUMBER(10), LOG_
-
Where can I get a valid channel and features linup?
The FiOS man called today to say that it is now available at my residence. I want to compare prices and features but when I use the channel linup link it keeps telling me that it is not available at my zip code. Actually any zip I enter, even ones