The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how can i copy data in LINUX Machine to windows XP bsandeep_80 UNIX for Advanced & Expert Users 2 03-27-2008 06:25 AM
copy, clear and keep to new data only sarge UNIX for Dummies Questions & Answers 1 10-09-2006 10:26 AM
copy prod data to QA zomboo UNIX for Dummies Questions & Answers 1 10-06-2004 10:24 AM
copy data from Windows to Unix any help? odogbolu98 UNIX for Advanced & Expert Users 8 07-09-2002 12:22 PM
How to copy data file from UNIX and put it on PC BillyT UNIX for Dummies Questions & Answers 3 01-22-2001 10:09 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-03-2008
jyoung jyoung is offline
Registered User
  
 

Join Date: Nov 2001
Location: Flint, MI
Posts: 228
db2 - copy data from one db to another

I need to take data from one database to another on the same machine.
My first attempt has been using restore, but I am getting an error.
Here is the command I am trying:
db2 restore database prod into test
I get the following error:
The container is already in use.

What would be the best way to move data from one database to
another on the same machine? Are there other utilities that would work
better? DB2 version 8.1.1.56 fixpack 6. thank you.
  #2 (permalink)  
Old 03-04-2008
Sprellarinn Sprellarinn is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 52
Backup/Restore is the quickest and safest way to migrate the database to another machine. The error you are describing is pritty straigth forward, it states that at least one container for at least one tablespace is already in use and cannot be overwritten. This often is the case when doing a migration like this.

Take a look at redirected restore where you can redefine where to place the tablespace containers at restore time. This will be the most easy way.
  #3 (permalink)  
Old 03-04-2008
jyoung jyoung is offline
Registered User
  
 

Join Date: Nov 2001
Location: Flint, MI
Posts: 228
Thank you Sprellarinn I will take a look at the redirected restore.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0