-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meteor reset command resets user profile #11175
Comments
To keep the database, copy the |
Calling Out of your description it sounds like you either 1) ran the command while your meteor application was running, 2) the client preserved your user-data in some way - some kind of client-side storage - e.g. indexdb or webstorage, or 3) you have a package installed which re-inserts your user details if missing. Does this answer your question? |
Thanks. What I did was run the reset command when the system stopped. I'm using a standard meteor application so to see all my databases get erased on the actual backend came as a surprise to me. |
If you do not want this to happen again, take a separate database.
If you follow this, your data will be stored separate from your Meteor project, which will not be affected by running But this also means that you have to update the database yourself if you have to. The version, which comes bundled with Meteor is updated as you update Meteor. Sometimes updating the database brings along some critical changes where you have to do some things manually - when downgrading later it's then easy to just call |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is probably worth of a guide article. |
As this is the expected behavior of meteor reset I'm closing this issue. The command itself is well documented here https://docs.meteor.com/commandline.html#meteorreset but maybe we could have an article on how to use your custom MongoDB. |
I attempted to "reset" my meteor project and found that although my user details were preserved, all information in the "profile" section was erased.
The text was updated successfully, but these errors were encountered: