tigattack / VeeamNotify

Send Veeam B&R session summary notifications to Discord, Slack, and Teams.
GNU General Public License v3.0
42 stars 8 forks source link

[FEAT] Notifications for Veeam Backup for Office365 #70

Open kayvanaarssen opened 10 months ago

kayvanaarssen commented 10 months ago

Is your feature request related to a problem?

Add the option for Veaam Backup For Office365/Google

Describe your ideal solution

Would be awesome if we could use this tool for Veeam Backup for Office365/Google so we have everything of veeam in one place. The Veeam Backup for Office365 etc. Does only have email options no post/pre scripts

Philenst commented 10 months ago

Just to confirm @kayvanaarssen, it does not have pre/post script option?

If all it has is email, we likely can't do much in terms of implementation, since we rely on the post script to execute the necessary scripts.

kayvanaarssen commented 10 months ago

Just to confirm @kayvanaarssen, it does not have pre/post script option?

If all it has is email, we likely can't do much in terms of implementation, since we rely on the post script to execute the necessary scripts.

That’s what I Thought but there is an Check_MK module for it. That also monitors the backup jobs. Others too thought Zabbix has an option as well.

There is also the RestAPI that could be used like query it every x seconds or minutes

tigattack commented 10 months ago

Please correct me if I'm wrong, I haven't checked for new API versions for a while, but last I checked it supported basically nothing beyond vSphere backup & vSphere replication jobs which, IMO, makes the API barely worthy of a beta release, not the multi-revision, years-old part of the product it actually is. Really feels like Veeam are dragging their feet on this. Perhaps I'm being unfair, but I do find it irritating.

/rant.

Sorry for lack of formatting, writing from mobile as I'm away visiting family.

kayvanaarssen commented 10 months ago

I’m also on mobile. But the API of Veeam Backup for Office365 / google has the RestAPI that has all the options. The normal backup and replication lacks there i know that. The backup for office365/google is a seperate product and can be used without Veeam Backup and Replication installed

tigattack commented 9 months ago

Sorry should've clarified there - I'm aware of the separate API, but the adding support for such a thing would require significant fragmentation of VeeamNotify's functionality and internal logic, to the point where it'd be more logical to make it a separate project IMO.

Once the B&R API is fit for real-world use I hope re-work VeeamNotify to use that instead of the PowerShell module. This will make it much simpler to add support for Veeam Backup for M365/GCloud.

Until then, I don't plan to do this, sorry.