Title: [Plugin: Online Backup for WordPress] Database Operation Failed
Last modified: August 20, 2016

---

# [Plugin: Online Backup for WordPress] Database Operation Failed

 *  [froggattm](https://wordpress.org/support/users/froggattm/)
 * (@froggattm)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-online-backup-for-wordpress-database-operation-failed/)
 * Hi,
 * I’ve just installed Online Backup, and get the following error when trying to
   run a backup
 * 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. Error information follows:
   Location: 820:/var/www/vhosts/michellepeters.co.uk/httpdocs/wp-content/plugins/
   wponlinebackup/include/bootstrap.php Message: WPDB error: You have an error in
   your SQL syntax; check the manual that corresponds to your MySQL server version
   for the right syntax to use near ” at line 1. Last query: DELETE a, e FROM `wp_wponlinebackup_activity_log`
   a LEFT JOIN `wp_wponlinebackup_event_log` e ON (e.activity_id = a.activity_id)
   WHERE a.start <
 * Any ideas anyone?
 * mick
 * [http://wordpress.org/extend/plugins/wponlinebackup/](http://wordpress.org/extend/plugins/wponlinebackup/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Online Backup](https://wordpress.org/support/users/driskell/)
 * (@driskell)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-online-backup-for-wordpress-database-operation-failed/#post-2213380)
 * Hi Mick,
 * Please update the plugin to 2.0.2. Just pushed out 5 minutes ago 🙂
 * When we released 2.0.1 yesterday it fixed many issues for people upgrading from
   2.0.0. But we inadvertently broke the plugin for new installations, and it sneaked
   through testing (I think everyone may have upgraded – we’ll definitely improve
   the testing if this was the case.)
 * Regardless, please accept my apologies!
 * Kind Regards,
 * Jason.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Online Backup for WordPress] 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Online Backup](https://wordpress.org/support/users/driskell/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-online-backup-for-wordpress-database-operation-failed/#post-2213380)
 * Status: not resolved