Windows 2003 Removable Storage NTBackup Troubles
- From: "leonatos@xxxxxxxxx" <leonatos@xxxxxxxxx>
- Date: 23 Feb 2006 05:20:41 -0800
Hi,
I work at a company that does the server administration for alot of
companies that are too small to have their own network administrator,
because of this we do the administration for about 300 Windows servers
at this point.
We are in the process of upgrading all those servers to Windows 2003,
most of them are SBS servers , some are Enterprise or Standard. About
half of them use Veritas in one way or another, however there is still
a group of our customers that use NTBackup that is included in Windows
for budget reasons.
With Windows NT and Windows 2000, we used a script to automate the
backup every night, I'll post the script below for reference. With
Windows 2003 however, we run into a problem with this script.
The problem is, that in many cases (almost all our servers have this
problem at this point) the tape device disables itself in the removable
storage. So when I go to computer management, then to removable storage
then libraries, the tape device has a big red cross through it's
pictogram. After selecting the tape device, and waiting for a few
minutes, this red cross disappears and the tapedevice is usable in a
normal way. However, if I don't open this computer management screen at
this point, the tape device will stay "disabled", and any NTBackup that
starts will tell me there's no tape device found or no tape found.
I have been searching all over the internet for any reference to this
problem, unfortunately all my searches have come up dry.
The script in this case (We modify this based on the tapedevice being
used, and we split the backup for system state and exchange.) :
======================================================================
set DEVICE="Compaq DDS4 20/40 GB DAT-station"
set BACKUPDEF=C:\cmd\backup.bks
set MEDIAPOOL="4mm dds"
set BACKUPMAIL=c:\cmd\mail.bks
c:
del "C:\Documents and Settings\Administrator\Local Settings\Application
Data\Microsoft\Windows NT\NTBackup\data\*.log"
del c:\event\data\backup.bak
ren c:\event\data\backup.txt backup.bak
rsm.exe inventory /LF%DEVICE% /AFULL
sleep 30
for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do set
dt=%%i-%%j-%%k-%%l
for /f "Tokens=1" %%i in ('time /t') do set tm=-%%i
set tm=%tm::=-%
set dtt=%dt%%tm%
ntbackup.exe backup "@%BACKUPDEF%" /n "%computername% %dtt%" /d
"%computername% %dtt%" /v:yes /r:no /rs:no /hc:on /m normal /j
"%computername% %dtt%" /l:s /p %MEDIAPOOL% /UM
ntbackup.exe backup "@%BACKUPMAIL%" /t "%computername% %dtt%" /d
"%computername% %dtt%" /v:yes /A /r:no /rs:no /hc:on /m normal /j
"%computername% %dtt%" /l:s
rsm.exe eject /PF"%computername% %dtt%" /astart
c:\cmd\sleep 30
cd "C:\Documents and Settings\Administrator\Local Settings\Application
Data\Microsoft\Windows NT\NTBackup\data"
copy *.* c:\event\data\backup.txt
======================================================================
The problem occurs on either SBS, Standard and Enterprise versions of
Windows Server 2003 (part of our customers are made up of Primary
Schools that use special licenses to use Enterprise server for
loadbalancing their terminal servers.)
I am unsure whether the script causes the problem with the tape unit,
however I believe it is at least in some way responsible for the
backupdevice being disabled in the removable storage section of
computer management.
I would appreciate any comments or insight offered into this matter, so
far the only workaround that has any merit is to leave the computer
management screen opened, with the tape device selected. This way if a
red cross appears and the device is disabled, after a few minutes it's
enabled again and the backup will still complete.
Many thanks
Youri Janse
.
- Prev by Date: Re: No desktop!?!
- Next by Date: System Error 534 "arithmetic result exceeded 32 bit".
- Previous by thread: Re: graphic problems after installing MS 2003 SP1
- Next by thread: System Error 534 "arithmetic result exceeded 32 bit".
- Index(es):
Relevant Pages
|