Server 2003, NTBackup and Scheduled Tasks
Just a quickie (hopefully) - I must be being thick somewhere but I can't think where.
Server 2003, USB HDD attached, trying to schedule a daily differential backup of user areas to it... Created a scheduled task for the backup then modified to add the date to the backup file as a parameter. If I run the following from the server command line
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\Administrator.AHS1\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Daily Diff Backup.bks" /a /d "Set created %date:/=-%" /v:yes /r:no /rs:no /hc:off /m differential /j "Daily Diff Backup" /l:s /f "F:\BK\backup%date:/=-%.bkf"
it works perfectly, backs up as expected (for anyone wondering, the %date:/=-% inserts the date but with / substituted by -) and logs to the correct file.
If I use Run from scheduled tasks to try and check that it's going to work ok, ntbackup flashes up and disappears. A blank backup log file is created, no errors logged in the event log. Is this normal behaviour? Am I missing something obvious? Will it not work when Run manually but work ok on schedule, or is running manually an ok way to verify it will work when scheduled?