Automated Backup
1752649 Members
5425 Online
108788 Solutions
New Discussion

Re: Data Protector Express - Pre Execution scripts fail

 
John T Willis
Advisor

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 2
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
New Member

Re: Data Protector Express - Pre Execution scripts fail

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