Overview

I had the opportunity to deploy local environment data to a production environment in Strapi, so I tried using the following Data transfer feature.

https://docs.strapi.io/dev-docs/data-management/transfer

Steps

Production Environment Side

Issue a Transfer Token on the production environment side.

Local Environment

Let’s say the production site is https://strapi.example.org and the token is xxx.

With the following command, I was able to deploy the local environment data to the production environment.

strapitransfer-tohttps://strapi.example.org/admin-to-tokenxxx

Please note that existing data will be overwritten.

?StTaelhrniettniiktntsrgi:aents5sr:4faen7trs1rfawetnirrsl.afl.ne.srdfeeedlree(tdsei(zesexi:izse1t:0i.n73g3.Kd6Ba)tKaB()eflr(aoepmlsaetpdhs:eed6r:8e7m1o6mt8se0)Smtsr)api!Areyousureyouwanttoproceed?Yes

Summary

I hope this serves as a useful reference when using Strapi.