Wrong part number when uploading backup
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 38
- Forks
- 13
- Avg merge
- 15m
- Merged PRs (30d)
- 1
Description
Hi
We have a fairly large Postgres database (345 GB). We've been using the backup feature and it's been working flawlessly up until now. Lately we're seeing the following error:
upload failed: - to s3://backups-bucket/postgres-my-database-2025-04-01-21-29-18.tgz An error occurred (InvalidArgument) when calling the UploadPart operation: Part number must be an integer between 1 and 10000, inclusive
Backup of backup/ has failed. Please investigate the issue.
I wonder if there's a limit to how large a backup Dokku Postgres is able to handle?
Also, I wasn't sure where to create this issue. Let me know if I should create it in https://github.com/dokku/docker-s3backup instead.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the backup upload path in docker-s3backup and reproducing the S3 UploadPart failure with a large Postgres backup. Done means determining whether the part-number limit comes from backup size or upload handling, then verifying the resulting fix or documented limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, docker, postgres, shell
- Domain
- cloud, databases, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100