For answering myself:
* When I restore users folders and preferences to the new server
with sogo-tool, shared folders and ACL (calendar and address
books) are not restored (from SOGo v2 nightly 2.3.22.20170831-1 to
SOGo v3 nightly 3.2.10.20170706-1 with combined database schema).
Is sogo-tool can restore shared calendars and address books? Is it
support restoring from v2 to v3? Is it support restoring from old
database schema to combined schema?
There is already a bug report <https://sogo.nu/bugs/view.php?id=4256>
and a thread in this mailing list about this issue.
* I have an other mail server to migrate with samba using username
as uid and the new server use full mail address as uid. Is
sogo-tool can restore user backup with an other username?
* Rename the file according the username you want (mv
/path/to/backups/username /path/to/backups/[email protected])
* In the backup file, rename your folders in table section (sed -i
s#/Users/username/#/Users/[email protected]/#g
/path/to/backups/[email protected])
* In the preferences section, adjust folders settings according the
new usernames (sed -i s#:Calendar#/@imrcom.fr:Calendar/#g
/path/to/backups/[email protected]; sed -i
s#:Contacts#/@imrcom.fr:Contacts/#g
/path/to/backups/[email protected])
* I try to migrate users mailbox with doveadm (/doveadm backup -N -u
[email protected] remote:newserver.exemple.com/) but shared IMAP
folders are not migrated on the new server. How can I migrate
shared IMAP folders?
This is not related to SOGo, in dovecot, ACL module was not enabled for
doveadm (only enabled for IMAP service) so I just add to add acl in
mail_plugins setting in donvecot config file.
--
[email protected]
https://inverse.ca/sogo/lists