3

I want to know how I can copy only customer related data

to another Magento 2 database

If it is possible then what are the tables that I can copy to the second DB

Magento ver 2.2.6

4
  • do you want customers data only from m1 to m2 or m2 to another version ? Commented Jul 12, 2019 at 7:06
  • i want customer data copy to my Magento site to another magento site --same version for magento Commented Jul 12, 2019 at 7:19
  • you can dump these tables to get all customers data . And you can also import these tables to another magento2 database to get all customer as well. Commented Jul 12, 2019 at 7:21
  • If you get your result .please accept my answer for others :) Commented Jul 12, 2019 at 7:44

2 Answers 2

3

As I understand your question, you want to copy the basic information of customers (with their addresses) from one Magento installation to another one.

To do this, you don't need to dig into the database tables.

Magento 2 provides a default feature of exporting and importing customers' data.

Just go to SystemExportExport Settings to see the export options. Here you can export customers main file (containing the basic info) and customer addresses. Check the checkboxes which fields you don't want in the exported file.

Similarly, go to SystemImportImport Settings to see the import options.

For more detailed tutorial, visit:

https://bsscommerce.com/blog/how-to-import-and-export-customer-data-in-magento-2/

or

https://www.mageplaza.com/kb/magento-2-export-import-customers.html

1
  • i just want to copy customer data to another magento site..... Commented Jul 12, 2019 at 7:18
4

All Customer Data Including Logs In This Table :

customer_address_entity;
customer_address_entity_datetime;
customer_address_entity_decimal;
customer_address_entity_int;
customer_address_entity_text;
customer_address_entity_varchar;
customer_entity;
customer_entity_datetime;
customer_entity_decimal;
customer_entity_int;
customer_entity_text;
customer_entity_varchar;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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