On a project it took use some time to figure out how to run a post job script remote on the repository server (Backup to tape - h in this case IBM TSM).
Preparations:
1. Backup & Replication Management Server and Repository Server (Win) in the same AD Domain.
2. Backup & Replication Service Account as a Domain User Account which has Local Administrator rights at Management and Repository Server.
3. Follow the steps at this microsoft article to enable remote PowerShell > http://technet.microsoft.com/en-us/maga ... 00227.aspx
Command to start from Veeam Job "post job command"
Code: Select all
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noninteractive -file "C:\scripts\job1_post.ps1"
Code: Select all
Invoke-Command -comp RepositoryFQDN -scriptblock {C:\scripts\TSM\job1.ps1}
Code: Select all
C:\products\ibm\tsm\baclient\dsmc.exe incremental -optfile=C:\Scripts\TSM\veeamtest01_job1.opt >>c:\scripts\log\j1.txt
If you have any questions feel free to ask here.
CU Andy