Solved

Back Up Exchange with bat file

Posted on 2001-08-22
8
393 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 100 total points
ID: 6417652
check the schedule service is not started logging on as system account. (try with administrator account)
0
 

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
Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create an Accepted Domain 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 >> Ac…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now