Backup Exchange mailboxes using rsync

milutin at milutin at
Thu Aug 3 11:55:57 GMT 2006

Hello Reuben,

Exchange database files are lock.  You have several options. 


The easy one is to backup exchange to the local disk using ntbackup and 
then the rsync the backup file.


Stop Exchange, rsync the files and then start it.  The drawback is that 
you will have dowm time.

The command should be some thing like his:

net stop MSExchangeMSMI /y
net stop MSExchangePCMTA /y
net stop MSExchangeFB /y
net stop MSExchangeDX /y
net stop MSExchangeIMC /y
net stop MSExchangeMTA /y
net stop MSExchangeIS /y
net stop MSExchangeDS /y
net stop MSExchangeSA /y

rsync ...

net start MSExchangeSA
net start MSExchangeDS
net start MSExchangeIS
net start MSExchangeMTA
net start MSExchangeIMC
net start MSExchangeDX
net start MSExchangeFB
net start MSExchangePCMTA
net start MSExchangeMSMI


Use windows shadow. More info on this page:


Use St Bernard Software to rsync open/lock files"

Please note that option 1 have other advantage, ntbackup will also 
truncate your exchange log files. So the log will not full your disk.

Milutin Voinivich

Reuben Pearse wrote:

> Hi all,
> Has anyone got any advice on the best way to backup Exchange mailboxes 
> (Exchange 5.5) running on a Windows 2000 server? We already use rsync 
> on a number of other Windows boxes for general file backup.
> I've read that even if you get backups of the Exchange mailbox files, 
> then it's really tricky to get the mailboxes back into Exchange if the 
> server dies. Anyone got any tips on this?
> Thanks in advance
> Reuben
> reuben at

More information about the rsync mailing list