I am moving from Confluence 5.10.7 on an unsupported version of MySQL to Confluence 6.15.7 on PostgreSQL, and am planning out the steps I will take out during my maintenance window.
The general approach I want to take is to configure a brand new environment running the new version and database, populate it with a copy of our current data for QA, and then eventually take a maintenance window to shut down the old server, do a final refresh of data on the new server, and cut over the DNS name to the new server.
When I follow all of the migration and upgrade docs to the letter, the workflow to populate the new server with data from the old one looks like this:
However, this is looking like a lot of work that might be pointless. An alternative would be:
My instance size is about 1.1GB of attachments and like 25MB of XML backup data. I know that:
So this all seems to suggest I should go the direct restore route. But what I'm worried about is:
If you have adequate downtime and backups to make it safe and no user impact, I'd actually recommend upgrading to latest in-place first of all. This way you can hit any addon/deprecated feature issues in the head before dealing with the added joys of DB and server migration. There's a lot of significant improvements to backup and troubleshooting tools since 5.10.
Once you're up and healthy on 6.15, your two-step alternative plan will work like a breeze. I haven't had any issues doing it this way before, the add-ons can be a little painful to do manually depending on how many you have but it's a great task for those brain-dead times post-4pm.
Re your closing questions:
Forgot to mention this:
I've been avoiding doing the upgrade in place because the MySQL version in use on the old server is not supported by that (or any subsequent) versions of confluence... so I feel like I'm running a risk there if I don't also upgrade the database first.
I think what I'm really asking is if anyone knows what takes place during a plugin update through the plugin manager. Does confluence just replace the bits with the new version, or are there also post-upgrade hooks that a plugin can run after the update?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.