Solved

ntbackup & exchange server

Posted on 1998-06-19
1
376 Views
Last Modified: 2013-12-14
When exchange server is install on NT 4.0, ntbackup.exe obtains a new option for backing up the exchange server information store files (public and private). In order for ntbackup to backup these files the exchange server option within ntbackup must be selected. I am using a batch file to run ntbackup from winat.exe (scheduler). I need to know the command line options for ntbackup that will set the exchange server option in order to backup up those files. Thank you in advance.
0
Comment
Question by:stevee
1 Comment
 
LVL 3

Accepted Solution

by:
gpipes earned 200 total points
ID: 1768431
Got the following from the Recovery guide for Exchange.

Sample Batch File For On-line Backup
 
rem ** 3/7/96  Backup Written by Joseph Pagano
rem ** This will backup the IS and DS on both WNTEXS1 and WNTEXD1.

ntbackup backup DS \\WNTEXS1 IS \\WNTEXS1 /v /d "WNTEXS1 IS-DS" /b /t Normal /l c:\winnt35\backup.log /e
ntbackup backup DS \\WNTEXD1 IS \\WNTEXD1 /a /v /d "WNTEXS1 IS-DS" /b /t Normal /l c:\winnt35\backup.log /e

exit
 
Sample Batch File For Off-line Backup: Example 1
Note that you may need to experiment with the order in which you stop the services so that you do not get prompted when there is service dependent upon the one which you are stopping.
 
rem ** stop Microsoft Exchange Services
rem ** you can stop Microsoft Exchange services and restart them automatically to
backup
rem ** files that a particular service may hold open
REM // stop all services
echo Stopping Services...
net stop MSExchangeMSMI
net stop MSExchangePCMTA
net stop MSExchangeFB
net stop MSExchangeDX
net stop MSExchangeIMC
net stop MSExchangeMTA
net stop MSExchangeIS
net stop MSExchangeDS
net stop MSExchangeSA

ntbackup backup c:\ d:\ /a /v /d "Full File Based Backup" /b /l c:\winnt35\backup.log /e

REM edbutil OPTIONS

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
 
Sample Batch File For Off-line Backup: Example 2
Note that you are able to start and stop PCMTA services by enclosing the service name in quotes.  You can determine the service names from the Microsoft Exchange administrator program, the Windows NT control panel, or by looking into the Windows NT registry.  If using the Windows NT registry, select HKEY_LOCAL_MACHINE, SYSTEM, CurrentControlSet, Services.  All services will be listed in alphabetical order.
 
rem Batch File To Stop and Restart Microsoft Exchange Services
rem For File Based Backup

echo Stopping Services ...
net stop MSExchangeMSMI
net stop MSExchangePCMTA
net stop MSExchangeFB
net stop MSExchangeDX
net stop MSExchangeMTA
net stop MSExchangeIMC
net stop MSExchangeIS
net stop MSExchangeDS

net stop "PC MTA - HUB"
net stop MSExchangeSA

ntbackup BACKUP d:\exchsrvr\mdbdata /v /d "File Based Backup" /b /l c:\winnt35\backup.log /e

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

net start "PC MTA - HUB”

0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

808 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