WordPress.org

Ready to get started?Download WordPress

Forums

BackWPup Free - WordPress Backup Plugin
ZipArchive errors persist even in v3.0.3 (4 posts)

  1. Israel Curtis
    Member
    Posted 1 year ago #

    Ever since version 3 came out (after many weeks of flawless backups to dropbox on the same host), I've had nothing but long (nearly stalled) backup times and errors. This latest 3.0.3 update promised to reduce the time it took to make the archives. And it has: down from 35 minutes to 20 minutes, for ~6000 files and a 73MB zip file (still absurdly long). But I'm still getting notified in the logs with this same ziparchive error, in every release since v3:

    [02-Mar-2013 12:11:57] 1. Trying to create backup archive …
    [02-Mar-2013 12:11:57] Compression method is ZipArchive
    [02-Mar-2013 12:27:36] Job restart due to inactivity for more than 5 minutes.
    [02-Mar-2013 12:27:36] 2. Trying to create backup archive …
    [02-Mar-2013 12:27:36] Compression method is ZipArchive
    [02-Mar-2013 12:27:36] ERROR: Can not add "wp-content/uploads/" to zip archive!
    [02-Mar-2013 12:27:37] ERROR: ZipArchive returns status: (ER_DELETED) Entry has been deleted
    [02-Mar-2013 12:27:45] ERROR: ZipArchive returns status: (ER_DELETED) Entry has been deleted
    [02-Mar-2013 12:27:53] ERROR: ZipArchive returns status: (ER_DELETED) Entry has been deleted
    [02-Mar-2013 12:28:02] ERROR: ZipArchive returns status: (ER_DELETED) Entry has been deleted
    [02-Mar-2013 12:28:18] ERROR: ZipArchive returns status: (ER_DELETED) Entry has been deleted
    [02-Mar-2013 12:29:03] Backup archive created.
    [02-Mar-2013 12:29:03] Archive size is 72.98 MB.
    [02-Mar-2013 12:29:03] 5804 Files with 150.31 MB in Archive.

    http://wordpress.org/extend/plugins/backwpup/

  2. Caspar
    Member
    Posted 1 year ago #

    Hi Israel,

    nice to meet you here. ;) Although I'd wish the reason would be more enjoyable. I'm helping Daniel (author of BackWPup) out with support here.
    Have you tried to split your file backups into separate jobs? Something like:

    1. everything excluding /wp-content/uploads/
    2. /wp-content/uploads/

    The reason I'm asking is PHP's ZipArchive class requires an open file connection to each file added to a ZIP. The more files, the more open connections. As some hosts restrict the number of the latter that might cause both, an over-long execution time and the ER_DELETED status messages.

  3. Israel Curtis
    Member
    Posted 1 year ago #

    wait -- Caspar?? oh wow small world...

    I guess I could split the job up, though this is one of the smallest sites I manage, and if this is too many files, i'm going to be up a creek with the rest.

    So I understand the ZipArchive explanation - but why did BackWPup work so well and so quickly zipping up these same files before version 3? Can I go back to the old zip implementation somehow?

  4. Caspar
    Member
    Posted 1 year ago #

    Small world, you bet! ;)

    why did BackWPup work so well and so quickly zipping up these same files before version 3?

    That's part of what we're trying to figure out here. Might have to do with a bunch of security-related modifications in the plugins architecture. Ironically some of those now seem to cause issues for some users. :(

    Can I go back to the old zip implementation somehow?

    You can go back to version 2 until we're through with fixing things. If it worked well before in your server environment, there's no reason why it shouldn't now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.