Export a database snapshot from Turso to a SQLite file. This command exports a snapshot of the current generation of a Turso database to a local SQLite file. Note that the exported file may not contain the latest changes. Use SDK to sync the database after exporting to ensure you have the most recent version.
turso db export <database> [flags]

Flags

FlagDescription
--output-fileSpecify the output file name (default: <database>.db)
--overwriteOverwrite output file if it exists
--with-metadataInclude metadata in the export
-h, --helpHelp for export