Skip to main content

Acronis Backup & Recovery 11: Running a Backup Task via a Shortcut

Thread needs solution

Hello,
I'd like to run Acronis Backup & Recovery 11 via a shortcut at the desktop. I found an article about "Acronis Backup & Recovery 10: Running a Backup Task via a Shortcut" but I didn' t get this working. Is there another setup for Acronis Backup & Recovery 11?
Thanks

0 Users found this helpful

This is a very complicated procedure:
First of all you have to find out the ID of your task you want to execute:
- Export your task to an xml-file
- open the xml file with an editor. At the top of the screen you see an entry <ID> and </ID>
Between you see a long number, e.g. 4B9314F6-5429-4801-9DE5-32BDBBA4C4D4
This is the ID of the plan.

Now you need the correspondig task id to that plan. open a command prompt and type
acrocmd list tasks --output=raw > c:\tasks.txt
This will create a file c:\tasks.txt with the ABR11-tasks on your local computer. Open this file tasks.txt
You'll see something like this (german):

Einfacher Validierungs-Task    idle    not run yet        User@Computer    B05E5DF0-6C00-44E6-BA10-47182AA07078    4B9314F6-5429-4801-9DE5-32BDBBA4C4D4
Voll-Backup ('Einmal später' Schema)    idle    stopped    17.09.2011    User@Computer    E5C913C1-904D-45CB-8879-1827F6B5E436    6716F9AE-4E9B-4B8B-9973-B6D4669DD70B
Voll-Backup ('Einmal später' Schema)    idle    succeeded    17.09.2011    User@Computer    FA0B0B2C-BE81-4060-A6EF-61698EB848DB    5F88F4C5-A04B-495E-9AB7-4C9509634CCC
Voll-Backup ('Einmal später' Schema)    idle    succeeded    15.09.2011    User@Computer    FBFF8974-BDEF-4A20-899A-7465868EB15A    4B9314F6-5429-4801-9DE5-32BDBBA4C4D4

Now you have to search the above plan ID 4B9314F6-5429-4801-9DE5-32BDBBA4C4D4
You'll find it twice, once for Full Backup (Voll-Backup) and for Simple Validation task (Einfacher Validierungs-Task). If you want a full backup you'll need the ID that is shown left from the plan ID: The correct ID then is FBFF8974-BDEF-4A20-899A-7465868EB15A
This ID is the right one for full backup and then you can create a new shortcut with that ID:

"C:\Program Files (x86)\Acronis\CommandLineTool\acrocmd.exe" run task --id=FBFF8974-BDEF-4A20-899A-7465868EB15A

I tried it that way and it works!
Perhaps there is an easier way to do it but i didn't found one!

To Acronis: It would be very nice if the ID of the tasks could be seen in its properties to easy manage them in batch files!

This solution is just what I am looking for. I tried it though with B&R 11.5 and the acrocmd command, although it does something, doesn't seem to create the file.

Any ideas what might be going on here to prevent the file being created?

Hello Martyn,

please take a look at this article which illustrates an easier method.

Thank you.

Thanks Anna for that.

It runs but gives an Access is denied error message. The User has admin rights but I don't know how to overcome this.

Martyn, does the backup plan itself work if you run it from the console?

Hello Martyn,

please check if setting user credentials in backup plan changes the situation.

If it doesn't please clarify when exactly you get error message "Access denied" (attach screenshot if possible).

Thank you.

Thanks Anna. Adding credentials didn't make any difference. It just flashes on the screen and disappears, so there is no error message to see. However when I run the .bat file as Administrator it seems to work.

Is there a way of changing the .bat file to reflect that?

Hi Martyn,

if you have UAC enabled, please try to disable it and check if it helps.

Thank you.