ntbackup from command line

  • Thread starter Thread starter Mostro
  • Start date Start date
M

Mostro

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.
 
Mostro said:
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
 

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

Similar Threads

ntbackup configuration 2
ntbackup force overwrite 5
NTBackup problems 8
NTBackup / RMS GUID Command Line Problem 1
Schedule problem with NTBACKUP 7
NTBACKUP Free Media 1
ntbackup 1
NTBackup utility problem 2

Back
Top