VeeamNotify icon indicating copy to clipboard operation
VeeamNotify copied to clipboard

[FEAT] Notifications for Veeam Backup for Office365

Open kayvanaarssen opened this issue 7 months ago • 5 comments

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

kayvanaarssen avatar Jan 19 '24 23:01 kayvanaarssen

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.

Philenst avatar Jan 20 '24 21:01 Philenst

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

kayvanaarssen avatar Jan 20 '24 21:01 kayvanaarssen

  • CMK can do this because it runs as an agent. As you've no doubt noticed, VeeamNotify does not, and I currently have no plan to rearchitect it in this manner. There needs to be a trigger, which leads me on to...

  • Yes, there is an API, and I'd love it if the API were a viable replacement for the PowerShell module and I could just rewrite this whole thing in a nicer language, throw it in a Docker container (optional for the end user, just my preference), and be done with it. However, last I checked, the API is simply not sufficient. Support for so many things still just doesn't exist (Hyper-V jobs, anyone? File jobs? Agent jobs?). Maybe one day. In the meantime, I don't plan to rewrite for an API which I consider to be half-baked.

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.

tigattack avatar Jan 20 '24 22:01 tigattack

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

kayvanaarssen avatar Jan 21 '24 09:01 kayvanaarssen

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.

tigattack avatar Jan 26 '24 16:01 tigattack