Export a single customer as SQL inserts from Magento 2
$ git clone git@github.com:AydinHassan/m2-customer-extract.git
$ cd m2-customer-extract
$ composer install
Then edit your DB details in export.php
.
$ php export.php mycustomer@gmail.com
Currently we only export customer EAV and customer address EAV.
- Support more tables, quotes, orders
- Option for keeping increment ID's or inserting without
- Allow DB details to passed as args
- Support multiple customers
- Pass destination file as arg