D
Doug M.
Hi I've copied a batch file script that I found on the web to force ntbackup
to use a removable external USB hard drive. However, the ntbackup stops with
the message "the media is not blank - do you want to overwrite?" or something
to that effect. Since the script runs late at night, the backup doesn't run.
Thanks in advance for the help. Here's the script:
rsm.exe refresh /LF"external USB"
sleep 30
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:\WINNT\system32\NTBACKUP.EXE backup "@C:\Documents and
Settings\Administrator\Local Settings\Application Data\Microsoft\Windows
NT\NTBackup\data\daily full.bks" /n "belv001 %dtt%" /d "belv001 %dtt%" /v:yes
/r:no /rs:no /hcn /m normal /j "%dtt%" /l:f /p "file" /UM
rsm.exe eject /PF"JSI001 %dtt% - 1" /astart
exit
to use a removable external USB hard drive. However, the ntbackup stops with
the message "the media is not blank - do you want to overwrite?" or something
to that effect. Since the script runs late at night, the backup doesn't run.
Thanks in advance for the help. Here's the script:
rsm.exe refresh /LF"external USB"
sleep 30
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:\WINNT\system32\NTBACKUP.EXE backup "@C:\Documents and
Settings\Administrator\Local Settings\Application Data\Microsoft\Windows
NT\NTBackup\data\daily full.bks" /n "belv001 %dtt%" /d "belv001 %dtt%" /v:yes
/r:no /rs:no /hcn /m normal /j "%dtt%" /l:f /p "file" /UM
rsm.exe eject /PF"JSI001 %dtt% - 1" /astart
exit