Original Question or Issue: |
You want to restore your MongoDB database using the autobackup file but you are getting an error. |
Environment: |
|
Steps to Reproduce: |
|
Error or Log Message: | If you are using the syntax to restore MongoDB database from autobackup using the instruction indicated in the documentation below, you may encounter errors in the logs showing the following lines below: 2024-09-25T10:54:13.797-0500 preparing collections to restore from 2024-09-25T10:54:13.798-0500 don't know what to do with file "C:\auto_db_dump_2024-09-25\tonidoclouddb\acls.bson.gz", skipping... |
Defect or Enhancement Number: |
|
Cause: | The autobackup file is a compressed dump of the MongoDB database. |
Resolution or Workaround: |
To restore a MongoDB database from the autobackup file, you will need to use the --gzip of mongorestore. See the sample syntax below:
|
Notes: |