Post backup command never runs correctly
(v11, Win XP Pro SP 3)
Hi -
I have a simple post-backup command that is being reported as running successfully, but never does.
My backup is to a network drive.
The command is a cmd file with these contents which works when run manually:
for /f "tokens=1-5 delims=/ " %%d in ("%date%") do rename "\\CALCULON\WayneBackup\FLEXO_BACKUPS\MyBackup.tib" FlexoBackup_%%e_%%f_%%g.tib
It is supposed to rename the backup file from:
"MyBackup.tib"
to:
FlexoBackup_09_12_2011.tib
(The date, of course, is the current date of the backup.)
I've tried replacing the UNC path (\\CALCULON\WayneBackup\FLEXO_BACKUPS\MyBackup.tib)
with the mapped letter
(W:\FLEXO_BACKUPS\MyBackup.tib)
but it still does not work.
Any clues?
THANKS!
- Se connecter pour poster des commentaires
Try the other way:
- first create a script that calls ATI. See here:http://forum.acronis.com/forum/16086#comment-49269
- then, take this script and have it run under Windows Task Scheduler. This will help you try with different users (your user, the System User, etc.).
If I am correct, in ATI, interactive backups are run under the User account (need to be an administrator) while the scheduled tasks are run under the System user.
- Se connecter pour poster des commentaires
As far as I know, the older versions of TI ran all tasks (interactive and scheduled) in the System account. I think this changed in TI 2010 or 2011.
- Se connecter pour poster des commentaires
Thanks for the advice.
I've tested it, and the user System cannot see the network path or the drive when mapped.
So, any ideas on how I can accomplish my task?
I just want to rename the backup file so that I can automatically create multiple backups of "My Computer" (full system).
Thanks...
- Se connecter pour poster des commentaires
Yes, use a script calling ATI rather than ATI calling a pre/post script.
- Se connecter pour poster des commentaires
I read through the post but I'm using v11 so there is no option to create a shortcut.
Is there another way to use windows tasks to run ATI via script?
- Se connecter pour poster des commentaires
First identify the script file (it should be stored in Documents and Settings\All Users\Applicaton Data\Acronis\Trueimage\Scripts and have the extension "tis". To find the right one if your have several, you can edit the task in Acronis and save it, then look for which script has just been changed. You can also right click edit the script files and read them to find the task name.
To execute a task file you call the Trueimage service :
"C:\Program Files\Common Files\Acronis\TrueImage\TrueImageService.exe" /script:"[drive:path\scriptname.tis]"
- Se connecter pour poster des commentaires
Thanks!
I'll give it a try and reply when it's done....
- Se connecter pour poster des commentaires
Ok - I created the cmd file and ran it and the post command worked.
I now have it scheduled to run using Windows Task Scheduler to make sure it works unattended.
If it doesn't work I'll check back.
Thanks again!
- Se connecter pour poster des commentaires
Good. I am glad it worked. If you have a little more time, you may find additional help by looking at items 3 K and #3-L inside my signature index below.
- Se connecter pour poster des commentaires
Actually, I do have a related question.
Since I'll be using Windows to run the task, I've removed the scheduling from within the Acronis task.
Now I'm wondering if all of these services / startup items really need to run?
I'd like to shutdown whatever is no longer necessary....
1) TrueImageMonitor.exe
2) TimounterMonitor.exe
3) Schedhlp.exe
- Se connecter pour poster des commentaires
Wayne Hoit wrote:Actually, I do have a related question.
Since I'll be using Windows to run the task, I've removed the scheduling from within the Acronis task.
Now I'm wondering if all of these services / startup items really need to run?
I'd like to shutdown whatever is no longer necessary....1) TrueImageMonitor.exe
2) TimounterMonitor.exe
3) Schedhlp.exe
I have been watching for answers to this myself!!
I use TI2010, and only do FULL system image backups, using windows task scheduler. Most of the time, it's kicked off manually -- before/after updates or changes, and at least once weekly when shutting down at end of a day. I can, as well, set a time in windows scheduler if I wish it to awake and run delayed (not very often).
Scheduler runs a sequence of items:
-A 15 second delay, to allow time for the external HD to come online (if waking up to run unattended).
-Run TI2010 task, creating, and validating, full image backup.
-Run BAT file to extract current LOG file from log folder.
-Run BAT file to send email to myself, with log file attached.
-Run BAT file with delay (time to insure completion of things) and system shutdown command.
This works perfectly. Question is, which of the TI services and startup items are necessary for the above described routine to run?? I know what some relate to functions that I DO NOT use or plan to use. I think I understand that most startup items that autostart at boot time will start when called for when needed.
As questioned by the previous poster, which of these are in my case are simply takeing up memory and adding to boot time, unnecessarily??
Thanks... Bob
- Se connecter pour poster des commentaires
trueimagemonitor can be safely disabled. You won't see pop up notifications and you won't be able to launch ATI from the system tray icon.
schedhlp should be left alone, even if you disable the schedule
timountermonitor is not necessary if you don't mount or explore TIB files
- Se connecter pour poster des commentaires