Prisma CLI & ConfigurationCLI Command Reference

prisma export

$ prisma export

Exports your service data to a local zip directory. For more info, read the Data Import & Export page.

Usage

prisma export [flags]

Flags

-e, --env-file ENV-FILE    Path to .env file to inject env vars
-p, --path PATH            Path to export .zip file

Examples

Export data to file with default name (export-<timestamp>.zip)

prisma export

Export data to file called mydata.zip

prisma export --path mydata.zip