dbschema -c # outputs an SQL script using SQL API functions to reproduce
the dbspaces and logical and physical logs.
dbschema -c -ns # outputs a shell script to do the same using onspaces and
onparams.
-OR- if you are using myschema:
myschema --infrastructure=sql
myschema --infrastructure=cmd
to get the same result.
Note that there are some bugs in the dbschema implementation prior to
11.70.FC4+ IB and the '-c' option doesn't exist prior to 11.70, so if you
have one of the earlier releases you'll have to use the latest release of
myschema.
Art
Art S. Kagel, Principal Consultant
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/
Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
other organization with which I am associated either explicitly,
implicitly, or by inference. Neither do those opinions reflect those of
other individuals affiliated with any entity with which I am affiliated nor
those of the entities themselves.
Post by Laurie GustinIn the back of my memory is a thought that says there is a way to export
or quickly create all the onspaces commands from one server so they can be
used to create spaces on another server, but I can't find it. Can anyone
help me find this?
Thanks!
Laurie
IDS 11.7FC7
linux
_______________________________________________
Informix-list mailing list
http://www.iiug.org/mailman/listinfo/informix-list