Store S3 upload_id in the database for backups
This commit is contained in:
parent
9b01734752
commit
951d92b143
4 changed files with 43 additions and 3 deletions
|
@ -78,7 +78,7 @@ class BackupStatusController extends Controller
|
|||
$params = [
|
||||
'Bucket' => $adapter->getBucket(),
|
||||
'Key' => sprintf('%s/%s.tar.gz', $backup->server->uuid, $backup->uuid),
|
||||
'UploadId' => $request->input('upload_id'),
|
||||
'UploadId' => $backup->upload_id,
|
||||
];
|
||||
|
||||
// If the backup was not successful, send an AbortMultipartUpload request.
|
||||
|
|
Reference in a new issue