General discussion

Locked

Ejecting Tapes in Windows 2000 Backup

By timbrock ·
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.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Ejecting Tapes in Windows 2000 Backup

by Joseph Moore In reply to Ejecting Tapes in Windows ...

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

Collapse -

Ejecting Tapes in Windows 2000 Backup

by Joseph Moore In reply to Ejecting Tapes in Windows ...

And here is the URL for this article:
http://support.microsoft.com/default.aspx?scid=%2fsearch%2fviewDoc.aspx%3fdocID%3dKC.Q239892
(please remove any spaces)

Hope this helps.

Collapse -

Ejecting Tapes in Windows 2000 Backup

by Joseph Moore In reply to Ejecting Tapes in Windows ...

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.

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Discussions

Operating Systems Forums