Confluence Restore failed from daily-backup


I have a problem to restore confluence with

You can find my error below.

Confluence : Version 3.4.8

Importation des données

Temps écoulé: 5 , 14 seconds
Temps restant: 12 , 13 seconds (estimated)
Dernière étape: 30% complete

Import failed. Hibernate operation: could not insert: [com.atlassian.confluence.pages.Page#5406797]; SQL []; Duplicata du champ '5406797' pour la clef 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicata du champ '5406797' pour la clef 'PRIMARY'

Thanks for your help.

Best regard.

3 answers

Hi Marouen,

It seems you trying to restore your Confluence in a database which already has data, is this the case?

If you're trying to restore a whole site backup, you'll have to do it on a newly created database.


Felipe Alencastro

Hi Felipe :

Look my actions :

1 - Drop database "confluence"
2 - Creation of database "confluence" empty
3 - Remove the file to recreate confluence.cfg.xml
4 - configuring the connection to the empty database
5 - Restoration from a daily backup
6 - In progress to 30% and then error ...



Thanks for response.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

73 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