Confluence Restore failed from daily-backup

Hi,

I have a problem to restore confluence with Daily-Backup-20140120.zip

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.

Regards,

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 ...

Regards,

Marouen.

Thanks for response.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,511 views 4 13
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