Peculiar failures in cron driven backup
-
I have set up an automated backup using the server’s own cron system, rather than relying on wp-cron. Our website does not always get a lot of traffic, so relying on wp-cron seemed like a less-than-optimal strategy. I am following the instructions in this FAQ:
https://updraftplus.com/faqs/can-i-run-backups-from-the-shell/I scheduled a one-off backup this morning using the server cron daemon, as I planned to complete the manual upgrade to WordPress 4.9.4 (the auto update fix) later today. That backup has failed in an odd way, so I need some help.
1) This site has about 1.3 GB in the uploads directory. Past experiments indicated that full completion of zip creation was more likely with a smaller archive split limit, so I lowered that to 100 MB. This generally results in about 12 or 13 uploads zip files being created.
If I am reading the log file correctly, the first two uploads zip files (uploads.zip and uploads2.zip) were successfully created — but when the time came to upload the zips to Google Drive, those two files were simply missing. Only uploads3.zip though uploads12.zip were uploaded. The same is true for the themes and plugins zip files — these were not uploaded to Google Drive at all.
What would cause these files to go missing before upload?
2) I have set the retention limit to 8 for both files and database. This morning’s backup is was the ninth added, so the earliest backup should have been deleted. It was not — there are now nine backups listed.
Why would the backup process fail to delete an older backup?
The log file for this backup is uploaded here:
https://pastebin.com/uNT6QhkAVersion info
WordPress 4.9.3
UpdraftPlus 1.14.2
PHP 7.0.27
MySQL 10.0.33-MariaDB
Server OS: LinuxThanks again for your help.
JGB
- The topic ‘Peculiar failures in cron driven backup’ is closed to new replies.