NTBackup not creating .log file using scheduled task

Posted on 2005-03-25
Medium Priority
Last Modified: 2007-11-27
I am absolutely stumped and frustrated on this.  Would really appreciate some insight on this.

We're backing up some folders to a DAT 4mm tape drive using the built-in NTBackup.exe application provided with Windows 2003 Server.

I have a backup job created with the backup wizard which has all the selected folders, with the proper switches selected (i.e. Summary log file requested).  I have that job scheduled to run every night.  That means the job is entered into the "Scheduled Tasks" folder to run automated.

If I run the job interactively through the NTBackup GUI Front-end, a job log is created exactly the way I want it.

When the job runs automatically via the "Scheduled Tasks" or even if I manually start the job via the "Scheduled Tasks" window, the job will run for the same amount of time but no log gets created.  So I am not able to determine at a glance whether or not any files were backed up or whether the backups completed successfully.

Here is the command script:

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\Administrator.AC\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Nightly Backups.bks" /n "Nightly Backups" /d "Nightly Backups" /n "Nightly Backups" /v:yes /r:no /rs:no /hc:on /m normal /j "Nightly Backups" /l:s /p "4mm DDS" /um

I've recreated the backup file several times and reschedule it to no avail.  This is extremely frustrating.  I know the NTBackup program is not the best method compared to Veritas but we have a very low backups requirement in this particular case.  Nonetheless, it should not be this difficult to simply have a log created.

I have another job that runs which also uses the tape drive and that particular job does create the log.  It has the exact same switches as the script listed above.

What gives?  Any advice would be greatly appreciated.


Question by:EddieGomez
1 Comment
LVL 74

Accepted Solution

Jeffrey Kane - TechSoEasy earned 2000 total points
ID: 13636270
Whether you allow your task to run automatically or start it maually, it's still running the same command script (as opposed to when you use the GUI front-end and a different command script is generated) so you will get teh same results...   Try using a large "L" instead of the lower case one. The lower case "l" was discontinued after NT4 --- it was used for the logfile name... but later versions use a capital L for logfile TYPE.  

Here's a list of the switches:  http://www.tekweb.dk/manuals/command/COMMANDS/N/NTBACKUP.HTM

Jeff @

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
Get the source code for a fully functional Access application shell with several popular security features that Access VBA application developers desire, but find difficult or impossible to figure out how to code. You get the source code for managi…
Suggested Courses
Course of the Month4 days, 23 hours left to enroll

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question