IMPORTANT
Under certain conditions, an automated restore fails because either:
- The backup and destination databases’ storage engines do not match.
- The destination database uses settings that are not currently preserved in the backup itself.
If the backup and destination database storage engines do not match, mongod cannot start once the backup is restored. At this time, you can either:
- Not restore this snapshot.
- Change the storage engine of the destination sharded cluster or replica set to match the configuration of the snapshot.
If the destination database uses any of the following settings, an automated restore fails:
- storage.directoryPerDB
- security.enableEncryption (WiredTiger only)
- storage.wiredTiger.engineConfig.directoryForIndexes (WiredTiger only)