Skip to main content

Backup with Script

Thread needs solution

Hey Ladys and Gents,

I configured a backup by Skript.
It looks like these:
"C:\Program Files\Common Files\Acronis\TrueImageHome\TrueImageHomeService.e xe" /script:"C:\Users\All Users\Acronis\TrueImageHome\Scripts\MeineSicherung .tib.tis"

It's working fine, but if the Backup is completed I don't get an status email or a netsend message.
If I start the task out of the Acronis True Image Home 11 software it's working fine.

Thanks folks

0 Users found this helpful

Florian:

That behavior is normal. Running a task from a script will back up fine, but it will not be able to send emails.

As forum contributor MVP Mark Wharton has stated, the not sending an email is a current "feature" of TI when a backup is created via a Desktop shortcut or Windows Scheduled Task.

However, there does appear to be an alternate solution which might(?) work. Use the SENDEMAIL_ON_FULL_BACKUP.BAT as a post processing task. This specific batch file is included as an extra in the Chain2Gen (C2G) helper program supplied free to Acronis TrueImage Home users by forum contributor MVP OracleDBA.

Extract below from the File_Inventory.pdf included in the C2G zip file available by clicking item # 3A inside my signature index below.

10. SENDEMAIL_ON_FULL_BACKUP.BAT
This script is supplied as a courtesy (by OracleDBA). Your welcome to use it (or not).
This script is intended to be used as post processing task to send yourself an email if ( and only if) the backup just made happened to be a new chain (full backup). This is different then the Acronis default email option of sending email upon success. A new chain might be a once or twice a month event for you whereas the backup itself occurs daily. There is a big difference between 365 emails a year versus 24 or less. You ARE expected to edit SENDEMAIL_ON_FULL_BACKUP.BAT and adjust the sendemail params to match your email account. The initial values provided are for GMAIL accounts.

Please check with your email provider/ISP as what smtp values your email account uses.
This batch file depends on a freeware program called "sendEmail".
You must download this file and extract the zip contents into our folder.
You may find/download the program from:
http://caspian.dotconf.net/menu/Software/SendEmail/
All testing has been done with “sendEmail” v156 with TLS supported ( a 1.4 MB download)