trying to run batch files before / after a scheduled backup

Disk backup and restore, partition imaging and cloning, and drive copy using R-Drive Image.
Forum rules
Discussion on the R-Drive Image software
ethereal
Posts: 7
Joined: Fri Feb 13, 2015 8:16 am

trying to run batch files before / after a scheduled backup

Post 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
Alt
Site Moderator
Posts: 3892
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

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

Post by Alt »

Do the batch files run alone?
I mean under the account specified on the User/Password panel?
ethereal
Posts: 7
Joined: Fri Feb 13, 2015 8:16 am

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

Post by ethereal »

yes they ran okay when i tested them - i just can't get them to run in r-drive image
ethereal
Posts: 7
Joined: Fri Feb 13, 2015 8:16 am

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

Post by ethereal »

i never did get any satisfactory help here. i'm going to give Iperius Backup a try
Alt
Site Moderator
Posts: 3892
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

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

Post 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 ?
ethereal
Posts: 7
Joined: Fri Feb 13, 2015 8:16 am

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

Post 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.
Alt
Site Moderator
Posts: 3892
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

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

Post 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.
Post Reply