Automating eM Client Back-ups from a Script

Hello.

I’m needing to perform the eM Client back-up that can be configured within eM Client using a command script. The reason for this is that I need to use a NET USE statement to set the UNC path and credentials needed for the back-up of the eM Client data to my NAS.

I was able to find this command line syntax provided by Gary at eM Client in response to another inquiry:

“C:\Program Files (x86)\eM Client\MailClient.exe” /dbbackup -backup

It appears that executing this command actually backs up the eM Client data to the UNC path I have configured in Menu | Settings | General | Backup | Target Directory, which is interesting.

If I uncheck the “Enable periodic backup” check box on the Backup configuration dialog box, will running the command line statement from a script continue to use the UNC path I have configured in the Backup configuration dialog box?

Alternatively, is there a way for me to specify the back-up UNC path directly on the eM Client back-up command line (from above)?

Thank you! :slightly_smiling_face:

Lisa

Tuesday 14 July

Hi @LisaAnn

Here is a link that was passed to me, perhaps it will work for you.
Backups are important for me and this works well, here:

Bonne chance!

Lucy_C

Hello, Lucy!

Thank you so much for the link to the back-up instructions page! Reading through the instructions caused me to realize that I can add the NET USE commands that I need to the Actions tab of the eM Client back-up task dialog in Task Manager, which will serve my purpose. Wonderful!

Thank you, again!:slightly_smiling_face:

Lisa

Yes.

Hi, Gary!

Thank you!:slightly_smiling_face: