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

Migrating a Windows DB2 8.1 to DB2 8.1 database system on AIX 5.3

Ric
Do someone know how to migrate/copy a Windows DB2 8.1 data base to DB2
8.1 database system on AIX 5.3. Found some migrate doc on the web but
these handle mirgrations across db systems.

Thx in adwance!!!

Oct 19 '06 #1
2 1734
Ric wrote:
Do someone know how to migrate/copy a Windows DB2 8.1 data base to DB2
8.1 database system on AIX 5.3. Found some migrate doc on the web but
these handle mirgrations across db systems.

Thx in adwance!!!
Use db2look to extract the DDL, and then make changes to run on Windows
(TS container file names and paths will need a change).

Then use db2move (export and then load) to move the data.

You cannont use backup and restore to move from DB2 Windows to DB2 UNIX.

Oct 19 '06 #2
Ric
" Use db2look to extract the DDL, and then make changes to run on
Windows
(TS container file names and paths will need a change)."
You mean "to run on UNIX" I suppose.
Thx for the info but I am a DB2 dummy and it would be great to have it
steps by steps.
Are this the steps you was talking about (the database I want to move
has the name TEST)?:

1. On Windows:
D:\db2look -d TEST -e -o TEST_Schema.ddl -l
2. Now modifying TS container file names and paths in "TEST_Schema.ddl"
and copy "TEST_Schema.ddl" to AIX.
3. On AIX using db2inst1 user:
- (/home/db2inst1) $ create a TESTDB
- (/home/db2inst1) $ connect to TEST
- (/home/db2inst1) $ db2 -tvf /depot/TEST/Schema/TEST_Schema.ddl
4. On AIX System via db2cc catalog TEST from Windowssystem
5. On AIX Connect to the Windows TEST and
- (/home/db2inst1) $ db2move TEST -u db2inst1 -p passdb2inst1
- (/home/db2inst1) $ db2 terminate
6. connect to the AIX TEST db
- (/home/db2inst1) $ connect to TEST
- (/home/db2inst1) $ db2move TEST load

7. Finished and ready to use
Thx again,
Ric

Oct 20 '06 #3

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

Similar topics

6
by: Shai Levi | last post by:
Hi, I'm trying to migrate native c++ class to managed c++ class. The native class header definition looks as: class NativeClass { public: typedef void (CbFunc1)(int n,void* p);
4
by: Collin Peters | last post by:
I have searched the Internet... but haven't found much relating to this. I am wondering on what the best practices are for migrating a developmemnt database to a release database. Here is the...
11
by: Neil | last post by:
We are running SQL 7, using Access 2000 as a front end. Our network person is wanting to migrate to Windows 2003 (we're currently on Windows 2000), and wants to know if we should migrate to SQL...
13
by: Matt Fielder | last post by:
First off, if this is better posted in another group that qualifies as a manged group, please let me know. I currently have an application written in VB.Net using MSDE as the database. Current...
34
by: subramanian100in | last post by:
Is there any difference between porting and migrating. Kindly explain
0
by: rAinDeEr | last post by:
Hi.. 1. ) We have a Test Database in a mainframe system and are migrating the Data to a UDB machine in Linux environment. What are the different aspects to be considered. ? 2.) Can some one...
64
by: John | last post by:
Hello there, Im cursing my place of employment...and its taken me a month to realise it... The scenario: Ive just stepped into a role to migrate an access database to VB.Net. The access...
1
by: Søren Alexandersen | last post by:
Hi all. I have some specific questions on migrating a Oracle 8.1.7 database from AIX to Windows. I know something very similar has been asked before, but I can't seem to get some unique...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.