Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-21-2003, 10:34 AM   #1
Member (8 bit)
 
Join Date: Jun 2002
Location: SouthCentralTexas
Posts: 238
Question Backing up Exchange 5.5

Is there a easy way to backup Exchange 5.5. When I do a backup it tells me that I can't do a successful backup because files are being used. What does this mean?
mrlucio is offline   Reply With Quote
Old 02-21-2003, 11:24 AM   #2
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
What it means is that your log files and your exchange information store files are in use. You can either stop Exchange by stopping the service or get a prorgam like BackupExec that will backup the files while they are open.

Even if you copy your priv.edb and your pub.edb files to another location, they are unlikely to work. They can become corrupt if Exchange is writing data to the file at the time that it is copied.
mairving is offline   Reply With Quote
Old 02-21-2003, 02:49 PM   #3
Member (8 bit)
 
Join Date: Jun 2002
Location: SouthCentralTexas
Posts: 238
What if I am on a budget and cannot afford the better backup packages such as ArcServeIT and Veritas. Is there a way to use the regular NTBackup? I understand there is, but I need a script to run at a certain time to shutdown the Exchange services so the files won't be in use. Any clues???
mrlucio is offline   Reply With Quote
Old 02-21-2003, 04:03 PM   #4
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
I have used this little batch file before for defragmenting Exchange. I am sure that it could be altered for the purpose of making a backup. It could also be automated.

PHP Code:
CLS
@ECHO OFF

REM EXCHANGE SERVICE STOP
NET STOP MSExchangeIMC 
/Y
NET STOP MSExchangeMTA 
/Y
NET STOP MSExchangeIS 
/Y
NET STOP MSExchangeDS 
/Y
NET STOP MSExchangeSA 
/Y

REM DEFRAGMENTATION
ESEUTIL 
/D F:EXCHSRVRMDBDATAPRIV.EDB /LC:EXCHBAKPRIVLOG /SC:EXCHBAKPRIVSYS /BPRIV
ESEUTIL 
/D F:EXCHSRVRMDBDATAPUB.EDB /LC:EXCHBAKPUBLOG /SC:EXCHBAKPUBSYS /BPUB

REM EXCHANGE OFFLINE DIRECTORY BACKUP
XCOPY F
:EXCHSRVRMDBDATAPRIV.EDB SERVER4EXCHBKUPEXCHEDBMDBDATA
XCOPY F
:EXCHSRVRMDBDATAPUB.EDB SERVER4EXCHBKUPEXCHEDBMDBDATA

REM EXCHANGE SERVICE START
NET START MSExchangeSA 
/Y
NET START MSExchangeDS 
/Y
NET START MSExchangeIS 
/Y
NET START MSExchangeMTA 
/Y
NET START MSExchangeIMC 
/
mairving is offline   Reply With Quote
Old 02-22-2003, 03:01 PM   #5
Member (8 bit)
 
Join Date: Jun 2002
Location: SouthCentralTexas
Posts: 238
Wink I could use this script....

AI think I could use this script. The stopping and starting part. What is the command to pause a certain about of time before the the command starts up the service again. I want to at least give it about a 2 hour pause. Because I run a backup at 2am automatically for about 1hour and 30minutes.....
mrlucio is offline   Reply With Quote
Old 02-22-2003, 03:36 PM   #6
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Easiest thing to do is to make 2 scripts, a start and a stop script. Schedule the stop script for 2am and the start for 4am. Of course, you run the risk of missing some of the early morning spam.
mairving is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:07 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2