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 > backup and restore db from two different db2 version

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-26-05, 11:54
sosdb sosdb is offline
Registered User
 
Join Date: Jan 2005
Posts: 13
backup and restore db from two different db2 version

My question is : can i do the backup of db2 v8 database and restore to db2 v7 in the unix environment ..if yes where i can find some documentation ...

thank ......


Last edited by sosdb; 01-26-05 at 11:59.
Reply With Quote
  #2 (permalink)  
Old 01-26-05, 12:21
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
No .. you cannot .. you can do v7 to v8 and the process will migrate the catalog and all other structures to the latest version ,,
But going from a higher version to lower is not supported (and doubt, will ever be supported)
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 01-27-05, 01:18
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
sosdb,
Because backup/restore to previous version is not supported, you will probably need to do something like this:
1. db2look - to get database objects (primary keys, foreign keys, etc) run "db2look /?" for more help.
2. export tables
3. import or load tables

Hope this helps,
Grofaty
Reply With Quote
  #4 (permalink)  
Old 01-27-05, 15:48
fohana fohana is offline
Registered User
 
Join Date: Jan 2005
Location: Rio de Janeiro - Brazil
Posts: 28
Another option

Another option for "restoring" the structure / data from this newer Database to a previous release would be the DB2MOVE feature.

You can find it easily in the Command Reference how to use this tool.

Hope this helps.

Fernando

Last edited by fohana; 01-27-05 at 15:50. Reason: posting more information
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