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 > Restore database (SMS to DMS)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-10-04, 09:57
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Arrow Restore database (SMS to DMS)

Hi:

Is it possible that during the restore database redirect command, change the SMS tablespaces to DMS?

I have a situation where I have a backup image of database which has all the tablespaces as SMS. I need to create a copy of this same database BUT change some of the SMS tablespaces to DMS for some testing purposes. Is it possible to achieve with restore command? If not what other way can be used except creating a brand new database and then import/export of data?

DB: DB2 UDB V7 FP9 on Windows

Thanks in advance.

dollar
Reply With Quote
  #2 (permalink)  
Old 01-10-04, 20:54
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: Restore database (SMS to DMS)

Restore Command cannot do this

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 01-10-04, 21:22
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Re: Restore database (SMS to DMS)

Yes, thats what I concluded from the documentation as well. Another thing I found is that Quest central for database tool by Quest has the capability to do this in their alter tablespace screen. On the background it does export, drop tables, create tablespace and import the data back. One can do it manually as well. But using the tool, it's just easy and it takes care of dependcies.

dollar

Quote:
Originally posted by sathyaram_s
Restore Command cannot do this

Sathyaram
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