Open shamefulCake1 opened 4 months ago
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.
tdl dl chatname --daemon
How laborious would be doing that?
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.
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.
dl chat export
Laborius, error-prone, and not instantaneous.
+1
For real time backups to a dump channel
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.