PDA

View Full Version : remote pre/post command


anothereric
July 21st, 2008, 04:49 PM
I'm using ATI Home to backup to a remote machine. What I want to do is keep the current and the immediately previous backup. To do this I did a little .bat file to rename "MyBackup.tib" to "MyBackup2.tib", ATI would then do a backup to MyBackup.tib. The .bat file is kept on the remote machine along with the archives. I have it set up so that the .bat file is called from the local machine's backup task via the pre-command option. As you might guess, this isn't working for me and I'd like to know if anyone can tell me what I'm doing wrong.

A few other things: I'm running ATI 11 Home on a Win XP box. Backing up to the remote box works fine, I'm just having problems running the batch file. The batch file works when everything is kept local. I've seen the sample batch file that Acronis has in their knowledgebase. I'd prefer not to use that because that would mean (I think) having a password in the clear. What I entered in the pre command line was "\\host\share\batch.bat" and "\\host\share" as the working directory.

Thanks in advance,
eric

TheWeaz
July 21st, 2008, 05:10 PM
Can’t help much other than this:
I would change your naming convention. What you’re using is what TI uses to name INC/DIFF backup images. I would change the renamed file to MyBackupTWO.tib.
Good luck with the rest.

anothereric
July 21st, 2008, 05:23 PM
Thanks for the heads up!

Just out of curiosity, do you know for sure that the MyBackup2.tib thing does cause trouble? (Either way, better to be safe, I agree).

Thanks,
eric

TheWeaz
July 21st, 2008, 06:09 PM
I can’t say for sure, but as you said, why risk it?
I don’t know how often or when you run the backup, but perhaps using Windows Task Scheduler on the remote box to run the .bat might be an idea.

Acronis Support
July 27th, 2008, 09:37 AM
Hello anothereric,

Thank you for choosing Acronis Disk Backup Software (http://www.acronis.com/homecomputing/products/trueimage/).

We are sorry for delayed response.

Please notice that since you're not providing credentials for the remote location, the "\\host\share\batch.bat" cannot be run because of lack of permission.

Please also notice that since network locations aren't same as folders, the command called that way will still run on the computer which called it.

Thank you.
--
Marat Setdikov