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 > Ingres database windows to linux

Topic: Ingres



Expert: Jean-Pierre Zuate
Date: 6/21/2007
Subject: Ingres database windows to linux

Question
Can anyone provide the steps to transfer Ingres database from windows to linux (debian) and vice versa.

I'v tried it with unloaddb but it did'nt work.

Any help would be appreciated.

Many thanks
JB

Answer
Hello,

To transfer Ingres data from any platform to any, you must take care of the following from both side (unix and windows, or a box and an other) :
- same locations name
- database must be extended to the same population of extension
- same value for : II_DECIMAL, II_DATE_FORMAT, II_DATE_CENTURY_BOUNDARY, II_MONEY_PREC, II_MONEY_FORMAT
- use the option -c for copydb or unloaddb. -c mean "ASCII format" vs "binary format"
- same population of users in both boxes

So, from machine one, you do something like :
mkdir directory
cd directory
unloaddb -c my_database
./unload.ing
cd ..
tar cvf directory.tar directory
Binary ftp this file to the other box
tar xvf directory.tar
cd directory
Edit copy.in to check :
- the path of the file iiud.scr & iiud65.scr (it must exist on the target machine)
- the path of the files for SQL sentences COPY TABLE ... FROM
Edit reload.ing to check :
- the path of the file copy.in
- the name of the database
./reload.ing (the database must exist and extend to the correct locations)

Hope this is clear and at least helpfull for your issue. Let me know if you need further comments of the procedure.

Regards,
Jean-Pierre Zuate

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.