Webhook support, like at the end of a backup?

Wouter Samaey

Well-Known Member
May 28, 2018
72
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!