BackupService: don't add use db to backup
This commit is contained in:
parent
7aba36e7bb
commit
921da75891
@ -21,8 +21,8 @@ class BackupService
|
|||||||
$filesystem = new Filesystem();
|
$filesystem = new Filesystem();
|
||||||
$process = new Process([
|
$process = new Process([
|
||||||
'mysqldump',
|
'mysqldump',
|
||||||
'-B', $db,
|
|
||||||
'-u', $this->credentials->getUser(),
|
'-u', $this->credentials->getUser(),
|
||||||
|
$db,
|
||||||
]);
|
]);
|
||||||
$process->setEnv(['MYSQL_PWD' => $this->credentials->getPassword()]);
|
$process->setEnv(['MYSQL_PWD' => $this->credentials->getPassword()]);
|
||||||
$process->run();
|
$process->run();
|
||||||
|
Loading…
Reference in New Issue
Block a user