iamnoskcaj
Joined: 14 May 2008 Posts: 1
|
Posted: Wed May 14, 2008 1:03 pm Post subject: Problem with output of E-MAIL Script: E-Mail Notification |
|
|
I am using this script referenced on this page for a nightly backup job. I was VERY excited when I saw that someone took the time to write this, however I'm having a problem...
...The script runs successfully, and sends an email, but it NEVER outputs anything beyond what you see below in the Subject and Body of the email:
Quote: | Subject: Profile: FULL - Exit Code: 3
Body:
Profile: FULL
Exit Code: 3
Source: D:\accounting\ | d:\sys\
Target: W:\Accounting\ | w:\Sys\
User: Administrator
Computer Name: SERVER |
I REALLY want it to output like it does this example.
Quote: |
Result: OK
Profile: My Documents - backup
Exit Code: 0
Source: C:\Documents and Settings\User\My Documents\ | C:\Documents and Settings\User\Desktop\
Target: \\nas\winXP-ibm\My Documents\ | \\nas\winXP-ibm\Desktop\
User: Romeo
Computer Name: IBM-LAPTOP
Backup (Mirror Source to Target)
- Run Summary -
- Added Files - Source: 0 (0) - Target: 163 (16.73MB)
- Updated Files - Source: 0 (0) - Target: 11 (8.02MB)
- Deleted Files - Source: 0 (0) - Target: 0 (0)
- Added Subfolders - Source: 0 - Target: 14
- Deleted Subfolders - Source: 0 - Target: 0
- Archive Information -
- Files Added to Archive - Source: 0 (0) - Target: 10 (7.30MB)
- Files Deleted from Archive - Source: 0 (0) - Target: 2 (8.04KB)
- Final Status -
- Total Files - Source: 2,323 (1.98GB) - Target: 2,323 (1.98GB)
- Excluded Files - Source: 0 (0) - Target: 0 (0)
- Matched Files - Source: 2,323 (1.98GB) - Target: 2,323 (1.98GB)
- Single Files - Source: 0 (0) - Target: 0 (0)
- Newer Files - Source: 0 (0) - Target: 0 (0)
- Older Files - Source: 0 (0) - Target: 0 (0)
- Total Subfolders - Source: 224 - Target: 224
- Excluded Subfolders - Source: 0 - Target: 0
- Matched Subfolders - Source: 224 - Target: 224
- Single Subfolders - Source: 0 - Target: 0 |
I've read through the vbscript, and another page on your site that explains all the possible Script Variables , but the variable "VV_RUN_SUMMARY" is already setup to output. I'm pretty sure that's what I want.
The script actually looks like almost all the variables should output. Specifically, I need to see which files were copied/deleted, etc... in the body of the email. Of course it would be nice if the Exit Code was in plain English, instead of a code number, for Management to be able to read easier, but I could settle with this if I could get it to output the more useful parts of the logfile...specifically the files that were copied/deleted, and whether or not they were successful.
Any help would be GREATLY APPRECIATED!
Thanks! |
|