automongobackup
automongobackup copied to clipboard
error getting database names
I'm getting this error.
Failed: error getting database names: not authorized on admin to execute command { listDatabases: 1 }
Tried using users with "backup" role and "root" role. Logging in through the shell and doing "show dbs" works fine. Mongodb 3.2.
I got this when migrating to mongo 3 while still using the old mongo.conf format. Switching to the new format fixed it.