fix(database): always include MongoDB archive path in restores

This commit is contained in:
Andras Bacsai
2026-05-29 08:27:45 +02:00
parent 37a99e5f94
commit bbbd46ca26
2 changed files with 26 additions and 36 deletions
+1 -4
View File
@@ -807,10 +807,7 @@ EOD;
break;
case StandaloneMongodb::class:
case 'mongodb':
$restoreCommand = $this->mongodbRestoreCommand;
if ($this->dumpAll === false) {
$restoreCommand .= "{$tmpPath}";
}
$restoreCommand = $this->mongodbRestoreCommand."{$tmpPath}";
break;
default:
$restoreCommand = '';