Upgrading From 3.1
From IHRIS Wiki
These are directions for Ubuntu.
First Steps
Backup Database
We should back up the database. Go into phpmyadmin, select your database, click on operations, and copy the database to a new name.
Get The Source Code
You can either get the released or the development code.