Skip to main content

Post Command Variables??

Thread needs solution

I wish to implement the Pre/Post commands for my backup plan.

When I use the Post Command specifically, are there any variables available to send as arguments to my script?

Similar to the %subject% variable in the Email Notification feature. Is there a variable that is associated with backup plan that can be sent to a script? Something containing the details of the success/failure of the task?

0 Users found this helpful

Hi David,

I just opened my ABR10 (which version are you refering to?) and opened the advanced options -> pre-/post- commands.
There you can press edit and a popup comes up where you define which file to execute. There is also a field for arguments.

So the answer is: yes, you can.

Regards, Gerald

Right. So I have ABR11 and sending arguments to my script isn't the issue. The issue is how would I send a success or fail message to my script? I assume that Acronis will execute my post script regardless of the task succeeding or failing. I want to either: A. Execute the script only upon successful backup. B. Execute the script regardless, but send a message with details of the backups success or failure.