General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] Moving a SOGo installation to another server?


Chronological Thread 
  • From: Igor Vitorac < >
  • To:
  • Subject: Re: [SOGo] Moving a SOGo installation to another server?
  • Date: Wed, 17 Dec 2014 16:23:30 +0100

If you are using users from MySQL on the same server, then you need to handle that separately. Process explained by Christian Mack transfers only calendar and calendar entries!
Following is assumed for the new server:
- install clean SOGo and prepare same (or similar) sogo config.
- prepare user source, if using MySQL as user source on the new server
- ensure that SOGo is working by creating one user and login into SOGo

After that you can proceed with the import.

Regards,
Igor



Steve Ankeny wrote on 17/12/2014 14:34:
thx, Christian . . .

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







Archive powered by MHonArc 2.6.18.

Top of page