Syntax and description
The upgradedb command updates the structure of the internal MobileTogether Server database to that of the new MobileTogether Server version and inserts correct default values. This is necessary if the structure of the DB changes from one version of MobileTogether Server to the next. The DB structure needs to be updated in order for the new version to work with the existing data. All solutions that exist in the old database will be available in the upgraded database.
The --nosamples option enables you to install a new database so that it has none of the Altova sample solutions. This is useful if you want to install a clean MobileTogether Server that would have only the solutions that you want to deploy there.
mobiletogetherserver upgradedb [options]
MobileTogetherServer on Windows
mobiletogetherserver on Windows and Unix (Linux, Mac)
* Note that lowercase (mobiletogetherserver) works on all platforms (Windows, Linux, and Mac), while upper-lower (MobileTogetherServer) works only on Windows and Mac.
* Use forward slashes on Linux and Mac, backslashes on Windows.
Example of the upgradedb command:
mobiletogetherserver upgradedb --nosamples
Use the --h, --help option to display information about the command.
--datadir = PathToDatabaseDirectory
Specifies the path of the database directory.
If specified, a new database is created that contains none of the Altova sample solutions (which would be deployed in a standard installation or if the upgradedb command is used without this option).