mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-03 18:16:43 +00:00
fix(database): always include MongoDB archive path in restores
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user