Can't restore a dumped database Edited

Hi!

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

96 views 3 3
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