Re: NTbackup problem



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. So NTBackup starts, but fails to make the backup without
writing an error to the log file. My question is: why does NTBackup
fail in this scheduled job, but doesn't if I run this interactively?

Thanks,
Stijn.

.



Relevant Pages

  • Re: NTbackup problem
    ... which backup log is the most recent log file. ... If I check the backup*.log file of the last backup, ... My question is: why does NTBackup ... fail in this scheduled job, but doesn't if I run this interactively? ...
    (microsoft.public.windowsxp.general)
  • Re: Backup not running...
    ... built-in backup (ntbackup?) to back up several folders every night. ... I get no error messages in the log file, just no backup ever happens. ... Open the Task Scheduler and copy the ntbackup command line, ...
    (microsoft.public.win2000.general)
  • Re: NTBackup SBS Backup
    ... Is it possible to change the location of the log file like in the old ... > SBS Backup is a Wizard that configures a System Recoverable NT Backup. ... Is Nt backup different than SBS backup? ... >> NTbackup is more robust than SBS Backup.Do they conflict? ...
    (microsoft.public.windows.server.sbs)
  • Re: Verifying Windows Server 2008 backup
    ... What I have done in the past, not that sophisticated, is I have a batch file form my workstation that would do an appropriate DIR command for every server and PC in our network, so I could tell by size and date if backups ran the night before. ... I notice the new backup grabs the disk drive and uses it as a dedicated resource -- it does not even show up in File Explorer. ... My understanding is the log file gets created only on a problem. ... Ntbackup is deprecated. ...
    (microsoft.public.windows.server.general)
  • Re: NTBackup / Compression Issue?
    ... I am using NTBackup ... my backup has started to fail because the tapes are ... which is capable of hardware compression and it is enabled. ...
    (microsoft.public.windows.server.sbs)

Loading