You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure the backup settings in the config.php file
define("host", "localhost"); // your database host (localhost is default)define("username", "root"); // your database username (root is default)define("password", ""); // your database passworddefine("database", "localhost"); // your database namedefine("backup_directory", "backup"); // your backup directorydefine("backup_email", ""); // your backup email address
and if you want to compress the backup file, you can change compress value in the config.php file and set it to true
include autoload.php file inside your project
include_once"autoload.php";
then you can use backup class methods
backup::simpleBackup($maxCount : int);
note : max count is optional (default value exist in config.php file)
[ ] - add schedule in project [ ] - add email backup (send backup to email)
0 commit comments