• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 403
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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