Jump to content

ntbackup force overwrite


Recommended Posts

Guest Doug M.
Posted

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

Guest John John (MVP)
Posted

Re: ntbackup force overwrite

 

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

to the media.

 

John

 

Doug M. wrote:

> 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

Guest Doug M.
Posted

Re: ntbackup force overwrite

 

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

 

"John John (MVP)" wrote:

> I think there is an /a switch for ntbckup whcih instructs it to append

> to the media.

>

> John

>

> Doug M. wrote:

>

> > 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

>

>

Posted

Re: ntbackup force overwrite

 

Is the drive formatted as FAT32 and you are trying to write a file

larger than 4 GB to it?

 

Doug M. wrote:

> 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

>

> "John John (MVP)" wrote:

>

>

>>I think there is an /a switch for ntbckup whcih instructs it to append

>>to the media.

>>

>>John

>>

>>Doug M. wrote:

>>

>>

>>>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

>>

>>

Guest Doug M.
Posted

Re: ntbackup force overwrite

 

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

 

"Bob I" wrote:

> Is the drive formatted as FAT32 and you are trying to write a file

> larger than 4 GB to it?

>

> Doug M. wrote:

> > 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

> >

> > "John John (MVP)" wrote:

> >

> >

> >>I think there is an /a switch for ntbckup whcih instructs it to append

> >>to the media.

> >>

> >>John

> >>

> >>Doug M. wrote:

> >>

> >>

> >>>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

> >>

> >>

>

>

Posted

Re: ntbackup force overwrite

 

NP, YW.

 

Doug M. wrote:

> 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

>

> "Bob I" wrote:

>

>

>>Is the drive formatted as FAT32 and you are trying to write a file

>>larger than 4 GB to it?

>>

>>Doug M. wrote:

>>

>>>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

>>>

>>>"John John (MVP)" wrote:

>>>

>>>

>>>

>>>>I think there is an /a switch for ntbckup whcih instructs it to append

>>>>to the media.

>>>>

>>>>John

>>>>

>>>>Doug M. wrote:

>>>>

>>>>

>>>>

>>>>>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

>>>>

>>>>

>>

×
×
  • Create New...