Hello Steve Ankeny This will move all data related to SOGo settings, calendars and address books. Your user source information and postbox/IMAP content is not included. How you transport that, depends on the kind of source you use. LDAP: 1) stop openldap on old server 2) export with slapcat -n 0 -l ldapConfig.ldif slapcat -n 1 -l userBackup.ldif 3) move these 2 files to the new server 4) import them on the new serverwith slapadd -n 0 -l ldapConfig.ldif slapadd -n 1 -l userBackup.ldif 5) start openldap on new server
Mysql:
1) get a dump with
mysqldump --opt ${USER_DATABASE} > userBackup.sql
2) Move this to the new server
3) import it with
mysql < userBackup.sql
Also don't forget to move your sogo.conf to the new server ;-)
(And change your settings for MySQL, IMAP and SMTP according to your new
setup.)
Kind regards,
Christian Mack
Am 2014-12-17 um 14:34 schrieb Steve Ankeny:
>
> I knew you'd give a good answer!
>
> Should we create users on the new server first or will the restore do
> that for us?
>
> On 12/17/2014 08:22 AM, Christian Mack wrote:
>> Hello Michael Vogel
>>
>> Am 2014-12-17 um 08:01 schrieb Michael Vogel:
>>> I want to move my SOGo installation to another server (with a different
>>> MySql-, IMAP- and SMTP-server)
>>>
>>> Of course I want to keep the calendar and addressbook entries, as well
>>> as the mail filter rules.
>>>
>>> How can I do that?
>>
>> 1) make a backup on the old server with
>> BACKUPDIR="./backup"
>> sogo-tool backup ${BACKUPDIR} ALL
>> 2) shutdown old server
>> 3) move the backup to your new server
>> 4) startup new server
>> 5) restore all data
>> BACKUPDIR="./backup"
>> for USER in `ls ${BACKUPDIR}/*`
>> do
>> sogo-tool restore -p ${BACKUPDIR} `basename ${USER}`
>> sogo-tool restore -f ALL ${BACKUPDIR} `basename ${USER}`
>> done
>>
>>
>> Kind regards,
>> Christian Mack
>>
>
--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416
smime.p7s
Description: S/MIME Cryptographic Signature
