2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-27 12:42:49 +00:00
restic/internal/backend/s3
Michael Eischer c73316a111 backends: add sanity check for the uploaded file size
Bugs in the error handling while uploading a file to the backend could
cause incomplete files, e.g. https://github.com/golang/go/issues/42400
which could affect the local backend.

Proactively add sanity checks which will treat an upload as failed if
the reported upload size does not match the actual file size.
2021-01-29 13:51:51 +01:00
..
config_test.go s3: Remove default prefix "/restic" 2017-11-21 21:33:09 +01:00
config.go s3: Remove dots for config description 2020-11-11 20:20:35 +01:00
s3_test.go Upgrade minio sdk to v7 2020-10-09 22:37:24 +02:00
s3.go backends: add sanity check for the uploaded file size 2021-01-29 13:51:51 +01:00