dbsync_server

The dbsync_server program implements the DB Sync server which typically executes behind the GAS as a Web Service program.

Syntax

dbsync_server options

Options

Table 1. dbsync_server options
Option Description
-c filename Defines the server-side configuration file.
-p port-num To specify the TCP port when running in direct mode.
-l Skip UTF-8 + CLS checking. To be used at your own risks, when the central database is not in UTF-8 locale.
-t Enables unsecure features for testing purpose. Do not use in production!
-v Verbose mode, for debugging purpose.

Usage

The DB Sync server program typically runs behind a GAS, as a RESTful web service program.

When running with a GAS configuration, several DB Sync server programs will start as RESTful services, that can be configured with the XCF file $FGLASDIR/

For testing purpose or when the GAS/SSO mode and load balancing is not required, it is possible to execute the dbsync_server as a standalone program, and have DB Sync client apps connect in direct mode:
dbsync_server -c myconfig_1.json -p 6354 -t -v