Documenting Veeam Backup Job Settings

A few months back I came across this article from Luca Dell’Oca – Check multiple job settings in Veeam Backup & Replication with Powershell.  As he describes, this is a great way to get a good view of your backup jobs.  When you have a few hands in the mix, over time with lots of jobs, human error is going to happen.  A missed check box here, incorrect setting there. You’ll be surprised what you may find the first time you look.  So I decided to finally take his advice and create a quick report that dumps the job details to a csv file.


There are currently 24 attributes returned covering 90% of the options within the Edit Job wizard. The first time I ran the report I was surprised to see how many incorrect entries there were. Nothing catastrophic but lots of little inconsistencies. It’s great to have a view of everything all in one place, especially when you have many jobs.

Advertisements

8 thoughts on “Documenting Veeam Backup Job Settings

  1. Chris

    Hi there this works great except ive got some repositorys that have come back as “System.object[]” any idea why? or how I get this working?

    many thanks

    Reply
    1. smasterson Post author

      Hi Chris
      What type of repositories do you use?

      I suspect this line is the issue
      $repo = (Get-VBRBackupRepository | ?{$_.HostId -eq $job.TargetHostId -and $_.Path -eq $job.TargetDir}).name

      That should be returning just the name of the repo where the Id and Path match that specified in the job details. It appears you are returning an object which means something is not being evaluated correctly.

      Do you receive any errors?

      Reply
  2. Muhammad Ammad

    Hi,

    this is very useful to me, I have confusion in report as in Job-policy, the options selected
    Job A ==
    Backup-Mode = Reverse and Active full

    But in report its states about Synthetic-Full, however this option is not selected there.

    Reply
      1. smasterson Post author

        There have been a few job type additions introduced that most likely changed this info.
        Your best bet may be to use the framework of this script and ask in the Veeam forums on how to obtain the info you are looking for.
        Good Luck!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s