This plugin allows content manangers to migrate the contents from one Strapi CMS environment to other environment.
- In a root folder of your strapi project run
npm install strapi-plugin-migrate-content --save
- Rebuild admin UI
strapi build
- Run
strapi develop
Configure your Different Strapi CMS Environment Urls in plugin config
config/plugins.js
module.exports = ({ env }) => ({
'strapi-plugin-migrate-content': {
enabled:true,
config:{
environmentUrls:{
'TEST':'http://test.strapicms.com',
'PROD':'http://prod.strapicms.com'
}
}
},
});
- Open Content manager section in Admin panel of Strapi CMS.
- Go to any Collection type and open any record and hit
Migrate Content
button as shown in below image - Select your Destination Strapi CMS Envrionment and enter your credentials of destination environment.
- Hit
Migrate
button to start the process of migrating the data from your current environment to destination environment.