473,320 Members | 2,193 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Restore Questions (32 vs 64 bit)

I have a database backup file that was created from an AIX 64 bit
instance - when I ry to restore this I get a message SQL2570N, A
database cannot be restored on a platform that does not match the
platform on which the backup image was created

The instance I need to restore to is 32 bit running on AIX (Same
version of DB2) - is there anyway to get a 64 bit backup file into a
32 bit instance...
Oct 24 '08 #1
5 5236
<ha************@gmail.comwrote in message
news:b0**********************************@i76g2000 hsf.googlegroups.com...
>I have a database backup file that was created from an AIX 64 bit
instance - when I ry to restore this I get a message SQL2570N, A
database cannot be restored on a platform that does not match the
platform on which the backup image was created

The instance I need to restore to is 32 bit running on AIX (Same
version of DB2) - is there anyway to get a 64 bit backup file into a
32 bit instance...
You cannot restore 64 bit to 32 bit. The reason is that the information on
data and index pages (other than the application data) is different on the
two different bit systems. For example, there is a limit of 255 rows per
page on 32 bit, but the limit is much higher in 64 bit and the restore is
not set up to make those adjustments that would be necessary.
Oct 24 '08 #2
On Oct 24, 1:19 pm, haganahtrai...@gmail.com wrote:
I have a database backup file that was created from an AIX 64 bit
instance - when I ry to restore this I get a message SQL2570N, A
database cannot be restored on a platform that does not match the
platform on which the backup image was created

The instance I need to restore to is 32 bit running on AIX (Same
version of DB2) - is there anyway to get a 64 bit backup file into a
32 bit instance...
This is supported and should work. What version of DB2 are you using?

Any chance that you are dealing with a compressed backup image? If so
then the compression library stored with the backup is 64-bit and
can't be used during the restore to do the decompression (since the
instance is 32-bit). If this is the case and you used DB2's default
compression library then this command should hopefully work for you:

restore database <dbcomprlib ~/sqllib/lib/libdb2compr.a

In this case, it's going to use the library specified for
decompression (which is the same bit-ness as the instance).

Hope that helps.
Kelly Schlamb
Oct 25 '08 #3
You cannot restore 64 bit to 32 bit. The reason is that the information on
data and index pages (other than the application data) is different on the
two different bit systems. For example, there is a limit of 255 rows per
page on 32 bit, but the limit is much higher in 64 bit and the restore is
not set up to make those adjustments that would be necessary.
What you are talking about is LARGE vs. REGULAR tablespaces. The
format of 32bit vs. 64bit backup images is not changed, except for the
compression format (see other post).

Another problem that could surface is little endianess vs. big
endianess, which is why it's not possible to transfer the image
between unix and windows.
Oct 26 '08 #4
<w.*********@googlemail.comwrote in message
news:ea**********************************@k37g2000 hsf.googlegroups.com...
What you are talking about is LARGE vs. REGULAR tablespaces. The
format of 32bit vs. 64bit backup images is not changed, except for the
compression format (see other post).
Thanks for the clarification. In V9.5 LARGE is the default when creating a
DMS tablespace (not sure about previous releases) unless REGULAR is
specified. So that does mean that if a LARGE tablespace has been created in
64-bit, the database cannot be restored to 32-bit.
Oct 26 '08 #5
On Oct 26, 6:54 pm, "Mark A" <some...@someone.comwrote:
<w.l.fisc...@googlemail.comwrote in message

news:ea**********************************@k37g2000 hsf.googlegroups.com...
What you are talking about is LARGE vs. REGULAR tablespaces. The
format of 32bit vs. 64bit backup images is not changed, except for the
compression format (see other post).

Thanks for the clarification. In V9.5 LARGE is the default when creating a
DMS tablespace (not sure about previous releases) unless REGULAR is
specified. So that does mean that if a LARGE tablespace has been created in
64-bit, the database cannot be restored to 32-bit.
Nope, that's not a problem at all. As was previously pointed out,
it's mainly an issue of the endianess. The following section of the
DB2 docs state that there are three platform families, and that you
can backup/restore within each family:

http://publib.boulder.ibm.com/infoce.../c0005960.html

Regards,
Kelly
Oct 28 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Hakim | last post by:
Hi there, I am a rookie in DB2. I have tried to do a database restoration on my system. Since it should not go directly to our REAL database, I tried to restore to a dummy database. Below...
2
by: Vikrant | last post by:
Friends, I have read DB2/UDB 8.x 'RESTORE DATABASE Command', with my 'limited' knowledge & skill. I think it should address my concern, but I want advice/ opinion / experience and any care I...
1
by: Sally Sally | last post by:
Thank you all for replying. I appreciate the tips. Apologies to those who were offended by the html formating. Scott, quick question. The reason I assumed insert would be "safer" than copy is...
1
by: Joseph Shraibman | last post by:
I recently dumped and restored a 7.4.2 database. It took 30 minutes for the data to load (6 gig) and 45 for the indexes to be created (3 gig). Why are the primary keys created after the other...
5
by: HSP | last post by:
hi. i need to restore an old database. The db was backed up using a DLT drive, using 2 volumes. The content for the tapes was copied to file onto Solaris machine using rsh and dd (for backup...
2
by: rdemyan via AccessMonster.com | last post by:
For some of my really important tables, I have backup tables in the backend file. The idea is that if a user accidentally screws up data, they can go to a form and restore from the backup table...
13
by: danceli | last post by:
I have two servers, using SQL server 2000. I was asked for implementing hourly Backup 3 databases in one server and restore those databases to another server. Could anyone give me the detailed...
3
by: Ray | last post by:
Can someone provide some pointers to information regarding upgrading a database from 32 bit V7 UDB to 64 bit V9 UDB on AIX hosts?
3
by: aka | last post by:
Hi, I'm actually working on the migration of a DB2 unicode db (V8.2 FP 15) from a Sunfire machine with SunOS (64 bit, Big-endian) to an AIX 5.3 (64-bit, Big-endian) server located in US. The...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.