We are using the wonderful NTBackupScript on a Windows 2003 server to automate our backups with the built-in NTBackup. I've used this successfully in the past to run totally automated and bombproof backups, but we're rebuilding our backup server and have run into some snags when trying to create and run the scheduled tasks.
At this point we believe it's a permissions issue that is preventing the scheduled tasks from running. However, we think we've looked into all permissions and security-related issues and can't figure out why it's still not running.
We have already:
We still get the error 0x80070005 in the log. Why?
Process Monitor output includes the following. NAME NOT FOUND and BUFFER OVERFLOW are suspicious but I haven't figured out what to do differently based upon them.
So it turns out that the command line parameters / options are very important to have formatted properly with the quotes in the right places. We thought we had tried every option here, but apparently we did not try the right option until just now. This post has the money text:
Important: The command line options must be placed OUTSIDE of the "" that surround the path. "" are needed because otherwise path names with spaces (like in c:\program files) can not be interpreted correctly by the task scheduler.
The correct entries in "Run:" are:
"C:\Program Files\NTBackupScript\ntbackupscript.cmd" checktape
"C:\Program Files\NTBackupScript\ntbackupscript.cmd" BackupJobFull normal
"C:\Program Files\NTBackupScript\ntbackupscript.cmd" BackupJobFull differential
I didn't see it mentioned: Have you looked in the windows event viewer? (It could be logging something in any of the 3 major logs: System, Application or Security)
User contributions licensed under CC BY-SA 3.0