2015-05-08 02:34 AM - edited 2015-12-18 01:04 AM
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.
2015-05-10 10:25 PM - edited 2015-05-10 10:25 PM
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,