in the document http://continuum.apache.org/docs/1.3.1/installation/upgrade.html :
You will need to download two versions of the tool, one for the export out of the old version and one for the import into the new version:
Note: The 1.2.2 and 1.2.3 released versions of this tool have a bug. You will need to use version 1.2.4 of the tool to export databases from those versions.
the link to data-management-cli-1.2.x-app.jar or data-management-cli-1.2.4-app.jar