To export a complete set of Workbench content, follow these steps:
To export all the content that can be exported in public format, run the following command:
runcommand[.bat/.sh] IFCR exportApplication export_folder1
To export media, run the following command:
runcommand[.bat/.sh] IFCR legacyExportContent "/" export_folder2
To export CAS configuration, run the following command:
index_config_cmd[.bat/.sh] get-config [-o OwnerName] -f FileName
Note
For detailed information about the
get-config
task, refer to the Content Acquisition System Developer's Guide.To export all users and their tool permissions, run the following command:
export_users[.bat/.sh] --config config-prop-file --output output-file
where:
config-file is the location of the
export_users.properties
file. (Required)output-file is the name of the output file. If file name is not specified, the output will be users-timestamp.json. (Optional)
For more information about
export_users[.bat/.sh]
andexport_users.properties
, refer to the Oracle Commerce Guided Search Tools and Frameworks Migration Guide.
To import a complete set of Workbench content, run the following commands in the order shown:
To import users and their tool permissions, run the following command:
import_users[.bat/.sh] --input input-file --config config-file --default_user_pswd user-password -- single-app permissions
where:
input-file is the path to the user data file that you created when you ran the
export_users
script.config-file is the path to the
import_users.properties
file. (Required)user-password is the default password for imported users (Optional)
permissions is the set of import permissions for a single application (Optional)
For more information about
import_users[.bat/.sh]
andimport_users.properties
, refer to the Oracle Commerce Guided Search Tools and Frameworks Migration Guide.To import all content that has been exported in public format, run the following command:
runcommand[.bat/.sh] IFCR importApplicationexport_folder1
To import CAS configuration, run this command:
index_config_cmd[.bat/.sh] set-config [-o OwnerName] -f FileName
Note
For detailed information about the
set-config
task, refer to the Content Acquisition System Developer's Guide.To import the rest of the Workbench content, run this command:
runcommand[.bat/.sh] IFCR legacyUpdateContent "/" export_folder2
The following example imports thesaurus content from a zip file named
thesaurus.zip
:runcommand.sh IFCR importContent thesaurus /localdisk/foo/content/thesaurus/thesaurus.zip