Where to find the backup log file

  • Thread starter Thread starter krygim
  • Start date Start date
K

krygim

Where can I find the log file for NTBackup in a W2k server? I am going to
write a VBSript to email the log file to me after NTBackup is completed.



I can view the log by selecting the "Report... " from the Tools menu of the
NTBackup UI. However I was not able to find corresponding log files in disk.
(In a Win2003 server, the login files are found in "C:\Documents and
Settings\LoginName\Local Settings\Application Data\Microsoft\Windows
NT\NTBackup\data")



Thanks in advance!

KM
 
Where can I find the log file for NTBackup in a W2k server? I am going to
write a VBSript to email the log file to me after NTBackup is completed.



I can view the log by selecting the "Report... " from the Tools menu of the
NTBackup UI. However I was not able to find corresponding log files in disk.
(In a Win2003 server, the login files are found in "C:\Documents and
Settings\LoginName\Local Settings\Application Data\Microsoft\Windows
NT\NTBackup\data")
That is the location in W2K too. Try doing a search for backup*.log in
Documents and Settings.

Cheers,

Cliff
 
krygim said:
Where can I find the log file for NTBackup in a W2k server? I am going to
write a VBSript to email the log file to me after NTBackup is completed.



I can view the log by selecting the "Report... " from the Tools menu of the
NTBackup UI. However I was not able to find corresponding log files in disk.
(In a Win2003 server, the login files are found in "C:\Documents and
Settings\LoginName\Local Settings\Application Data\Microsoft\Windows
NT\NTBackup\data")



Thanks in advance!

KM

You will find up to 10 backup files in the location you nominated.
Below is a batch file that will pick the latest file. It will also convert
the file's unicode format to standard ASCI, thus reducing the size
of the file by half.

set Loc=C:\Documents and Settings\%UserName%\Local Settings\Application
Data\Microsoft\Windows NT\NTBackup\data
echo F | xcopy /d "%Loc%\*.log" "%temp%\Backup.tmp"
type %temp%\Backup.tmp > "%temp%\Backup.log"

You can now use one of the many public domain send programs
such as mailto.exe, sendmail.exe or blat.
 
Yes, my careless mistake! I found the folder after showing all hidden files
and folders.

Thanks!
KM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top