My current progress is to ignore the following tables related to customer data in the mysqldump command:
Code: Select all
oc_address
oc_coupon_history
oc_custom_field_to_customer_group
oc_customer
oc_customer_ban_ip
oc_customer_field
oc_customer_group
oc_customer_group_description
oc_customer_history
oc_customer_ip
oc_customer_online
oc_customer_reward
oc_customer_transaction
oc_icepay_orders
oc_order
oc_order_download
oc_order_field
oc_order_fraud
oc_order_history
oc_order_option
oc_order_product
oc_order_recurring
oc_order_recurring_transaction
oc_order_status
oc_order_total
oc_order_voucher
oc_paypal_order
oc_paypal_order_transaction
oc_return
oc_return_action
oc_return_history
oc_return_reason
oc_return_status
oc_review
oc_tax_rate_to_customer_group
oc_voucher_history
I am also looking into ignoring the oc_settings table so that the production payment settings are not overwritten.
Is there anyone with experience in migrating an Opencart database from development to acceptance to production while preserving user/payment data in production?
Any constructive feedback would be greatly appreciated.