G
Guest
I was having issue with tape media catalog created under RSM and Ntbackup (Restore) utility. Sometimes, the media was listed under RSM but not under Ntbackup, and vice versa. As you already knew, if the media/file/folder is not listed under Restore in Ntbackup utility, you cannnot restore the file/folder you needed.
The following the batch I use for my daily backup process:
@echo off
rem ------------------ Change folder directory ---------------------
cd /d c:\rsm
rem
rem ------------------ Refresh Remote Storage Manager so it sees the tape -----------------
rem
start /wait rsm.exe refresh /LF"Compaq DLT8000 Drive"
rem
rem ------------------ Go to sleep mode --------------------
rem
sleep 60
rem
rem ------------------ Get system date and write to log file ---------------------
rem
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%
rem
echo Daily normal backup starts on %dtt%. >> c:\rsm\backup.log
rem
rem ------------------ Start normal full backup from Monday through Friday -------------------
rem
c:\winnt\system32\ntbackup.exe backup "@C:\rsm\daily.bks" /n "Media-%dtt%" /d "Weekday %dtt%" /v:yes /r:no /rs:no /hcn /m normal /j "Weekday %dtt%" /l:f /p "DLT" /UM
rem
rem ------------------ Get system date and write to log file ----------------------
rem
for /f "Tokens=1" %%i in ('time /t') do set tm=-%%i
set tm=%tm::=-%
set dtt=%dt%%tm%
rem
echo Daily normal backup finished on %dtt%. >> c:\rsm\backup.log
rem
exit
I knew the batch file is good because when I ran it manually, it did what it supposed to. But, when I schedule using AT scheduler or Schedule Task, that's where the problem occurs.
I change the tape media everyday and reuse the media every two weeks. I had tried all the technet and troubleshooting guide I found on Microsoft site. None of them fixes my problem. Server is running Window 2000 Server with SP3. I cannot install SP4 because the application is not compatible with it.
Has anyone of you had the same issue as I do? If so, how do you fix it?
Thanks.
The following the batch I use for my daily backup process:
@echo off
rem ------------------ Change folder directory ---------------------
cd /d c:\rsm
rem
rem ------------------ Refresh Remote Storage Manager so it sees the tape -----------------
rem
start /wait rsm.exe refresh /LF"Compaq DLT8000 Drive"
rem
rem ------------------ Go to sleep mode --------------------
rem
sleep 60
rem
rem ------------------ Get system date and write to log file ---------------------
rem
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%
rem
echo Daily normal backup starts on %dtt%. >> c:\rsm\backup.log
rem
rem ------------------ Start normal full backup from Monday through Friday -------------------
rem
c:\winnt\system32\ntbackup.exe backup "@C:\rsm\daily.bks" /n "Media-%dtt%" /d "Weekday %dtt%" /v:yes /r:no /rs:no /hcn /m normal /j "Weekday %dtt%" /l:f /p "DLT" /UM
rem
rem ------------------ Get system date and write to log file ----------------------
rem
for /f "Tokens=1" %%i in ('time /t') do set tm=-%%i
set tm=%tm::=-%
set dtt=%dt%%tm%
rem
echo Daily normal backup finished on %dtt%. >> c:\rsm\backup.log
rem
exit
I knew the batch file is good because when I ran it manually, it did what it supposed to. But, when I schedule using AT scheduler or Schedule Task, that's where the problem occurs.
I change the tape media everyday and reuse the media every two weeks. I had tried all the technet and troubleshooting guide I found on Microsoft site. None of them fixes my problem. Server is running Window 2000 Server with SP3. I cannot install SP4 because the application is not compatible with it.
Has anyone of you had the same issue as I do? If so, how do you fix it?
Thanks.