Skip to content

How can I persist the data inserted permanently? #526

Answered by justinmchase
justinmchase asked this question in Q&A
Discussion options

You must be logged in to vote

I figured it out.

I had to set storageEngine: 'wiredTiger', on the instance configuration also. When I tried it it threw an error because I had previously set the dbPath and it had files in that folder for the other storage engine. So I just deleted .data folder and restarted and it is now persisting.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hasezoey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #524 on August 05, 2021 23:14.