I need to migrate some content from staging environment to production without replacing the whole database. I didn't found any tool or extension for Magento 2 that can help me resolve this issue.
I am having Magento 2 project setup on 3 different environments:
- Local server - development environment (merge features to develop branch)
- Staging server - develop branch
- Production server - master branch
We are doing some releases (using git flow) of the code regularly but we created 2 additional websites (stores) on the staging server who are going to use new domain names. After that our client starts to create new content for the staging websites as follow:
- CMS pages
- CMS blocks
- New category tree
- Product attributes (also add new options for some attributes)
- Import products for updating some attributes
We can't switch the entire database because we are going to loose customers, orders, reports etc.
How you transfer such a content from one instance to another. I was thinking of creating module with setup script to create new websites,stores and store views but I can't put all the content in that setup.
From Magento core team still don't know the deployment steps to production server...
Check it in official docs Nothing mentioned about content migrating from one instance to another.