Working Backups Now Failing
-
My backups failed after working for ~4 months. I’ve studied the logs but I can’t figure out what is wrong. I’m running a relatively small site on a DreamHost shared server with up to date versions of WordPress and the DreamObjects Backups plugin.
This is typically what I see when the backup fails:
[2014/09/09 04:05:45] Begining Backup. [2014/09/09 04:05:45] Upgrade folder missing. This will cause serious issues with WP in general, so we will create it for you. [2014/09/09 04:05:45] ZipArchive found and will be used for backups. [2014/09/09 04:05:45] Calculating backup size... [2014/09/09 04:05:46] 139 MB of diskspace will be processed. [2014/09/09 04:05:46] 4982 files added to backup list. [2014/09/09 04:05:46] wp-config.php added to backup list. [2014/09/09 04:05:46] Leftover sql file found, deleting /home/username/website.com/wp-content/upgrade/dreamobject-db-backup.sql ... [2014/09/09 04:05:48] SQL file created: /home/username/website.com/wp-content/upgrade/dreamobject-db-backup.sql (1 MB). [2014/09/09 04:05:48] SQL added to backup list. [2014/09/09 04:05:48] Creating zip file using ZipArchive. [2014/09/09 04:05:48] NOTICE: If the log stops here, PHP failed to create a zip of your wp-content folder. Please consider cleaning out unused files (like plugins and themes), or increasing the server's PHP memory, RAM or CPU. [2014/09/09 04:07:19] Calculating zip file size ... [2014/09/09 04:07:19] Zip file generated: /home/username/website.com/wp-content/upgrade/dreamobject-backups.zip (79 MB). [2014/09/09 04:07:19] New filename www.website.com/2014-09-09-160719.zip. [2014/09/09 04:07:19] Begining upload to DreamObjects servers. [2014/09/09 04:07:19] Filesize is under 100megs. This will be less spammy.
It complains about the missing upgrade folder every time, but as far as I can tell, it’s there. Inside will be the dreamobject-db-backup.sql and dreamobject-backups.zip.3AKfwn files from the current day. After two days, it has two zips, and the zip gets bigger.
From what I can gather, the zip file is pretty small and compresses without issue, but it seems like the file rename is failing and so the upload can’t find the expected file. Then the following day, it tries to zip up both files, etc. It kept doing this until the zipped file ballooned up to 985 MB!
I trashed all of the old zip files from the upgrade folder and ran an ASAP backup which succeeded:
[2014/09/07 05:29:49] Scheduled ASAP backup in 60 seconds. [2014/09/07 05:40:00] Begining Backup. [2014/09/07 05:40:00] Upgrade folder missing. This will cause serious issues with WP in general, so we will create it for you. [2014/09/07 05:40:00] ZipArchive found and will be used for backups. [2014/09/07 05:40:00] Calculating backup size... [2014/09/07 05:40:03] 104 MB of diskspace will be processed. [2014/09/07 05:40:03] 4791 files added to backup list. [2014/09/07 05:40:03] wp-config.php added to backup list. [2014/09/07 05:40:04] SQL file created: /home/username/website.com/wp-content/upgrade/dreamobject-db-backup.sql (1 MB). [2014/09/07 05:40:04] SQL added to backup list. [2014/09/07 05:40:04] Creating zip file using ZipArchive. [2014/09/07 05:40:04] NOTICE: If the log stops here, PHP failed to create a zip of your wp-content folder. Please consider cleaning out unused files (like plugins and themes), or increasing the server's PHP memory, RAM or CPU. [2014/09/07 05:41:12] Calculating zip file size ... [2014/09/07 05:41:12] Zip file generated: /home/username/website.com/wp-content/upgrade/dreamobject-backups.zip (48 MB). [2014/09/07 05:41:12] New filename www.website.com/2014-09-07-054112.zip. [2014/09/07 05:41:12] Begining upload to DreamObjects servers. [2014/09/07 05:41:12] Filesize is under 100megs. This will be less spammy. [2014/09/07 05:41:52] Upload complete [2014/09/07 05:41:52] Deleting zip file: /home/username/website.com/wp-content/upgrade/dreamobject-backups.zip ... [2014/09/07 05:41:52] Deleting SQL file: /home/username/website.com/wp-content/upgrade/dreamobject-db-backup.sql ... [2014/09/07 05:41:52] Checking for backups to be deleted. [2014/09/07 05:41:53] Backup Complete.
However after that backup it is now failing and the zip files are building up again.
Any suggestions?
Thanks in advance!
- The topic ‘Working Backups Now Failing’ is closed to new replies.