Command line interface for migration > Migrating runtime repository data > Exporting and importing processing statistics

Exporting and importing processing statistics
The EXPORT and IMPORT modes can be used to migrate processing statistics from one runtime repository to another. For example, if you must recreate the runtime repository and want to keep statistics about already made transactions, or if you want to export processing statistics to be presented in an auditing scenario.
For information about the content of the processing statistics, see Processing statistics.
Exporting processing statistics
When you export processing statistics, the information is gathered in a data.xml file included in the exported zip file.
Note:
Processing statistics are always exported separately and cannot be combined with the exports of the other areas (MessageStore, Security or CompositionCenter). If combined with other areas, the ProcessingStatistics argument is neglected.
Example 21
strs-migrate.bat -a ProcessingStatistics -d MSSQL -m EXPORT -n StrsData -o 1433 -p myPWD -s WMF3K55 -u sa -z C:\strs_data\myProcstat.zip
 
Example 22
strs-migrate.bat -a ProcessingStatistics -d ORACLE -i abc321 -m EXPORT -n strsData -o 1521 -p myPWD -s salma -u sys -z C:\strs_data\myProcstat.zip
 
Importing processing statistics
Prerequisites
The target repository must not contain any processing statistics. For example, it could be a newly created repository. If statistics already exist in the repository, the import will fail.
This means that the following apply when importing statistics:
The -f/--force parameter (forcing data overwrite at import) has no impact.
Example 23
strs-migrate.bat -y -a ProcessingStatistics -d MSSQL -m IMPORT -n StrsData -o 1433 -p myPWD -s WMF3K55 -u sa -z C:\strs_data\myProcstat.zip
 
Example 24
strs-migrate.bat -y -a ProcessingStatistics -d ORACLE -i abc321 -m IMPORT -n strsData -o 1521 -p myPWD -s salma -u sys -z C:\strs_data\myProcstat.zip
 
OpenText StreamServe 5.6.2 Updated: 2018-01-26