Test log database connectivity
POST/api/settings/logs/test-connection
Test database connectivity with the provided credentials.
Attempts to connect to the specified database and verifies the connection is functional. Does NOT persist any changes.
For postgres/mssql this spawns the archiver binary itself in
--test-connection mode rather than connecting from Python — that way
the test exercises the exact driver (dlopen'd from Settings -> Database
Drivers) the real archiver will use, instead of a separate Python client
library that can silently diverge from it (or simply not be installed).
Requirements: 4.8
Request
Responses
- 200
- 422
Successful Response
Validation Error