There were a load of announcements with v10 of Veeam Backup & Replication. This one is by far the one I am most excited about. I have been using it for a few weeks now building up to a more complete example but here is how you can get started right now and test it out.

This powerful feature will let you re-use your backup data and perform processing on it. Anything from eDiscovery, classification, malware detection, compliance - possibilities are endless.

You will need

  • Veeam V10 up and running
  • At least one job with a virtual machine and single restore point
  • Access to PowerShell/Veeam CMDlets
  • Optional: target Windows server to mount the backups too

Publish-VBRBackupContent

This is the cmdlet you need to execute. It is fairly simple and only requires a couple of inputs. You can read the official documentation over on the Veeam site.

As a minimum, you need to give it a backup restore point. This will then mount the drives locally to the VBR backup server.

I have chosen however to mount this on another processing server in which case you also need to specify the TargetServerName and TargetServerCredentials (note these are credentials stored in Veeam)

They then pop up in Disk Management automatically as well as being made available under c:\VeeamFLR\YOURSERVERHERE_XXXXX - under this folder are additional folders which are the volumes from the virtual machine itself. This is where the data is.

Scenario

The script here will not process/do anything meaningful with the data but can be used as a base for your logic to perform actions on the files.

It does the following

  • Connects to the backup server from the data processor machine *(not necessary but you will see why)
  • Loads the backup job called Fileservers
  • Finds the unique virtual machines in that backup job
  • Fetches the latest restore point for each server
  • Publishes the content of this restore point to the data processing server
  • Finds the drives/volumes relating to this session mounted to the processing server
  • Gets the files recursively for each volume and this is where you can use your imagination

Example script

To get you started! Now go forth and create...