Solved

ntbackup & exchange server

Posted on 1998-06-19
1
380 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

730 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