Subscribe

scripting SnapManager for Exchnage (2013) snapshots

[ Edited ]

Hi,

I need some help with a design how to iimplement an Exchange archive database snapshot from a .bat script using SnapManager for Exchange.

I assume the .bat should call the Exchange PowerShell to call SnapManager?

Am I in the right direction? Can / will a .bat script return a status to indicate a success or a failure?

 

If anyone has a suggestion or an example (even better!) it will be hugely appreciated!

 

Thanks and apologize upfront, but I am a complete newbie to this.

Re: scripting SnapManager for Exchnage (2013) snapshots

[ Edited ]

you can schedule SME backup from within the SME GUI, not sure why you would want to launch them from a script.

anyway, I suppose you can put something like this in the batch file:

smejoblauncher.exe new-backup -Server '%1' -GenericNaming -ManagementGroup 'Standard' -NoTruncateLogs $False -StorageGroup 'MB1\%2' -UseMountPoint,

 

where %1 is the DAG name and %2 is one of the server name hosting Mailbox copy MB1.

 

hope that helps,

Domenico.