ttrinh7974
ADSM.ORG Member
Here's the script to run daily backup, how do I incorporate the daily email notification send from this script?
I can kick off a manual email after the backup is complete but not sure how to incorporate it to send it daily.
****
pushd .
cd /d "D:\Program Files\Tivoli\TSM\TDPExchange"
set rc=0
tdpexcc query tdp 2>&1
if %errorlevel% neq 0 set rc=%errorlevel%
tdpexcc query tsm 2>&1
if %errorlevel% neq 0 set rc=%errorlevel%
tdpexcc query exchange 2>&1
if %errorlevel% neq 0 set rc=%errorlevel%
tdpexcc backup * incr /EXCLUDEDAGACTIVE /tsmoptfile=dsm.opt /SKIPINTEGRITYCHECK
rem tdpexcc backup * 2>&1
rem if %errorlevel% neq 0 set rc=%errorlevel%
popd
exit %rc%
I can kick off a manual email after the backup is complete but not sure how to incorporate it to send it daily.
****
pushd .
cd /d "D:\Program Files\Tivoli\TSM\TDPExchange"
set rc=0
tdpexcc query tdp 2>&1
if %errorlevel% neq 0 set rc=%errorlevel%
tdpexcc query tsm 2>&1
if %errorlevel% neq 0 set rc=%errorlevel%
tdpexcc query exchange 2>&1
if %errorlevel% neq 0 set rc=%errorlevel%
tdpexcc backup * incr /EXCLUDEDAGACTIVE /tsmoptfile=dsm.opt /SKIPINTEGRITYCHECK
rem tdpexcc backup * 2>&1
rem if %errorlevel% neq 0 set rc=%errorlevel%
popd
exit %rc%