db: Allow to retrieve a configuration per name and optional datastore
2 commits:
- db: Allow to retrieve a configuration per name and optional datastore
- scrubber.cli: Ensure to retrieve the correct datastore configuration
Previously, in production, this would retrieve the configuration of the other backend as those configurations are named the same. In effect, no scrubbing happened on the secondary backends so far. This should solve it after a new release.
Refs. #4696 (closed)