Importing and exporting settings (Windows)

You can export the settings for all xfServer and xfServerPlus services to a JSON file and then import them on another machine.

When you import settings, if there is an existing service on the target machine that has the same name as a service in the import file, it will be replaced. Existing services that do not match a service name in the import file will remain untouched. New services in the import file will be added.

Note

Existing services that are being replaced must be stopped for the import to take place. This will disconnect any open connections, possibly resulting in loss of data.

You can import/export from the Synergy Configuration Program or from the rsynd command line.

Importing settings

1. Open the Synergy Configuration Program and go to the xfServer/xfServerPlus tab.
2. Click the Import Settings button.
3. In the Import Settings dialog, enter the path and filename of the import file or click the Browse button and select it.
4. Indicate whether you want to start all the services after import. If you don’t check this option, you can start them individually after import with the Start Service button.
5. If the Username and Password fields are enabled, enter the requested data, which will be used for all xfServerPlus services and for xfServer services that are running in run-as-user mode. (This account must exist on the target system for the import to complete.) If you want different usernames/passwords for different services, you can change them after import.
6. Click the Import button. If you selected to start the services, it will take a few moments.

Exporting settings

1. Open the Synergy Configuration Program and go to the xfServer/xfServerPlus tab.
2. Click the Export Settings button.
3. In the Export Settings dialog, type a path and filename for the file or click the Browse button to specify a file and location. If the file extension is not specified, .json is added. If you select an existing file, it will be overwritten.
4. Click the Export button to export all xfServer and xfServerPlus settings.

Importing and exporting from the command line

You can import and export from the command line using the rsynd options -import, -importstart, and -export and specifying the filename (preceded by an equals sign) as an argument. If there is a space in the filename or path, enclose it in quotation marks.

On import, use -u to specify the username and password. The -u option is required if the import file includes xfServerPlus services or any xfServer services that are running in run-as-user mode; the specified username/password will be used for all services. This account must exist on the target system for the import to complete.

rsynd -import=MySettings.json
rsynd -importstart=MySettings.json
rsynd -import=MySettings.json -u Mickey/password123!
rsynd -export=MySettings.json