NT Backup Solution

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.
@echo off

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
del c:logbackup.log
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
"C:logbackup.log"
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.

This was first published in November 2000

Dig deeper on Lotus Notes Domino Administration Tools

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.uk

Close