Is there a way to remove sample data in Magento2 without uninstalling/re-installing Magento?
I want this because I changed settings in my backend that I don't want to be removed.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
bin/magento sampledata:remove to completely remove sample data.
bin/magento sampledata:reset is used to update sample data before updating Magento application.
+1 for taking backup before doing so.
bin/magento setup:backup --db creates a backup for the database.
run this in the console
And backup your db in case I'm wrong.
Use this command on command line:
For More Detail use this : http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-sample-data-other.html