WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SQL Backup
Plugin does not handle when passthru/system/exec all disabled (3 posts)

  1. daymobrew
    Member
    Posted 2 years ago #

    Using wordpress-sql-backup 7.0.
    My host has disabled passthru(), system() and exec().

    The plugin does not gracefully handle this scenario and keeps the nagging errors about the settings being empty.

    Although it is a lot of work for you, it would be best to use a purely php method to backup the database (phpmyadmin's export code would be a good starting point) and the files (e.g. Archive::Tar PEAR package: http://pear.php.net/package/Archive_Tar/ ).

    http://wordpress.org/extend/plugins/wordpress-sql-backup/

  2. daymobrew
    Member
    Posted 2 years ago #

    Here is possible code to use php to create a backup:
    http://davidwalsh.name/backup-mysql-database-php

  3. Anthony
    Member
    Plugin Author

    Posted 2 years ago #

    I think I'll look into this, and possibly include it in version 8.0 :D thanks for the recommendation.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic