This PR adds a live-reporting module that sends the current progress of backups to a user specified url.
The intention is that this can be used for dashboards that want to show the current progress for backups.
By default, the module is not configured and has no impact.
Fixes the Telegram notification to use the correct API URL and to send the message in chunks if it is too long.
Will add this to the documentation.
First create your telegram bot by messaging the @BotFather
For more information https://core.telegram.org/bots
Once you have created your bot you will have a bot token.
Now on the bot channel, send one message, “Hello”. This is important because the bot cannot initiate a conversation, it can only respond, so therefore that is the only way to obtain the chatId which needs to be configured on Duplicati.
Now on a browser or curl, access:
https://api.telegram.org/botYOURBOTTOKEN/getUpdates
Look for the property
"chat":{"id”:111122233,
One way to get that with curl is:
BOT_TOKEN="YOURBOTTOKEN" curl -s "https://api.telegram.org/bot$BOT_TOKEN/getUpdates" | grep -o '"id":[0-9]*' | head -1 | cut -d':' -f2