Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require "Include/Config.php"
- $saveTo = "SQL/ChurchInfo-Backup-" . date("Ymd-Gis") . ".sql";
- $backupCommand = "mysqldump -u $sUSER --password=$sPASSWORD $sDATABASE > $saveTo"
- exec($backupCommand, $returnString, $returnStatus);
Add Comment
Please, Sign In to add comment