Command line interface for migration > Migrating runtime repository data > Exporting document definitions

Exporting document definitions
You can use strs-migrate.bat or strs-migrate.sh to export document definitions and related resources from a runtime repository to a zip file. You can then use the zip file to import the document definitions to another runtime repository-
By default, all document definitions are exported. You can use the -b flag or the --docdefbatch flag to export a subset of the document definitions in the runtime repository. The -b/--docdefbatch flags take an xml file as argument, and this xml file defines which document definitions to export. See Creating the document definition XML for information about how to create this file.
Example 17
strs-migrate.bat -a CompositionCenter -d MSSQL -m EXPORT -n strsData -o 1433 -p myPwd -s WMF3K55 -u sa -z C:\strs_data\myDocDefs.zip -b C:\strs_data\ListResources.xml
 
Example 18
strs-migrate.bat -a CompositionCenter -d MSSQL -m IMPORT -n strsData2 -o 1433 -p myPwd -s WMF3K68 -u sa -z C:\strs_data\myDocDefs.zip -y -f
 
 
OpenText StreamServe 5.6 Updated: 2013-03-01