On Mon, 27 Aug 2007 22:55:29 -0700, Christian Maslen scribbled:
Hi All,
I understand in older versions of DB2/UDB this was not possible. The
following article explains how I might do this
http://www.ibm.com/developerworks/db2/library/
techarticle/0207kline/0207kline.html
Sorry, I don't think that article does explain how to backup/restore
between platforms (unless I've misunderstood your intent in referencing
it?)
From the article: "In the example provided later, we will be using two
Windows machines that are mapped to each other via a local network (it is
required that both machines have the same OS platform)" and later on: "If
you plan to use a UNIX environment, the same rules apply. Both machines
must have the same OS platform (an exception is a restore between SunOS
and HP)"
Is this still a restriction in version 9.x? I'd specifically like to
restore a backup performed on an AIX server to a Windows server.
The article's talking about v7. As Mark's already pointed out it's
definitely a restriction in v8. Looking at the v9 InfoCenter, the topic
"Backup and restore operations between different operating systems and
hardware platforms" [1] contains the following:
"""
The supported platforms for DB2 backup and restore operations can be
grouped into one of three families:
* Big-endian Linux and UNIX
* Little-endian Linux and UNIX
* Windows
"""
The fact that Windows is its own family doesn't bode well for your
particular situation, and indeed the following seems to confirm that
backup & restore from AIX -Windows is not possible in v9:
"""
A database backup from one platform family can be restored on any system
within the same platform family. For Windows operating systems, you can
restore a database created on DB2 UDB V8 on a DB2 Version 9 database
system. For Linux and UNIX operating systems, as long as the endianness
(big endian or little endian) of the backup and restore platforms is the
same, you can restore backups that were produced on DB2 UDB V8 on DB2
Version 9.
"""
Hence, some combination of db2look & db2move (as detailed in Mark's
response) would seem to be simplest way forward.
[1]
http://publib.boulder.ibm.com/infoce...2luw/v9/topic/
com.ibm.db2.udb.admin.doc/doc/c0005960.htm
Cheers,
Dave.