Skip to main content

Use Windows Task Scheduler with Acronis B&R

Thread needs solution

I apologize if this is covered somewhere else - I searched for a good hour but could not find anything.

With TrueImage Echo, you could use Windows Task Scheduler to schedule jobs that you created in the Echo GUI console. The advantage being you can use "NT Authority\SYSTEM" to schedule the tasks and avoid the pain the of changing user passwords on all the servers running TrueImage whenever you reset Admin passwords. The TIS files were in C:\Documents and Settings\All Users\Application Data\Acronis\Scripts and you would use the TrueImageService.exe as the executable to use with the scheduled task.

Does anyone know if the same can be done with Acronis B&R 10/11? If so:

1) What command line executable would I use that would provide the same functionality as TrueImageService.exe?
2) Where is the location of the Backup Plan file (assuming TIS files are history)? I found something in C:\ProgramData\Acronis\BackupandRecovery\MMS\Policies. Is this the file I need? Will it call all the sub-tasks such as cleaning out the SecureZone task that you see in the GUI - or do I have to call that sub-task seperately?

Any help is appreciated.
NK

0 Users found this helpful

The backup plans are stored in a single DB3 file since ABR11 and i'm not aware, that you can access these on the command line.

However there are actually three ways to trigger backups on the command line - but i haven't tried any of them under "NT Authority\SYSTEM":
- acrocmd http://www.acronis.com/support/documentation/ABR11/#11525.html
- http://kb.acronis.com/content/8111 "Running a Backup Task via a Shortcut"
- copy a "run now" backup plan XML to the import folder (http://www.acronis.com/support/documentation/ABR11/#12712.html)

But it would be way easier to avoid the command line by simply using a service account to run your backup plans, where the password isn't changed regularly.

Hi Stefan,

Thanks for the suggestions. The second link you provided is interesting. Seems like almost a hack to get jobs to run - but could be useful. I think I will experiment with that. Since I am still running B&R 10, the first and third options are not available to me yet.

For Echo version, I already discovered that the automated emails no longer work if you don't use the Acronis Scheduler, so I had to write a PS script to monitor the event logs for sucessfull job completion events - so I guess I am creating hacks...whats one more :)

NK

Thanks - unfortunately, I am running B&R version 10 which does not support the "list tasks" option or the "run task" option. I did investigate the start task when event is detected option, but I don't think that is going work because if I schedule it, it will be the event generation that will be run as the SYSTEM account not the running of the job when the event is detected. So I am back in the same boat - having the specify credentials to run a job.