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.

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,

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.

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.

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

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?

We don’t have this particular use case in our documentation but it’s you can follow this :

Thanks for your support, it is much appreciated.

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,