I have been using duckdb and have a database but recently I updated duckdb and not able to use the duckdb and getting following error.
duckdb.IOException: IO Error: Trying to read a database file with version number 39, but we can only read version 43. The database file was created with DuckDB version v0.6.0 or v0.6.1.
The storage of DuckDB is not yet stable; newer versions of DuckDB cannot read old database files and vice versa. The storage will be stabilized when version 1.0 releases.
For now, we recommend that you load the database file in a supported version of DuckDB, and use the EXPORT DATABASE command followed by IMPORT DATABASE on the current version of DuckDB.
See the storage page for more information: https://duckdb.org/internals/storage
Although I have tried to IMport and Export I am not able to find right syntax for the same using python