fix: backup restore delete all files
This commit is contained in:
parent
c8c9c3d3cb
commit
582521f419
3 changed files with 11 additions and 6 deletions
|
@ -213,7 +213,7 @@ class BackupController extends ClientApiController
|
|||
// actions against it via the Panel API.
|
||||
$server->update(['status' => Server::STATUS_RESTORING_BACKUP]);
|
||||
|
||||
$this->repository->setServer($server)->restore($backup, $url ?? null, $request->input('truncate') === 'true');
|
||||
$this->repository->setServer($server)->restore($backup, $url ?? null, $request->input('truncate'));
|
||||
});
|
||||
|
||||
return new JsonResponse([], JsonResponse::HTTP_NO_CONTENT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue