Hi,


Thought that this solution might be useful to all those looking to create and manage a single log file for all of ntbackup's
activities, as was possible in NT4 The solution is provided by copying the text generated in each new backup log file to
another manually created log file every time an ntbackup command is executed.  You'll have to make a change
in the registry to reduce the number of log files generated by win2k from 10 to 1. That way the batch file only ever needs
to copy the info from the same file so you don't need to know the name of the latest log file generated by win2k.

1. Go to HKCU\Software\Microsoft\Ntbackup\Log Files\

2. Change the decimal value of Log File Count from 10 to 1.

3. In your batch file that executes the backup, place a line after the ntbackup command that will read something like this:
        type C:\Documents and Settings\%user%\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\backup01.log >>
        d:\BackupLogs\MainBackupLog.log

        where %user% is the name of the account under which the backup
        will run and d:\BackupLogs\MainBackupLog.log is the location in
        which you wish to store your own log file.

If you place this line after every ntbackup command that is executed within your main ntbackup batch file, it will copy all
the relevant information before it is overwritten by the following ntbackup.
Further commands can eventually automate the renaming of the MainBackupLog.log file to accomodate logging activities of
subsequent backup cycles.