Re: NTBackup empty log files




"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.


.



Relevant Pages

  • Re: Backup Utility Not Working
    ... Now use the Task Scheduler to schedule c:\DL.bat under the Scheduler ... a backup operation to this drive from two different users on this ... You should now examine both the Task Scheduler log file and the latest ... backup report file. ...
    (microsoft.public.windowsxp.general)
  • Re: Ntbackup not function properly
    ... Can I have a copy of your batch file cause I want to learn the batch file. ... there is a command for task scheduler. ... >> the backup file, the result is not successful, many application cannot ... > Backup cycles through 10 log files, ...
    (microsoft.public.windowsxp.general)
  • Re: back not backing up
    ... The purpose of the batch file was to run your backup ... > command in a closely controlled environment. ... > Now open the task in the Task Scheduler that performs the ...
    (microsoft.public.windows.server.general)
  • Re: Help with NTBACKUp on windows 2003 stan.
    ... Now open the Task Scheduler and grab the command lines ... that were placed into the various backup jobs, ... However when i run the batch file it works. ...
    (microsoft.public.windows.server.general)
  • Re: XP Task Scheduler
    ... administrator. ... You need to examine three logs for your backup jobs: ... The log file maintained by the Task Scheduler. ...
    (microsoft.public.windowsxp.general)