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();
|
||||
$process = new Process([
|
||||
'mysqldump',
|
||||
'-B', $db,
|
||||
'-u', $this->credentials->getUser(),
|
||||
$db,
|
||||
]);
|
||||
$process->setEnv(['MYSQL_PWD' => $this->credentials->getPassword()]);
|
||||
$process->run();
|
||||
|
Loading…
Reference in New Issue
Block a user