Data Management System
Occasionally, you need to move data out of or into a Strapi instance. This is possible with the data management system which uses CLI-based commands:
strapi exportto create a data backup, for archive purposes or to import it in another instance.
strapi importto restore data from a backup.
strapi transferto transfer data between local and/or remote instances.
The following documentation gives explanations and examples for the export, import, and transfer commands, while the CLI reference documentation lists all available flags in a condensed format.
Interactive CLI commands do not currently work with the
npm package manager. For
strapi export and
strapi import this means the encryption key prompt is not visible in the CLI. In the meantime consider using the
yarn package manager.