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.
Our community of experts have been thoroughly vetted for their expertise and industry experience.