Solved

Back Up Exchange with bat file

Posted on 2001-08-22
8
420 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 100 total points
ID: 6417652
check the schedule service is not started logging on as system account. (try with administrator account)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

730 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