Database Management via Shdbinst.exe

The Shdbinst.exe console utility is used to work with the database, with which you can perform the following operations:

Shdbinst.exe Parameters

To get a list of supported parameters, you need to run Shdbinst.exe from the command line (cmd.exe) without specifying parameters.
The path to the utility: C:\UCS\StoreHouse_5\Shdbinst.exe

Launch examples

Creating a new database:

Shdbinst.exe /sSDBSERV /fC:\UCS\StoreHouse_5\Database\SH5DB  /i22 /tC:\UCS\StoreHouse_5\Database\SH5DBLog /aAdmin /d"New db" /uAdmin /lC:\UCS\StoreHouse_5\Server\shcrtdb64.dll 

Recovering the database:

Shdbinst.exe /sSDBSERV /fC:\UCS\StoreHouse_5\Database\SH5DB /i22 /tC:\UCS\StoreHouse_5\Database\SH5DBLog /aAdmin /d"Restore db" /uAdmin /bC:\UCS\StoreHouse_5\Backup\backup.bkp

Updating the database:

Shdbinst.exe /sSDBSERV /fC:\UCS\StoreHouse_5\Database\SH5DB /i22 /tC:\UCS\StoreHouse_5\Database\SH5DBLog /aAdmin /d"Update db" /uAdmin /bC:\UCS\StoreHouse_5\Backup\backup.bkp /lc:\UCS\StoreHouse_5\Server\shcrtdb64.dll

or

Shdbinst.exe /s127.0.0.1 /fC:\UCS\StoreHouse_5\Database\SH5DB /i1024 /tC:\UCS\StoreHouse_5\Database\SH5DBLog /aAdmin /d"Update db" /uAdmin /lc:\UCS\StoreHouse_5\Server\shcrtdb64.dll 

Supported parameters

Error codes

Starting the server

To start the server, run Sdba and Sdbserv via the command line.

Launching Sdba Service

Example of the command: C:\UCS\StoreHouse_5\Shdbinst>C:\UCS\StoreHouse_5\Server\Sdba64.exe /s

Launching Sdbserv Service

Example: C:\UCS\StoreHouse_5\Shdbinst>c:\UCS\StoreHouse_5\Server\SdbSrv64.exe /s /nSDBSERV
You can check whether the services have started or not in the processes, in the task manager

Registry Settings

Server Parameters

General Server Parameters

The server parameters are located in HKLM\SOFTWARE\UCS\Sdbserv.2 (root branch).

If the instance name is not specified when starting the server (the /n parameter), the HKLM\SOFTWARE\UCS\Sdbserv branch is used.2\SDBSERV

Parameters available in the root branch HKLM\SOFTWARE\UCS\Sdbserv.2:

Server Instance Parameters

The parameters of a specific server instance are stored in the HKLM\SOFTWARE\UCS\Sdbserv.2\<Server_instance_name> branch
Parameters available in the server instance branch:

General Server Parameters

If the AutoRepair flag is not set and an incomplete transaction is detected, then

Logging Parameters

Other Parameters