It seems backup cursor returns relative paths for encrypted storage engine files
{ "filename" : "WiredTiger" }, { "filename" : "WiredTiger.backup" }, { "filename" : "keystore.wt" }, { "filename" : "WiredTigerLog.0000000003" }, { "filename" : "/srv/mongodb/replsnake-shard-0-node-0/key.store/keystore.metadata" } { "filename" : "/srv/mongodb/replsnake-shard-0-node-0/WiredTiger" }, { "filename" : "/srv/mongodb/replsnake-shard-0-node-0/WiredTiger.backup" }
"filename" : "keystore.wt" should instead be an absolute path "filename" : "/srv/mongodb/replsnake-shard-0-node-0/key.store/d529f31b-b4eb-4189-a9dd-ca216ea5cd9b/keystore.wt"