Exchange Recovery Demonstration


Login  the Exchange server from the BOS server - it is recommended to map the automatic connection with the fully authorized user in the Domain Asministrator server.


Create  a new BOS user with name and password competiblt to this connection.


Create a new session in BOS - for example Exchange


Define  activating session as (Run As) with the same user


Create a library un the Exchange server - for example C:\ExchBack


Copy to that library the next files from the file that was downloaded from the site

-RemoteAt.exe

-RemoteAt.ini

-RemoteAt.txt

-ExchStart.bat

-ExchStop.bat


Edit the file RemoteAt.ini so it will fit the system:


[Settings]
ServerName="\\ExchServer"
SemFilename="\\ExchServer\C$\ExchBack\t.t"
DelayTime=1
MaxWaitTime=5


Edit the file ExchStop.bat so it will fit the system:


@Echo off
@echo Stopping Exchange services
@title Exchange services stopper
net stop "Microsoft Exchange Information Store"
net stop "Microsoft Exchange Management"
net stop "Microsoft Exchange MTA Stacks"
net stop "Microsoft Exchange Routing Engine"
net stop "Microsoft Exchange System Attendant"
@echo Waiting for services to stop
@Time /T
:: ********************** Edit this line *************************
:: The Script will wait for services to stop
:: Format (Start,Step,Count) (1 Second = about 500, 1 Minute = 30000)
@for /L %%i in (1,1,15000) do @title %%i
:: *********************************************************
@Time /T
@echo .
@title Exchange services stopper
@echo Services Stopper Finished
@echo .
@echo Creating semaphore file for BOS to start Backup
:: ********************** Edit this line *************************
@echo .>"C:\ExchBack\t.t"
:: *********************************************************
@echo Services Stopper Finished



Edit the file ExchStart.bat so it will fit the system:


@Echo off
@echo Restarting Exchange services
@title Exchange services starter
net start "Microsoft Exchange Information Store"
net start "Microsoft Exchange Management"
net start "Microsoft Exchange MTA Stacks"
net start "Microsoft Exchange Routing Engine"
net start "Microsoft Exchange System Attendant"
@echo Waiting for services to start
@Time /T
:: ********************** Edit this line *************************
:: The Script will wait for services to stop
:: Format (Start,Step,Count) (1 Second = about 500, 1 Minute = 30000)
@for /L %%i in (1,1,15000) do @title %%i
:: *********************************************************
@Time /T
@echo .
@title Exchange services starter
@echo Services Starter Finished
@echo .
@echo Creating semaphore file for BOS to finish Backup
:: ********************** Edit this line *************************
@echo .>"C:\ExchBack\t.t"
:: *********************************************************
@echo Services Starter Finished


Define in the backup session to backup the Exchange library in the server, for example:


\\ExchServer\D$\Program Files\Exchsrvr\*.*


It is recommended to backup activation libraries too:


\\ExchServer\C$\ExchBack\*.*


Define activation authorization to this command with the same user that was defined earlier.


Add the next commands to the session definitions:


Run Before:
"\\ExchServer\C$\ExchBack\RemoteAt.exe "C:\ExchBack\ExchStop.bat""
Run After:
"\\ExchServer\C$\ExchBack\RemoteAt.exe "C:\ExchBack\ExchStart.bat""


Run the session as a timed process and test thoroughly all the events in the servers' screen.