Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

Supergroups downloading starts over after interrupts #120

Open
bodqhrohro opened this issue Jun 29, 2018 · 1 comment
Open

Supergroups downloading starts over after interrupts #120

bodqhrohro opened this issue Jun 29, 2018 · 1 comment

Comments

@bodqhrohro
Copy link

If an interrupt occurred during fetching the messages of a supergroup (network outages, shutdown and so on), the next time telegram_backup proceeds to this supergroup it starts fetching it over, not from the point it reached right before the interrupt. This is very inconvenient as some supergroups have hundreds of thousands of messages and it's hard to fetch all of them in one run.

@bodqhrohro
Copy link
Author

Huh, looks like this is a false call. I noticed that in a supergroup that already had been completely fetched, only a bit of new messages were synced on new iteration:

...200...400...600...800...1000...1156 done.

So probably the messages fetched before an interruption are not re-fetched as well.

If the progress counter is misleading, it should start not always from zero but from the number of already fetched messages. Or, as an another option, the number of already fetched messages should be printed separately before the sync starts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant