?
Solved

Back Up Exchange with bat file

Posted on 2001-08-22
8
Medium Priority
?
459 Views
Last Modified: 2012-06-27
HI
I am trying to back up two Exchage Servers, both of them in the same organization, domain and LAN.
The tape is in Server 1, Server 2 have no tapes.
The Back up is Full, circular logging is enabled.
If I use the Back Up Windows Utility there is no problems...but when I perfom back up with a .bat file the Exchage`s Service of Server 2 returns a "Deny Acces" in Log Events and of course backups nothing.

Any ideas??
Thanksss
Julio Saiz
0
Comment
Question by:JSaiz
  • 5
  • 2
8 Comments
 
LVL 2

Expert Comment

by:Xeaza
ID: 6413388
Perhaps your batch file is running without permission to back up the second Exchange server.

If the batch file runs unattended (while you are not logged on) it has to run in the system context of the local machine. This will give it administrative privs on the machine on which it runs (the local machine) but it will have no privs on any other machine.

I don't think the Windows backup utility can back up any server but itself.
0
 

Author Comment

by:JSaiz
ID: 6413530
HI
The backup utility CAN backup the Exchange in Server 2, trust me :)
The Batch file..yes  it runs unattended...I launch it from a WorkStation with Winat so It does not run in local context in any servers, and I only have problems with the Server 2....

Thankss!!!
Julio Saiz
0
 

Accepted Solution

by:
JasonFenwick earned 300 total points
ID: 6417652
check the schedule service is not started logging on as system account. (try with administrator account)
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 

Author Comment

by:JSaiz
ID: 6417945
Well..it sounds nice....just two more questions..
In wich server do you think I have to change the service account??
And How?? :)

Thankss Again!!!
0
 

Expert Comment

by:JasonFenwick
ID: 6421108
You need to change the schedule service on the machine which is running the at command

go to control panel/services

highlight schedule service

click startup

click radio button for using this account

select account from domain and add appropriate password

if all is okay you should receive a message saying user <username> has been granted log on as a service right.
Stop the service and restart.

See how you go.

0
 

Author Comment

by:JSaiz
ID: 6478718
Hi!! sorry for the delay..
I do not know why but I can click on radio button "for using this account"..it is deactivated
I have tried with both users Domain Administrator and MAchine Administrator.

Any ideas??
Thankss a lot

Julio Saiz
0
 

Author Comment

by:JSaiz
ID: 6478787
Well I kown wich is the problem with the Schedule Service..
The machine I run the WinAt is a NT workstation, the service in Worksation is named Task Scheduler and for any any reasons....I can not change the acount in it..
But in a NT Server the service is named Schedule and....surprise!! I can change the account!!!!
So I am going to try run WinAt in the NT server...

Bye!!
Don not worry...the points are sure for you....
 if it works ;)
0
 

Author Comment

by:JSaiz
ID: 6499318
Hi!! The points are for you!!
Just only one thing. I had to uninstall the IE5 from the server in wich run the schedule service. This is because teh IE5 replace the schedule service wiht another one named "Task Schedule" and...surprise you can not change the account in this one.
THANKSS TO ALL!!

Julio Saiz
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question