I would like to know if is possible launch one powershell script for retrieve these values for example: start time for every schedule job, servers involved, backup modality (full, incremental, reverse incremental, etc) aware setting if exist, etc.
Hi @Ricardo Mazzarello,
we can also grab the information from the VBR RestAPI. I can share a Python script that stores the job configuration in a json file. Just let me know if Python is an option for you.
Our customers love Veeam Backup & Replication! We get all kinds of positive comments about how easy it is to set up, configure, and operate. We hear about how powerful it is in backup and recovery operations. All of this goodness comes at a very affordable price point.
Our development team is very innovative and loves to push the capabilities of Veeam Backup & Replication. Things like SureBackup, Universal Application-Item Recovery (U-AIR), Instant VM Recovery, VeeamZIP, Veeam Explorer for Microsoft Exchange, and direct integration with cloud storage providers are just a few of the amazing and cool innovations they have introduced.
Imagine being able to run PowerShell scripts to automate the backup and restoration processes of your VMs. You could manage replicas and replication with PowerShell. You could automate very complex processes using PowerShell with System Center Orchestrator. The commandlets allow you to do just about anything your imagination can come up with.
If you want to learn more about using PowerShell with Veeam Backup & Replication, Veeam has produced an excellent reference guide to get you well on your way. Please read the Veeam Backup & Replication PowerShell Reference Guide and join our PowerShell scripting courses.
DISCLAIMER: This CUSTOM SENSOR and its underlying script was made by We ONLY translated the how-to into English. For any question to this approach, please get in contact with -PRTG-Sensors/
Many thanks for this script, this one fully success when my distant probe is on the same server of veeam server.But when my probe is on one server and Veeam on otherone, I have the terrible message "JSON" shema is not correct.
I am also getting a JSON error on this sensor. The output appears correct when run directly through Powershell, and I get data in my log that is actually my data, but I think there is something wrong with the formatting.
That's what I thought, and that is what I get from the script when it is run directly in Powershell. Somewhere along the lines, formatting for PRTG is failing. I guess I need to figure that out. Thanks!
Does anyone know if its possible to monitor the status of the Backupobject (VM's) rather than the backupjob.We have multiple objects per job and in the currtent situation the status shows failed when one of the backupobjects has failed to create a backup.
Hi there,
There must be something in the log that breaks the output. Please activate the "Write EXE result to disk" option in the sensor's settings and post the log files (Result of Sensor XXX.Data.txt and Result of Sensor XXX.txt) located on the corresponding probe under "C:\ProgramData\Paessler\PRTG Network Monitor\Logs (Sensors)".
Best regards.
So maybe here can be the problem.
I just have added a new sensor to the local probe which is running on my prtg sever.
As I understand I have to create a second local probe on my Veeam Server?
Hi Andr,
The error message indicates that the VMWare Snapin could not be found on the PRTG Server. Unfortunately, I am not sure what to do at this point as this script is not created by us as mentioned in the initial Top Answer:
-PRTG-Sensors/
Best regards.
Regarding the issue you are facing, I invite you to make sure that the credentials defined in the device settings are correct, as well as check that the probe use them to execute the application PSx64.
I also invite you to check the output provided by the sensor in the file Result of Sensor 6160.txt and make sure that the device is reachable from the probe server on which the sensor is configured.
c80f0f1006