0

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?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.