Thank you Jerome for the file and the warnings/recommendations.
I'm playing with the various parameters, and it will definitely save me
a lot of work!
Cheers,
Theodoros
ps. BTW, i'm thinking of transferring ALL the custom elements
(sbmFIELDDESC table) and custom functions (sbmFUNDESC table) from the
old system to the test, BEFORE copying the doctype details. This will
probably require stripping of the relevant lines that are produced from
the dump script, but since elements and functions are not directly
connected to a certain doctype i fear that i will get errors if several
doctypes try to insert them several times. I will try and see how it
behaves.
For the other doctype-related tables you have very cleverly implemented
a "delete from XXX where docname='ZZZ'" kind of functionality that will
work if importing the same doctype over an existing one.