public function deleteBackup($backupName)
    {
        Service::$log->msg('S3: deleting backup ' . $backupName);
        $destinationFile = rtrim($this->s3Config->RemotePath, '/') . '/' . $backupName;

        if ($this->s3Instance->doesObjectExist($this->s3Config->Bucket, $destinationFile)) {
            $this->s3Instance->deleteObject($this->s3Config->Bucket, $destinationFile);
        }

        Service::$log->msg('S3: backup deleted ' . $backupName);
    }