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

This commit is contained in:
Andras Bacsai committed 2026-05-29 08:27:45 +02:00
1 parent 37a99e5f94
commit bbbd46ca26
2 files changed
+26 -36

No files matched your search

+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 = '';