Title: Error database operation failed
Last modified: August 20, 2016

---

# Error database operation failed

 *  Resolved [mrsbeata](https://wordpress.org/support/users/mrsbeata/)
 * (@mrsbeata)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-database-operation-failed/)
 * I got a problem backing up. I have followed the instructions, and I have reinstalled
   the plugin but still I get the same message. I have a different site, a test 
   site, where I get the exact same issue.
 * I’m trying to upgrade to the latest version of WordPress but I can’t do it until
   I have a proper backup.
 * Below is the error message.
 * ********************
 * A database operation failed.
    Please try reinstalling the plugin – in most cases
   this will repair the database. Please contact support if the issue persists, 
   providing the complete event log for the activity. Diagnostic information follows:
 * Failed at: 1173(/storage/content/71/143371/frontwalker.biz/public_html/wp-content/
   plugins/wponlinebackup/include/files.php)
    WPDB error: An entry for a file was
   inserted into the database but couldn’t be found afterwards! Hexdump of the file
   name is: 53756e647376616c6c7367c3a46e6765742d313530783135302e6a7067 When escaped
   for insertion: 53756e647376616c6c7367c33f6e6765742d313530783135302e6a7067 (Sundsvallsg
 * [http://wordpress.org/extend/plugins/wponlinebackup/](http://wordpress.org/extend/plugins/wponlinebackup/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Online Backup](https://wordpress.org/support/users/driskell/)
 * (@driskell)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-database-operation-failed/#post-3168023)
 * Hi mrsbeata,
 * Sincere apologies for the issue. We were battling some issues with UTF-8 encoded
   files as they weren’t backing up properly. Recent updates improved it drastically
   but created some instances where the backup would completely fail (where before
   it would work or silently skip the file.)
 * Using the error message you gave we’ve reproduced it for your filename exactly.
   And we’ve fixed it.
 * It’s going through testing at the moment, more stringent than before as we now
   have test cases to ensure no regressions. Hopefully we’ll have the fix released
   by the end of today.
 * Again, apologies for any inconvenience.
 * Kind Regards,
 * Jason
 *  Plugin Author [Online Backup](https://wordpress.org/support/users/driskell/)
 * (@driskell)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-database-operation-failed/#post-3168049)
 * Hi,
 * The fix is scheduled to be released tomorrow morning.
 * There is some maintenance happening on the server at the moment also which hadn’t
   completed properly on Friday. Should be all back up and running by 8PM I believe.
 * I’ll post again when the fix is released.
 * Jason.
 *  [emcyze](https://wordpress.org/support/users/emcyze/)
 * (@emcyze)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-database-operation-failed/#post-3168055)
 * Hello Driskell,
 * i’m facing the same issue on several instances of WP for which i have updated
   the plugin.
 * Thank you for your upcoming fix.
 * ++
 * A database operation failed.
    Please try reinstalling the plugin – in most cases
   this will repair the database. Please contact support if the issue persists, 
   providing the complete event log for the activity. Diagnostic information follows:
 *     ```
       Failed at: 1173(/html/wp-content/plugins/wponlinebackup/include/files.php)
       WPDB error: An entry for a file was inserted into the database but couldn't be found afterwards!
       Hexdump of the file name is: 7468c3a92d676c6163c3a92d636f66667265742d7468c3a92d626f782d37357837352e6a7067
       When escaped for insertion: 7468c33f2d676c6163c33f2d636f66667265742d7468c33f2d626f782d37357837352e6a7067 (th??-glac??-coffret-th??-box-75x75.jpg)
       . Last query: SELECT counter, name_bin FROM <code>wptb_wponlinebackup_items</code> WHERE bin = 2 AND parent_id = 2690 AND type = 1 AND name = 'glac??-coffret-75x75.jpg'
       ```
   
 *  Plugin Author [Online Backup](https://wordpress.org/support/users/driskell/)
 * (@driskell)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/error-database-operation-failed/#post-3168057)
 * Hi mrsbeata and emcyze,
 * 2.2.11 has been released moments ago and should be available within the next 
   hour. Please update and let us know if you continue to have issues.
 * It should fix all these issues with the insertions.
 * Thanks,
 * Jason
 *  Thread Starter [mrsbeata](https://wordpress.org/support/users/mrsbeata/)
 * (@mrsbeata)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/error-database-operation-failed/#post-3168065)
 * I updated the plugin yesterday and did a manual back up and it works.
 * Thanks for the swift response.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error database operation failed’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wponlinebackup_7192a1.svg)
 * [Online Backup for WordPress](https://wordpress.org/plugins/wponlinebackup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wponlinebackup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wponlinebackup/)
 * [Active Topics](https://wordpress.org/support/plugin/wponlinebackup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wponlinebackup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wponlinebackup/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [mrsbeata](https://wordpress.org/support/users/mrsbeata/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/error-database-operation-failed/#post-3168065)
 * Status: resolved