Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ntbackup & exchange server

Posted on 1998-06-19
1
Medium Priority
?
389 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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
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…

618 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