Overview of Commands provided by the COMMANDER service.
To retrieve a list of all available commands, use the help
command.
Information on parameters of individual commands can be displayed via help <command>
.
Maintenance Commands
Check the data stock for consistency or execute global tasks that affect the entire system via COMMANDER functions called with the following commands.
As of version | Command | Description |
---|---|---|
2020 Winter | maintain-compare | Compare the objects stored in the database and Elasticsearch index. |
2022 Spring | maintain-delete | Delete all objects of a specific tenant that are flagged for deletion. |
2021 Winter | maintain-export | Export all objects of a specific tenant. For every object a folder is created, containing the object's metadata in JSON format and its content file if available. |
2020 Winter | maintain-repository | Find content files in the S3 store that are not referenced any longer by an object in the database. |
2022 Summer | maintain-tenant-data-delete | Deletes all data belonging to a tenant of the core system, including all objects in the repository, database, Elasticsearch, audit entries and config files. |
Database Commands
Check the data stock for consistency or execute global tasks that affect the entire system via COMMANDER functions called with the following commands.
As of version | Command | Description |
---|---|---|
2020 Winter | dbs-reindex | Restore the entire Elasticsearch index from the database via Commander service. |
2020 Winter | dbs-configure | Turn on/off the simulation mode for the reindexing command. |
Audit Commands
Check the data stock for consistency or execute global tasks that affect the entire system via COMMANDER functions called with the following commands.
As of version | Command | Description |
---|---|---|
2020 Winter | audit-cleanup | Remove entries from the audit trail by means of the COMMANDER service. |
Die ganze folgende Tabelle kommt dann weg:
As of Version | Command | Description | |
---|---|---|---|
Administrative Commands | |||
admin-clear | Clear all caches. | NAME SYNOPSYS | |
admin-config | Retrieve configurations of specific instances. | NAME SYNOPSYS OPTIONS | |
admin-instance | Retrieve all service instances or get a specific service instance by ID. | NAME SYNOPSYS OPTIONS | |
admin-logger | Retrieve or set log levels for specific instances and/or loggers. | NAME SYNOPSYS OPTIONS --logger string --level string | |
admin-metrics | Retrieve metric information for specific instances. | NAME SYNOPSYS OPTIONS --metric-name string | |
Audit Commands | |||
audit-cleanup | Clean up audit entries based on the 'cleanupConfiguration.json' configuration for all tenants or for a specific tenant. | NAME SYNOPSYS OPTIONS | |
Database Commands | |||
dbs-audit | Retrieve audit entries for all tenants or for a specific tenant. Optionally, limit the retrieval to a specified time range, by a traceId and/or by an action that has to be matched. | NAME SYNOPSYS OPTIONS -s or --start-date string -e or --end-date string -tr or --trace-id string -a or --action string | |
dbs-configure | Configure timeouts. | NAME SYNOPSYS OPTIONS -c or --cockroach -f or --fulltext | |
dbs-reindex | Reindex all DMS objects in database for all tenants or for a specific tenant. | NAME SYNOPSYS OPTIONS -s or --start-date string -e or --end-date string | |
dbs-rename | Rename enaio: to system: in database for all tenants or for a specific tenant. Optionally, limit the retrieval to a specified time range. | NAME SYNOPSYS OPTIONS -s or --start-date string -e or --end-date string | |
dbs-stat | Retrieve a list of storage statistics of DMS objects in database for all tenants or for a specific tenant. Optionally, limit the retrieval to a specified time range. | NAME SYNOPSYS OPTIONS -s or --start-date string -e or --end-date string | |
dbs-storage | Retrieve storage statistics of DMS objects in database for all tenants grouped by the corresponding tenant, or for a specific tenant. Optionally, limit the retrieval to a specified time range. | NAME SYNOPSYS OPTIONS -s or --start-date string -e or --end-date string | |
Elasticsearch Commands | |||
ela-find | Find objects by ID. | NAME SYNOPSYS OPTIONS | |
Maintenance Commands | |||
maintain-compare | Determine differences within the metadata of individual DMS objects between Elasticsearch index and database for all tenants or for a specific tenant. Optionally, limit the analysis to objects last modified/created within a specified time range. | NAME SYNOPSYS OPTIONS -s or --start-date date-time -e or --end-date date-time -m or --mode comparison-mode -c or --useCreationDate | |
maintain-count | Compare the number of objects in Elasticsearch index and database for all tenants or for a specific tenant via a simple check. | NAME SYNOPSYS OPTIONS -s or --start-date date-time -e or --end-date date-time -c or --useCreationDate | |
maintain-export | Export all objects of a specific tenant. For every object a folder is created, containing the object's metadata in JSON format and its content file if available. | NAME SYNOPSYS OPTIONS --fetch-size int --folder-size int --target-directory file --start-date date-time --end-date date-time | |
maintain-repository | Find files in the S3 storage specified by its repository ID and detect unreferenced files (check for reference in either database dmsobject or dmsobject_oldversions). | NAME SYNOPSYS OPTIONS -i or --input file |