It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published yesterday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

57 views 0 9
Read article

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