Will,
Here is the usage, I cut and paste from the script itself:
-xml –> if your file is in xml format.
-bin –> if your file is in binary.
So you can type:
./tnimport.sh -xml TNData -force -db
This is what I used in importing the TN and I noticed that even if I use the -force option, Processing Rule was still appended and Document Type was overwritten. So to be safe, just clear your Processing Rule first before doing any import.
maybe somebody can explain better regarding this one.
====================
Usage: tnimport INFILE OPTIONS
INFILE is one of the following:
-bin (imports from binary file)
-xml (imports from xml file)
OPTIONS are among the following:
-db (actually write data to datastore)
-force
Applies to inserting ID’d data only (attributes,
types, profile field defs, profiles). If an item
exists in the database with the same ID, overwrite
it (default is to fail).
-rrappend
Applies only to inserting routing rules. By default,
imported routing rules COMPLETELY REPLACE the rules
in the system datastore. With this option, the new
rules are appended to the end of the existing list.
-csappend
Same as ‘rrappend’, but applies to conversation scripts.
The type file should be a persisted IData, as per the tnexport
utility.
Running without the ‘-db’ option will simply load and
print the data in your file (useful for testing). With the
‘-db’ option specified, this program will attempt to insert
your data into the datastore.
HTH.
Faith
#Integration-Server-and-ESB#B2B-Integration#webMethods