Yesterday I added a new view to a mongodb 6 database. The view itself works but when I tested the backup archive today with mongorestore on a different machine/database I got
Failed: restore error: error parsing metadata from archive 'a.archive': error decoding key options.1: invalid JSON input; expected {
.
After I deleted the view from the database the mongodump/mongorestore works again. Any clues to what happened?