Network Administrator Knowledgebase

Oct 31 2008   1:09AM GMT

Using NTBackup Without Having to Manage the Media

Michael Khanin Michael Khanin Profile: 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 > 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

 Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: