You back up application configuration in the Workbench using the
export_site
script provided with the Deployment
Template.
The script exports application configuration in a format that can be
re-imported to the Workbench. The script connects to the Workbench instance for
the current application based on the configuration in
AppConfig.xml
.
To back up application configuration in the 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:On Windows:
export_site.bat ..\ECR-backups\20121221.xml
On UNIX:
./export_site.sh ../ECR-backups/20111221.xml
If no file name is provided, it defaults to a file named according to the pattern
<site-name>-DD-MM-YYYY.xml
in the working directory.