Skip to main content

Post command - variable for status of backup?

Thread needs solution

Is there any mechanism to communicate into a post command the if the actual acronis backup succeeded or failed?
If a backup succeeded than the post command I want to execute will be different that the post command I need to execute if the acronis backup failed.

Obviously an"if" statement in the post script I call can handle the my needs but I need some variable/param for that "if" statement to test against.

Does anyone know how this might be done, I have looked at the help documents and did not see this addressed.
Running TI_2010

0 Users found this helpful

oracledba, your patience is commendable ;-) I lost mine just reading your IM session!

I wonder if 2011 is any better? Since they dropped the messenger support in 2010 I hobbled together a batch file and freeware so that I have a message on my screen each morning indicating the backup completed. I too was hoping I could word the message according to %errorlevel% or something else. Ideally nothing would appear unless an error occurred, at which point a pop up would be waiting on my screen bringing this fact to my attention. Innovative idea huh!

After reading your session above, it seems that if my message appears, then by definition the backup succeeded. This is confirmed by the fact that one of my pop ups was missing this morning. After investigating the log I noticed that the disk had run out of space.

So, now I know to use the pop ups as a success indicator and to investigate any missing pop ups by starting up TIH and examine the logs.

The net send replacement I'm using is at http://www.winsentmessenger.com/innocenti.

Actually, that link is to the utility that receives the messages and pops them up on the screen - where they stay until I review them and close the window.

The utility that does the equivalent of net send is http://www.winsentmessenger.com/sent/.

Dear rkh:

Thank you for "hobbling" up a working message box. I have not looked at your links to see how you did it.
Since you know the mechanics of your code let me ask you if the following is easily acheived/possible

* Change your hobbled up messaging to be executed as an acronis PRE task.
We would change the message to read "Acronis backup currently under way (or has failed)"
* We woudl write a new batch script to close the above message window
The closing of this message window could be done either gracefully through code
or
with a hammer by killing the assoicated windows process for it.
It really doesn't matter as how we make the message box go away just that it does.
This 2nd batch script would be called as an Acronis POST task.

The intent is we would schedule our backups to run UN-attended every night at 2am.
So at 2am while we are sleeping our PC gets a popup that reads
"Acronis backup currently under way (or has failed)"

This popup would remain on the PC for the duration of the backup.
if the backup was successful then the post task would dismiss the box for us.

What the above means is each morning when we walkup to the PC
the only time you should ever see a message box is if there was an error with the backup.
for those that like the warm fuzzy of a "success popup" this script could easily be enhanced to not only kill/dismiss the original msg box but to also throw up a new box that that says "Acronis backup has completed"

My question for you is the above easily acheived?
if so I am willing to help you or test for you.

I like your idea. Using the command shell that I have (Take Command) it would probably be easy to implement. Even better is that their light/free version probably has the necessary functionality - http://www.jpsoft.com/tccledes.htm - so others could benefit without having to invest in their high end version, $99. In about a week I'll tinker with this idea.