Re: NTbackup problem
- From: stijn.calders@xxxxxxxxx
- Date: 18 May 2007 04:27:33 -0700
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.
.
- Follow-Ups:
- Re: NTbackup problem
- From: Pegasus
- Re: NTbackup problem
- References:
- NTbackup problem
- From: stijn . calders
- Re: NTbackup problem
- From: Pegasus \(MVP\)
- NTbackup problem
- Prev by Date: Re: dvd+RW Dual Layer ...EXISTENT?
- Next by Date: Re: XP Home will not start in safe mode and will not run check dis
- Previous by thread: Re: NTbackup problem
- Next by thread: Re: NTbackup problem
- Index(es):
Relevant Pages
|
Loading