BackupEventLog
Top  Previous  Next


Backups an event log

Use the "File" or the "Dir" checkbox in the NTinfo event log reader to read archived logs.

BackupEventLog
Machine ; EventLog ; BackupFilePath ; AddToBackupFileName

Machine
Name of machine on which to backup the log  

EventLog
Name of log to backup  

BackupFilePath
Full path to destination directory  

AddToBackupFileName
Files saved are automatically named with the syntax "machine,logname,xxx.evt", xxx=AddToBackupFileName.  
Use AddToBackupFileName for own comments / naming.  

Examples
1) Create a backup file of the application log on \\main01 in the c:\winnt directory of \\main011

BackupEventLog \\main01 ; Application ; c:\winnt\ ; %date%

2) Move the above file to the c:\ root of the machine on which NTreport is executed (It is not possible to directly create backup files on remote machines.)

DOS move "\\main01\admin$\main01,application,%date%.evt" c:\