vaultik/internal/snapshot
sneak 2afd54d693 Add exclude patterns, snapshot prune, and other improvements
- Implement exclude patterns with anchored pattern support:
  - Patterns starting with / only match from root of source dir
  - Unanchored patterns match anywhere in path
  - Support for glob patterns (*.log, .*, **/*.pack)
  - Directory patterns skip entire subtrees
  - Add gobwas/glob dependency for pattern matching
  - Add 16 comprehensive tests for exclude functionality

- Add snapshot prune command to clean orphaned data:
  - Removes incomplete snapshots from database
  - Cleans orphaned files, chunks, and blobs
  - Runs automatically at backup start for consistency

- Add snapshot remove command for deleting snapshots

- Add VAULTIK_AGE_SECRET_KEY environment variable support

- Fix duplicate fx module provider in restore command

- Change snapshot ID format to hostname_YYYY-MM-DDTHH:MM:SSZ
2026-01-01 05:42:56 -08:00
..
backup_test.go Major refactoring: Updated manifest format and renamed backup to snapshot 2025-07-26 03:27:47 +02:00
exclude_test.go Add exclude patterns, snapshot prune, and other improvements 2026-01-01 05:42:56 -08: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 exclude patterns, snapshot prune, and other improvements 2026-01-01 05:42:56 -08: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 Add exclude patterns, snapshot prune, and other improvements 2026-01-01 05:42:56 -08:00
snapshot_test.go Integrate afero filesystem abstraction library 2025-07-26 15:33:18 +02:00
snapshot.go Add exclude patterns, snapshot prune, and other improvements 2026-01-01 05:42:56 -08:00