Automated Backup
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Protector Express - Pre Execution scripts fail

Data Protector Express - Pre Execution scripts fail


I've noticed a curious effect of the DPX pre execution script feature.

Simple command shell functions like "set > test" work but anything more complex or in a separate batch file ending in .bat or .cmd on Windows seem not to work.

Logs produced by the product seem insufficient to troubleshoot the problem.
2 REPLIES
JohnMurrayUK
Advisor

Re: Data Protector Express - Pre Execution scripts fail

This is a very old thread, but I just ran into the same issue and thought I could help someone in future.

 

My solution was to change this:

c:\scripts\pre-backup.cmd

 

to this:

cmd.exe /c c:\scripts\pre-backup.cmd

--------------------------------------------------------------------------------
If my post was useful, clik on my KUDOS! "White Star"
gnanasalten
Occasional Visitor

Re: Data Protector Express - Pre Execution scripts fail

i want to write a script in pre execution in dp to mount a file system