Magento – Migrating Magento 1.9.1.1 to Magento 2 using Migration Tool error

magento-1.9magento2magento2-migration-tool

I have been following the Magento2 developer documents http://devdocs.magento.com/guides/v2.0/migration/migration-migrate-settings.html to migrate 1.9.1.1 database to new magento2.

I am running magento in APACHE, CENTOS, AWS. Now, having trouble moving forward to migrate settings and stuck here.

I am in the folder /bin and using the command below

php ./magento migrate:settings [-r|--reset] {/var/www/html/magento2/vendor/magento/data-migration-tool/etc/ce-to-ce/1.9.1.1/config.xml}

but getting errory everytime

-bash: --reset]: command not found



[Migration\Exception]



Invalid config filename: [-r



migrate:settings [-r|--reset] config

Please put me in right direction

Best Answer

For Setting Migration No need to use[-r|--reset], It throws an error.

If Setting will not migrate then it's automatically reset to default.

I always use

<code>php bin/magento migrate:settings D:\xampp\htdocs\magento2\vendor\magento\data-migration-tool\etc\ce-to-ce\1.9.1.1\config.xml</code>
Related Topic