Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Strapi : What is the Content and API migration strategy

Tags:

strapi

Strapi is a powerful tool, but I am unable to find any documentation/instructions which explain about the best practices/strategy to migrate contents from one environment to another, for example Dev to staging to production ?

If you got a lot of content and recreate all the content on each environment is not viable.

Please guide, how to move API and DB (mongo) stuff.

If there is only manual workaround for now, we should document it so that can be used for now.

like image 253
Dev G Avatar asked Jul 02 '19 12:07

Dev G


People also ask

What is API migration?

The Migrate API provides services for migrating data from different sources to Drupal 9 (or later). This is the documentation handbook for the Migrate API. More detailed technical documentation for the Migrate API classes and interfaces can be found at api.drupal.org.

What is Strapi API?

Strapi is an open-source headless CMS used for building fast and easily manageable APIs written in JavaScript. It enables developers to make flexible API structures easily using a beautiful user interface. Strapi can be used with various databases including MongoDB, PostgreSQL, etc.

How do I move my WordPress site to Strapi?

Convert all the WordPress encoded html content into markdown. Generate the taxonomies and tags from WordPress in Strapi. Generate the WordPress posts in Strapi. Upload all the images/files to Strapi.


1 Answers

For now there is no other way than manually import/export your database:

Github issue: Import / export data

like image 63
Jim LAURIE Avatar answered Sep 28 '22 04:09

Jim LAURIE