mongodb 7.0.14 unable to mongodump the local and config databases

I have installed a MongoDB Cluster Replica 7.0.14 (3 VMs with RHEL 9.4: one primary, one secondary and one arbiter). Backing up the admin and another own created database works fine. But when I try to backup (with mongodump) the local and config database, I get the following error:

mongodump --username=mongodba --password=xxxxxx --authenticationDatabase=admin --db=config --archive=/backups/mongobackups/config_$(date ‘+%d-%b-%Y’).gzip --gzip

2024-09-17T15:19:13.307+0200 Failed: error creating intents to dump: error counting config.system.indexBuilds: (Unauthorized) not authorized on config to execute command { count: “system.indexBuilds”, lsid: { id: UUID(“5e5c9cec-60ac-4db8-a40f-751d7701c617”) }, $clusterTime: { clusterTime: Timestamp(1726579150, 1), signature: { hash: BinData(0, 9A45E33EEEBD3DBA5313A745432264A26C378A60), keyId: 7414040754730827777 } }, $db: “config”, $readPreference: { mode: “primaryPreferred” } }

mongodump --username=mongodba --password=xxxxx --authenticationDatabase=admin --db=local --archive=/backups/mongobackups/config_$(date ‘+%d-%b-%Y’).gzip --gzip

2024-09-17T15:28:44.577+0200 Failed: error creating intents to dump: error counting local.replset.oplogTruncateAfterPoint: (Unauthorized) not authorized on local to execute command { count: “replset.oplogTruncateAfterPoint”, lsid: { id: UUID(“26e25d36-be3a-42b7-9906-dca2117d1c62”) }, $clusterTime: { clusterTime: Timestamp(1726579720, 1), signature: { hash: BinData(0, A9D2FBA37C82C6C94D8C75A5FF0ACF00A7F6314C), keyId: 7414040754730827777 } }, $db: “local”, $readPreference: { mode: “primaryPreferred” } }

The mongodba user has the backup role:
{
_id: ‘admin.mongodba’,
userId: UUID(‘ad7d7e6d-fac8-4c62-8faa-11fa68a0fc95’),
user: ‘mongodba’,
db: ‘admin’,
roles: [
{ role: ‘readWriteAnyDatabase’, db: ‘admin’ },
{ role: ‘backup’, db: ‘admin’ },
{ role: ‘userAdminAnyDatabase’, db: ‘admin’ },
{ role: ‘dbAdminAnyDatabase’, db: ‘admin’ }
],
mechanisms: [ ‘SCRAM-SHA-1’, ‘SCRAM-SHA-256’ ]
}
],

The version of mongodump is 100.10.0

mongodump --version

mongodump version: 100.10.0
git version: 6d4f001be3fcf673de04d20176e90ee02ef233a9
Go version: go1.21.11
os: linux
arch: amd64
compiler: gc

This was working fine under MongoDB V5 (no cluster).

Any idea?

Thanks in advance,

Geert