Knowledge Base

NTBackup Command Needs Both /L and /E for Exceptions Only Log

Article ID: 111843

Article Last Modified on 11/1/2006


APPLIES TO


This article was previously published under Q111843

SUMMARY

To create a Backup log file from a command line with just Exceptions (using the /E switch), use both the /L and /E switches, as in the following example:

NOTE: If you have installed U.S. Service Pack 2 (or later) for Windows NT and Windows NT Advanced Server version 3.1, you cannot create a Backup log file.
   ntbackup backup c:\test /a /v /d "test" /l "c:\test.log" /e
If you format the command incorrectly, as in the following example, no Log file is created and no error messages are generated:
   ntbackup backup c:\test /a /v /d "test" /l /e "c:\test.log"
NOTE: The /E switch also lists the beginning and ending commands, plus a list of the backed-up directories. It does not list any files unless there are Exceptions.

For more information on command line switches with NTBackup, see page 490 of the Windows NT Advanced Server "System Guide" or page 392 of the Windows NT "System Guide."

Additional query words: prodnt

Keywords: KB111843