Comprehensive data protection for all workloads
Post Reply
nickmancini
Influencer
Posts: 16
Liked: never
Joined: Nov 03, 2009 5:25 am
Full Name: Nick Mancini
Contact:

Run command not executing batch file?

Post by nickmancini »

Greetings.

Normally, after each Veeam job, we run a robocopy command from the "post job activity" section of the "advanced" section of the backup destination screen.

In this case, we want to run a batch file (which then runs 2 separate robocopy jobs).

The entry reads "c:\robocopy\CopyVM.bat" and was placed there by clicking on the browse button. Spelling of file name has been checked and checked and....

However, the .bat file does not execute.

When I run the .bat file manually, it runs fine.

Any ideas? I know this is going to be a no-brainer, but I feel my brain isn't working today.

Thanks!


batch file reads:

robocopy /job:c:\robocopy\copyD
robocopy /job:c:\robocopy\copyG
Vitaliy S.
VP, Product Management
Posts: 27324
Liked: 2778 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Run command not executing batch file?

Post by Vitaliy S. »

Hello Nick,

All the post backup job scripts are executed by Veeam Service, make sure the account stated in logon info has enough permissions to execute your script.

Thanks!
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 81 guests