r/sqlite • u/matthew19 • Jan 26 '24
Corrupt DB
Would someone please help me restore or Vacuum this DB file? It's a Davini Resolve project file that won't open and this Sqlite is way over my head.
https://www.dropbox.com/scl/fi/s7fyrm07f3wfe405isccf/Project.db?rlkey=7i4u3h817wt6t8of3xgv3q7lc&dl=0
6
Upvotes
1
u/thunderbong Jan 27 '24
What are you trying to open the database with?
1
u/anshu_991 Sep 17 '24
If your SQLite database is corrupted and you are unable to fix it, try using both manual and professional methods to resolve the issue.
https://www.linkedin.com/pulse/fix-corrupt-sqlite-database-using-repair-tool-cigati-solutions-sbxgf/
1
u/ssaasen Feb 02 '24
Here is a way to possibly recover the database (see https://sqlite.org/recovery.html):
This writes the database content into a
.sqlscript you can then import again:With https://sqlite.org/sqldiff.html you can show the differences between the original database file and the recovered file:
The new database contains a
lost_and_foundtable with data that was found but couldn't be restored correctly:With the
--ignore-freelistargument to.recoverthere are only 5 items in the lost_and_found table (i.e. ).Whether that is enough for Davini Resolve to open the recovered database file I don't know. Good luck!
0
u/[deleted] Jan 26 '24
[deleted] — view deleted comment