We help IT Professionals succeed at work.

ntbackup glitch

mcj asked
Last Modified: 2012-06-27
I'm running the following as a scheduled AT command each night on a client's 2003 server:

ntbackup backup "@C:\Data\backup_daily.bks" /n "Daily-Full" /d "Daily Full Backup" /v:yes /r:no /rs:no /hc:on /m normal /j "Daily Job" /l:f /p "8mm AIT1" /um
rsm eject /lf"Sony AIT 50 GB IDE Drive"

The intent is that whatever tape is in the drive is written over with a new normal full backup. The .bks file just specifies c:\data where all the shares are.

I've found that sometimes the process will hang. The client calls me and tells me the tape didn't eject. No log is generated, so there is nothing I can tell you on that end. If I check under the computer management console for removable storage, whatever tape is in the drive is shown as allocated. If I deallocate it, then the process runs normally next time.

My understanding is that /um should force an overwrite "end of story" so I'm not sure why this is happening.

If I need to "deallocate" the media, what is a "rsm -foodeallocate" command that will work without specifying the GUID of the tape?(since the .bat that runs should be the same for every night of the week, there's no way to deallocate a specific tape, I just need to deallocate whatever tape is in the drive at the time the script runs.)

Please refrain from giving "don't use ntbackup because it's a mutt" or "use Veritas because it rocks" etc. as answers.
Watch Question

This one is on us!
(Get your first solution completely free - no credit card required)
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.