Submitted By: Phil Collett

Creates a backup settings file.

Visual Basic
Edit|Remove
Rem ExchangeFull.bat
@echo off 
:: Set Variables 
set Today=%Date:~4,2%-%Date:~7,2%-%Date:~10,4% 
set fileName=Exchange
set dDay=Monday
set BackupFolder=E:\backups\exchange
set BackupFile=%BackupFolder%\%dDay%\%fileName%(%dDay%)Full.bkf
set JobName=%Today% Full InfoStore Backup 
set Description=Exchange Info Stores %Today% 
:: Back up Files and Shares Incrementally
C:\WINNT\system32\ntbackup.exe backup "@C:\batch\Exchange\ExchangeMondayFull.bks" /n "Exchange Full %Today%" /d "%Description%" /v:yes /r:no /rs:no /hc:off /m normal /j "%JobName%" /l:s /f "%BackupFile%"