dbTalk Databases Forums  

Restore db from 9.5 back to 9.1

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss Restore db from 9.5 back to 9.1 in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Richard
 
Posts: n/a

Default Restore db from 9.5 back to 9.1 - 01-06-2011 , 10:39 AM






Anybody has experience restoring 9.5 database back to 9.1 ?

Our environment is WIN 2003 64 bit. Thank you in advance.
By the way, any doubt I had running enterprise DB2 applications on
Windows vs Unix has been erased. DB2 on Win is just as potent as it is
on Unix.

Reply With Quote
  #2  
Old   
Serge Rielau
 
Posts: n/a

Default Re: Restore db from 9.5 back to 9.1 - 01-06-2011 , 01:36 PM






On 1/6/2011 11:39 AM, Richard wrote:
Quote:
Anybody has experience restoring 9.5 database back to 9.1 ?

Our environment is WIN 2003 64 bit. Thank you in advance.
By the way, any doubt I had running enterprise DB2 applications on
Windows vs Unix has been erased. DB2 on Win is just as potent as it is
on Unix.
Richard,

To the best of my knowledge you cannot back out a version upgrade of a
database (that's why it is strongly recommended to do a backup before
upgrading)
Fixpacks by contrast can be backed out as long as you have not used any
new function.

Cheers
Serge

--
Serge Rielau
SQL Architect DB2 for LUW, IBM Toronto Lab
Blog: tinyurl.com/SQLTips4DB2
Wiki: tinyurl.com/Oracle2DB2Wiki
Twitter: srielau

Reply With Quote
  #3  
Old   
Arthurccc
 
Posts: n/a

Default Re: Restore db from 9.5 back to 9.1 - 01-06-2011 , 02:04 PM



On Jan 6, 2:36*pm, Serge Rielau <srie... (AT) ca (DOT) ibm.com> wrote:
Quote:
On 1/6/2011 11:39 AM, Richard wrote:> Anybody has experience restoring 9.5 database back to 9.1 ?

Our environment is WIN 2003 64 bit. Thank you in advance.
By the way, any doubt I had running enterprise DB2 applications on
Windows vs Unix has been erased. DB2 on Win is just as potent as it is
on Unix.

Richard,

To the best of my knowledge you cannot back out a version upgrade of a
database (that's why it is strongly recommended to do a backup before
upgrading)
Fixpacks by contrast can be backed out as long as you have not used any
new function.

Cheers
Serge

--
Serge Rielau
SQL Architect DB2 for LUW, IBM Toronto Lab
Blog: * *tinyurl.com/SQLTips4DB2
Wiki: * *tinyurl.com/Oracle2DB2Wiki
Twitter: srielau
Catalog table structure has been changed. No way to fall back to v9.1

The only way is rebuild the database. Export all the data from the
v9.5 database, create v9.1 database and import all the data. You need
to work with db2look and db2move.

Thanks
Arthur

Reply With Quote
  #4  
Old   
Willem Fischer
 
Posts: n/a

Default Re: Restore db from 9.5 back to 9.1 - 01-06-2011 , 02:10 PM



On Thursday, January 6, 2011 5:39:00 PM UTC+1, RSL wrote:
Quote:
Any doubt I had running enterprise DB2 applications on
Windows vs Unix has been erased. DB2 on Win is just as potent as it is
on Unix.
Potent in what regard? We have a few productive DB2 installations on Windows and my experience was not so good... Mostly because the tools we have forUnix don't work under Windows. If you're better at administrating Windows than Unix, you may be better off with Windows. I personally can't wait thatwe begin using Linux to achieve the price/performance of x86 and the maintainability of Unix.

Reply With Quote
  #5  
Old   
Richard
 
Posts: n/a

Default Re: Restore db from 9.5 back to 9.1 - 01-06-2011 , 02:22 PM



Rebuild db is messy because of constraints, triggers, packages...etc.
Its not as simple as reimport the data.

Will this work ? I restore the 9.1 db with the very last online
backup, then rollforward all the logs including those
started in db2 9.5 ? That way I got my old 9.1 database back + new
data off the 9.5 logfiles. Is that do-able ?


Quick aside - my current Wintel 64 bit system is supporting hundreds
of stores nationwide running high volume OLTP without hiccup. It's
screamingly fast even as we ramp up in volume. I was a doubter before
thinking anything that big has to be a 'nix but surprise to find Win
2003 as stable and easy to managed as Linux. Sure I applied all the
dba & architure enhancements I know of but the performance so far
greatly exceeded my expectation.

Reply With Quote
  #6  
Old   
Helmut Tessarek
 
Posts: n/a

Default Re: Restore db from 9.5 back to 9.1 - 01-06-2011 , 04:22 PM



Hi Richard,

On 01/06/2011 03:22 PM, Richard wrote:
Quote:
Will this work ? I restore the 9.1 db with the very last online
backup, then rollforward all the logs including those
started in db2 9.5 ? That way I got my old 9.1 database back + new
data off the 9.5 logfiles. Is that do-able ?
No, you can't rollforward logs from a different version of DB2.
DB2 9.1 does not understand the format of DB2's 9.5 logs.

--
Helmut K. C. Tessarek
DB2 Performance and Development

/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/

Reply With Quote
  #7  
Old   
Richard
 
Posts: n/a

Default Re: Restore db from 9.5 back to 9.1 - 01-07-2011 , 08:21 AM



Thank you for your answers.
Looks like I have to reset management expectations.

One last thing, you CAN install multiple "copies" of db2 on same
server, right ?
eg, 9.1 and 9.5
and even different fixpak versions within ?

Reply With Quote
  #8  
Old   
Willem Fischer
 
Posts: n/a

Default Re: Restore db from 9.5 back to 9.1 - 01-07-2011 , 09:08 AM



On Friday, January 7, 2011 3:21:24 PM UTC+1, RSL wrote:
Quote:
Thank you for your answers.
Looks like I have to reset management expectations.

One last thing, you CAN install multiple "copies" of db2 on same
server, right ?
eg, 9.1 and 9.5
and even different fixpak versions within ?
Yes, that works quite well.

Reply With Quote
  #9  
Old   
Serge Rielau
 
Posts: n/a

Default Re: Restore db from 9.5 back to 9.1 - 01-10-2011 , 01:13 PM



On 1/7/2011 9:21 AM, Richard wrote:
Quote:
Thank you for your answers.
Looks like I have to reset management expectations.

One last thing, you CAN install multiple "copies" of db2 on same
server, right ?
eg, 9.1 and 9.5
and even different fixpak versions within ?
Yes, absolutely. Multiple instances of the same or different versions or
fixpack levels are fine.


--
Serge Rielau
SQL Architect DB2 for LUW, IBM Toronto Lab
Blog: tinyurl.com/SQLTips4DB2
Wiki: tinyurl.com/Oracle2DB2Wiki
Twitter: srielau

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.