Windows 2003 Removable Storage NTBackup Troubles

Tech-Archive recommends: Fix windows errors by optimizing your registry



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

.



Relevant Pages

  • Enumerate installed software on Windows 2003
    ... Using this scriptomatic script, I am able to list all installed ... our Windows 2003 servers. ... colItems", as colItems is empty. ...
    (microsoft.public.scripting.vbscript)
  • Re: Shutdown Script
    ... requested a shutdown script for all our servers in the datacenter. ... course a simple tool for our Windows Servers was found and utilized, ...
    (comp.unix.questions)
  • Re: Local User Accounts
    ... of servers: ... I'm running the script from a Windows 2000 Advanced Serverand it will get ... When I test the script from my laptop running Windows XP, ...
    (microsoft.public.windows.server.scripting)
  • Re: Ok to let all ICMP traffic through firewall?
    ... If you want to know, what "Shutdown Windows' servers" does exactly, you ... The program does just the same as Torsten's script in version 2.1, ...
    (comp.security.firewalls)
  • Re: Exchange 2003 backup
    ... If this is a multi server scenario backup with one Tape Device, ... Symantec Backup Exec is a good choice. ... I like to know what it the best way to backup Exchg 2003/W2k3 servers? ...
    (microsoft.public.exchange.setup)