Want to move to PlanetScale? Postgres migration assistance is now available. Get started
Navigation

Multiple output formats for database dump

You can now export your Vitess database data in multiple formats using the new --output-format flag with the pscale database dump command.

The new flag supports three output formats:

# Export as JSON
pscale database dump my-database main --output-format=json

# Export as CSV  
pscale database dump my-database main --output-format=csv

# Export as SQL (default)
pscale database dump my-database main --output-format=sql

This feature is available for Vitess databases only.

Thanks to @ivov for contributing this feature!

Read more