This section describes commands that you can use to export most types of Workbench content.
The exportApplication command exports most Workbench content associated with your application to a target directory either in a .zip file or as unzipped files. The exportApplication command overwrites existing content; it does not update it.
The syntax of the exportApplication command is as follows:
runcommand.sh IFCR exportApplication target isDirectoryFormat
where:
Exporting Specified Portions of Workbench Content
The exportContent command can export specified portions of Workbench content to a specified folder either in a .zip file or as unzipped files:
runcommand.sh IFCR exportContent relative_path target isDirectoryFormat
where:
relative_path is the path of the Workbench content that is to be exported. The path is relative to the location of your application in the Workbench.
target is the directory to which the Workbench content is exported.
isDirectoryFormat is either false (export as a .zip file) or true (export as unzipped files). The default is false. A .zip file will have the same name as the Workbench content located at the relative_path that you specify. In the exported data, the root document will be the .zip file name.
Note
If the .zip file or unzipped files already exist, the export operation overwrites them.
For example, the following command exports thesaurus content to the
/import
folder in unzipped files:
runcommand.sh IFCR exportContent thesaurus /localdisk/apps/Discover/config/import/thesaurus true
The following command, however, exports the thesaurus content to the
/import
folder in a .zip file named
"thesaurus.zip
":
runcommand.sh IFCR exportContent thesaurus /localdisk/apps/Discover/config/import