Page 1 of 1

trying to run batch files before / after a scheduled backup

Posted: Sat Sep 23, 2017 9:22 pm
by ethereal
i can't get a batch file to start before the scheduled image is made. the pre batch file cleans temp files. and the post batch robocopies to my server.

i was getting r-drive image pre/post snapshot command failed

i moved the batch files to c drive with no spaces that error is gone now - when i run the scheduled task the command window does not open.

i've tried
cmd /c C:\Batch_FIles\Clean_Temp_Files.bat

cmd.exe /c C:\Batch_FIles\Clean_Temp_Files.bat

C:\Batch_FIles\Clean_Temp_Files.bat

cmd /c "C:\Batch_FIles\Clean_Temp_Files.bat"

i'm using windows 10

Re: trying to run batch files before / after a scheduled bac

Posted: Sun Sep 24, 2017 4:22 pm
by Alt
Do the batch files run alone?
I mean under the account specified on the User/Password panel?

Re: trying to run batch files before / after a scheduled bac

Posted: Mon Sep 25, 2017 6:26 am
by ethereal
yes they ran okay when i tested them - i just can't get them to run in r-drive image

Re: trying to run batch files before / after a scheduled bac

Posted: Tue Sep 26, 2017 7:48 pm
by ethereal
i never did get any satisfactory help here. i'm going to give Iperius Backup a try

Re: trying to run batch files before / after a scheduled bac

Posted: Thu Sep 28, 2017 1:32 pm
by Alt
We tried various batch files and they worked well. Can you create a test batch file and run it from R-Drive Image? Something like echo "test" >c:\test.txt ?

Re: trying to run batch files before / after a scheduled bac

Posted: Thu Sep 28, 2017 3:23 pm
by ethereal
Iperius Backup ran my batch files - it also has a copy option to copy the backups to a second location. it also has a folder and file copy option.

Re: trying to run batch files before / after a scheduled bac

Posted: Fri Sep 29, 2017 10:35 am
by Alt
ethereal wrote:Iperius Backup ran my batch files
I'm sure the problems are with the account you're using on the User/Password panel.