Best way to migrate large confluence instance from mysql to postgres


The subjects says what I want to do. I have had bad experiences with xml export/import so I would like to do this at database level.

Have anyone successfully migrating using sql export from mysql and importing that file into postgres (possibly transforming some syntax)?

Any tools? Docs? Tips? Am I totally barking up the wrong tree?



2 answers

1 accepted

Hi Johan,

what's your problem with the xml-export?

And what is large?

I used the xml-export for a 16 GB installation migrating from MySQL to Oracle. We had problems at the beginning, so we excluded the attachments and copied them manually to the new instance and used the xml export only for the wiki content. 

How many spaces do you have? Is it maybe an option to migrate space by space using xml-export?



Thanks for your answer, I tried to export spaces nightly into a Disaster Recovery environment using xml export/import and ran into all sorts of inconsistent behaviour. Perhaps because of repeated delete/import. Perhaps because I exported attachments. I ended up copying the whole filesystem at that time. Examples of problems: But perhaps excluding the attachments and fixing inconsistencies once is the best way to go... Regards, Johan

Thanks Steve,

We will take the xml export/import route but without attachements.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,133 views 61 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you