If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > tablespace restoration

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-17-09, 22:47
pavand pavand is offline
Registered User
 
Join Date: Aug 2009
Posts: 4
tablespace restoration

Hi...

I have a doubt about tablespace restoration..

Is it possible to restore only tablespace from database backup image.

if so what are the steps we need to follow..?

Please clarify my dbout my friends..!


Thanks in advance..
Pavan
Reply With Quote
  #2 (permalink)  
Old 08-18-09, 02:20
divakargoel divakargoel is offline
Registered User
 
Join Date: May 2005
Location: Bangalore, India
Posts: 27
Yes its possible to restore a tablespace from a full db backup. You would also need the log files associated with the tablespace from the time the backup image was created.
A tablespace is always rollforwarded after recovery.
Reply With Quote
  #3 (permalink)  
Old 08-19-09, 00:31
pavand pavand is offline
Registered User
 
Join Date: Aug 2009
Posts: 4
Thank you Divakar...for information

May I know the command to restore the tablespace from the backup image which has log files associated with the tablespace.
Reply With Quote
  #4 (permalink)  
Old 08-20-09, 05:11
divakargoel divakargoel is offline
Registered User
 
Join Date: May 2005
Location: Bangalore, India
Posts: 27
The command remains the same 'RESTORE DATABASE'. It has got a TABLESPACE option.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On