# Backup Control File for Backup SMS Site Server task
# Systems Management Server (SMS) 2.5 Release
# Updated August 22, 2001
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#!!!! Modify only within the blocks designated with !!!!#
#!!!! !!!!#
#!!!! E d i t i n g A l l o w e d !!!!#
#!!!! !!!!#
#!!!! otherwise you are risking recovery when using the backup snapshot !!!!#
#!!!! created by this control file. !!!!#
#!!!! !!!!#
#!!!! When adding custom commands, make sure there is no "#" !!!!#
#!!!! (the comment character) at the front of the line. !!!!#
#!!!! !!!!#
#!!!! For detailed editing guidelines, refer to the "Backup and Recovery" !!!!#
#!!!! chapter in the "Administrator Reference." !!!!#
#!!!! !!!!#
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#!!!! The backup task FAILS if there are any syntax ERRORS in this file. !!!!!
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#---------#
[Tokens]
#---------#
#----------------------------- Default Tokens -------------------------------#
# #
# Default tokens and their values: #
# ------------------------------------------- #
# SITE_CODE (3 character site code) #
# SITE_SERVER (site server) #
# SITE_DB_SERVER (site's site system running SQL server) #
# PROVIDER_SERVER (server hosting SMS provider) #
# SITE_SERVER_ROOT_DIR (SMS root directory on site server) #
# SITE_DB_SERVER_ROOT_DIR (site database root directory on the site system#
# running SQL server) #
# SITE_DB_NAME (site database name) #
# SITE_BACKUP_DESTINATION (BackUP Destination\<SITE_CODE>Backup) #
# (Backup Destination = "Backup Destination" value#
# from the "Backup SMS Site Server Properties" #
# dialog box in the Administrator console) #
# #
# #
# Default destination tokens: #
# #
SITE_SERVER_DEST = %SITE_BACKUP_DESTINATION%\SiteServer
SITE_DB_SERVER_DEST = %SITE_BACKUP_DESTINATION%\SiteDBServer
PROVIDER_SERVER_DEST= %SITE_BACKUP_DESTINATION%\ProviderServer
#----------------------------------------------------------------------------#
#*****************************************************************************
# *
#*-*-*-*-*-*-*-*-*-*-*-* E d i t i n g A l l o w e d *-*-*-*-*-*-*-*-*-*-*-*
# *
# Custom tokens syntax: *
# <Token>=<Token Value> *
# *
# Example: *
# MyToken=FOO *
# Where MyToken is the token variable and FOO is its value *
# *
# *
# Add custom Tokens here: *
#*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
# *
#*****************************************************************************
#---------#
[Stop]
#---------#
#---------------------------- Default Services -------------------------#
# #
# The following basic services are stopped by default #
# #
# service \\%SITE_SERVER%\SMS_SITE_COMPONENT_MANAGER #
# service \\%SITE_SERVER%\SMS_EXECUTIVE #
# service \\%SITE_DB_SERVER%\SMS_SQL_MONITOR #
#----------------------------------------------------------------------------#
#*****************************************************************************
# *
#*-*-*-*-*-*-*-*-*-*-*-* E d i t i n g A l l o w e d *-*-*-*-*-*-*-*-*-*-*-*
# *
# Commands syntax : *
# service <service name> *
# exec <executable name> *
# sleep <seconds> *
# *
# Examples: *
# service \\%SITE_DB_SERVER%\SMS_SQL_MONITOR *
# *
# exec runme.exe *
# exec runme *
# *
# sleep 30 (Maximum 900 sec = 15 minutes) *
# *
# Add custom commands here: *
sleep 30
# *
# *
# *
#*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
# *
#*****************************************************************************
#---------#
[Tasks]
#---------#
# DO NOT MODIFY - Default File backup tasks - DO NOT MODIFY:#
#-------------------------------------------------------------
file %SystemDrive%\SMSSetup.lo* %SITE_SERVER_DEST%\
file %SITE_SERVER_ROOT_DIR%\bin %SITE_SERVER_DEST%\SMSServer\bin
file %SITE_SERVER_ROOT_DIR%\inboxes %SITE_SERVER_DEST%\SMSServer\inboxes
file %SITE_SERVER_ROOT_DIR%\Logs %SITE_SERVER_DEST%\SMSServer\Logs
file %SITE_SERVER_ROOT_DIR%\data %SITE_SERVER_DEST%\SMSServer\data
#*****************************************************************************
# *
#*-*-*-*-*-*-*-*-*-*-*-* E d i t i n g A l l o w e d *-*-*-*-*-*-*-*-*-*-*-*
# *
# Command syntax : *
# *
# file <source> <destination> *
# *
# For examples, see default backup tasks. *
# *
# Add files to back up here: *
# *
#*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
# *
#*****************************************************************************
# DO NOT MODIFY - Default Configuration backup tasks - DO NOT MODIFY:#
#----------------------------------------------------------------------
machinfo %SITE_SERVER% %SITE_SERVER_DEST%\SMSbkSiteConfigNTData.txt
machinfo %SITE_DB_SERVER% %SITE_DB_SERVER_DEST%\SMSbkSQLConfigNTData.txt
#*****************************************************************************
# *
#*-*-*-*-*-*-*-*-*-*-*-* E d i t i n g A l l o w e d *-*-*-*-*-*-*-*-*-*-*-*
# *
# Command syntax : *
# *
# machinfo <source> <destination> *
# *
# *
# For examples, see default backup tasks. *
# *
# *
# Add configuration to back up here: *
# *
#*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
# *
#*****************************************************************************
# DO NOT MODIFY - Default Registry backup tasks - DO NOT MODIFY:#
#----------------------------------------------------------------------
# Site Server
reg \\%SITE_SERVER%\HKEY_LOCAL_MACHINE\Software\Microsoft\NAL
%SITE_SERVER_DEST%\SMSbkSiteRegNAL.dat
reg \\%SITE_SERVER%\HKEY_LOCAL_MACHINE\Software\Microsoft\SMS
%SITE_SERVER_DEST%\SMSbkSiteRegSMS.dat
reg \\%SITE_SERVER%\HKEY_LOCAL_MACHINE\Software\Microsoft\SNMP_EVENTS
%SITE_SERVER_DEST%\SMSbkSiteRegSNMPEvents.dat
reg \\%SITE_SERVER%\HKEY_LOCAL_MACHINE\Software\Microsoft\Updates
%SITE_SERVER_DEST%\SMSbkSiteRegAppHotfix.dat
reg `\\%SITE_SERVER%\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Hotfix`
%SITE_SERVER_DEST%\SMSbkSiteRegOSHotfix.dat
# Site SQL Server
reg \\%SITE_DB_SERVER%\HKEY_LOCAL_MACHINE\Software\Microsoft\MSSQLServer
%SITE_DB_SERVER_DEST%\SMSbkSQLRegMSSQLServer.dat
reg \\%SITE_DB_SERVER%\HKEY_LOCAL_MACHINE\Software\Microsoft\SMS
%SITE_DB_SERVER_DEST%\SMSbkSQLRegSMS.dat
# Presently, the Provider Server is either the Site or Site SQL Server. This
# registry key has therefore already been backed up.
reg \\%PROVIDER_SERVER%\HKEY_LOCAL_MACHINE\Software\Microsoft\SMS
%PROVIDER_SERVER_DEST%\SMSbkProvRegSMS.dat
#*****************************************************************************
# *
#*-*-*-*-*-*-*-*-*-*-*-* E d i t i n g A l l o w e d *-*-*-*-*-*-*-*-*-*-*-*
# *
# Command syntax : *
# *
# reg <source> <destination> *
# *
# *
# For examples, see default backup tasks. *
# *
# Add registry keys to back up here: *
#*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
# *
#*****************************************************************************
# DO NOT MODIFY - Default SQL Data backup tasks - DO NOT MODIFY:#
#----------------------------------------------------------------------
smssqlinfo %SITE_DB_SERVER_DEST%\SMSbkSQLConfigSQL
sitedbdump %SITE_DB_NAME% %SITE_DB_SERVER_DEST%\SMSbkSQLDBsite.dat
#*****************************************************************************
# *
#*-*-*-*-*-*-*-*-*-*-*-* E d i t i n g A l l o w e d *-*-*-*-*-*-*-*-*-*-*-*
# *
# Command syntax : *
# *
# Smssqlinfo <destination> *
# sitedbdump <source> <destination> *
# *
# For examples, see default backup tasks. *
# *
# Add SQL data to back up here:
# *
#*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
# *
#*****************************************************************************
#---------#
[Start]
#---------#
#*****************************************************************************
# *
#*-*-*-*-*-*-*-*-*-*-*-* E d i t i n g A l l o w e d *-*-*-*-*-*-*-*-*-*-*-*
# *
# Commands syntax : *
# *
# service <service name> *
# exec <executable path and name> *
# sleep <seconds> *
# *
# Examples: *
# service \\%SITE_DB_SERVER%\SMS_SQL_MONITOR *
# exec c:\exec_full_path\runme.exe *
# sleep 30 *
# *
# Add custom commands here : *
# *
#*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
# *
#*****************************************************************************