From 921da7589130efb8158a8c781d4af54f182336d9 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 29 Dec 2021 20:47:00 +0100 Subject: [PATCH] BackupService: don't add use db to backup --- src/Service/BackupService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/BackupService.php b/src/Service/BackupService.php index 5b898dd..d99006d 100644 --- a/src/Service/BackupService.php +++ b/src/Service/BackupService.php @@ -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();