You can import an existing SQLite file to Turso Cloud using the following command:

turso db import ~/path/to/database.db

Make sure the SQLite file has WAL journal mode enabled.

If you have more than one group, you will need to pass the --group flag.

Flags

FlagDescription
--groupImport the database in the specified group.
-h, --helpGet help for import.