Skip to main content
Question

Veeam Backup & Replication- Powershell script for retrieve all backup jobs parameter

  • April 2, 2024
  • 10 comments
  • 1722 views

Hi, Good evening.

I am analyzing different Veeam Backup & Replication instances and I would like take all parameters for every backup job present on every VB&R instances that I am analyzing.

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.

Thanks in advance.

Best regards

Ricardo

10 comments

coolsport00
Forum|alt.badge.img+21
  • Veeam Legend
  • April 2, 2024

Hi @Ricardo Mazzarello -

Welcome to the Community! Was gonna ask our Community managers to move your post to a more appropriate location, but it appears they already took care of that very thing (moved to the ‘YARA and Script Library’ group) 😊

I’m not aware of any such script myself, but maybe someone else can chime in with ideas….


Andanet
Forum|alt.badge.img+11
  • Veeam Legend
  • April 2, 2024

@Ricardo Mazzarello You can start from Shawn Masterson script here: 

https://gist.github.com/smasterson/9141287

 

 


Madi.Cristil
Forum|alt.badge.img+8
  • Community Manager
  • April 17, 2024

@SteveHeart 


SteveHeart
Forum|alt.badge.img+11
  • Influencer
  • April 17, 2024

Hi @Ricardo Mazzarello,

a starting point could be this script here. Let me know if you’re missing something specific and I then can have a look at it on one of my scripting Fridays 😉.

Cheers,

Steve


SteveHeart
Forum|alt.badge.img+11
  • Influencer
  • April 17, 2024

I just remembered a script from one of my SE colleagues: Veeam Porter (Porter is a wonderful beer style, that’s why). Not sure what needs to be changed to run it with the latest VBR release, but this script can also be inspiring.

 

Cheers,
Steve


SteveHeart
Forum|alt.badge.img+11
  • Influencer
  • April 26, 2024

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.


Cheers,
Steve


  • New Here
  • September 17, 2025

@SteveHeart Hi, it might not have been option for Ricardo but would definitely be option for me :).

Is there still any chance you could share that with me? At the moment I only want to know list of jobs which have reverse incremental job config but in the future I will need more options. Kind Regards

Vita


SteveHeart
Forum|alt.badge.img+11
  • Influencer
  • September 17, 2025

Hi ​@PTC,

I quickly created a Python script using one of my existing scripts to check for any Reverse Incremental Jobs present. Before running the script, you must use the Fernet script to create the encrypted password for the REST API call. After that, you can run the script with:

./reversi.py --vbrserver <your-vbr-server>

The reversi.py script uses the administrator account to get the Bearer token. This can be changed (Line 121).

The output looks like this. You’ll get notified if no backup jobs with backup mode 'Reverse Incremental' were found.

==== Backup Jobs (ReverseIncremental) ====
Name | Type | Backup Mode
------------------------+--------+-------------------
Demo Reverse Inremental | Backup | ReverseIncremental


I hope this helps.

Cheers,
Steve


damien commenge
Forum|alt.badge.img+5

Hello,

You will have what you want and much more here I think :

https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR


  • New Here
  • September 22, 2025

Thank you so much guys.
I never heard of Fernet but I bet a Czech person was involved in the creation of it because it is famous check alcohol :).
Again, thanks