v6.3.0
Added
- Skip media downloads for specific chats — New
SKIP_MEDIA_CHAT_IDSenvironment variable to skip media downloads for selected chats while still backing up message text. Useful for high-volume media chats where you only need text content. Messages, reactions, and all other data are still fully backed up. - Automatic media cleanup for skipped chats — When
SKIP_MEDIA_DELETE_EXISTINGistrue(default), existing media files and database records are deleted for chats in the skip list, reclaiming disk space. Set tofalseto keep previously downloaded media while skipping future downloads. - Per-chat media control in real-time listener — The listener now respects
SKIP_MEDIA_CHAT_IDS, skipping media downloads for new incoming messages in skipped chats.
Fixed
- Freed-bytes reporting for deduplicated media — Media cleanup now correctly reports freed bytes: symlink removals (from deduplicated media) no longer inflate the freed storage count. Only actual file deletions count toward reclaimed space.
- Empty media directories cleaned up — After media cleanup, empty per-chat media directories are automatically removed.
Changed
- Media cleanup runs once per session — The cleanup check for skipped chats now uses a session-level cache, avoiding redundant database queries on subsequent backup cycles.
Contributors
📋 Full changelog: docs/CHANGELOG.md