move confluence to another server

This question is in reference to Atlassian Documentation: Running Confluence in a Virtualised Environment

Need advice on how to move confluence to another vm.

4 answers

You didn't specify what OS and DB you're using on source and destination servers. In general, you can start from here.

Please feel free to ask any additional questions if you need.

0 vote

"advice" is pretty open-ended.  All I can really advise is that you build the new server, install Confluence on it empty, do some testing, then plan and test a migration on to it using a copy or export of your current system (as suggested in the documentation), and then plan to do it for production when the testing all passes.

I would suggest a fairly bullet-proof mechanism:

  1. Spin up a new instance of Confluence on a new server using a dev license.
  2. Do a full-site export of the existing server
  3. Import the full-site back up to the new server
  4. Make needed changes for the plugins, base URL, etc.
  5. Decommission the old server.
  6. Move the production license to the new server.

The reasons I like this method are:

  • It is straightforward
  • Because you are basically writing the backup to the new database, it is independent of OS and DB engine. So if you want to migrate from Centos 6 to 7 or other distro, and/or Mysql to Postgres, this makes it easy.
  • Errors are usually easier to recover from since you are not trying move the database itself.
  • You not migrating any configuration issues over to the new server, especially an issue if you have done several inplace Confluence upgrades.

How to obtain dev license to install new server with external database?

What is the full-site export? You mean database export to xml?

This way is suitable only for small instances. If you have a really large installation you will get a lot of problems with this way of migration.

I'd agree with Roman here.  For large installations, you definitely want a copy of the home directory and a copy of the database after shutting the system down. 

Export/import is for small systems, or for changing the database if you must.

Well small, maybe. He didn't state how large his is. I have used it without issues on instances of 1000 to 2000 pages.

And with full-site export, I mean from the backup and restore tab in the Confluence admin console.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

380 views 21 10
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