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

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 in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

4,057 views 15 38
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you