Plugin DBExporter
This plugin will dump the whole DCSServerBot database every hour to ./export/tablename.json files for further processing, if needed.
[!WARNING] This plugin is deprecated and will be removed at some point. The amount of data that will be written by this plugin can be enormous. Please use Backup or RestAPI instead.
Configuration
As DBExporter is an optional plugin, you need to activate it in main.yaml first like so:
opt_plugins:
- dbexporter
As usual, you can configure this plugin with a simple yaml file in config/plugins/dbexporter.yaml:
DEFAULT:
autoexport: true # if true, the configured tables are exported every hour
tablefilter: # define which tables should be exported
- missions
- statistics
| Parameter | Description |
|---|---|
| autoexport | If true, the DB export will run automatically every hour. |
| tablefilter | Don’t dump these tables on autoexport. |
If no configuration is provided, the autoexport will not run and the .export command (see below) will still work.
Discord Commands
| Command | Parameter | Channel | Role | Description |
|---|---|---|---|---|
| /export | all | Admin | Exports the whole database. Table filters don’t apply! |