I just created a backup with pbm version 1.8.1 of my mongodb 4.4 data and immediately restored it. The data was successfully restored and the indexes were recreated. However the indexes have been recreated without the options. Is this the expected behaviour?
For instance the index originally was:
{
"v" : 2,
"key" : {
"userId" : 1
},
"name" : "userId_1",
"ns" : "api.userActivityLog",
"partialFilterExpression" : {}
}
After a backup and then a restore the restored index is:
{
"v" : 2,
"key" : {
"userId" : 1
},
"name" : "userId_1"
}