Title: UPDRAFTPLUS_ZIP_EXECUTABLE
Last modified: March 23, 2019

---

# UPDRAFTPLUS_ZIP_EXECUTABLE

 *  Resolved [peraburek](https://wordpress.org/support/users/peraburek/)
 * (@peraburek)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/updraftplus_zip_executable/)
 * Hello,
 * I have VPS running Ubuntu 14.04.6 LTS
    I am using latest WordPress 5.1.1 and 
   UpdraftPlus Version: 1.16.9
 * backups (to zip files) are very slow, because UpdraftPlus is not detecting UPDRAFTPLUS_ZIP_EXECUTABLE
   in /usr/bin/zip
 * I have even added this line to wp-config.php
    define(‘UPDRAFTPLUS_ZIP_EXECUTABLE’,‘/
   usr/bin/zip’);
 * however in UpdraftPlus – Advanced Tools it is still
    ZipArchive::addFile: Yes**
   zip executable found: No**
 * can you please advise how to get UPDRAFTPLUS_ZIP_EXECUTABLE working
 * executing “/usr/bin/zip -v” I get this message
    This is Zip 3.0 (July 5th 2008),
   by Info-ZIP
 * is there some other zip preferred for UPDRAFTPLUS ?
 * Thank you,
    Regards, Peter
    -  This topic was modified 7 years, 1 month ago by [peraburek](https://wordpress.org/support/users/peraburek/).
    -  This topic was modified 7 years, 1 month ago by [peraburek](https://wordpress.org/support/users/peraburek/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/updraftplus_zip_executable/#post-11346763)
 * /usr/bin/zip will be looked at by default. So presumably there’s some reason 
   it can’t be used. There should be more information in the backup log about the
   attempt to try it. For example, perhaps it’s blocked by the server’s AppArmor
   policy.
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/updraftplus_zip_executable/#post-11346765)
 * Do you have php-zip installed? It’s the fall-back if *neither* of those are installed(
   PclZip) that’s the really slow one.
 * Edit: yes, you do. (`ZipArchive::addFile: Yes`).
 *  Thread Starter [peraburek](https://wordpress.org/support/users/peraburek/)
 * (@peraburek)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/updraftplus_zip_executable/#post-11369666)
 * Hi David, thank you for your answer!
 * Is there any (measurable) performance difference between php-zip and using zip
   executable?
 * I am using VPS with SSD, so it is not shared hosting, however I am backing up
   20 GB website to the VPS itself (another folder)
 * 20GB web has a lot of files in media library, so I would like to find fastest
   option
 * if you could add experimental option (add files to zip archives but don’t compress
   files) so that should be fastest possible solution, disk space is not the issue,
   it is backup speed
 * or maybe you have some other idea or suggestion?
 * Thank you for your time and effort!
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/updraftplus_zip_executable/#post-11422180)
 * Normally the zip executable is a bit faster (last time I did some testing, anyway),
   but you’ll use more memory because it’s a separate process. The difference is
   nothing like as dramatic as the difference between PclZip and ZipArchive.
 * > if you could add experimental option (add files to zip archives but don’t compress
   > files)
 * It’s already the case that any files with common extensions indicating that the
   file is already compressed (images, movies, archives), won’t have any extra attempts
   to compress them; that code has been there for several years.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘UPDRAFTPLUS_ZIP_EXECUTABLE’ is closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/updraftplus_zip_executable/#post-11422180)
 * Status: resolved