protected override async Task <ZipArchive> GetZipArchive(string filePath) { var blob = await _client.GetBlobAsync(filePath); var file = await RestoreBackupTaskBase.CopyRemoteStreamLocally(blob.Data, _configuration.TempPath); return(new DeleteOnCloseZipArchive(file, ZipArchiveMode.Read)); }
protected override async Task <ZipArchive> GetZipArchive(string filePath) { var blob = await _client.GetBlobAsync(filePath); return(new ZipArchive(blob.Data, ZipArchiveMode.Read)); }
protected override async Task <Stream> GetStream(string path) { var blob = await _client.GetBlobAsync(path); return(blob.Data); }