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 > Older versions of DB2?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-08-09, 16:53
valadil valadil is offline
Registered User
 
Join Date: May 2009
Posts: 7
Older versions of DB2?

I have a backup of a database from db2 express-c v9.5. I've installed v9.7, but can't restore to it. As far as I can tell IBM no longer offers downloads of 9.5 Is there any other way to get it? I've been googling for about an hour, but all downloads go back to IBM.

If I can't get a copy of 9.5, is there any way to update my backups to 9.7, without taking the server down for an offline backup?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 09-08-09, 17:29
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
I think you should be able to restore a 9.5 backup to 9.7 (although I could be wrong). What operating systems are the backup and restore systems, and what error messages are you getting?
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 09-08-09, 20:42
valadil valadil is offline
Registered User
 
Join Date: May 2009
Posts: 7
It said I could restore from an offline backup, but not a rolling one. I don't have the error message test available now, but I can post it tomorrow. I'm backing up from Centos 5 and restoring on Ubuntu Jaunty. I was using DB2 9.7 from IBM's site. I also tried DB2 9.5 bundled up into a .deb for Ubuntu Hardy, but that wouldn't install on three different systems (and now I've got to unclog apt as well).
Reply With Quote
  #4 (permalink)  
Old 09-08-09, 21:05
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Try adding "without rolling forward" to the restore command
Reply With Quote
  #5 (permalink)  
Old 09-08-09, 23:51
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Quote:
Originally Posted by valadil
It said I could restore from an offline backup, but not a rolling one.
If you do continue to get error messages, then please post the complete (and exact) commands issued and the complete (and exact) error message you get. You can use the copy and paste functions to do that.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #6 (permalink)  
Old 09-09-09, 03:02
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
valadil, as far as I know backup/restore between lower to upper version of DB2 only works from full off-line backup. This is only supported way of migration.

When new version of DB2 Express-C is released by IBM previous version is no more available to download. So when v9.7 express-c was released v9.5 was dismissed and so it is not available to download any more.

There is a DB2 Express-C IBM official forum, if you need any specific question about DB2 Express-C: developerWorks : Information Management : IBM DB2 Express Forum

Please don't bother with deb package on Ubuntu Hardy, because I think it is not working well. I suggest to use the following how-to (excellent step-by-step instructions): developerWorks : Information Management : IBM DB2 Express Forum : How-to: Ubuntu 7.10 Server x86 32-bit ...

If you can't get out of this problem, I can upload DB2 Express-C v9.5 to you. I have two Linux-32bit versions of DB2: DB2 Express-C v9.5 and DB2 Express-C v9.5.2 (this is DB2 with included fixpack 2). I have installed both on Ubuntu and both are working well. What I would need is some kind of public available FTP server in your company/organization that I can connect to and upload DB2-Express-C. So you need to tell me more info: which version of DB2 Express-C you have (db2level is the command to execute to get this info) and IP address of FTP server at you location. You can contact me at grofaty at hotmail dot com.
Reply With Quote
  #7 (permalink)  
Old 09-09-09, 11:43
valadil valadil is offline
Registered User
 
Join Date: May 2009
Posts: 7
I couldn't get it to restore (even with "without rolling forward") so I gave up and took an offline snapshot. That required a db2 migrate db NAMEOFDB, but seems to have worked.

That said, I really wish IBM would keep older versions around. I'm never deleting one of their installers again. I had to backup from production, restore to test, offline backup from test, then restore to 9.7. If I didn't have the test server, prod would have had to have gone offline for the backup.
Reply With Quote
  #8 (permalink)  
Old 09-09-09, 12:03
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
If you've got the space & time: fill a disk with the output of "db2move sample export". Also punch your DDL with db2look.
You will always be able to re-build your database in the new environment.
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