how to run the setting migration command in macOS? http://devdocs.magento.com/guides/v2.0/migration/migration-migrate-settings.html

my current command looks like this but getting error:

  Invalid config filename: {/Users/brodyr/Documents/Sites/Magento/vendor/magento/data-migr  

this is my command

php magento migrate:settings {/Users/brodyr/Documents/Sites/Magento/vendor/magento/data-migration-tool/etc/ce-to-ce/}

you should run the command as

php bin/magento migrate:settings -r -vvv C:/Users/brodyr/Documents/Sites/Magento/vendor/magento/data-migration-tool/etc/ce-to-ce/

Exclude the curly braces {} this should work!

an alternative command is: php ./magento

PS -r is to restart and -vvv is to debug~!


To run the migrate settings use below command:

php bin/magento migrate:settings /var/www/html/Magentofresh/vendor/magento/data-migration-tool/etc/opensource-to-opensource/

and to run the migrate data:

php bin/magento migrate:data /var/www/html/Magentofresh/vendor/magento/data-migration-tool/etc/opensource-to-opensource/

You will require to set Databases of M1 and M2 in file config.xml file.

Hope this will help you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.