Discussion Locked

NTBackup

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Please can anyone assist. Within a domain, I am trying to back one computer up to another computer in the domain.

There is a domain account called domscheduler. The domscheduler account has the correct permissions on both machine.

The server service on the machine to be backed up, is running under the domscheduler account.

When I create a backup within NTBackup, and a run immediatly in the domscheduler account it workds fine. If I set it to run at 2300hrs with the account logged out, the backup doesn't run

Please can anyone advise me where the problem is

Thanks

geoff smith

11 replies

by vh_s

If you are using the AT command, then it will log you on not with the domscheduler account, but with SYSTEM account.

And also remember that since it is logged in with SYSTEM account, network drives are not established.

Hope it helps.
vh_s

by joseph moore

Running NTBACKUP with AT command is not that easy. YOu have a couple different options I can see here.
1) On the machine that is running the schedule, upgrade Scheduler to Task Scheduler, the GUI version that comes with IE5. With that one, you can specify the schedule to run under a specific account. It is easy this way to make the schedule run under your "domschedule" account.
2) If you can't upgrade, try setting the Schedule service on the machine RUNNING the schedule to run with your domschedule service account, not the local machine system account. Setting the service account level on the TARGET machine is not gonna work. YOu have to set the machine that is actually issuing the command to run under this account.
3) YOu could try this also: Instead of having your AT command set like "AT 01:00 "c:\winnt\system32\ntbackup backup c:/v"" you could insert the RUNAS command:
"AT 01:00 "runas /user:domain\domschedule "c:\winnt\system32\ntbackup backup c:/v""

That would force the NTBACKUP command to run under the domain\domschedule account.

But, the best solution of all is to NOT use NTBACKUP, but to get a 3rd party backup solution.

by curacao_dejavu

1:upgrade to IE 5.5.
You would be able to specify with wich account you want the selected task to run.

2: Upgrade to w2k: same reason as before.
or use a backup exec or arcserveit for the backup.
It would depend of what you are trying to backup that I would suggest what you be cheaper, w2k or the 3th party.
If you are planning to backup exchange and sql server go for the 3th party software, if it's a simple data or a not to critical data w2k will do fine.

Leopold

by jereg

This may be a little strange, but someone I know swears it works. Create a share on the server you want to backup that contains the folders you want backed up. Give the rights to that share to the Domcontroller. Use the Net Use command to map a drive to that share.
Then, just backup that drive.
Hope that helps.

by estebandelatorre

Domscheduler user should be member of the backup operators group.
Remove every other permissions, due to the fact that this user won't be logged into the machine, it will only performs the backup job
Submit the job into the scheduler (WINAT.exe) with the administrator account logged LOCALLY

This discussion is closed to new replies.