|
| |||||||||
| Tags: backup, commandline, commands, eject, scheduled, tape |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| eject tape using command-line backup commands and scheduled tasks
On an XP machine, I've used scheduled tasks to eject the previous night's backup tape. For example: ....rsm eject /pf"Tuesdays" /aStart... and likewise for tapes called Mondays, Tuesdays, etc. However, the default SBS backup creates tapes with names like "Media created 16/05/2007 at 23:00" which are different each time. Any way around this? Just a small thing, but getting rid of that twenty seconds or so each evening waiting for the previous tape to eject would be one more little source of stress eliminated. |
|
#2
| |||
| |||
| Re: eject tape using command-line backup commands and scheduled tasks
I used this to eject by device name (a DDS4 drive). The tapename doesn't matter for this: REM Eject the DDS media C:\WINDOWS\system32\rsm.exe eject /LF"Hewlett Packard DDS4 drive" /astart -- Allan Williams "Neil Hoskins" <NeilHremovethisbit@andthisbitChiltern-Thermo.co.uk> wrote in message news:uXNHq77lHHA.1820@TK2MSFTNGP04.phx.gbl... > On an XP machine, I've used scheduled tasks to eject the previous night's > backup tape. > For example: > ...rsm eject /pf"Tuesdays" /aStart... > and likewise for tapes called Mondays, Tuesdays, etc. However, the > default SBS backup creates tapes with names like "Media created 16/05/2007 > at 23:00" which are different each time. Any way around this? Just a > small thing, but getting rid of that twenty seconds or so each evening > waiting for the previous tape to eject would be one more little source of > stress eliminated. > |
|
#3
| |||
| |||
| Re: eject tape using command-line backup commands and scheduled tasks
Bonza! Thanks, I'll give it a try. "Al Williams" <donotreplydirect@usenewsgroup.com> wrote in message news:eySm0L8lHHA.1624@TK2MSFTNGP02.phx.gbl... >I used this to eject by device name (a DDS4 drive). The tapename doesn't >matter for this: > > REM Eject the DDS media > C:\WINDOWS\system32\rsm.exe eject /LF"Hewlett Packard DDS4 drive" /astart > > -- > Allan Williams > > > > "Neil Hoskins" <NeilHremovethisbit@andthisbitChiltern-Thermo.co.uk> wrote > in message news:uXNHq77lHHA.1820@TK2MSFTNGP04.phx.gbl... >> On an XP machine, I've used scheduled tasks to eject the previous night's >> backup tape. >> For example: >> ...rsm eject /pf"Tuesdays" /aStart... >> and likewise for tapes called Mondays, Tuesdays, etc. However, the >> default SBS backup creates tapes with names like "Media created >> 16/05/2007 at 23:00" which are different each time. Any way around this? >> Just a small thing, but getting rid of that twenty seconds or so each >> evening waiting for the previous tape to eject would be one more little >> source of stress eliminated. >> > > |
|
#4
| |||
| |||
| Re: eject tape using command-line backup commands and scheduled tasks
Forgot to mention you'll need to change the "Hewlett Packard DDS4 drive" part to match your hardware. I think you can get the device names with other RSM commands or in the management GUI. -- Allan Williams "Neil Hoskins" <NeilHremovethisbit@andthisbitChiltern-Thermo.co.uk> wrote in message news:uy66P38lHHA.4840@TK2MSFTNGP04.phx.gbl... > Bonza! Thanks, I'll give it a try. > > "Al Williams" <donotreplydirect@usenewsgroup.com> wrote in message > news:eySm0L8lHHA.1624@TK2MSFTNGP02.phx.gbl... >>I used this to eject by device name (a DDS4 drive). The tapename doesn't >>matter for this: >> >> REM Eject the DDS media >> C:\WINDOWS\system32\rsm.exe eject /LF"Hewlett Packard DDS4 drive" /astart >> >> -- >> Allan Williams >> >> >> >> "Neil Hoskins" <NeilHremovethisbit@andthisbitChiltern-Thermo.co.uk> wrote >> in message news:uXNHq77lHHA.1820@TK2MSFTNGP04.phx.gbl... >>> On an XP machine, I've used scheduled tasks to eject the previous >>> night's backup tape. >>> For example: >>> ...rsm eject /pf"Tuesdays" /aStart... >>> and likewise for tapes called Mondays, Tuesdays, etc. However, the >>> default SBS backup creates tapes with names like "Media created >>> 16/05/2007 at 23:00" which are different each time. Any way around >>> this? Just a small thing, but getting rid of that twenty seconds or so >>> each evening waiting for the previous tape to eject would be one more >>> little source of stress eliminated. >>> >> >> > > |
|
#5
| |||
| |||
| Re: eject tape using command-line backup commands and scheduled tasks
I figure that one out, thanks, it works a treat. "Al Williams" <donotreplydirect@usenewsgroup.com> wrote in message news:elF3W5$lHHA.3980@TK2MSFTNGP06.phx.gbl... > Forgot to mention you'll need to change the "Hewlett Packard DDS4 drive" > part to match your hardware. I think you can get the device names with > other RSM commands or in the management GUI. > > -- > Allan Williams > > > > "Neil Hoskins" <NeilHremovethisbit@andthisbitChiltern-Thermo.co.uk> wrote > in message news:uy66P38lHHA.4840@TK2MSFTNGP04.phx.gbl... >> Bonza! Thanks, I'll give it a try. >> >> "Al Williams" <donotreplydirect@usenewsgroup.com> wrote in message >> news:eySm0L8lHHA.1624@TK2MSFTNGP02.phx.gbl... >>>I used this to eject by device name (a DDS4 drive). The tapename doesn't >>>matter for this: >>> >>> REM Eject the DDS media >>> C:\WINDOWS\system32\rsm.exe eject /LF"Hewlett Packard DDS4 drive" >>> /astart >>> >>> -- >>> Allan Williams >>> >>> >>> >>> "Neil Hoskins" <NeilHremovethisbit@andthisbitChiltern-Thermo.co.uk> >>> wrote in message news:uXNHq77lHHA.1820@TK2MSFTNGP04.phx.gbl... >>>> On an XP machine, I've used scheduled tasks to eject the previous >>>> night's backup tape. >>>> For example: >>>> ...rsm eject /pf"Tuesdays" /aStart... >>>> and likewise for tapes called Mondays, Tuesdays, etc. However, the >>>> default SBS backup creates tapes with names like "Media created >>>> 16/05/2007 at 23:00" which are different each time. Any way around >>>> this? Just a small thing, but getting rid of that twenty seconds or so >>>> each evening waiting for the previous tape to eject would be one more >>>> little source of stress eliminated. >>>> >>> >>> >> >> > > |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "eject tape using command-line backup commands and scheduled tasks" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Execute GUI commands from the command line | dogonthehorizon | Windows Software | 1 | 21-07-2011 04:50 AM |
| How to run windows 7 backup from command line | Spiero | Windows Software | 5 | 30-03-2010 03:44 PM |
| NT Backup Command Line | vcapone | Small Business Server | 8 | 19-09-2009 09:49 AM |
| Windows Scheduled Tasks don't luanch if tasks not finished | Andy Candy | Windows Software | 3 | 21-08-2009 12:47 PM |
| How to eject Tape when backup completes? | Paul | Small Business Server | 3 | 05-04-2005 10:30 AM |