Not sure how useful this will be to you guys, but...
when trying to run ntbackup from a batch file make sure to include the .exe at the end. I have been crawling the web for sample batch files and scratching my head over why they wouldn't work.
I finally worked it out and came up with the following
ntbackup.exe backup c:\windows\system /t normal /hc
n /d "Backup1" /l "c:\backup.log"
ntbackup.exe eject
where the path is what is backed up, /t {type} gives the type of backup (normal, copy, differential, incremental, daily), /hc:{on, off) toggles hardwar compression, /d "" labels the tape and /l tells ntbackup to log to the specified file.
Further switches and a more indepth look at this can be found at
You'll notice that the script above is theirs with the .exe extentions.
TTFN
T
when trying to run ntbackup from a batch file make sure to include the .exe at the end. I have been crawling the web for sample batch files and scratching my head over why they wouldn't work.
I finally worked it out and came up with the following
ntbackup.exe backup c:\windows\system /t normal /hc
ntbackup.exe eject
where the path is what is backed up, /t {type} gives the type of backup (normal, copy, differential, incremental, daily), /hc:{on, off) toggles hardwar compression, /d "" labels the tape and /l tells ntbackup to log to the specified file.
Further switches and a more indepth look at this can be found at
You'll notice that the script above is theirs with the .exe extentions.
TTFN
T