8 replies
by qb
by ntoz
You can try and use the command line based rsm.exe to accomplish what your trying to do. Its basicaly the RS MMC from a comand prompt and you could schedual a batch file to kick it off.
Pete
by ntoz
This should also be helpful, it tells you how to use the RSMMC to generate the command line batch scripts, saving you time and identifying the guid of the device you want to eject. Also the RSM.exe will give you the guid's you need. Its Q239892
If you want to schedule a batch file to perform additional tasks along with the
backup, you can copy the backup command string from a scheduled backup job by
viewing any of the scheduled tasks properties from the Schedule Jobs tab in
Ntbackup or by using the Scheduled Tasks tool in Control Panel. You can then put
it in a separate batch file, modify the string to fit your needs, and schedule
it using the at command or Task Scheduler.
The following example is a backup command line that was copied from the
properties of a scheduled backup that was performed above:
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"
NOTE: The last parameter may be /g {guid} to represent RSM Logical_Media ID
instead of /t "tape_name." The {guid} value is a 32-bytevalue in the form of
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx." You can use either parameter to
represent and use the tape in a batch file. Besides looking at the properties of
a scheduled backup job, the {guid} values for all logical media can be extracted
using the following Rsm.exe command. They are not listed in order, so it is
difficult to tell which {guid} value represents which tape.
Rsm.exe view /tlogical_media /guiddisplay
by ntoz
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
by ntoz
BTW This works, let me know if you have questions, drop me an email!
Pete
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending