Hi all,
I have a bpstart_notify.policyname.bat script that i want to use to carry out my script commands and mount my drive to be backed up when the policy starts. My script is something like this:
--------------------------------------------------------------------------------------------------
::Open a putty session and execute the command.
plink -ssh -l user1 -pw password -m c:/myscriptlocation/myscript.txt
::mount my drive
mountvol f: \\?\volumename\
--------------------------------------------------------------------------------------------------
When I run this script on the command prompt manually, it executes perfectly. But when i run the policy and let nbu run the script automatically, it doesn't seem to work properly. Namely, the first command (plink) doesn't happen, and the next command, mountvol runs.
Seeing that the mountvol command was executed suggests that NBU did indeed execute the script, but i'm unsure of why it was not able to run my plink command.
Any ideas on what the problem might be?