Run
info
These instruction are for the Debian package. See here for Docker instructions.
The bulk of the server config are set in a JSON config file.
The server includes a default config which starts the server on 127.0.0.1:1987
.
Arguments
The command line arguments are preceeded with --
:
Argument | Required | Description |
---|---|---|
config | Y | Path to the config file |
loadName | N | The name of a save point containing data to restore. The name would have been used with SH_SAVE |
loadPath | N | Path to directory containing the loadName data. If not set, uses the persist::path in the config file |
note
- When persist is enabled the
path
must exist and be a directory - You can disable save but still restore data
See Persist Data for more information on restoring.
Examples
Restore
./nemesisdb --config=default.jsonc --loadName=10k_10000
NemesisDB v0.3.5 starting
Registering signals
Reading config
Load Path: "./data"
Load Name: 10k_10000
Reading metadata in "./data/10k_10000/1700433845873084066/md"
Loading from "./data/10k_10000/1700433845873084066/data"
-- Load --
Status: Success
Sessions: 10000
Keys: 50000
Time: 94ms
----------
Ready
./nemesisdb --config=default.jsonc --loadName=mydata --loadPath=/some/other/path
NemesisDB v0.3.5 starting
Registering signals
Reading config
Load Path: "/some/other/path"
Load Name: mydata
Reading metadata in "/some/other/path/mydata/1700433845873084066/md"
Loading from "/some/other/path/data/mydata/1700433845873084066/data"
-- Load --
Status: Success
Sessions: 10000
Keys: 50000
Time: 94ms
----------
Ready