Our forums are currently in maintenance mode and the ability to post is disabled. We will be back up and running as soon as possible. Thanks for your patience!

General discussion


NT Backup to overwrite existing media

By Dave Flick ·
I have the same problem on a couple of different servers. One is running Win2k Server, the other is 2003 both using the NT Backup utility to backup to a Travan 20/40GB tape drive. Here is the basic scenario. I want to do a full backup once a week. I want the backup to overwrite whatever may be on the tape and want that tape to stay in the drive. At the end of the month, quarter, whatever. I want to either pop in a new tape or rotate in an old one that is no longer needed. I am trying to avoid having to manage the media in the NT backup program. I want the backup job to run regardless of what tape is in the drive. I have tried adding the /UM switch to the command line of the backup job, but it just tells me "media not found" when the job runs.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by CG IT In reply to NT Backup to overwrite ex ...

one of the limitations of NT backup is having to choose the media. To overcome this you need to create a batch file:

NTbackup backup [systemstate] /j [job name] /A [append action] /T [tape name] or /G [guid name] to append the tape.

If you want complete automation, best to use a 3rd party application [though pricey].

Collapse -

by CG IT In reply to

the /A is append the /T is for tape name or alternate is the /G guid name to append the tape. your command line statement doesn't reference appending the tape by tape name thats in the tape drive. therefore NT backup will fail because NT backup doesn't know what tape is in the drive or whatto do with the tape.

I'll find the link on microsoft help and support on NT backup and post again.

Collapse -

by Dave Flick In reply to NT Backup to overwrite ex ...

Are you saying I need to creat a batch file including the command line and then use the backup program to schedule it? Here is the command line as it is now. C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Full system backup.bks" /n "Backup" /d "Backup" /v:no /r:no /rs:no /hc:on /m normal /j "Full system backup" /l:s /p "miniQIC" /um

Collapse -

by M.R. In reply to NT Backup to overwrite ex ...

Here is a copy of what I have in our scheduler:

C:\WINNT\system32\NTBACKUP.EXE backup "@C:\Name of Saved Backup File.bks" /d "Name of Daily Backup Media Set" /v:no /r:no /rs:no /hc:on /m normal /j "Backup Job Name" /l:s /p "Media Pool Name" /um

The short answer is configure and schedule a job, then open the job in the Ctl Panel - Sheduled Tasks applet. Add the /um switch.

Sometimes it takes a few tries. The /um should override the media pool retention. If you are wanting to learn about removable media pools, etc. you can also handle it through that by controling the media location, retention and the pool your backup draws from.

Collapse -

backup to overwrite

by robin.johnson In reply to NT Backup to overwrite ex ...

We run our backups via a backup.bat file. You're right, by default it doesn't want to overwrite the tape because it thinks you will be using the NT backup scheduler which looks for a specific tape for a specific day.

use the /um switch to override this. This is what our backup.bat file looks like.

start /wait rsm.exe refresh /lf"library_name"
sleep 40
c:\winnt\system32\ntbackup.exe backup ?@c:\scripts\backup\fullbackup.bks? /n ?ServerName? /d ?Tape Label? /v:yes /r:no /rs:no /hc:on /m normal /j ?Full Backup? /l:s /p ?LTO Ultrium? /um

Related Discussions

Related Forums