Re: NTbackup problem



This is the result:

di 22/05/2007 21:59:34,09 Before the backup command
User=administrator, Path=C:\Program Files\Windows Resource Kits\Tools
\;C:\Program Files\Support Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:
\WINDOWS\System32\Wbem
ErrorLevel of NTBackup=87
di 22/05/2007 21:59:37,17 End of ntbackup

Any idea what errorlevel 87 means?

Thanks,
Stijn.

On 19 mei, 14:12, "Pegasus" <I...@xxxxxxx> wrote:
<stijn.cald...@xxxxxxxxx> wrote in message

news:1179487653.362463.63910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx





Your script assumes that the backup log resides in the current
directory. This is incorrect. You should code your batch file
like so:

cd /d "%UserProfile%\Local Settings\Application Data\Microsoft\Windows
NT\NTBackup\data"
echo F | xcopy /d *.log" "%temp%\Backup.log"

The above code resolves the problem of working out
which backup log is the most recent log file. Your line
of code
rename backup*.log %computername%-%dt%.log
will fail consistently when there is more than one log
file, which is highly likely.- Tekst uit oorspronkelijk bericht niet
weergeven -

It's true what you're saying, but it doesn't help me to correct this
problem. If I check the backup*.log file of the last backup, this file
is empty. SoNTBackupstarts, but fails to make the backup without
writing an error to the log file. My question is: why doesNTBackup
fail in this scheduled job, but doesn't if I run this interactively?

Thanks,
Stijn.

You backup job is probably waiting for some response
for you. In other words, it is still running when you check
the log file. That's why the file is empty! Maybentbackup
is asking for some password when backing up folders for
which the current user has no access rights. You can check
this like so:

echo %date% %time% Before the backup command > c:\test.log
echo User=%UserName%, Path=%path% >> c:\test.logntbackup/.. /.. 1>>c:\test.log 2>>&1
echo ErrorLevel ofNTBackup=%ErrorLevel% >> c:\test.log
echo %date% %time% End ofntbackup>> c:\test.log

Schedule this job, then have a look at c:\test.log. I suspect
that it will tell you a great deal.

BTW, what files or folders are in your selection list?- Tekst uit oorspronkelijk bericht niet weergeven -

- Tekst uit oorspronkelijk bericht weergeven -


.



Relevant Pages

  • RE: Error with SBS backup
    ... Error 800423f4 appears in the backup log file when you back up a volume by ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: Still dont understand log backups
    ... The transaction log, whether or not it is one or many files, is a serial, ... until the end of the physical log file is reached. ... backup is executed, the active "virtual" logs are backed up, but the ... Using BULK LOGGED, does the online log file contain EVERY transaction for all time -- given that I don't truncate it manually? ...
    (microsoft.public.sqlserver.server)
  • Re: Can anyone crash course me in SQL maintenance?
    ... There is nothing you could do to make SQL Server dump logged transactions before they get committed to the data. ... If you take a nightly full db backup, that would leave you with 24 hours of vulnerability to data loss. ... The log file can be much smaller than the data since it only records the transactions that occur. ... So if someone accidentally deletes important data, you can restore a copy of the database exactly as it was 1 second before that mistake. ...
    (microsoft.public.windows.server.sbs)
  • Re: suitable plan for Log backup
    ... After the transaction log backup, I have tried to perform the shrinkfile command but I got the error message as below: ... How can I reduce the log file size in this situation? ...
    (microsoft.public.sqlserver.server)
  • Re: NTbackup problem
    ... ErrorLevel 87 is generated by ntbackup.exe. ... know what it means but I suspect it's an access problem. ... which backup log is the most recent log file. ... If I check the backup*.log file of the last backup, ...
    (microsoft.public.windowsxp.general)