?
Solved

NTBackup not creating .log file using scheduled task

Posted on 2005-03-25
3
Medium Priority
?
1,313 Views
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.

Eddie

0
Comment
Question by:EddieGomez
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 74

Accepted Solution

by:
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 @
TechSoEasy
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

741 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