====== Exchange install/configuration ======
Install order of the packages
* Spectrum Protect Backup client (BAC)
Configure Windows services:
* On the client GUI go to the wizard
* configure TSM web client
* configure TSM scheduler with acceptor
Install TDP exchange
* SetupFCM.exe as administratror
Now you 'd see the TDP exchange icon on the desktop
dsm.opt into TDPexchange folder:
NODename exchsrv1
CLUSTERnode No
COMPRESSIon Off
PASSWORDAccess Generate
*======================================================================*
* TCP/IP *
*======================================================================*
COMMMethod TCPip
TCPPort 1500
TCPServeraddress TSMsrv
TCPWindowsize 63
TCPBuffSize 32
SCHEDMODE Prompted
SCHEDLOGRetention 14
TCPCLIENTADDRESS 10.10.10.70
TCPCLIENTPORT 1602
INCLUDE "*\...\*" MC_EXCHANGE
HTTPport 1581
start a scheduler for exchange that you 'll start with exchange rights using file from TDPexchange
=== Register nodes ===
* backup_client_node: local node for Windows server able to to a snapshot VSS (service started as local administrator)
* data_protection_node: node that will be used to do a backup/restore of exchange application (service started with Exchange rights)
* DAG_node: node that 'll store all backups from all Exchange servers using a single name
register node backup_archive_client_node password
userID=backup_archive_client_node
register node data_protection_node password userID=data_protection_node
grant proxynode target=data_protection_node agent=backup_archive_client_node
register node DAG_node password userID=DAG_node
grant proxynode target=DAG_node agent=backup_archive_client_node
grant proxynode target=DAG_node agent=data_protection_node
PS C:\Program Files\TSM-EXCH\TDPExchange> .\tdpexcc.exe query tsm * incr /all /dagnode=dag2019 /tsmoptfile=dsm.opt
**tdpexc.cfg**
LOCALDSMAgentnode
DAGNODe dag2019
VSSPOLICY * * * * MC_EXC
MOUNTRW No
LASTPRUNEDate 12/20/2022 01:10:09
**dsm.opt** (exchange)
NODENAME exch_TDP
PASSWORDACCESS GENERATE
TCPSERVERADDRESS ispprod
TCPPORT 1500
HTTPport 1581
LARGECOMMBUFFERS YES
TCPNODELAY YES
TCPWINDOWSIZE 255
TCPBUFFSIZE 512
**excfull.cmd**
@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 ==================================================================
set exc_dir="C:\Program Files\TSM-EXCH\TDPExchange"
cd /d %exc_dir%
set exc_log_global="C:\LogFiles\TSM-EXCH\excfull.log"
set exc_log="C:\Tools\Tivoli\excfull.log"
echo Current date is: > %exc_log%
date /t < NUL >> %exc_log%
echo Current time is: >> %exc_log%
time /t < NUL >> %exc_log%
tdpexcc backup * full /tsmoptfile=dsm.opt /EXCLUDEDAGPASSIVE /logfile=excsch.log /SKIPINTEGRITYCHECK >> %exc_log%
set RC=%ERRORLEVEL%
echo --------------------- >> %exc_log%
echo Return code was %RC% >> %exc_log%
echo ===================== >> %exc_log%
echo Current date is: >> %exc_log%
date /t < NUL >> %exc_log%
echo Current time is: >> %exc_log%
time /t < NUL >> %exc_log%
type %exc_log% >> %exc_log_global%
powershell.exe C:\Tools\Tivoli\listbackup.ps1
exit %RC%
**listbackup.ps1**
cd "C:\Program Files\TSM-EXCH\FlashCopyManager"
import-module .\FmModuleExc.dll
import-module .\FmModuleFs.dll
import-module .\FmModuleMMC.dll
import-module .\FmModuleSQL.dll
Get-DpExcBackup|export-csv -NoTypeInformation -LiteralPath "C:\LogFiles\Tsm-EXCH\backuplist.csv"