Can't restore a dumped database Edited


I backup the Confluence database by shuting down confluence, then running :

mysqldump -hconfluence -uvbackup -ppassword confluence > /tmp/confluence_datas/confluence.sql

 It's a Confluence 5.10.6 installed on a Xubuntu running with MySQL 5.5.31.

When trying to restore the backup, I install a fresh confluence. I shut it down, and I tried two things :

- to restore the database without deleting the existing one with

mysql -u root -p confluence < /tmp/confluence_datas/confluence.sql

This one is failing with the following error :

ERROR 1005 (HY000) at line 1184: Can't create table 'confluence.A0_950DC3_TC_SUBCALS' (errno: 150)

- to erase the confluence existing database and run the backup script. It works, but when I start confluence service, the homepage displays an error message :

This installation of Confluence has failed one or more bootstrap configuration checks. Please check the logs for details. Exception :

Detected tables with non-default character encoding.

Any idea how I can get Confluence to work with my dump ?

Thank you!

0 answers

Suggest an answer

Log in or Join to answer
Community showcase
Kesha Thillainayagam
Posted Mar 05, 2018 in Confluence

We want to know what templates you're using in Confluence!

Hi Community!  My name is Kesha (kay-sha not Ke$ha) and I'm on the Confluence Product Marketing team. We are trying to understand and improve template use cases in Confluence, and are intereste...

2,618 views 25 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot