Having fairly simple needs for backup purposes, under Windows 2000 I use NTbackup to backup most of our servers. To have some control over the process I use it in a scheduled batch file.
I use the /P switch to designate the tape pool to use, and the /UM switch to find the first available media in the pool for the backup. This works well and allows us to put in new tapes (as long as we format them) or used tapes and the backup works with no other intervention. Here is the exact command I use:
Now in Windows Server 2003 the /UM switch no longer works. It is not even documented in the help or KB, although you can put the switch on the command line and it won't generate an error. So far no matter what I've tried NTbackup won't look for any available tape, and it always complains that there is no available media.
I haven't yet tried using just the NTbackup GUI to setup and schedule the jobs, as I like being able to have the tape names automatically generated with the date, plus the batch file does other things such as temporarily stop antivirus programs and copy the backup log to a central location for review.
I may also look in to using RSM command-line to get the GUID of the current tape and have NTbackup use that, but that makes the script much more complicated and I was hoping to avoid that.
Has anyone else experienced this and gotten it to work?
I use the /P switch to designate the tape pool to use, and the /UM switch to find the first available media in the pool for the backup. This works well and allows us to put in new tapes (as long as we format them) or used tapes and the backup works with no other intervention. Here is the exact command I use:
Code:
start /wait %systemroot%\system32\ntbackup.exe backup "@C:\backup\full1.bks" /n "%computername%-%dtt%" /d "daily %dtt%" /v:no /r:no /rs:no /hc:on /m normal /j "daily %dtt%" /l:s /p "DLT" /um
Now in Windows Server 2003 the /UM switch no longer works. It is not even documented in the help or KB, although you can put the switch on the command line and it won't generate an error. So far no matter what I've tried NTbackup won't look for any available tape, and it always complains that there is no available media.
I haven't yet tried using just the NTbackup GUI to setup and schedule the jobs, as I like being able to have the tape names automatically generated with the date, plus the batch file does other things such as temporarily stop antivirus programs and copy the backup log to a central location for review.
I may also look in to using RSM command-line to get the GUID of the current tape and have NTbackup use that, but that makes the script much more complicated and I was hoping to avoid that.
Has anyone else experienced this and gotten it to work?