Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Iron Speed
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old September 21st, 2003, 07:31 PM
d-MoN d-MoN is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 d-MoN User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
extracting .dmp files

ok, i've searched a lot, and i couldn't find a solution for my problem...

i have a backup of the database in .dmp format and i need to partially restore it (there were some deletions by mistake in it and i need to restore some part of the records).

the problem is that i can't extract the file - i found NXTract utility, but it doesn't work with CLOB fields (and i'm not willing to pay for it, plus i'm not sure if commercial version does support it)

i know that i can import that .dmp file into the database, but that way all records will be imported and changes made after the backup was done will be removed. even if they won't be removed - there will be lots of mess.

i just need to extract some records with some criteria out of that file. is there any way to do it?

i don't have administrative access to oracle neither can i install it localy. that would take lots of time, and i need just part of the records in that dmp file... so basically i drop the idea of creating the new database, importing the stuff there and extracting the needed data only with some script.

well i hope someone will understand me and help me... thanks.

Reply With Quote
  #2  
Old September 21st, 2003, 08:23 PM
hedge hedge is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2002
Posts: 692 hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 21 h 28 m 41 sec
Reputation Power: 19
If it's only a few records in a couple of tables you could do this:

1. rename the tables you need to import
2. import just the tables you need import .... tables=(t1,t2,t3)
3. now you can delete/insert into the table from the backup you made in step 1.

this would be quite cumbersome to do with an entire db but if it's only a few rows it would be ok.

Reply With Quote
  #3  
Old September 21st, 2003, 09:15 PM
d-MoN d-MoN is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 d-MoN User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hmz. true. i was stupid enough to not think about renaming tables thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > extracting .dmp files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway