diff --git a/src/TaskRunner/Commands/DumpCommands.php b/src/TaskRunner/Commands/DumpCommands.php index 702c7c60a..4b8c28858 100644 --- a/src/TaskRunner/Commands/DumpCommands.php +++ b/src/TaskRunner/Commands/DumpCommands.php @@ -241,7 +241,7 @@ private function nextcloudDownloadDump(ConsoleIO $io, array $options) $tasks = []; foreach ($services as $service) { $this->say("Checking service '$service'"); - $dump = $tmpFolder . '/' . $service . ($isMydumper ? '.tar' : '.gz'); + $dump = $tmpFolder . '/' . $service . ($isMydumper && $service === 'mysql' ? '.tar' : '.gz'); // Check if the dump is already downloaded. if (!file_exists($dump)) { $this->say('Starting download');