Hi Kai, thnx for bringing this up
Sogo stores its data in a mysql date base (/var/lib/mysql/sogo). Fortunately sogo comes with the sogo-tool you do not need to make database dumps for backing up SOGo data.
Nethserver-sogo comes with a script to make a back-up of the data, unfortunate we still have to make a restore script. This is because the sogo-tool does not have a restore ALL command, we have to make a script which cycles trough all users.
If you using the testing package of netherver-sogo you hit a bug, it does not backup the sogo data.
(check for nethserver-sogo version)
rpm -q nethserver-sogo
You can fix the sogo data back-up, or wait a while for a update. (to fix it the testing package rightnow :
mv /etc/e-smith/events/actions/nethserver-sogo-backup-user \
The SOGo data (sogo-backup.tgz ) should be included in your backup-set now. Keep in mind restore is not working, so it is rather useless.
It is possible to restore de data manually by extracting sogo-backup.tgz to a directory and for each user do
sogo-tool restore -p /path_to_dir [user]
sogo-tool restore -f ALL /path_to_dir [user]
For manual backup and restore see also: (there is an example of a script for restoring all users)
and (this is ns6.8, On ns7 we do not have to su -s '/bin/bash' )