To restore a CAS backup into CAS 11.2:
If you modified
<install path>\CAS\workspace\conf\DocumentConversionFilters.xml
, make the following changes:If you modified
<install path>\CAS\workspace\conf\jetty.xml
in 11.1, make the following changes:If you had any CAS plug-ins installed in 11.1, copy the directory containing the plug-in JAR or JARs from the backup location to
<install path>/CAS/<version>/lib/cas-server-plugins
.If a crawl configuration contains custom references to CAS version numbers, for example, in paths to output files, then modify the paths as appropriate, and save and close the crawl configuration.
If you created unmanaged Record Store instances or if you modified the configuration of a Record Store instance in 11.1, import these Record Store instances including their configurations and contents into 11.2 by doing the following:
Open a Command Prompt and navigate to
<install path>\CAS\<new version>\bin on Windows
or<install path>/CAS/<new version>/bin
on UNIX.Re-create each Record Store instance by running
component-manager-cmd
and thecreate-component
task for each Record Store instance. The syntax for thecreate-component
task is:component-manager-cmd create-component -n
RecordStoreInstanceName
-tRecordStore
[-hHostName
] [-pPortNumber
]For each Record Store instance, run
recordstore-cmd
and theset-configuration
task. Specify the path to an XML file created during backup for the Record Store instance configuration.The syntax for the
set-configuration
task is:recordstore-cmd set-configuration -a
RecordStoreInstanceName
-fConfigurationFileName.xml
[-hHostName
] [-n] [-pPortNumber
]To restore existing 11.1 data to 11.2, run
recordstore-cmd
and thewrite
task for each Record Store instance. Specify the path to an XML file with the exported contents of the Record Store.The syntax for the write task is:
recordstore-cmd.bat write -a
RecordStoreInstanceName
-fRecordStoreuOtputFileName.xml
[-hHostName
] [-pPortNumber
]
Import the backed up crawl configurations into 11.2 by doing the following:
Open a Command Prompt and navigate to
<install path>\CAS\<new version>\bin
on Windows or<install path>/CAS/<new version>/bin
on UNIX.Run
cas-cmd
and thecreateCrawls
task. Specify the path to the XML file you created in Backing up CAS 11.1 .The syntax for the
createCrawls
task is:cas-cmd createCrawls [-f
FileName.xml
] [-hHostName
] [-pPortNumber
]You will be prompted for the password of any connector or data source that requires a password.
If you used any custom Web Crawler plug-ins installed in 11.1, copy the directory containing the plug-in JAR and
plugin.xml
from the backup location to<install path>/CAS/11.2/lib/web-crawler/plugins
.