Ever had troubles with your backup software after you install a new service pack? Here is a simple batch file used...
in conjunction with the scheduler and Windows NT backup that will reliably backup your Notes servers.
This batch file will create 5 logs for your backups and delete the oldest one. One caveat is that NT will not write anything to tape that was created with another backup program.
copy logbackup.004 logbackup.005
copy logbackup.003 logbackup.004
copy logbackup.002 logbackup.003
copy logbackup.001 logbackup.002
copy logbackup.log logbackup.001
echo Backup Started > c:logdebug.log
net time > c:logdebug.log
NTBACKUP BACKUP C: D: /v /b /d "Server Name Daily Backup" /t NORMAL /l
net time > C:logdebug.log
echo ******************** > C:logdebug.log
REM In order for net time to work you must have a date/time server
REM /v verifies the backup /b backups the registry /d gives the log a title /t is the type of backup and /l tells it to write it to a log file
After creating a batch file from the code above you will need to verify that the scheduler is running as a service and is set to automatic. Next you will need to schedule the backup with the "AT" command. You command llne from a DOS prompt should look like:
AT 01:00 /every:M,Tu,W,Th,Fr "Backup.bat" (This will run the backup.bat file located on the root everyday)
To verify that the AT command took place just type AT at the command line and it will give you a list of things that are scheduled.