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 ...
-
9th March 2006, 10:36 AM #1
- 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
-
-
IDG Tech News
-
9th March 2006, 10:44 AM #2 Re: Scheduling Ejecting The Tapes
What backup software are you using?
Most of them have the option to eject after backup.
Ben
-
-
9th March 2006, 10:51 AM #3
- 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?
-
-
9th March 2006, 10:59 AM #4 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 /hc

n /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.
-
-
9th March 2006, 11:21 AM #5
- Rep Power
- 0
Re: Scheduling Ejecting The Tapes

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 /hc

n /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
-
-
9th March 2006, 11:35 AM #6 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
-
-
9th March 2006, 11:36 AM #7
- 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
-
-
9th March 2006, 11:37 AM #8 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.
-
-
9th March 2006, 11:50 AM #9
- Rep Power
- 0
Re: Scheduling Ejecting The Tapes

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
-
-
9th March 2006, 12:44 PM #10 Re: Scheduling Ejecting The Tapes
Nope. Win2K appears not to support the /L switch for the EJECT command.
Sorry. :cry:
-
SHARE:
Similar Threads
-
By mark in forum How do you do....it?
Replies: 28
Last Post: 4th January 2010, 03:36 PM
-
By Blind in forum Windows
Replies: 7
Last Post: 22nd October 2007, 10:05 PM
-
By timbo343 in forum Windows
Replies: 1
Last Post: 8th February 2007, 11:34 AM
-
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
-
Forum Rules