NTBackup, batch files, AT command and permissions
Ok, I have WinNT Server sp6.
When I upgraded to IE 5.5, the Scheduler service got replaced with Task Scheduler (I've no idea if that's significant or not, but I could swear I remember catching something about it in a Knowledge Base article).
The goal is to schedule automated backups using batch files, NTBackup and the AT command (not sure I can justify the expense of 3rd party backup software for such a small company with relatively basic needs).
For testing, I have NTBackup and a tape drive installed on one computer (WinNT Server sp6) that I plan to use as a "backup server" to grab files from other machines. I have a test directory set up on another WinNT Server sp6 machine.
- If I use the command line (ntbackup backup blah, blah, blah) to backup the remote test directory, everything's hunky-dory.
- If I make a batch file that uses the above command line and launch the batch file, the backup works fine.
- If I run the batch file from a scheduled AT command event, I get a permissions error. This is odd because the target directory has zero restrictions (Everyone has full read/write access). On top of that, the "backup server" is using the Admin account for login (and just out of paranoia, I added the Admin to the Backup Operators permissions group).
There should be no reason for a permissions error here. Can anyone help me out?
==============================
Update. I added "System" to the permissions on the shared drive the target directory is on. Still got the same problem. :(
Given that the permission was already full for Everyone, I can't say I'm terribly surprised by this turn of events.