How to migrate Confluence to another server (with addons)

I want to transfer an Atlassian Confluence server installation to another server and another database, including all content and addons.

I tried this guide: https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html

Basic procedure is:

  • Do XML export
  • Install new server
  • Copy data directory
  • Do XML import

=> Content is available, addons are not. With jira this procedure works great.

Is there another way to do this besides doing a database backup and restore?

5 answers

1 accepted

You could go with the procedure you described or you could just move data, export and import database.

We have a copy of our production instances where users can try out add-ons and "mess around".

Let´s say we get a request to test out a new workflow. The script is invoked and all the data from the production servers are copied to the test server (rsync). The database is automatically dumped and imported again at the test server. Sql queries alters mail server settins, licenses and the base url. Finally the test instances are started. All this happens automatically.

The same procedure could be used when migrating servers.

If your are using linux and are interested i could send you a copy of our script. 

 

-Lars

Oleksadnr I'm New Here Oct 25, 2017

Hello Lars!

i would be greatly appreciated if you could send  me the scrip too: carpenterbees (at) gmail.com

And question: is  there a way to migrate add-ons from cloud? I mean I have access to web-interface only, I do not have direct access to the DB server or shell.

Thank You.

Hello Lars!

 

Thank you very much for your answer. I suspected, that I have to use the DB dump. I am using Linux for the servers so I am very interested in your script. 

Thanks in advance for your support.

Chris

I have made some changes to the script so that it can be shared.

Give me your email and I can send you the script.

Hello Lars!

You can reach me at c.waidner at phytec.de

BTW - is there a way to send a private message in this forum?

Chris

Hi,

I´m sending it shortly. There is no private messages in the community.

Hi, do you mind also sharing with me? jfranklin at kabbage dot com

Sure. Just a sec :)

Hi Lars,

We are also currently dealing with this requirement.

We would be very thankful if you could also share your script with us to my email manuel.lindner@bytesource.net.

Thank you in advance
Manuel

Hi, 

 

Sure, I'll send it to you later this evening. 

 

-Lars 

Hi Lars,

I am using Linux for the servers so I am very interested in your script. 

Thanks in advance for your support.

 

Thanks,

somu

Hi Lars,

 

Can you send the script to my mail id somanath.kondeti@amd.com

 

Thanks,

somu

Hi Somu,

 

I´ll send you an email shortly.

 

-Lars

Hi Lars,

Thanks a lot

 

-somu

Hi @Lars Olav Velle [Kantega Single Sign-on],

 

I would be very thankful if you could also share your script with me. samuel.tinapp(at)dst-it.de

 

Thanks a lot

-Sam

Hi @Lars Olav Velle [Kantega Single Sign-on],

If you could also share your script with me,  hao.la (at) xyleminc (dot) com

Thanks a lot,

Hao

@Lars Olav Velle [Kantega Single Sign-on] I'm going through this migration process as well and would love to try your script if you don't mind sharing it:

khughes (at) bybaxter (dot) com

Thanks!

0 vote

Hi @Lars Olav Velle [Kantega Single Sign-on]

May I also request your script ? Please send it to okan.bekatli at gmail.com

Many thanks. 

Hi,

I have been offline for some time. Today I sent you all a download link to the script. 

 

Enjoy!

 

-Lars

Hi @Lars Olav Velle [Kantega Single Sign-on],

 

I would be very thankful if you could also share your script with me antonzavodovsky at gmail.com

 

Thanks a lot!

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...

373 views 20 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