diff --git a/hsarjcli/scripting/package_dump.js b/hsarjcli/scripting/package_dump.js index 628747e..a0b2bb6 100644 --- a/hsarjcli/scripting/package_dump.js +++ b/hsarjcli/scripting/package_dump.js @@ -30,7 +30,7 @@ function shadowdump(pac) { 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 @@ if (pacs.length == 1 && hive != 'undef') { pgsqlpasswddump(pacname); } else { print('run as pac-owner!\n'); -} \ No newline at end of file +}