You back up application content in Workbench using the
export_site
script provided with the Deployment
Template.
The script exports application content in a format that can be
re-imported to Workbench. The script connects to the Workbench instance for the
current application based on the configuration in
AppConfig.xml
.
To back up application content in Workbench:
Navigate to the
control
directory of your deployed application, for example,C:\Endeca\apps\Discover\control
.Run the
export_site
script, passing in an optional name for the export file, as in the following examples:export_site.bat C:\migration\Discover\ECR-backups\discover-2015-10-30.xml
On UNIX:
./export_site.sh ../migration/Discover/ECR-backups/discover-2015-10-30.xml
If no file name is provided, it defaults to a file named according to the pattern
<appname>-yyyy-mm-dd_time.xml
in the working directory.
Repeat this procedure for every application that you are migrating.