vaultik/internal
sneak bbe09ec5b5 Remove dangerous database recovery that deleted journal/WAL files
SQLite handles crash recovery automatically when opening a database.
The previous recoverDatabase() function was deleting journal and WAL
files BEFORE opening the database, which prevented SQLite from
recovering incomplete transactions and caused database corruption
after Ctrl+C or crashes.

This was causing "database disk image is malformed" errors after
interrupting a backup operation.
2025-12-23 09:16:01 +07:00
..
blob Integrate afero filesystem abstraction library 2025-07-26 15:33:18 +02:00
blobgen Fix foreign key constraints and improve snapshot tracking 2025-07-26 02:22:25 +02:00
chunker Major refactoring: UUID-based storage, streaming architecture, and CLI improvements 2025-07-22 14:56:44 +02:00
cli Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00
config Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00
crypto Refactor: Move Vaultik struct and methods to internal/vaultik package 2025-07-26 14:47:26 +02:00
database Remove dangerous database recovery that deleted journal/WAL files 2025-12-23 09:16:01 +07:00
globals Add godoc documentation to exported types and methods 2025-12-18 18:51:52 -08:00
log Add godoc documentation to exported types and methods 2025-12-18 18:51:52 -08:00
models Implement local SQLite index database with repositories 2025-07-20 10:26:15 +02:00
pidlock Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00
s3 Major refactoring: UUID-based storage, streaming architecture, and CLI improvements 2025-07-22 14:56:44 +02:00
snapshot Fix FK constraint errors in batched file insertion 2025-12-19 19:48:48 +07:00
storage Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00
vaultik Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00