What i want is to use ntbackup perform backup to one of my folder at
scheduled time using task scheduler. So i need a command line for
backup to do that. or any free utility can do that ? Thanks
Technically you can call ntbackup directly from the scheduler, but I would
be inclined to put together a command (.cmd) file with everything in it,
ensure that works and then call that from the scheduler.
If you want to backup all of C: (including system state) to a file on the D
drive:
ntbackup backup systemstate c:\ /f d:\output\backup.bks
if you wanted to backup only one folder from C (without system-state):
ntbackup backup C:\MyFolder /f d:\output\backup_of_myfolder.bks
I would be inclined to also specify the switches: /V:no /M normal
I suspect they are not required. /v:no is saying don't verify, /m normal is
saying its a normal backup. Yes the colon after the /V and space after /M
are right!
You can specify one source folder on the command line, but if you need finer
control - say to backup two folders but not all of c: then you will need to
use a bks script.
The online documentation isn't bad. At the command prompt enter:
ntbackup /?
Hope that gives you enough to get going.