473,604 Members | 2,483 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4239
On Dec 17, 5:49 am, A...@sharaz.inf o 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.co m wrote:
On Dec 17, 5:49 am, A...@sharaz.inf o 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.db2ins t1.NODE0000.CAT N0000.200712211 22723.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
3264
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 upgrade to version 8. How are your experiences running DB2 in version 7.1 on Linux. How difficult is the migration from Solaris to Linux concerning DB2? Are there some pitfalls or can I simply install the DB2, create my database (tables and...
4
1713
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 responsible for managing a number of databases, some of which are updated on a desktop machine and then copied to the networked drives. We overwrite the existing database with the new updated version using the
4
2608
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 simplest example of my situation (real world would be more complex). Say you have two versions of your application. A release version and a development version. After a month of developing you are ready to release a new version. There have...
13
2426
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 install is via InstallShield. As I've just found out that MSDE is not supported under Vista, I need to migrate to SQLExpress. I am also potentially interested in migrating to using an installer built in Visual Studio. I have a few questions:
6
8742
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: 7, Release: 2
3
2893
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 CSDiff - downloadable for free). From the diff information we create some scripts to add new tables or alter existing tables as required. This is time consuming and error-prone. I am now trying the following: 1. Backup up the Development...
1
1081
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 hosted SQL Server. The database contains: - Tables - Data inside tables - Views - Stored procedures I can connect to this server remotely. However I don't have file access so I can't just restore backup (forcing the recreation of the...
0
1465
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 important factors to be considered while migrating the database from 8.1 to 8.2. What are the common SQL statement changes in this migration?If anyone has any idea on this, please share it with me. Thanks, Hindhu
0
7997
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7929
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8409
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8065
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8280
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5882
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3907
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1526
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1266
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.