Hi all can any one give me some ideas of how to write a bat file to back up a range of files from my server to DAT tape drive using the native win2k backup?
Thanks Stressed school tech
There are a bunch of command line switches in the help for ntbackup. I've never done it from a batch file though I've always used the scheduler. is there a reason you want to run it from a batch file?
Since the backup drive is a tape drive(DAT or otherwise) you need to. Use NTBackup to select the files you want to backup to the tape drive. Use the included backup wizard at the "Completing the Backup Wizard" page click on <advanced>. When you reach the "When to Back Up" page click on <later> and then <set schedule> and set the schedule.
. It has somewhere around 200 different command parameters, although I always just find myself using /backup, which only copies files that have changed or been added to a particular directory.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.