ntbackup force overwrite

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:blush:n /m normal /j "%dtt%" /l:f /p "file" /UM
rsm.exe eject /PF"JSI001 %dtt% - 1" /astart
exit
 
J

John John (MVP)

I think there is an /a switch for ntbckup whcih instructs it to append
to the media.

John
 
D

Doug M.

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
 
B

Bob I

Is the drive formatted as FAT32 and you are trying to write a file
larger than 4 GB to it?
 
D

Doug M.

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
 
B

Bob I

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

:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top