2020-11-11 11:33:22 +00:00
|
|
|
Enhancement: Allow usage of deprecated S3 ListObjectsV1 API
|
|
|
|
|
2020-11-11 19:30:30 +00:00
|
|
|
Some S3 API implementations, e.g. Ceph before version 14.2.5, have a broken
|
|
|
|
`ListObjectsV2` implementation which cause problems for restic when using their
|
|
|
|
API endpoints. When a broken server implementation is used, restic prints
|
|
|
|
errors similar to the following:
|
2020-11-11 11:33:22 +00:00
|
|
|
|
2020-11-11 19:00:34 +00:00
|
|
|
List() returned error: Truncated response should have continuation token set
|
2020-11-11 11:33:22 +00:00
|
|
|
|
2020-11-11 19:30:30 +00:00
|
|
|
As a temporary workaround, restic now allows using the older `ListObjects`
|
|
|
|
endpoint by setting the `s3.list-objects-v1` extended option, for instance:
|
2020-11-11 19:00:34 +00:00
|
|
|
|
|
|
|
restic -o s3.list-objects-v1=true snapshots
|
|
|
|
|
|
|
|
This option may be removed in future versions of restic.
|
2020-11-11 11:33:22 +00:00
|
|
|
|
|
|
|
https://github.com/restic/restic/issues/3083
|
2020-11-11 19:00:34 +00:00
|
|
|
https://github.com/restic/restic/pull/3085
|