Backup fails from wp-admin, but works via command line
-
I’ve had partial success with the backup tool. If I run it from wp-admin, it fails to finish creating the zip (either scheduled, or ASAP). However, it works if I run the back-up from the command line (wp dreamobjects backup).
Site info:
WP version: 4.1
PHP version: 5.4
Dreamhosts, shared hostingHere is the log message when it fails to create the backup:
[2015/01/26 04:07:34] Scheduled ASAP backup in 60 seconds.
[2015/01/26 04:08:39] Begining Backup.
[2015/01/26 04:08:39] Upgrade folder missing. This will cause serious issues with WP in general, so we will create it for you.
[2015/01/26 04:08:39] ZipArchive found and will be used for backups.
[2015/01/26 04:08:39] Calculating backup size…
[2015/01/26 04:08:39] 756 MB of diskspace will be processed.
[2015/01/26 04:08:40] 8786 files added to backup list.
[2015/01/26 04:08:40] wp-config.php added to backup list.
[2015/01/26 04:08:42] SQL file created: /home/donnymoss/their-turn.com/wp-content/upgrade/dreamobject-db-backup.sql (39 MB).
[2015/01/26 04:08:42] SQL added to backup list.
[2015/01/26 04:08:42] Creating zip file using ZipArchive.
[2015/01/26 04:08:42] 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.When running via the admin, I can see the zip file is created, and continues to grow for about two minutes, then stops.
I have created a phprc file with the following params:
memory_limit = 128M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 1000
max_input_time = 1000The site is: https://theirturn.net/
Thanks in advance.
Matt
- The topic ‘Backup fails from wp-admin, but works via command line’ is closed to new replies.