You are not logged in.

Announcement

Bonjour, avant de poster, merci de vérifier que vous avez respecté les pré-requis de l'installation et consultez notre documentation : http://docs.blue-mind.net !

Hi, before posting on the forum, please check that you followed installation prerequisites and get a look to our documentation space : http://docs.blue-mind.net

#1 2016-12-14 13:19:35

BobNoorduin
Member
Registered: 2016-12-12
Posts: 28

Import 3.0 data into 3.5

Hello there,

see subject.

Can I pgdump the database 3.0 and then import into 3.5? We have moved from wheezy to jessie and have a new license on another VM. Want to move the data from the old VM to the new.

Appreciate the feedback.

Kind regards,
Bob.

Offline

#2 2016-12-16 15:35:59

tikok974
Member
Registered: 2016-12-09
Posts: 153

Re: Import 3.0 data into 3.5

Hello everybody,

I am also interested in this request. I am very curious to know how we will have to proceed without subscription to BlueMind and no documentation provided by them (see my post in French HERE )

Many thanks.

Kind regards,

Last edited by tikok974 (2016-12-16 15:36:20)


"La connaissance a plus de valeur lorsqu'elle est partagée et accessible librement..."

Offline

#3 2016-12-16 17:19:44

aaujon
Member
Registered: 2016-01-07
Posts: 258

Re: Import 3.0 data into 3.5

Hi,

No you can't pgdump your database directly. There is several ways to do that :
with a subscription
* install BlueMind on your new serveur with the same version
* use Global Restore to install the server from a backup
* upgrade from 3.0.x tp 3.5 using the setup-wizard
without a subscription
* install BlueMind on your new server with 3.5 version
* migrate your data :
** manually (create user, export contacts and calendars using web interface and import them back into your new server the same way)
** programmatically using BlueMind API (see exemples in git under docs/ for 3.0 and doc-api plugins for 3.5)
For the emails, you can either use imapsync or directly copy the mailspool from your old to the new server but this need some cyrus knowledge.

Last edited by aaujon (2016-12-16 17:22:13)

Offline

#4 2016-12-19 16:18:21

BobNoorduin
Member
Registered: 2016-12-12
Posts: 28

Re: Import 3.0 data into 3.5

Thanks for the feedback. If I wanted to use method 1) then I select "Global Restore". Where do I get the data to restore from? rsync /var/backups/bluemind/ of the old server to the new server?

I appreciate your feedback.

Offline

#5 2016-12-19 16:25:03

aaujon
Member
Registered: 2016-01-07
Posts: 258

Re: Import 3.0 data into 3.5

Yes exactly or you can directly mount your backup to your new server if your using NFS or other network fs

Offline

#6 2016-12-19 17:15:04

BobNoorduin
Member
Registered: 2016-12-12
Posts: 28

Re: Import 3.0 data into 3.5

Also - for method 1) the old license expired but I have a license for 3.5, so do I:

- rsync /var/backups/bluemind/ to the new server
- install bluemind 3.0
- perform global restore
- install bluemind 3.5
- install the license file for 3.5 ?
- install setup-wizard
- run the migration to 3.5 from 3.0 data from the setup wizard..

is there a procedure for this?


Is there a procedure for this?

Offline

#7 2016-12-20 07:14:04

aaujon
Member
Registered: 2016-01-07
Posts: 258

Re: Import 3.0 data into 3.5

We don't have this particular use case in our documentation but it's you can follow this :
- rsync /var/backups/bluemind to the new server
- install bluemind 3.0 using 'global restore' menu in installation wizard
- make sure everything is ok
- install the 3.5 subscription file and packages (see https://forge.bluemind.net/confluence/d … scription)
- update to 3.5 (see https://forge.bluemind.net/confluence/d … +BlueMind)

Offline

#8 2016-12-20 09:57:46

BobNoorduin
Member
Registered: 2016-12-12
Posts: 28

Re: Import 3.0 data into 3.5

Thanks for your support, it is much appreciated.

Offline

#9 2016-12-29 10:33:27

BobNoorduin
Member
Registered: 2016-12-12
Posts: 28

Re: Import 3.0 data into 3.5

Hello, I have just tried this procedure and run into the problem:

An existing installation (3.0.13839) has been found. Update to the new version (3.1.20462).
DB=bj, Version=3.0.13839, Host=10.42.0.13, User=bj
                     
cliquer "Update This Installation"

{{{
Upgrading BlueMind
stopping services
Waiting for Blue Mind core Server shutdown..
Blue Mind core Server stopped
Waiting for Blue Mind locator Server shutdown..
Blue Mind locator Server stopped
Waiting for Blue Mind EAS Server shutdown..
Blue Mind EAS Server stopped
Waiting for Blue Mind LMTP Server shutdown..
Blue Mind LMTP Server stopped
Waiting for Blue Mind XMPP Server shutdown..
Blue Mind XMPP Server stopped
Waiting for Blue Mind YSNP Server shutdown..
Blue Mind YSNP Server stopped
begin database upgrade
Valid database bj found, version 3.0.13839
** SQL backup database to : /var/backups/bluemind/database_-_3.1.20462.dump
database backup complete
starting services
starting Blue Mind core Server
Blue Mind core Server started
starting Blue Mind locator Server
Blue Mind locator Server started
starting Blue Mind EAS Server
Blue Mind EAS Server started
starting Blue Mind LMTP Server
Blue Mind LMTP Server started
starting Blue Mind XMPP Server
Blue Mind XMPP Server started
starting Blue Mind YSNP Server
Blue Mind YSNP Server started
Waiting for core startup...
OK
Begin upgrade
Upgrade failed !
}}}

{{{Installation is in error. Restart installation}}}

Anything you can think off?

Kind regards,

Offline

Board footer

Powered by FluxBB