-
- 177 Posts
A corrupt zip file usually means the zip process was terminated before completion. I have 2 suggestions. If you think it’s a memory issue then in order to have no memory limit set the value to -1. If it fails do it again since the server conditions may have changed enough to allow the process to run properly. The other way is to break up the backup on that server into 2 different configs. While 25MB is not large it sounds like this is a shared server that maybe close to capacity. Makes me think the next release needs to allow multiple config files for different types of backups?
-
- 177 Posts
The -1 is acceptable to PHP for maximum memory, not the seconds. I’m not sure what is going on with that site. There must be a host setting that is preventing the script from working but without more information from the Apache error logs I don’t think we can do much more.
EDIT: Try to exclude the archive directory from the backup process otherwise you’re asking the zip process to include the file its building. That can be done with the config file listing out specific directories or another way is to setup the archive directory outside the webspace by using a relative path in the config like: ../archive/
-
- 2,310 Posts
Tried moving the archive folder and excluding the backup folder to no avail.
Must be some setting at this host.
I’ll see if I can get hold of the error logs.