cloudnative-pg / cloudnative-pg/charts

barman-cloud-restore fails with IncompleteRead when downloading large backups from MinIO

Open
#788 10 comments 0 reactions 0 assignees View on GitHub
bug chart( plugin-barman-cloud )
Dominant language
Go Template
Stars
621
Forks
265
Avg merge
7d 12h
Merged PRs (30d)
7

Description

## Environment
- barman version: 3.16.2
- Python: 3.9
- boto3: 1.40.69
- Storage: MinIO (S3-compatible)
- CloudNativePG: 1.27.2

## Problem
barman-cloud-restore fails after downloading ~14MB of a 2GB backup file with error:

## Testing done
- ✅ `curl` downloads full 2GB file in 18 seconds
- ✅ `boto3.download_file()` downloads full 2GB file in 15 seconds
- ❌ `barman-cloud-restore` fails after ~14MB every time

## Expected behavior
barman-cloud-restore should successfully download the backup file.

## Steps to reproduce
1. Create backup to MinIO using barman-cloud-backup
2. Try to restore using barman-cloud-restore
3. Observe failure after ~14MB downloaded

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.