View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004256||SOGo||sogo-tool||public||2017-08-22 02:35||2018-04-27 12:37|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Fixed in Version||4.0.1|
|Summary||0004256: sogo-tool (SOGo-3.2.10) cannot fully restore backup generated by SOGo-2.3.22|
I was trying to migrate SOGo-2.2.15 to the latest 3.2.10, here's what i did and the result (cannot restore shared calendars)
This is what i did, it’s fully working with SOGo-2.3.22 (the latest 2.x), but NOT fully working with SOGo-3.2.10:
1) OLD server is running SOGo-2.2.15. Take backup with 'sogo-tool backup’.
|Tags||No tags attached.|
I have also noticed this issue.
I also noticed that restoring an user on the same server with SOGo 3.2.10 does not restore ACL neither. So I think this is due to a bug of sogo-tool in the last version and it not due to an incompatibility between v2 and v3.
(For me the severity is more than "minor", it keeps me from migrating a group with complex shares...)
Any news regarding this issue?
To restore the preferences, you must call sogo-tool a second time with the "-p" argument:
sogo-tool restore -p <directory> <user>
It seems "-p" argument is not working as expected on SOGo 3.2.10.
My SOGO 3.2.10 server is configured to create total of nine database tables - and prevent SOGo from creating three database tables per collection.
After restore an user from a sogo-tool backup the acl permissions are all missing.
The user had shared their calendars and addressbooks to other users giving them modify permissions.
I've executed these commands:
sogo-tool backup folder-1 user
sogo-tool remove user
sogo-tool restore -f ALL folder-1 user
sogo-tool backup folder-2 user
diff folder-1/user folder-2/user
Is the destination server running a 9-table (combined tables) model?
Yes, my destination server is running a 9-table (combined tables) on SOGo 3.2.10.
I've noticed that sogo-tool deletes sogo_acl table when it tries to restore folders. So this issue is worst than expected. I've opened another bug "[SOGo 0004390]" about that.
sogo: master f3189204
2018-04-27 12:34:55Details Diff
|(sogo-tool) Fix ACLs restore in single store mode
0004256, 0004385, 0004390
|mod - NEWS||Diff File|
|mod - SOPE/GDLContentStore/GCSFolder.m||Diff File|
|mod - Tools/SOGoToolRestore.m||Diff File|
|2017-08-22 02:35||zhb||New Issue|
|2017-09-04 09:12||MartinL||Note Added: 0012254|
|2017-12-23 11:01||mcmer||Note Added: 0012487|
|2018-01-09 05:43||thoehlig||Note Added: 0012497|
|2018-01-12 09:02||francis||Note Added: 0012503|
|2018-02-04 13:48||ASolana||Note Added: 0012552|
|2018-02-04 13:50||ASolana||Note Edited: 0012552||View Revisions|
|2018-02-04 13:53||ASolana||Note Edited: 0012552||View Revisions|
|2018-02-04 14:01||ASolana||Note Edited: 0012552||View Revisions|
|2018-02-07 11:45||francis||Relationship added||has duplicate 0004385|
|2018-02-07 11:50||francis||Note Added: 0012583|
|2018-02-07 12:09||ASolana||Note Added: 0012584|
|2018-04-27 12:36||francis||Changeset attached||=> sogo master f3189204|
|2018-04-27 12:36||francis||Assigned To||=> francis|
|2018-04-27 12:36||francis||Resolution||open => fixed|
|2018-04-27 12:37||francis||Status||new => resolved|
|2018-04-27 12:37||francis||Fixed in Version||=> 4.0.1|