@ps-aux/nodebup 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -105,7 +105,7 @@ let PgBackupController = (_dec = (0, _inversify.injectable)(), _dec2 = Reflect.m
|
|
105
105
|
this.zip.unzipDir(zipFile, dir);
|
106
106
|
this.fs.rmFile(zipFile);
|
107
107
|
const outFile = this.fs.listFiles(dir)[0];
|
108
|
-
this.sh.exec(`docker run --network host
|
108
|
+
this.sh.exec(`docker run --network host -i ` + `postgres:${version} ` + `psql ${pgUrl} -v ON_ERROR_STOP=0 < ${outFile.str()}`);
|
109
109
|
});
|
110
110
|
});
|
111
111
|
}
|