Hello,
could some one please have a look at my syntac to change the exclude mask of an existing veeam NAS backup job.
Unfortunately it does not seem to work. If the syntax is all right I will open a support case.
PS C:\> (Get-VBRNASBackupJob -Name "File Backup Job Tester").BackupObject | Set-VBRNASBackupJobObject -ExclusionMask "\\naxxxx01\backup-test$\Gruppen\Test\*.exe"
Server Path InclusionMask ExclusionMask
------ ---- ------------- -------------
Veeam.Backup.PowerShell.Cmdlets.VBRNASSMBServer \\naxxxx01\backup-test$\Gruppen {*.*} {\\namfnujp01\backup...
PS C:\> (Get-VBRNASBackupJob -Name "File Backup Job Tester").BackupObject
Server Path InclusionMask ExclusionMask
------ ---- ------------- -------------
Veeam.Backup.PowerShell.Cmdlets.VBRNASSMBServer \\namfnujp01\backup-test$\Gruppen {*.*} {}
-
- Influencer
- Posts: 24
- Liked: 4 times
- Joined: Oct 11, 2018 7:38 am
- Contact:
-
- Product Manager
- Posts: 5796
- Liked: 1215 times
- Joined: Jul 15, 2013 11:09 am
- Full Name: Niels Engelen
- Contact:
Re: alter exclude mask of existing NAS backup Job
You will have to use use Set-VBRNasBackupJobObject to define it and then use Set-VBRNASBackupJob to adjust it with the -BackupObject paramater.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
GitHub: https://github.com/nielsengelen
-
- Influencer
- Posts: 24
- Liked: 4 times
- Joined: Oct 11, 2018 7:38 am
- Contact:
Re: alter exclude mask of existing NAS backup Job
Thanks
Set-VBRNASBackupJob was the hint I needed.
It is working as expected now.
Set-VBRNASBackupJob was the hint I needed.
It is working as expected now.
Who is online
Users browsing this forum: No registered users and 21 guests