+ Post New Thread
Results 1 to 10 of 10
Windows Thread, Scheduling Ejecting The Tapes in Technical; Hey all. I was wondering if anyone knows a way that I can schedule on our 2K and 2K3 servers ...
  1. #1

    Join Date
    Feb 2006
    Location
    Staffordshire
    Posts
    134
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Scheduling Ejecting The Tapes

    Hey all.

    I was wondering if anyone knows a way that I can schedule on our 2K and 2K3 servers to eject their backup tapes. We have one server (NT4!) that does it already, is there anything built into windows? or am I going to need a small program?

    Thanks in advance
    -Rob Emery

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,614
    Thank Post
    648
    Thanked 1,618 Times in 1,448 Posts
    Rep Power
    421

    Re: Scheduling Ejecting The Tapes

    What backup software are you using?

    Most of them have the option to eject after backup.

    Ben

  3. #3

    Join Date
    Feb 2006
    Location
    Staffordshire
    Posts
    134
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Scheduling Ejecting The Tapes

    Just the built in Microsoft Backup Program I Believe. I have checked the options but I dont recall seeing an option to eject when they are fininshed anywhere, unless I just missed it?

  4. #4

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    10,395
    Thank Post
    601
    Thanked 2,171 Times in 994 Posts
    Blog Entries
    23
    Rep Power
    630

    Re: Scheduling Ejecting The Tapes

    Here you'go.
    http://support.microsoft.com/kb/q239892/
    There is a complet list of switches there to add to NT Backup.

    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 /hcn /m normal /j "Mondays Job" /l:f /t "Monday-Full"
    rsm eject /pf"Monday-Full - 1" /astart
    Also using the any media switch is recommended too.

  5. #5

    Join Date
    Feb 2006
    Location
    Staffordshire
    Posts
    134
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Scheduling Ejecting The Tapes

    Quote Originally Posted by Dos_Box
    Here you'go.
    http://support.microsoft.com/kb/q239892/
    There is a complet list of switches there to add to NT Backup.

    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 /hcn /m normal /j "Mondays Job" /l:f /t "Monday-Full"
    rsm eject /pf"Monday-Full - 1" /astart
    Also using the any media switch is recommended too.
    aha cheers!!

    Code:
    rsm eject /pf"Monday-Full - 1" /astart
    is the kind of thing i was after, only problem is i cant quite figure out how to make it eject regardless of which days tape is in. Have I missed a sentence somewhere on that page?

    -Thanks
    Rob

  6. #6
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Scheduling Ejecting The Tapes

    Try the following

    RSM EJECT /LF"LibraryName" /ASTART

    replacing LibraryName with the name of the tape library. You can see a list of libraries by entering the following;

    RSM VIEW /TLIBRARY

  7. #7

    Join Date
    Feb 2006
    Location
    Staffordshire
    Posts
    134
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Scheduling Ejecting The Tapes

    on closer inspection, I'm a total idiot
    Code:
    rsm eject /lf"Sony AIT 100 GB Drive"
    was all I needed!

    Thanks for the help guys, much appreciated
    -Rob

  8. #8
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Scheduling Ejecting The Tapes

    Incidentaly, I've been using that Microsoft script since Win2K first appeared and it has worked faultlessly.... until now. Some 2K3 servers don't seem to like ejecting tapes anymore.

  9. #9

    Join Date
    Feb 2006
    Location
    Staffordshire
    Posts
    134
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Scheduling Ejecting The Tapes

    Quote Originally Posted by ajbritton
    Try the following

    RSM EJECT /LF"LibraryName" /ASTART

    replacing LibraryName with the name of the tape library. You can see a list of libraries by entering the following;

    RSM VIEW /TLIBRARY
    Ahh sorry I didnt see your post until after I'd posted mine! Ive got that working on the 2K3 Server fine, but on the 2000 it comes up with:
    Code:
    C:\Documents and Settings\Administrator>rsm eject /lf"SONY SDX-500C SCSI Sequential Device"
    
    Unable to parse arguments.
    
    C:\Documents and Settings\Administrator>
    I notice that the command also has fewer switches, Any idea how to eject the library on 2K?

    -Thanks
    Rob

  10. #10
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Scheduling Ejecting The Tapes

    Nope. Win2K appears not to support the /L switch for the EJECT command.

    Sorry. :cry:

SHARE:
+ Post New Thread

Similar Threads

  1. Copy DV tapes to DVD
    By mark in forum How do you do....it?
    Replies: 28
    Last Post: 4th January 2010, 02:36 PM
  2. Replies: 7
    Last Post: 22nd October 2007, 10:05 PM
  3. Project scheduling for windows
    By timbo343 in forum Windows
    Replies: 1
    Last Post: 8th February 2007, 10:34 AM
  4. Scheduling a webpage print task
    By u8dmtm in forum Windows
    Replies: 17
    Last Post: 27th September 2006, 05:46 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •