Support

Akeeba Backup for Joomla!

#14566 – restore DB error

Posted in ‘Akeeba Backup for Joomla!’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Sunday, 06 January 2013 10:06 CST

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? No
Have I read the documentation before posting (which pages?)? No
Joomla! version: (2.5)
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba Backup version: (latest)

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

when I restore the backup site to another server, files restore is fine, but DB restore finish 60%, then show error like this:

http://screencast.com/t/vtqIgXZOq

Error at the line 10: INSERT INTO `#__rokuserstats` VALUES ('1199466', '0', '66.249.77.175', '5ipuk70q9c026j1soda5o50g76', '/en/index.php?option=com_jreviews&Itemid=59&cat=50&url=search-results_m59&jr_latitude=22.205236115 ... MySQL: MySQL query failed with error 1062 (Duplicate entry '1199466' for key 'PRIMARY'). The query was:INSERT INTO `jos_rokuserstats` VALUES ('1199466', '0', '66.249.77.175', '5ipuk70q9c026j1soda5o50g76', '/en/index.php?option=com_jreviews&Itemid=59&cat=50&url=search-results_m59&jr_latitude=22.2052361157&jr_longitude=113.5458254814&jr_radius=0.5&order=distance&query=all', '', '2013-01-05 10:32:46'), ('1199467', '0', '66.249.77.173', 'ncuvc2mv04ergn2ouq8opvb906', '/en/index.php?option=com_jreviews&Itemid=59&cat=50&url=search-results_m59&jr_latitude=22.1878421045&jr_longitude=113.5351395607&jr_radius=0.5&order=distance&query=all', '', '2013-01-05 10:32:47'), ('1199464', '0', '180.149.252.8', '7dhk8o00u3vf3d4qs3h35j55s6', '/', '', '2013-01-05 10:32:44'), ('1199465', '0', '66.249.77.178', '1f9dn2me23r22jmnui2ib9gp42', '/en/index.php?option=com_jreviews&Itemid=59&cat=50&url=search-results_m59&jr_latitude=22.2138578191&jr_longitude=113.5452783108&jr_radius=0.5&order=distance&query=all', '', '2013-01-05 10:32:45'), ('1199461', '0', '157.55.35.47', 's2kjg7rliki9raqmrf5ia2quu4', '/advance- 

 

user6558
Sunday, 06 January 2013 15:03 CST

In the database restoration page please check the "Use REPLACE instead of INSERT" checkbox and retry. This should work; the checkbox is there to work around issues like that. Please let me know of the result.



Nicholas K. Dionysopoulos

Lead Developer and Director



🇬🇷Greek: native

🇬🇧English: excellent

🇫🇷French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
Sunday, 06 January 2013 20:35 CST

yes, it works. what caused the error? is there anything wrong with my DB that I need to fix? thanks

user6558
Monday, 07 January 2013 01:36 CST

Most likely it has to do with the way RocketTheme extensions store their data in the database. I've seen that on a site of my own, that's how I got to implement the REPLACE instead of INSERTs restoration feature. Just remember using the checkbox when you restore your site.



Nicholas K. Dionysopoulos

Lead Developer and Director



🇬🇷Greek: native

🇬🇧English: excellent

🇫🇷French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!

Cookies Notification - Action required

This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. You can change your preference later, from the controls which will be made available to you at the bottom of every page of our site.