Confluence upgrade and migration

I have spent a couple of weeks planning and testing an upgrade and migration of our production-instance of Confluence.

Previously it ran in a KVM-VM with CentOS 6, apache 2.2 and local MySQL database.

Now it runs in another KVM-VM with CentOS 7, apache 2.4 which is now required, since Atlassian have added a collaborative editing feature, kind of like google docs, and a remote PostgreSQL database.

Confluence itself was upgraded from 5.8.5 to 6.1.3.

  • Install and configure PostgreSQL on a dedicated DB-server
  • Install and prepare a new KVM-VM
  • Install latest version of Confluence in new VM and connect it to the Postgres DB
  • Take an XML-backup of running production Confluence
  • Restore the XML-backup into new Confluence, thereby populating the Postgres DB and hence migrate
  • Update DNS to reflect new reality
  • Done!!
  • Have beer!

Comments