• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 402
  • Last Modified:

bat backup of exchange server

I'd like a command line with which to backup our Exchange server.  

ntbackup backup "\\OUR-SERVER\Microsoft Information Store\First Storage Group" "X:\robocopybackupweekly1\exchange111.bks"

The line above and several variations of it does not work.  Could someone correct the syntax of the command line.  The GUI just opens, does nothing and then closes very quickly.  Running it from a batch file is the goal.
0
michaelmccomb
Asked:
michaelmccomb
1 Solution
 
StefanKittelCommented:
Hello,

have a look at this. You can create it by yourself by running ntbackup and create a timed backup.
Now go to scheduled Task and copy the parameter.

C:\WINDOWS\system32\ntbackup.exe

backup "@C:\Dokumente und Einstellungen\Administrator\Lokale Einstellungen\Anwendungsdaten\Microsoft\Windows NT\NTBackup\data\Sicherung Exchange.bks" /n "Sicherung Exchange.bkf erstellt am 30.11.2007 um 18:42" /d "Satz am 30.11.2007 um 18:42 erstellt" /v:no /r:no /rs:no /hc:off /m normal /j "Sicherung Exchange" /l:s /f "D:\Exchange Sicherung\Sicherung Exchange.bkf"

[Sicherung Exchange.bks]
JET NTSERVER\Microsoft Information Store\Erste Speichergruppe\
SystemState

Stefan
0
 
michaelmccombAuthor Commented:
Excellent and thank you very much as this is exactly what I needed.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now