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

migrating a database between machines

Hi,

Probably a simple question :-)

I've got a few xml aware databases on a 9.1.2 db2 server running on
RHEL 4. As db2 V9.5 doesn't run on RHEL 4 I've set up a new server
running RHEL5.1 with db2 9.5 on it. ((64 bit version)

All I want to do is copy the database from 1 machine to another.
I thought I could just copy across my backup file and restore it on
the new machine, but that doesn't seem to work.

I tried performing a copy from te control centre but that seems to
object to the xml data column I've got in the database.

So, how am i supposed to migrate a database from 1 system to another?

Alex
Dec 17 '07 #1
2 4226
On Dec 17, 5:49 am, A...@sharaz.info wrote:
Hi,

Probably a simple question :-)

I've got a few xml aware databases on a 9.1.2 db2 server running on
RHEL 4. As db2 V9.5 doesn't run on RHEL 4 I've set up a new server
running RHEL5.1 with db2 9.5 on it. ((64 bit version)

All I want to do is copy the database from 1 machine to another.
I thought I could just copy across my backup file and restore it on
the new machine, but that doesn't seem to work.

I tried performing a copy from te control centre but that seems to
object to the xml data column I've got in the database.

So, how am i supposed to migrate a database from 1 system to another?

Alex
Hi Alex,

Have you look at the migration guide? We provide a task to migrate to
a new server which is exactly your case:
http://publib.boulder.ibm.com/infoce.../t0011368.html

The migration can be done by restoring a full offline database back up
as long as the operating systems are compatible:
Backup and restore operations between different operating systems and
hardware platforms
http://publib.boulder.ibm.com/infoce.../c0005960.html

Hope this helps,

Amyris.
Dec 18 '07 #2
On 18 Dec, 15:20, ar...@ca.ibm.com wrote:
On Dec 17, 5:49 am, A...@sharaz.info wrote:
Hi,
Probably a simple question :-)
I've got a few xml aware databases on a 9.1.2 db2 server running on
RHEL 4. As db2 V9.5 doesn't run on RHEL 4 I've set up a new server
running RHEL5.1 with db2 9.5 on it. ((64 bit version)
All I want to do is copy the database from 1 machine to another.
I thought I could just copy across my backup file and restore it on
the new machine, but that doesn't seem to work.
I tried performing a copy from te control centre but that seems to
object to the xml data column I've got in the database.
So, how am i supposed to migrate a database from 1 system to another?
Alex

Hi Alex,

Have you look at the migration guide? We provide a task to migrate to
a new server which is exactly your case:http://publib.boulder.ibm.com/infoce...pic/com.ibm.db...

The migration can be done by restoring a full offline database back up
as long as the operating systems are compatible:
Backup and restore operations between different operating systems and
hardware platformshttp://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.db...

Hope this helps,

Amyris.
o.k. so old machine is RHEL 4 DB2 V9.1.2
new machine is 64bit RHEL 5.1 DB2 V9.5

both machines have same instance names, passwords etc

Create a directory called backups in the db2inst1 home directory

ftp the offline backup file into the backups directory

from the root of the db2inst directory type

db2 restore database netdev from backups

and get
SQL30082N Security processing failed with reason "3" ("PASSWORD
MISSING").

so try again with " user db2inst1 using .... " added

:-

db2 restore database netdev user db2inst1 using mysillypassword from
backups

Now get

SQL2036N The path for the file or device "backups" is not valid

Try
db2 restore database netdev user db2inst1 using mysillypassword from ./
backups

Same error
try
db2 restore database netdev user db2inst1 using mysillypassword from
"./backups"

Same error

try ..... "/home/db2inst1/backups"

Same errror

cd into the backups directory

type
db2
restore NETDEV user db2inst using xxxxx <cr>

Get SQL2036N The path for the file or device "/home/db2inst1/backups"
is not
valid.

filename is NETDEV.0.db2inst1.NODE0000.CATN0000.20071221122723 .001

more help please if possible

alex


Dec 21 '07 #3

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

Similar topics

10
by: Markus Enders | last post by:
Hi everybody, currently we use DB2 7.1 on several Solaris machines. Now we are planning, to migrate to SUSE Linux (newest version). I wonder, if we can keep our DB2 version 7.1, or if we need to...
4
by: John Ortt | last post by:
Hi Everyone, hope you can help. Our company has recently migrated from NT and Access 97 to XP and Access 2003 and in the process a number of problems have surfaced. The team I work in are...
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...
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...
6
by: Mikeland | last post by:
Please, can you help me about this error: SQL1091C The release number of the database is not valid. SQLSTATE=08004 I connect to a db Version: 7, Release: 1 whit a database manager Version:...
3
by: RichardLamont | last post by:
We often have to migrate changes to sql server 2000 databases from development to production. Normally we dump the sql from Enterprise Manager for production and development and do a diff (using...
1
by: spudse | last post by:
Hello, I have created a database on my home development server (Microsoft SQL Server 2005 Express). Now I finally found a hoster that fits my needs and I would like to migrate my database to this...
0
by: hindueee | last post by:
Hi, We are having a project which is using the technology as PowerBuilder and has its backend as DB2 V8.1 currently. Now, we need to upgrade the database to V8.2. Please let me know what are the...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.