have enabled the "Allow multiple data streams" on policies and I want the parent job send email and not jobs son.
Have enabled the "Allow multiple data streams" on policies and I want the only "father job" send email and not jobs son.
Every "Backup Selections" successfully accomplished I get an email, and I only receive an email from Main Job (father)
For example:
First email "son":
From: root <root@brspomas01.AS.GlobalAD.local>
To: fernando.santos@ingredion.com
Backup on client brcoem01 for user root by server brspomas01 succeeded.
Policy = BRCOEM01
Schedule = INCR-BRCOEM01
File list
---------
/DAOS
Second email "son":
Backup on client brcoem01 for user root by server brspomas01 succeeded.
Policy = BRCOEM01
Schedule = INCR-BRCOEM01
File list
---------
/opt/ibm
And the "Father job"
From: root <root@brspomas01.AS.GlobalAD.local>
To: fernando.santos@ingredion.com
Backup on client brcoem01 for user root by server brspomas01 succeeded.
Policy = BRCOEM01
Schedule = INCR-BRCOEM01
File list
---------
/opt/ibm
/notesdata
/archive
/DAOS
That's the default script that comes with the install. You'll have to modify it to meet your needs.
The key is to use the "STREAM" veriable to check if it's the parent job, and then format the output the way you want to see it, and e-mail it to the appropriate address.
Be sure to keep a copy, or link to the actual script as when you upgrade or patch it may get overwritten and put back to the default.
If you need assistance with the scripts modification, you can contact me directly:
http://rotisory.spaldam.com/2013/07/mediapress-information-kit.html