Merge branch 'master' of
ssh://hsh04-source@hsh04.hostsharing.net/home/doms/source.hostsharing.net/source/hsadmin.git
This commit is contained in:
commit
69dc85841e
@ -30,7 +30,7 @@ function shadowdump(pac) {
|
|||||||
runbash(cmd);
|
runbash(cmd);
|
||||||
}
|
}
|
||||||
function mysqlaclsdump(pac) {
|
function mysqlaclsdump(pac) {
|
||||||
var dump = "/home/pacs/" + pac + "/.bak/mysql_passwd.gz";
|
var dump = "/home/pacs/" + pac + "/.bak/mysql_passwd";
|
||||||
var cmd = "mysqldump --no-create-db --skip-opt --no-create-info --replace --where=\"user like '" + pac + "%'\" mysql --tables user > " + dump
|
var cmd = "mysqldump --no-create-db --skip-opt --no-create-info --replace --where=\"user like '" + pac + "%'\" mysql --tables user > " + dump
|
||||||
+ " && mysqldump --no-create-db --skip-opt --no-create-info --replace --where=\"db like '" + pac + "%'\" mysql --tables db tables_priv proc >>" + dump;
|
+ " && mysqldump --no-create-db --skip-opt --no-create-info --replace --where=\"db like '" + pac + "%'\" mysql --tables db tables_priv proc >>" + dump;
|
||||||
runbash(cmd);
|
runbash(cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user