Re: dbimport
Posted in 1996
ukantjx@lexis-nexis.com (Jamini Kant) wrote:
:Hi,
:I have taken a dbexport using
:dbexport DBNAME
:It created a DBNAME.exp directory on the disk and inside it some .unl file
:and one sql script.
:Can anyone please tell how I can import using dbimport . I wrote
:dbimport DBNAME -i DBNAME.exp -f pcdip.sql . But it gives a error message
:"Can not write data to disk and tape at the same time
:I need help urgently as my Database is live.
You simply cd to the same directory you where when you executed the
dbexport (the one that *contains* the DBNAME.exp directory) and type:
dbimport DBNAME
A database with the same name will be created.
If you want it created with a different name you may change the name
of the DBNAME.exp directory, change the name of the sql file inside
this directory to the same name and the database name on the first
line in this sql script. Then dbimport NEWDBNAME
Hope it helps.
Nils.Myklebust@idg.no
NM Data AS, P.O.Box 9090 Gronland, N-0133 Oslo, Norway
My opinions are those of my company