2021-02-13 23:57:54 +00:00
|
|
|
Enhancement: Allow usage of deprecated S3 `ListObjects` API
|
2020-11-11 11:33:22 +00:00
|
|
|
|
2020-11-11 19:30:30 +00:00
|
|
|
Some S3 API implementations, e.g. Ceph before version 14.2.5, have a broken
|
2021-02-13 23:57:54 +00:00
|
|
|
`ListObjectsV2` implementation which causes problems for restic when using
|
|
|
|
their API endpoints. When a broken server implementation is used, restic prints
|
2020-11-11 19:30:30 +00:00
|
|
|
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
|
|
|
|
|
2021-02-13 23:57:54 +00:00
|
|
|
Please note that 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
|