Comments are available to members only. Sign up or Log in to view these comments.
Main Topics
Browse All TopicsBe forewarned, I am very new to DB2!
I am trying to move a DB2 database to a new server.
When i specify the file path I want the DB to sit on it is ignored.
Here are the commands I am using:
db2 restore db VFUAT from /home/db2inst1/databases/p
But I am getting the following output:
SQL1051N The path "/home/db2inst1/databases/
SQLSTATE=57019
So I tried to create the VFUAT database and restore the data:
db2inst1@mtc-db2-uat:~> create database VFUAT on /home/db2inst1/databases/p
-bash: create: command not found
db2inst1@mtc-db2-uat:~> db2 create database VFUAT on /home/db2inst1/databases/p
DB20000I The CREATE DATABASE command completed successfully.
db2inst1@mtc-db2-uat:~> db2 restore db VFUAT from /home/db2inst1/databases/p
SQL2523W Warning! Restoring to an existing database that is different from
the database on the backup image, but have matching names. The target database
will be overwritten by the backup version. The Roll-forward recovery logs
associated with the target database will be deleted.
Do you want to continue ? (y/n) y
SQL1051N The path "/home/db2inst1/databases/
SQLSTATE=57019
It is referencing the old path, what am I doing wrong?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: mrjoltcolaPosted on 2009-09-01 at 10:19:15ID: 25233734
Comments are available to members only. Sign up or Log in to view these comments.