Ntbackup log files location
Posted on 2007-03-28
With the "at" scheduler, I nightly run:
ntbackup backup "@C:\foo.bks" /n "Daily-Full" /d "Daily Full Backup" /v:yes /r:no /rs:no /hc:on /m normal /j "Daily Job" /l:f /p "8mm AIT" /um
That runs fine.
What's strange is that my log files are sometimes in:
C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\
and sometimes in
C:\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\
I can't find the "rhyme or reason" as to why sometimes the logs are under the "Administrator" profile and sometimes under "Default User" instead. They are consistently in the same folder every night for weeks, but then after a system reboot (like after updates, etc.) then it will sometimes change to the other profile (or not) and then consistently log to that one for weeks, etc.
1. Can anyone explain this phenomenon?
2. Can I explicitly specify the folder in my script by doding something like:
ntbackup backup "@C:\foo.bks" /n "Daily-Full" /d "Daily Full Backup" /v:yes /r:no /rs:no /hc:on /m normal /j "Daily Job" /l:f /p "8mm AIT" /um /TheMagicSwitchGoesHere "C:\PutTheLogsHere"