- dump the old database data
-
mysqldump -u root -p database_name > backup.sql;
-
- dump the new database data
mysqldump -u root -p database_name > backup.sql;
- create the new database and input the step 2 data to new database data or direct use the step 2 database file
- find the order and copy the old data to new databases
- sales_invoice
- sales_invoice_comment
- sales_invoice_grid
- sales_invoice_item
- sales_invoiced_aggregated
- sales_invoiced_aggregated_order
- sales_order
- sales_order_address
- sales_order_aggregated_created
- sales_order_aggregated_updated
- sales_order_grid
- sales_order_item
- sales_order_payment
- sales_order_status
- sales_order_status_history
- sales_order_status_state
- sales_order_tax
- sales_order_tax_item
- sales_shipment_item
- sales_shipping_aggregated
- sales_shipping_aggregated_order
- find the customer and copy the old data to new databases;
-
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;
-
-
Category Creation in magento Once category is created from magento admin, then the created category information will be reflect or insert into following tables in magento 1. catalog_category_entity 2. catalog_category_entity_datetime 3. catalog_category_entity_decimal 4. catalog_category_entity_int 5. catalog_category_entity_text 6. catalog_category_entity_varchar 7. catalog_category_flat
- upload the new data to ftp
-
mysql -u root -p database_name < backup.sql
-
- use the magento update, compile, deploy, reindx, clean cache, flush cache and fix permissions