?
Solved

ntbackup & exchange server

Posted on 1998-06-19
1
Medium Priority
?
385 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
gpipes earned 800 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Suggested Courses

771 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