Commit 0a0d1265 authored by 서형민's avatar 서형민

added exclude t_pty_logs & t_pty_inbounds

parent 5f6f6f5b
......@@ -36,7 +36,7 @@ mysqli_close($connection);
function mysql_backup($host, $user, $password, $dbName)
{
$cmd = "mysqldump -u $user -p$password -h $host $dbName --default-character-set=utf8mb4 --routines --events --add-drop-table --add-drop-database --complete-insert --extended-insert=FALSE --single-transaction > $dbName.sql";
$cmd = "mysqldump -u $user -p$password -h $host $dbName --default-character-set=utf8mb4 --routines --events --add-drop-table --add-drop-database --complete-insert --extended-insert=FALSE --single-transaction --ignore-table=$dbName.t_pty_logs --ignore-table=$dbName.t_pty_inbounds > $dbName.sql";
echo $cmd;
system($cmd);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment