Re: dbexport/dbimport w/ new name
Posted in 1995
Patrick Soehl <102121.3564@CompuServe.COM> wrote:
>I'm trying to export/import a db and rename it...What I'm trying
>to accomplish is to make a copy (eventually several copies).
>1) dbexport -o /usr2/informix mumble1
>This creates a mumble1.exp
>If I use another instance, I can get
>dbimport mumble1 to work just fine.
>dbimport -i /usr2/informix mumcopy
>dbimport -i /usr2/informix/mumble1.exp mumcopy
>Both give me
>"Cannot open sql script file"
Patrick,
Those who know me will know that I'm not renowned for the subtlety of
my solutions... :)
I usually approach this with a much more blunt approach: I mv the .exp
directory to the new name and then mv the .sql script in the .exp
directory to the new name. Then: no problem...
HTH!
--
Cheers,
Billy
-----------------------------------------------------------------------------
INCLUDE "Disclaimer.4gh" -- my opinions are
INCLUDE "FlamesToDevNull.4gh" -- flamers, eat my shorts!
INCLUDE "CaveatEmptor.4gh" -- take my advice at your own risk
INCLUDE "ThirtySomething.4gh" -- header file for this class
-- Written by : Billy Wheeler, Date: today
-- Copyright (c) 1995, The West Solutions Group