AllExperts > Experts 
Search      

Ingres

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Ingres Answers
Question Library

Ask a question about Ingres
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Jean-Pierre Zuate
Expertise
Any questions about database Ingres (owned by Computer Associates then Ingres Corp) : - Ingres 6.4 - OpenINGRES from 1.0 to 2.0 - IngresII from 2.0 to 2.6 - Ingres R3, Ingres 2006 (Open Source version) - All tool around Ingres : ABF, Report Writer, Replicator, OpenROAD (3.5 to 2006), Ingres/NET Ingres/STAR, ...

Experience
16 years of computing experience as :
- AS400 programmer
- AIX / Ingres administrator and developer (OpenROAD and korn shell)
- Ingres DataBase Administrator
- Ingres expert - Data modelisation - ETL - Reporting - Many of Computer Associates sofwares - ITIL / CMDB / Change Management
 
   

You are here:  Experts > Computing/Technology > Databases > Ingres > Export Db and import into another db

Topic: Ingres



Expert: Jean-Pierre Zuate
Date: 1/10/2007
Subject: Export Db and import into another db

Question
I Jean,
we would like to export data from node1:database and import into node2:db (same name)
Can you give us some good stuff...we are an Oracle Competence centre and new about ingres....

thxs

Ingres II rel 2.6

Answer
Hello,

Suppose your machines call A and B, A is the source one, B the destination

1/ connect to B
2/ create a vnode (virtual node) with a tools named netutil
A virtual node is :
- a name
- a user on the machine A
- the password of the user
- a machine address (name, IP, ...) : the name of the machine A
- an Ingres listen address (ingprenv II_INSTALLATION on machine A)
- a protocol (tcpip, etc)
3/ create a directory, and go into the directory
4/ unloaddb -c thenode::thedatabase
-c to have an ASCII output of data (for porting it is better)
5/ ./unload.ing (if you are on Unix) or unload.bat (on windows)
6/ Edit reload.ing or reload.bat to cut the reference to the node
7/ ./reload.ing (Unix) or reload.bat

If you need more information you can look for the following in the official documentation :
- netutil
- unloaddb
- copydb

Hope this help,
Jean-Pierre Zuate
La Fage Conseil
jpzuate@gmail.com

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.