• Resolved Talisman

    (@talisman)


    I use this plugin on various sites and have them all set up to automatically email a backup periodically. I have had no problems with the exception of one site. The emailed attachment always turns up as an SQL file and not a ZIP file like all the others. Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Can you share the difference between this site that is not working and your other sites? If you are having some issues with this site then it could be either a plugin causing this issue or some configuration in the Website or server settings.

    Hi @talisman,

    Database backup files are zipped only if there is ZIP extension enabled in PHP, so if you are getting plain sql files by email, most likely that website has this extension disabled.

    You can find whether this extension is enabled in output of phpinfo or you can create a dummy PHP file with class_exists( 'ZipArchive' ) check – this is what actually AIOWPSF plugin does. For example:

    <?php
    echo class_exists( 'ZipArchive' ) ? 'ZIP extension seems enabled' : 'ZIP extension seems disabled';
    

    Cheers,
    ?eslav

    Thread Starter Talisman

    (@talisman)

    Thanks ?eslav. The ZipArchive comes back as not enabled.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Backup Issue’ is closed to new replies.