1.

I Accidentally Deleted Some Important Information From My Sqlite Database. How Can I Recover It?

Answer»
  • If you have a backup copy of your database FILE, recover the INFORMATION from your backup.
  • If you do not have a backup, recovery is very difficult. You might be able to find partial string data in a binary dump of the raw database file.
  • Recovering numeric data might also be possible given special TOOLS, though to our KNOWLEDGE no such tools exist.
  • SQLite is sometimes compiled with the SQLITE_SECURE_DELETE option which overwrites all deleted content with zeros.
  • If that is the case then recovery is clearly impossible.
  • Recovery is also impossible if you have run VACUUM since the data was deleted.
  • If SQLITE_SECURE_DELETE is not used and VACUUM has not been run, then some of the deleted content might still be in the database file, in areas marked for reuse.
  • But, again, there exist no PROCEDURES or tools that we know of to help you recover that data.



Discussion

No Comment Found