Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Ntbackup difficulty

Ntbackup difficulty

Ntbackup difficulty


Until we move to backup exec we are attempting to get ntbackup to back up local drives (not network) to a dlt tape.  We would like to stop Oracle, backup D: and E: first, start Oracle (all of this works fine), then append the remaining backup of other drives to this tape (fails).  Following is the batch file, and the error we are getting.  Alltapes are named already with the same name, all available in the DLT pool under 'Backup Media', each with different sequence numbers.  The same batch file is used nightly.

Doco for ntbackup is on your pc under Backup - examples and command line parameters, also at

call D:\Oracle\admin\scripts\stopora.bat

C:\winnt\system32\ntbackup backup systemstate D:\
E:\ /J "Ora Daily" /N "Backup Tape" /M normal /V:yes /L:s /HC:on /UM /P "DLT"

call D:\Oracle\admin\scripts\startora.bat

C:\winnt\system32\ntbackup backup systemstate C:\ F:\ /J "Daily" /T "Backup Tape" /A /V:yes /M normal /L:f /HC:on

Backup Status
  The operation was not performed because a non-unique tape name was specified.


Best Regards and thanks in advance

RE: Ntbackup difficulty

Please Test with :

call D:\Oracle\admin\scripts\stopora.bat

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 backup systemstate D:\
E:\ /J "Ora Daily" /N "Backup Tape-%dtt%" /M normal /V:yes /L:s /HC:on /UM /P "DLT"

call D:\Oracle\admin\scripts\startora.bat

C:\winnt\system32\ntbackup backup systemstate C:\ F:\ /J "Daily" /T "Backup Tape-%dtt%" /A /V:yes /M normal /L:f /HC:on

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close