wp-media / backwpup

BackWPup - WordPress Backup Plugin
https://backwpup.com
GNU General Public License v2.0
88 stars 35 forks source link

backwpup_jobs option is corrupted when get_site_option fails #48

Closed podkot closed 5 years ago

podkot commented 7 years ago

Hi!

Sometimes a job may end with DB error:

[08-Jul-2017 20:00:07] Uploading to Dropbox …
[08-Jul-2017 20:00:37] WARNING: Error while sending QUERY packet. PID=23698
[08-Jul-2017 20:00:37] Backup transferred to /SiteName/backwpup_1234567_2017-07-08_20-00-03.zip
[08-Jul-2017 20:00:38] One old log deleted
[08-Jul-2017 20:00:38] WARNING: Job finished with warnings in 35 seconds. Please resolve them for correct execution.

If this has happend, the backwpup_jobs option contains only the current job id with only two fields inside, lastbackupdownloadurl & lastruntime. All other jobs and all other fields of the current job are deleted.

I have to restore the option manually, to keep backing up. Facing the issue quite often, once a day or so.

widoz commented 5 years ago

Hi @podkot may you make a try with the latest 3.6.7 version?

podkot commented 5 years ago

Hi @widoz, as for now, i use 3.6.8 in a project, and haven't seen DB errors for quite a long time, probably for a year. Closing the issue, thank you.