Webhook support, like at the end of a backup?

Wouter Samaey

Well-Known Member
May 28, 2018
73
12
48
39
I know there has been a few threads on running a script after a backup, but I want to ask 1 specific thing.

Can we trigger a webhook and send it the details of the backup in a JSON or XML format?
Is there structured data available somewhere we can easily HTTP POST or do we need to code the script by hand?

Maybe webhook support is something you can add to the GUI as well?

The main idea for me is that I want to closely monitor the state of the backups in a way that does not involve reading log output emailed to me every morning :-) I manage a few clusters and get many emails. It gets hard not to overlook any issues + I don't trust myself or email for that matter.
 
I understand there is no webhook support, but what about getting some structured data out (like json or xml) about the backup that was just run. What commands could be useful for exporting the backup information?
 
I was able to write a shell script that runs after the backup, and that executes a curl command, kinda the same thing.
the link provided by aaron explains it.
I pretty much did the same. Still I'm looking for some endpoint where I can fetch the backup status from.

e.g. transfer speed, whatever.