#510·tdl

[Feat] Realtime backup. (daemon mode)

Author: shamefulCake1Created Feb 21, 2024Updated Aug 29, 2026
Labelsenhancement

Proposal

I would like to backup channel/chat messages as soon as they arrive.

I would be nice to just run something like tdl dl chatname --daemon --no-deletes, and have the messages+multimedia dumped into a directory.

How laborious would be doing that?

Background

At the moment I am running a backup once a day, but this is a big waste of resources, and not in-time. Also, custom scripting is usually fragile.

Workarounds

Well, doing dl chat export every 5 minutes, computing a diff between old.json, and new.json, and somehow finding a range of messages to backup.

Laborius, error-prone, and not instantaneous.