Re: NTBackup - The device reported an error on a request to write data to media.
- From: "Damon" <enlighten@xxxxxxxxxxxxxxxxx>
- Date: Wed, 18 Jun 2008 13:24:11 +1200
Hi Pegasus,
I've done that bat but it is not telling me anything new. Firstly I'm not using mapped network drives I am connecting to UNC shares across the network.
Secondly when the I am getting the error it is happening during the backup. I.E. I might get 7MB into it, or 9MB of the bakup file across the network before the backup fails.
So I guess to narrow it down, a backup job will start running fine (copying data across the network) then it will hit a point and then stop with the error.
I had a look in the event logs on the server that is trying to do the backup and I found that this occurs at the same time the job fails:
{Delayed Write Failed} Windows was unable to save all the data for the file \Device\LanmanRedirector. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Cheers
Damon
"Pegasus (MVP)" <I.can@xxxxxxxxxx> wrote in message news:%23DVtraD0IHA.5108@xxxxxxxxxxxxxxxxxxxxxxx
"Damon" <enlighten@xxxxxxxxxxxxxxxxx> wrote in message news:C5591EA6-3203-4C98-B4E3-0F5C306DD20D@xxxxxxxxxxxxxxxxHi,
I'm having some problems with NTBackup. We currently have 5 servers which we have two NTBackup jobs set-up on each server. One backup job for each server is for backing up system state. The next backup job which runs after that backs up the files and then the system state backup.
The problem that I am getting is that on some days the backups on different servers fail, its currently random as to which backup will fail and on what day. When they fail the error log always contains the following:
Error: The device reported an error on a request to write data to media.
Error reported: Unknown error.
Then if it was an exchange backup
Error: SERVER\Microsoft Information Store\First Storage Group is not a valid drive, or you do not have access.
If it was a file backup (the drive letter will change depending on where the files are being backed up.
Error: E: is not a valid drive, or you do not have access.
If I go and run that schedule task again it will succeed. Because the backups can run perfectly I think that the error which is being reported is not correct because obviously the drives are accessible. What I'm thinking it could be (I'm guessing here) is that maybe this is the error that you get when doing a backup across the network and maybe the network connection drops out for a second.
I really need to get this sorted and working, does anyone have any ideas on what I should do here?
Cheers
Damon
Instead of scheduling ntbackup.exe directly, embed it in a batch
file as below, then examine the contents of c:\test.log after the
next failure.
@echo off
echo Start of job: %date% %time% %UserName% >> c:\test.log
net use >> c:\test.log
copy c:\test.log "{Destination}" 1>>c:\test.log 2>>&1
ntbackup /.. /..
echo End of job: %date% %time% %UserName% >> c:\test.log
echo. >> c:\test.log
Replace {Destination} with the drive\folder that the backup job
itself uses.
.
- Follow-Ups:
- References:
- Prev by Date: Open as Web Folder
- Next by Date: Re: NTBackup - The device reported an error on a request to write data to media.
- Previous by thread: Re: NTBackup - The device reported an error on a request to write data to media.
- Next by thread: Re: NTBackup - The device reported an error on a request to write data to media.
- Index(es):
Relevant Pages
|