Repository tools command to export the URL mapping history of a server
Use the exportServerRenameURLMappingHistory command to generate a mapping history file that includes a log of all server rename events.
Purpose
The exportServerRenameURLMappingHistory command is a local (offline) command used to output the history of the mappings that have taken place on the server. As a local command, the server must be down for it to be run. exportServerRenameURLMappingHistory must be run with the repotools-jts command.
Parameters
Attribute | Description | Required | Default |
---|---|---|---|
toFile | Path to the history file. | Yes | None |
logFile | Path to the log file. | No | repotools-jts_exportServerRenameURLMappingHistory.log |
overwrite | Specifies whether or not to overwrite an existing history file that was generated previously. | No | no |
teamserver.properties | Path to the teamserver.properties file. | No | conf/jts/teamserver.properties |
includeDerivedMappings | Indicates whether the mapping history should only include mappings explicitly provided by the user in the mapping file as source/target pairs, or also include derived mappings that are created by the rename process. | No | None |
Example
Open a command prompt and enter this command:
cd C:\Program Files\IBM\JazzTeamServer\server\ repotools-jts.bat -exportServerRenameURLMappingHistory toFile=C:\mappingHistory.txt includeDerivedMappings
Open a command line and enter this command:
cd opt/IBM/JazzTeamServer/server/ ./repotools-jts.sh -exportServerRenameURLMappingHistory toFile=opt/mappingHistory.txt includeDerivedMappings