ntbackup from command line

G

Guest

Guest
Archived from groups: microsoft.public.win2000.general (More info?)

I am trying to run ntbackup from the command line, to eventually run in a

script. I am doing this from a windows 2000 server. The following is my

syntax -


ntbackup backup "@C:\Selections\test.bks" /j "Test" /m normal /UM /P

"backup"


From using the GUI (ntbackup.exe) ineractively I have realized the

following. I must first make make my selections and then it's a simple as

just telling it to start the backup, but at some point it asks about the

media - telling me that a blank media is not available but that I can choose

to overwrite the media currently in the drive. By the syntax example above

I can clearly see how to specify a selection list and I understand some of

the switces but what I can't figure out is how to tell ntbackup "overwrite

whatever is in the tape drive - no exceptions, ever". The ideal for me

would be to accomplish the creation of a script that runs ntbackup monday

thru friday, does a full backup of selected directories, names the tape

whatever - doesn't matter, and overwrites whatever tape I feed it without

exception. Any help would be appreciated.
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.general (More info?)

"Mostro" <oveloz@glasfloss.com> wrote in message
news:d19id3$hn0$1@newsdbm04.news.prodigy.com...
> I am trying to run ntbackup from the command line, to eventually run in a
>
> script. I am doing this from a windows 2000 server. The following is my
>
> syntax -
>
>
> ntbackup backup "@C:\Selections\test.bks" /j "Test" /m normal /UM /P
>
> "backup"
>
>
> From using the GUI (ntbackup.exe) ineractively I have realized the
>
> following. I must first make make my selections and then it's a simple as
>
> just telling it to start the backup, but at some point it asks about the
>
> media - telling me that a blank media is not available but that I can
choose
>
> to overwrite the media currently in the drive. By the syntax example above
>
> I can clearly see how to specify a selection list and I understand some of
>
> the switces but what I can't figure out is how to tell ntbackup "overwrite
>
> whatever is in the tape drive - no exceptions, ever". The ideal for me
>
> would be to accomplish the creation of a script that runs ntbackup monday
>
> thru friday, does a full backup of selected directories, names the tape
>
> whatever - doesn't matter, and overwrites whatever tape I feed it without
>
> exception. Any help would be appreciated.
>
>
>

Try the /um switch. See here for further details:
http://www.jsiinc.com, questions 5955 and 2265