Computing.Net > Forums > Windows Server 2003 > ntbackup log missing

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to get for your free account now!

ntbackup log missing

Reply to Message Icon

Name: datafast
Date: February 19, 2004 at 13:54:36 Pacific
OS: Windows 2003 Server
CPU/Ram: Dual Xeon 2Ghz, 2X512MB R
Comment:

On Windows 2003 Server, I am running ntbackup through a script file, scheduled to run each night using the AT command. The backups run fine, but no log file is created. When I run the batch file manually, a backup log is created. When I use the ntbackup wizard to create a backup job and run it from the console, the backup log is created. Has anyone run into this problem?
Thank you in advance for your assistance!

-Dan


Report Offensive Message For Removal

Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: February 20, 2004 at 14:01:56 Pacific
Reply:

Did you include this or maybe a slight typo?

Switch: /L:{f | s | n}
Description: Specifies the type of log file: f=full, s=summary, n=none (no log file is created).

Scripts can be run with read permission.
Guess it could not actually make a new log if it only has read permissions. Might have to include write permissions.

Dunno, just ideas/guesses.


From here.
http://support.microsoft.com/default.aspx?scid=kb;en-us;814583


Report Offensive Follow Up For Removal

Response Number 2
Name: ady_451
Date: February 21, 2004 at 06:08:56 Pacific
Reply:

got the same problem - no .log file created in server 2003 using command line ntbackup.exe! Worked fine in server 2000. Even searched the C:\ drive for any files containing the job name specified with the j/ switch but still nothing .. Any ideas anyone?


Report Offensive Follow Up For Removal

Response Number 3
Name: ady_451
Date: February 24, 2004 at 05:51:32 Pacific
Reply:

Just got it working, not entirely certain how but it does! The logs are stored here:

C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\

For some reason they don't show up in the search results on the C:\ drive for any files containing 'backup' or *.log. Also strange is that in Win2K they're stored in the 'Default User' profile instead. I am using command-line at.exe to schedule the batch script though...

If the above directory path doesn't exist you might try creating it manually & seeing if the .log files are created then. There was some non-capitalisation in my command-line. I also see that the /UM switch isn't mentioned in the Win2K3 Help, but without it my tapes don't mount from the command line backup, which now looks like this:

NTBACKUP.EXE backup C:\ /V:no /R:no /RS:no /HC:on /M normal /J "Server1" /L:s /P "miniQIC" /UM

It may well have been a capitalisation/syntax thing - that's the only change I've made...


Report Offensive Follow Up For Removal

Response Number 4
Name: ady_451
Date: February 26, 2004 at 04:45:41 Pacific
Reply:

Bit more feedback: when running my .bat file manually from the command line as administrator the backup logs are created here:

C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\

If I schedule the batch file to run using command line at.exe NO LOGS ARE GENERATED!

Schedule the .bat file to run using 'Scheduled Tasks' in Windows as Administrator the batch file runs & logs are generated in expected location:

C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\

Not sure why at.exe can't create the logs. Looking in 'Scheduled Tasks' in Windows my batch file runs as 'System' user if set using at.exe, and as Administrator if scheduled via Windows. Could well be a permission thing, although both users have full access to the log folder...

Annoying when this has been a tried & tested method of backing up our servers over the years, using both NT4 & Win2K. Guess I'll have to stop using at.exe



Report Offensive Follow Up For Removal
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: ntbackup log missing

Windows 2003 local logon issue www.computing.net/answers/windows-2003/windows-2003-local-logon-issue/1793.html

Delayed Write Error During Backup? www.computing.net/answers/windows-2003/delayed-write-error-during-backup/7323.html

Can not perform backup www.computing.net/answers/windows-2003/can-not-perform-backup/8911.html