Skip to content

increase multipart chunksize - #17

Merged
ph1l merged 1 commit into
masterfrom
try_chunksize_config
Dec 9, 2025
Merged

increase multipart chunksize#17
ph1l merged 1 commit into
masterfrom
try_chunksize_config

Conversation

@ph1l

@ph1l ph1l commented Dec 8, 2025

Copy link
Copy Markdown
Owner

Description

increase default multipart chunksize to support larger backups. this should support uploading file object sizes of up to 2.4TB.

fixes #16

seeing failures uploading a very lage object:

    botocore.exceptions.ClientError: An error occurred (InvalidArgument) when calling the UploadPart operation: Part number must be an integer between 1 and 10000, inclusive

This should support uploading file object sizes of up to 2.4TB...
@ph1l

ph1l commented Dec 8, 2025

Copy link
Copy Markdown
Owner Author

Increasing the chunksize to 256MB allowed the upload of a 188GB backup, so this seems to work, but I think this should be tunable with a command line option. Perhaps we could even catch the exception and print a useful message about how to tune this? I dunno...

@ph1l
ph1l merged commit ca4a580 into master Dec 9, 2025
5 checks passed
@ph1l
ph1l deleted the try_chunksize_config branch December 9, 2025 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failure with really big backup...

1 participant