Re: [SOGo] Domain migration

2017-09-04 Thread Martin

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  
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/usern...@exemple.com)
 * In the backup file, rename your folders in table section (sed -i
   s#/Users/username/#/Users/usern...@exemple.com/#g
   /path/to/backups/usern...@exemple.com)
 * In the preferences section, adjust folders settings according the
   new usernames (sed -i s#:Calendar#/@imrcom.fr:Calendar/#g
   /path/to/backups/usern...@exemple.com; sed -i
   s#:Contacts#/@imrcom.fr:Contacts/#g
   /path/to/backups/usern...@exemple.com)


  * I try to migrate users mailbox with doveadm (/doveadm backup -N -u
u...@exemple.com 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.


--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Domain migration

2017-09-01 Thread Martin LEUSCH

Hi,

I'm migrating various domains to a new server and after some tests I 
have encountered some issues:


 * 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?
 * 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?
 * I try to migrate users mailbox with doveadm (/doveadm backup -N -u
   u...@exemple.com remote:newserver.exemple.com/) but shared IMAP
   folders are not migrated on the new server. How can I migrate shared
   IMAP folders?

Thanks,

Martin

--
users@sogo.nu
https://inverse.ca/sogo/lists