View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004823 | SOGo | sogo-tool | public | 2019-09-24 13:36 | 2019-10-07 10:01 |
Reporter | florian | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 4.0.8 | ||||
Summary | 0004823: It is not possible to restore user data with sogo-tool on a fresh installation | ||||
Description | I made a fresh installation of Sogo 4 on Debian and tried to restore the user data that I backed up with sogo-tool backup from an old installation. But for every user but one I get the error only for the one user that I used to login and test the website the restore worked. So it seems like the restore is only possible after a user has logged in. | ||||
Tags | No tags attached. | ||||
Did you restore preferences first, then calendars and address books and preferences again? Does "old installation" refere to a v3 or v2 setup? |
|
I did restore preferences first, then calendars and address books Old installation refers to a v2 setup - 2.3.23 to be precise. |
|
I updated http://wiki.sogo.nu/backupRestore You did configure the correct SOGoUserSources before restoration? |
|
I tried your updated restore script but get the same errors. Yes, I did configure SOGoUserSources. How do I select tables configuration on a fresh v4 installation with an empty database? The configuration and database works when I do not use sogo-tool for restoration but do a restoration of a pg_dump of the v2 database When I do a restoration of a pg_dump of the v2 database |
|
Maybe this is part of the issue, sogo-tool reports but the old configuration was using '127.0.0.1' as server address |
|
Nine tables configuration depends on your configuration in sogo.conf. Does disabling IPv6 support on operating system level help? |
|
I understand, I haven't defined OCSStoreURL, OCSAclURL and OCSCacheFolderURL myself but I guess they were created in sogo.conf, when I ran sql-update-3.0.0-to-combined.sh Disabling IPv6 support didn't change the behaviour, but I understood now what the actual behaviour is: Your guess with the SOGoUserSources was the right direction to look at. sogo-tool does only restore data of users that exist in the SOGoUserSources. sogo-tool restore -p sogobackup-20191002 uvw But in fact data for those existing users was restored successfully. I don't know if it is useful that sogo-tool refuses to restore data of users that don't exist in the SOGoUserSources. |
|
If I understand you correctly, you want an option to restore people from backup, that can not be authenticated via SOGoUserSources? Or do you want an option to suppress those error messages for not authenticable accounts? |
|
It's not that I need this option badly, but I would find it useful in a disaster recovery scenario. Or you could make it more understandable in the error message what the root cause of the error is. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-09-24 13:36 | florian | New Issue | |
2019-09-25 07:35 | Christian Mack | Note Added: 0013768 | |
2019-09-25 08:16 | florian | Note Added: 0013769 | |
2019-09-26 07:48 | Christian Mack | Note Added: 0013774 | |
2019-10-02 13:02 | florian | Note Added: 0013797 | |
2019-10-02 13:11 | florian | Note Added: 0013798 | |
2019-10-02 14:14 | Christian Mack | Note Added: 0013799 | |
2019-10-02 15:17 | florian | Note Added: 0013800 | |
2019-10-02 15:18 | florian | Note Edited: 0013800 | |
2019-10-04 07:06 | Christian Mack | Note Added: 0013801 | |
2019-10-07 10:01 | florian | Note Added: 0013805 |