TDP Exchange mailbox store exclusion

Instead of just one line like this:
tdpexcc backup * full

have mulitple lines like this:
tdpexcc backup <STORE_1_NAME> full
tdpexcc backup <STORE_2_NAME> full
tdpexcc backup <STORE_3_NAME> full

Full Scripts We Use:

@ECHO OFF

rem  ==================================================================

rem   Sample Command File – excfull.smp

rem

rem   Sample command file containing commands to do a scheduled

rem   full backup of the Microsoft Exchange Server databases to

rem   TSM storage.

rem

rem   This file is meant to be executed by the TSM central scheduler

rem   in response to a defined schedule on the TSM server.

rem

rem   Complete paths must be given for all file names and non-system

rem   commands.

rem

rem   Copy this file to excfull.cmd and edit it to match your

rem   local environment.

rem

rem  ==================================================================

 

rem  ==================================================================

rem   Replace “X:” with the drive where Data Protection for Exchange

rem   is installed.

rem  ==================================================================

 

set exc_dir=”c:Program FilesTivoliTSMTDPExchange”

 

cd /d %exc_dir%

 

rem  ==================================================================

rem   The 2 lines below put a date and time stamp in a log file for

rem   you.

rem

rem   Note: You can change “excfull.log” to whatever you prefer.

rem  ==================================================================

echo Current date is: >> excfull.log

date /t < NUL >> excfull.log

echo Current time is: >> excfull.log

time /t < NUL >> excfull.log

 

rem  ==================================================================

rem   Now call the command line to do the full backup:

rem

rem   Note: You can change “excsch.log” to whatever you prefer.

rem  ==================================================================

rem tdpexcc backup * full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%log%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

 

tdpexcc backup “SG A-A” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

tdpexcc backup “SG B-J” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

tdpexcc backup “SG K-N” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

tdpexcc backup “SG MCM” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

tdpexcc backup “SG Mid Mgmt” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

tdpexcc backup “SG O-R” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

tdpexcc backup “SG S-S” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

tdpexcc backup “SG T-Z” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

tdpexcc backup “SG Top Mgmt” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

tdpexcc backup “TOP Mgmt” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

tdpexcc backup “MCM” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

tdpexcc backup “Mid Mgmt” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

tdpexcc backup “Second Storage Group” full /tsmoptfile=dsm.opt /logfile=excsch.log /excserver=nucnomx >> %exc_dir%logs%DATE:~7,2%-%DATE:~4,2%-%DATE:~-4%-excfull.log

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.