Solved

Back Up Exchange with bat file

Posted on 2001-08-22
8
400 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
as logs exchange 2010 7 21
Installation of new DAG member with different patching level 2 48
exchange 2013 4 42
Default policy to format email address 1 25
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Contact 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 Recipients >> Contact ta…
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…

911 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

16 Experts available now in Live!

Get 1:1 Help Now