General discussion

  • Creator
    Topic
  • #2129337

    Ejecting Tapes in Windows 2000 Backup

    Locked

    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.

All Comments

  • Author
    Replies
    • #3442938

      Ejecting Tapes in Windows 2000 Backup

      by joseph moore ·

      In reply to Ejecting Tapes in Windows 2000 Backup

      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

Viewing 0 reply threads