ntbackup force overwrite

  • Thread starter Thread starter Doug M.
  • Start date Start date
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 /hc:on /m normal /j "%dtt%" /l:f /p "file" /UM
rsm.exe eject /PF"JSI001 %dtt% - 1" /astart
exit
 
I think there is an /a switch for ntbckup whcih instructs it to append
to the media.

John
 
Now I get a message saying that the media is full. This is a 74GB external
USB hard drive. 66GB are available. What am I missing?

thanks in advance
 
Is the drive formatted as FAT32 and you are trying to write a file
larger than 4 GB to it?
 
I hate it when I miss the obvious. I inherited this server and just assumed
that whoever started with this would format it NTFS . . . you know what they
say about assuming . . .

thanks
 
NP, YW.
I hate it when I miss the obvious. I inherited this server and just assumed
that whoever started with this would format it NTFS . . . you know what they
say about assuming . . .

thanks

:
 
Back
Top