I use the following code, from an Andreas script "Add VM to Job/Create Job and Add VM",
which works great for Windows Backup repositories.
Unfortunately, we have mostly Linux Backup Repositories.
I have looked, but have not found code that will also work on Linux Repositories.
Is there a way to get "Freespace" from a Linux Repository?
Thanks for any help.
I'm wondering whether you have Veeam ONE deployed. It has predefined reports that provide up-to-date information about both Linux and Windows repositories; might be worth taking a look. Thanks.
I'm glad to hear that you've found the solution suiting your needs. Anyway, if you haven't done it yet, I would still recommend deploying Veeam ONE with all of its robust monitoring and reporting capabilities, such as Capacity Planning for Backup Repositories and others. Thanks.
I do have Veeam One, and it has been very helpful. The "Protected VMs" includes an "Unprotected VMs" report, that I still use to see which VMs are not being backed up. I also receive reports on "Datastore" usage and "Active Snapshots", etc. For anyone not doing powershell scripting, I recommend it.
Just out of curiosity - why Veeam ONE doesn't work you in terms of monitoring/reporting on backup repositories. Or what information seems to be missing in the said pre-defined report or other views provided? May be, your feedback will help us to bridge the current gap. Thanks.
I'm interested as well but I'd guess that he's attempting to automate adding a VM automatically to a job and trying to pick the best available repo. Veeam One is great and all but it can't easily be used for instrumentation of automation workflows since it has no native API of it's own.
Both of you are correct. "Instrumentation of automation workflows" is the focus. I am hoping the benefits of automation far outweigh the efforts. Veeam One was very helpful when getting started. Powershell allows for automating workflows.