dokku / dokku/docker-s3backup

Wrong part number when uploading backup

Open
#108 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.