use database backup for new install after reinstalling operating system

I have reinstalled the operating system on my virtual server with a different os. Then I installed confluence using the installer, installation succeeded. Now I point my browser to the confluence site and I can enter the license and setup database connection. I created a database user for confluence on my local mysql installation and imported the confluence-db backup. When I configure confluence to use the database containing the backup, I get the error message:

The following error(s) occurred:

Confluence tables already exist in the selected database.

The problem that I see is that a) the backup should contain my old pages and b) the server-id is stored in the old db, so I really want to use the backup.

How is it possible to use the backup database in the new installation?

2 answers

Hi Torsten

In this case I suggest you to continue the installation using a new database.

After the installation is finished, you can point your confluence to use the database with the backup data.

You can change this on confluence.cfg.xml, inside Confluence Home folder:


File: /var/confluence433/confluence.cfg.xml



<property name="hibernate.connection.url">jdbc:mysql://localhost/confluence433?sessionVariables=storage_engine%3DInnoDB</property>


When confluence433 is the name of Confluence's database that you can change.

Hope it helps!

0 votes
Janet Albion Atlassian Team Nov 18, 2012

I think this can be closed as duplicate

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

310 views 1 4
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