• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2462
  • Last Modified:

Erase tape with NTBackup from a command line?

Is it possible to erase a foreign tape from a command line using NT Backup? We're using NT Server 4.0.
 
The /nopoll switch only opens NTBackup, you still have to manually select "erase" from the operations menu.

I'm trying to schedule NTBackup to run nightly using the "at" command, but as the tapes are being re-used they are detected as "foreign" and the backup won't run automatically until they're erased.
0
scottw2
Asked:
scottw2
1 Solution
 
SysExpertCommented:
I would check the MS site - search
command line tape erase.
It should show a few articles on this.

Also ,  make sure you have sp6a installed !!

I hope this helps !
0
 
mor4eusCommented:
There is no command line utility for NTbackup to erase a tape.  There is a way I know of and that is to use a utility called DOS2WIN found here.
http://content.techweb.com/winmag/columns/powertools/default.htm 

It allows you to program keystrokes into a dos program which you can run.  Etc.. File, Erase.

You could always try a different freeware program or buy something better.  

Hope this helps.
0
 
scottw2Author Commented:
wow, you are really smart
thanks!
0
 
santa_0Commented:
Just came across an old server that needs to do this (old server, no backup).

Sadly, the link has rotted, and the only dos2win google can find seems to be unsuited for the task.

so the answer now seems to be "find another way to make your backups before that server dies"
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now