Skip to main content
Question

Create NAS backup job with PowerShell


Hi everyone, I'm using Veeam for quite a while now but recently we added some NetApp ONTAP devices to the storage infrastructure. And for each also a NAS Filer object under unstructured data. I can select a NAS Filer and create a file backup job easily. But I want to automate this if possible.

I can use Get-NetAppHost to get the ONTAP device and then use Get-VBRUnstructuredServer combined with Get-VBRNASServerPath but I can't link it all together… Also, when I look at an already configured job I cannot reverse engineer this to usable PS code.

Can someone point me in the right direction to create a file backup job of a share on a NAS filer with PowerShell?

2 comments

coolsport00
Forum|alt.badge.img+20
  • Veeam Legend
  • 4133 comments
  • November 15, 2024

Hi ​@Jeroen Buren EFCI welcome to the Community. I've not seen anyone attempt the task you're hoping to achieve on here.

@Madi.Cristil ​@safiya maybe this post would best be served under the Script Library page.

Thank you. 


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 8485 comments
  • November 15, 2024

The following link contains all the commands for NetApp devices and none of them reference jobs, however, I am sure if you combine them with the Unstructured Data backup commands you can put something together.

NetApp - NetApp Storage Systems - Veeam Backup PowerShell Reference

Unstructured Data - Working with Backup Jobs for Protecting Unstructured Data - Veeam Backup PowerShell Reference


Comment