473,386 Members | 1,712 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,386 software developers and data experts.

Backup DB2 UDB 7.x on Linux Restore on Windows?

Al
Hi,

I'm new to DB2 and have what may be a stupid question:

Is it possible to backup a DB2 UDB 7.x database on a Linux server and
restore it on a Win2k server (both running the same version of DB2)?

Backups on the Linux box seem to be a single file. Backups on the Windows
box seem to be a directory structure.

The DBMOVE command doesn't look like the answer since it leaves behind CLOB
data.

Am I missing something?

-Al

Nov 12 '05 #1
5 4892
This has exactly what you are looking for.

http://www-106.ibm.com/developerwork...dm-0403melnyk/

CLOB data is not a problem..

GOODLUCK

Al wrote:
Hi,

I'm new to DB2 and have what may be a stupid question:

Is it possible to backup a DB2 UDB 7.x database on a Linux server and
restore it on a Win2k server (both running the same version of DB2)?

Backups on the Linux box seem to be a single file. Backups on the Windows box seem to be a directory structure.

The DBMOVE command doesn't look like the answer since it leaves behind CLOB data.

Am I missing something?

-Al


Nov 12 '05 #2
Al wrote:
Hi,

I'm new to DB2 and have what may be a stupid question:

Is it possible to backup a DB2 UDB 7.x database on a Linux server and
restore it on a Win2k server (both running the same version of DB2)?
No, you can't. Have a look at the documentation for RESTORE DATABASE.
http://publib.boulder.ibm.com/infoce...e/r0001976.htm
The DBMOVE command doesn't look like the answer since it leaves behind
CLOB data.


How's that? After all, the documentation says that LOBs are handled:
http://publib.boulder.ibm.com/infoce...e/r0002079.htm

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #3
Al
----- Original Message -----
From: "Knut Stolze"
Al wrote:
The DBMOVE command doesn't look like the answer since it
leaves behind CLOB data.

How's that? After all, the documentation says that LOBs are
handled:

http://publib.boulder.ibm.com/infoce...e/r0002079.htm
Thanks for responding. I may be misunderstanding the docs, but what leads me
to believe this is:

| tabnnnc.yyy
| The exported LOB files of a specific table.
| "nnn" is the table number. "c" is a letter of
| the alphabet. "yyy" is a number ranging from
| 001 to 999.

| These files are created only if the table being
| exported contains LOB data. If created, these
| LOB files are placed in the "lobpath" directories.
| There are a total of 26 000 possible names for
| the LOB files.

This would seem to imply that tables with one or more CLOB fields and more
than 26,000 rows (a comically small number for a production DB) will lose
data. Is this really the case?

-Al
Nov 12 '05 #4
Al
Thanks. My concern with the CLOB data is that it appears that only the first
26,000 rows come across due to the naming scheme. I'll try experimenting
with multiple LOBPaths and see if that works.

-Al
"db2inst1" wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
This has exactly what you are looking for.

http://www-106.ibm.com/developerwork...dm-0403melnyk/

CLOB data is not a problem..

GOODLUCK

Al wrote:
Hi,

I'm new to DB2 and have what may be a stupid question:

Is it possible to backup a DB2 UDB 7.x database on a Linux server and
restore it on a Win2k server (both running the same version of DB2)?

Backups on the Linux box seem to be a single file. Backups on the Windows box seem to be a directory structure.

The DBMOVE command doesn't look like the answer since it leaves behind CLOB data.

Am I missing something?

-Al

Nov 12 '05 #5
Al wrote:
----- Original Message -----
From: "Knut Stolze"
Al wrote:
> The DBMOVE command doesn't look like the answer since it
> leaves behind CLOB data.

How's that? After all, the documentation says that LOBs are
handled:

http://publib.boulder.ibm.com/infoce...e/r0002079.htm

Thanks for responding. I may be misunderstanding the docs, but what leads
me to believe this is:

| tabnnnc.yyy
| The exported LOB files of a specific table.
| "nnn" is the table number. "c" is a letter of
| the alphabet. "yyy" is a number ranging from
| 001 to 999.

| These files are created only if the table being
| exported contains LOB data. If created, these
| LOB files are placed in the "lobpath" directories.
| There are a total of 26 000 possible names for
| the LOB files.

This would seem to imply that tables with one or more CLOB fields and more
than 26,000 rows (a comically small number for a production DB) will lose
data. Is this really the case?


I don't know for sure but you can specify multiple directories, and you can
place the 26000 files (the alphabet has 26 letters and the "yyy" numbers
rango from 000 through 999) in each of the directories.

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #6

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

Similar topics

1
by: Fabian Knopf | last post by:
Hi @ll, how can i backup my DB2 V8.1 database and install it to another machine where DB2 V8.2 is running. Cu, Fabian
2
by: NEXUZ6 | last post by:
Can I restore a backup taken from a DB2 7.2 on Linux to a 8.1 Win ? How ? Tkx
2
by: Buck Turgidson | last post by:
I have an SAP development system running on Linux. It is not a critical system, but I would like a restore-able backup. I have taken an offline backup, but I am unable to restore it. I am...
6
by: Tim Penhey | last post by:
Hi All, I have a java web server (Tomcat) running a web application that uses PostgreSQL for all of the data. All of the management of the application is done through the web application and I...
2
by: maha | last post by:
Dear DB2 experts! I'm stuck with the following issue: from a customer I got a DB2 backup file, created on an AIX-32 machine that I cannot restore on my windows platform. I admit that I posses...
5
by: abelbfilho | last post by:
I have a backup image with name DADOSADV.0.DB2.NODE0000.CATN0000.20060812230006.001 and I want to restore it on Windows (in another server). In Windows Server I created this folder structure:...
4
by: Christian Maslen | last post by:
Hi All, I understand in older versions of DB2/UDB this was not possible. The following article explains how I might do this ...
5
by: zgh1970 | last post by:
Hi, Friends, default DB2 compression library. I am wondering if this option will have any new restriction on RESTORE in the following. (Can I used that backup imsage for restore at the...
0
by: glubber | last post by:
I have a cronned perl script that runs on a different server. when I try to restore it to the server below things dont copy across correctly. the target server is described below. debian 4.0...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.