Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence Restore failed from daily-backup

Marouen Bourbia January 19, 2014

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

0 votes
Marouen Bourbia February 13, 2014

Thanks for response.

0 votes
exploitationB
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 28, 2014

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.

0 votes
FelipeA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 24, 2014

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events