vaultik/internal/snapshot
sneak 24c5e8c5a6 Refactor: Create file records only after successful chunking
- Scan phase now only collects files to process, no DB writes
- Unchanged files get snapshot_files associations via batch (no new records)
- New/changed files get records created during processing after chunking
- Reduces DB writes significantly (only changed files need new records)
- Avoids orphaned file records if backup is interrupted mid-way
2025-12-19 12:40:45 +07:00
..
backup_test.go Major refactoring: Updated manifest format and renamed backup to snapshot 2025-07-26 03:27:47 +02:00
file_change_test.go Optimize scan phase: in-memory change detection and batched DB writes 2025-12-19 12:08:47 +07:00
manifest.go Major refactoring: Updated manifest format and renamed backup to snapshot 2025-07-26 03:27:47 +02:00
module.go Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00
progress.go Refactor: Move Vaultik struct and methods to internal/vaultik package 2025-07-26 14:47:26 +02:00
scanner_test.go Optimize scan phase: in-memory change detection and batched DB writes 2025-12-19 12:08:47 +07:00
scanner.go Refactor: Create file records only after successful chunking 2025-12-19 12:40:45 +07:00
snapshot_test.go Integrate afero filesystem abstraction library 2025-07-26 15:33:18 +02:00
snapshot.go Fix foreign key error when deleting incomplete snapshots 2025-12-19 12:27:05 +07:00