HSAdmin Backend Domains, E-Mail, Datenbanken
peter
2013-04-23 69dc85841e768d779eb587a970b1eb072e328320
Merge branch 'master' of
ssh://hsh04-source@hsh04.hostsharing.net/home/doms/source.hostsharing.net/source/hsadmin.git
1 files modified
4 ■■■■ changed files
hsarjcli/scripting/package_dump.js 4 ●●●● patch | view | raw | blame | history
hsarjcli/scripting/package_dump.js
@@ -30,7 +30,7 @@
    runbash(cmd);
}
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
        + " && mysqldump --no-create-db --skip-opt --no-create-info --replace --where=\"db like '" + pac + "%'\" mysql --tables db tables_priv proc >>" + dump;
    runbash(cmd);
@@ -209,4 +209,4 @@
    pgsqlpasswddump(pacname);
} else {
    print('run as pac-owner!\n');
}
}