SWP Command Line Utilities

Navigation:  SYNCHRO Workgroup Project (SWP) >

SWP Command Line Utilities

Previous pageReturn to chapter overviewNext page

SWP Command Line Utilities

SYNCHRO SWP provides a number of command line utilities to support the administration and maintenance of the SYNCHRO Workgroup Project.

These are small programs that allow a user to manipulate certain features within SWP. Normally many of these tasks would require a highly trained professional to implement, but with these utilities seemingly difficult tasks can be performed through easy to use interfaces.

For SynchroServer.exe

Utility:

Comments:

-version

to check SWP version.

SynchroServer.exe -version | sort will print the version in console. SynchroServer.exe -version > D:\SWPVersion.txt will put the version inside the corresponding file.

 

-deploy [ProjectName] [SynchroProjectFile] [AdministratorPassword] -createUser [UserLogin] [UserPassword]

deploy the specified file to specified project (to read the data administrator password should be provided). Optionally create a user with specified login and password.

For SWPManager.exe

Utility:

Comments:

-version

parameter to check SWP version. 

The usage is following: SWPManager.exe -version | sort will print the version in console. SWPManager.exe -version > D:\SWPVersion.txt will put the version inside the corresponding file.

-configure 

to set SWP memory options.

The usage is following: SWPManager.exe -configure objectNumberThreshold:1000 memoryThreshold:8000 releaseThreshold:4000. This will put corresponding numbers in corresponding options in config.xml.

 

-deploy [ProjectName] [ProjectKey] [SynchroProjectFile] [AdministratorPassword] -createUser [UserLogin] [UserPassword] -configureProject checkpointlimit:[value] transactionstocheckpointratiothreshold:[value] transactionsizethreshold:[value] journalsizesoftlimit:[value] journalsizehardlimit:[value] transactionsnumberthreshold:[value]

deploy the specified project and register it with specified key and journal settings;

-rename [OldProjectName] [NewProjectName] [NewProjectKey]

rename the specified project and reset project key

-delete [ProjectName]

delete the specified project

-backup [client|server] [ProductDir] [DatabaseDir]

export the projects from databases in the specified folder to sp files (productdir - folder where the SynchroServer.exe is located). SP files are stored in [DatabaseDir]

Related Topics:

SWP Manager