Hi, and thanks for this utility..
I am testing zmbackup on a multi-server zimbra installation, and I had to dive a little bit on the source of the project.
I have some notes to share :
1 - For now I didn't test all the features of this utility.
2 - For those who are interested, in a multi-server installation, the utility has to be installed on the store servers.
2.a - when you do a full backup, you will get all the ldiff files of all users, and empty maibox tgz files for those who don't exist in that store server (their mailbox are created on other store servers), I've changed the code to only create a backup (ldiff and mailbox) per store server. When searching the user on the ldap server, I added a compare test with store hostname and zimbraMailHost attribute if they are the same I continue the backup.
3 - I think there is an error on the restore_main_ldap function (RestoreAction.sh script) in the 58th line :
the original code : if ! [ -s "$SESSION" ]; then
I think it should be : if [ -s "$SESSION" ]; then
the ! is preventing the restore.