cloudnative-pg / cloudnative-pg/charts
barman-cloud-restore fails with IncompleteRead when downloading large backups from MinIO
- 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
Assessment
This issue has not been assessed yet.