Guest User

Untitled

a guest
Mar 17th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. require "Include/Config.php"
  2.  
  3. $saveTo = "SQL/ChurchInfo-Backup-" . date("Ymd-Gis") . ".sql";
  4. $backupCommand = "mysqldump -u $sUSER --password=$sPASSWORD $sDATABASE > $saveTo"
  5. exec($backupCommand, $returnString, $returnStatus);
Add Comment
Please, Sign In to add comment