Re: NTBackup empty log files
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Sun, 7 May 2006 00:02:32 +1000
"ZoppNaf" <exxo@xxxxxxxxxxx> wrote in message
news:1146923115.347676.146980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am in a situation in which my customer cannot afford to buy third
party backup applications (backup Exec, openview etc..) and therefore
need to reliably backup windows 2003 server STD edition (+ SP1 + all
damn patchs and updates) using the windows nt backup. Key word
"reliably", something which ntbackup seems to be not... Please note
the following about my setup.
1. Configured win nt backup using GUI., created job and schedule
2. extracted command line from ntbackup gui and create a batch file.
3. Batch file as follows.
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and
Settings\Administrator\Local Settings\Application
Data\Microsoft\Windows NT\NTBackup\data\Daily Backup.bks" /d "daily"
/v:yes /r:no /rs:no /hc:on /m normal /j "Schedule" /l:s /p "Travan" /um
4. Created a scheduled task to run batch file.
NOTED: Scheduled job starts.. takes hours .. finish .. .. results in an
empty log
My customer is crying out loud for a lousy log. WHY is the log EMPTY?
I read all kind of articles, forums and wasted hours, destroyed a
couple of keyboards and killed a couple of mouse doing research on this
thing. Result--> inconclusive explanations, everyone seems to have the
problem but none really have a solution. Can someone point me to the
correct direction can someone please help?
Thank you,
ntbackup.exe has its moments but reliable it is. I suspect
you're looking at the wrong log file. Modify your batch
file like so:
@echo off
echo %date% %time% Start of task > c:\test.log
echo User=%UserName% >> c:\test.log
ntbackup.exe backup "@C:\Documents and Settings\Administrator\Local
Settings\Application
Data\Microsoft\Windows NT\NTBackup\data\Daily Backup.bks" /d "daily"
/v:yes /r:no /rs:no /hc:on /m normal /j "Schedule" /l:s /p "Travan" /um
echo %date% %time% End of task >> c:\test.log
Now do this:
- Use the Task Scheduler to run the modified batch file.
- Examine c:\test.log
- Check for log files in the correct "User" profile folder,
as shown in c:\test.log.
- Check the Task Scheduler log file for start & end times.
.
- References:
- NTBackup empty log files
- From: ZoppNaf
- NTBackup empty log files
- Prev by Date: NTBackup empty log files
- Next by Date: Network Problems
- Previous by thread: NTBackup empty log files
- Next by thread: Network Problems
- Index(es):
Relevant Pages
|