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