telegram-archive
Docker 应用程序 from geiserx's Repository
概述
Automated Telegram backup service that periodically archives messages and media from your chats, groups, and channels. Uses Telethon for scheduled exports with optional real-time message listening. Supports SQLite or PostgreSQL, media deduplication, and configurable retention.
This is the backup container. For browsing archived messages, install the Telegram Archive Viewer container separately.
Requires Telegram API credentials from https://my.telegram.org
More info: https://github.com/GeiserX/Telegram-Archive
This is the backup container. For browsing archived messages, install the Telegram Archive Viewer container separately.
Requires Telegram API credentials from https://my.telegram.org
More info: https://github.com/GeiserX/Telegram-Archive
要求
Telegram API credentials from my.telegram.org
运行时参数
- 网络
bridge- 特权
- false
模板配置
Session DataPathrw
Telethon session storage
- 目标
- /data/session
- 默认值
- /mnt/user/appdata/telegram-archive/session
BackupsPathrw
Backup data and media files
- 目标
- /data/backups
- 默认值
- /mnt/user/appdata/telegram-archive/backups
API IDVariable
Telegram API ID from my.telegram.org
- 目标
- TELEGRAM_API_ID
API HashVariable
Telegram API hash from my.telegram.org
- 目标
- TELEGRAM_API_HASH
Phone NumberVariable
Phone number with country code (e.g. +1234567890)
- 目标
- TELEGRAM_PHONE
ScheduleVariable
Cron schedule for backups (default: every 6 hours)
- 目标
- SCHEDULE
- 默认值
- 0 */6 * * *
Download MediaVariable
Download media files during backup
- 目标
- DOWNLOAD_MEDIA
- 默认值
- true
Max Media Size (MB)Variable
Maximum media file size to download in MB
- 目标
- MAX_MEDIA_SIZE_MB
- 默认值
- 100
Enable ListenerVariable
Enable real-time message listening between scheduled backups
- 目标
- ENABLE_LISTENER
- 默认值
- false
Chat IDsVariable
Comma-separated chat IDs to back up (empty = all chats)
- 目标
- CHAT_IDS
Chat TypesVariable
Types of chats to back up
- 目标
- CHAT_TYPES
- 默认值
- private,groups,channels
下载统计数据
10,708
下载总数
详细信息
存储库
drumsergio/telegram-archive:latest最后更新2026-05-04
初见2026-04-06
在Unraid 上运行 telegram-archive 。
telegram-archive 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。