Discussion Locked

Ejecting Tapes in Windows 2000 Backup

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How can you eject tapes either from the NTBACKUP GUI or from the command line under Windows 2000?The "NTBACKUP EJECT /tape:n" command which works fine for Windows NT 4.0 does not work under Windows 2000 and I can't find any reference to ejecting thetapes in the help menus for NTBACKUP. I used to have batch files set up which ejected the tapes after each backup was complete.

3 replies

by joseph moore

There is a separate application, RSM.EXE, that you have to use to eject a tape once a bckup is done.
Here is a piece of Technet article Q239892:
"You can also use the Rsm.exe command-line tool in the batch file to instruct RSM to eject the tape when the backup is finished. Use Rsm.exe and issue the following command to extract the physical media names ahead of time to use with the eject command:
rsm view /tphysical_media

PHYSICAL_MEDIA

Monday-Full - 1
Tuesday-Full - 1
Wednesday-Full - 1
Thursday-Full - 1
Friday-Full - 1
The command completed successfully.

After the backup is finished, in each day's batch file, use the rsm eject command to eject that day's tape:
rsm eject /pf"Monday-Full - 1" /astart
The following example shows a sample backup batch file to run on Mondays:
echo off
start /wait C:\WINNT\system32\ntbackup.exe backup "@C:\Documents and Settings\bkupuser\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\daily.bks" /n "Monday-Full" /d "Mondays Full Backup" /v:no/r:no /rs:no /hc:on /m normal /j "Mondays Job" /l:f /t "Monday-Full"
rsm eject /pf"Monday-Full - 1" /astart

by joseph moore

Oh, forgot one thing. If you just want to eject a tape from a GUI, open Removable Storage in a MMC console. You can right click on Media pool, and choose Eject.

This discussion is closed to new replies.