I did a planned disaster recovery this weekend and was impressed that this was really well working!
But as usually with complex software there are some bugs:
The configuration backup does not include any information about shared mailboxes, therefore restoration is not possible.
Workaround is easy:
restore configuration from backup
manually add shared mailboxes as needed
restore data
Shared mailboxes will now include old data
I agree it is a bug because (like Samba shared folders) shared mailboxes definition must be included into the configuration backup.
It is now included in data backup as the contents of the whole /var/lib/nethserver/vmail/vmail/ directory. We should cherry-pick some dovecot-specific files to cut out the mailboxes definition and permissions.
Sorry, I am new to GitHub and I don’t want to mess things up. It’s not exactly the same issue (backup config/owner groups) and I think I can’t assign it to me because I don’t have rights (no checkbox). Should I just do a comment?