Navigate gzip to NOTcompress JPG files with automatic backup

Discussion in 'Installation/Configuration' started by MaKa, Sep 1, 2021.

  1. MaKa

    MaKa Member

    Dear all,
    when ISPConfig creating backup of site + DB, it is using Gzip (or another apps).
    I need to pass some params to gzip for ALL websites backups.
    To be exact, for example:
    - do not compress JPG or gz files, just skip compressing attempt and include in archive
    Menu: Web Domain-->Backup-->Compression options
    Does anybody know?
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Short of patching ISPConfig code, you could rename your gzip binary and replace it with a script that calls the actual gzip with your additional args.

    If you did want to change your backup commands, the file to change for those backups is /usr/local/ispconfig/server/lib/classes/backup.inc.php.
     

Share This Page