Using NTBackup Without Having to Manage the Media
Posted by: Michael Khanin
The RSM (Removable Storage Management) requires to manually manage media, when performing a NTBackup.
I would like to show a script, that allows to forget about this (DO NOT FORGET TO CHANGE TAPEs ; ) )
Here is a script:
@echo Off
RSM.exe refresh /LF”Hewlett Packard LTO Ultrium-3 drive”
@Echo Please Wait…
ping -n 11 127.0.0.1 > null
for /f “Tokens=1-4 Delims=/ ” %%i in (’date /t’) do set dt=%%i-%%j-%%k-%%l
for /f “Tokens=1″ %%i in (’time /t’) do set tm=-%%i
set tm=%tm::=-%
set dtt=%dt%%tm%
C:\WINDOWS\system32\ntbackup.exe backup “@C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Daily_Backup.bks” /n “EPIC001 %dtt%” /d “EPIC001 %dtt%” /v:no /r:no /rs:no /hc:on /m normal /j “%dtt%” /l:s /p “LTO Ultrium” /UM
RSM.exe eject /PF”EPIC001 %dtt% - 1″ /astart
exit



You must be logged-in to post a comment. Log-in/Register