Data Backup and Recovery

scripting SnapManager for Exchnage (2013) snapshots

AV77
2,537 Views

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.

1 REPLY 1

dmauro
2,490 Views

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.

Public