Network Administrator Knowledgebase

Oct 31 2008   1:09AM GMT

Using NTBackup Without Having to Manage the Media



Posted by: Michael Khanin
Networking

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

Comment on this Post


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

Davepaul  |   Dec 6 2008   7:15AM GMT

Very nice information.

UT4B4.
 <a href="http://Tape4backup.com" title="http://Tape4backup.
" target="_blank">Tape4backup.com</a>