mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 19:08:55 +00:00
Highlight that s3.list-objects-v1 is a temporary
This commit is contained in:
parent
f013662e3f
commit
3e0456d88b
@ -1,13 +1,19 @@
|
|||||||
Enhancement: Allow usage of deprecated S3 ListObjectsV1 API
|
Enhancement: Allow usage of deprecated S3 ListObjectsV1 API
|
||||||
|
|
||||||
Restic didn't work with some S3 API implementations that don't have a
|
Restic didn't work with some S3 API implementations that don't have a
|
||||||
working ListObjectsV2 API endpoint. This concerns mainly Ceph versions
|
broken `ListObjectsV2` API endpoint. This concerns mainly Ceph versions
|
||||||
before v14.2.5 , but may impact other S3 API implementations.
|
before v14.2.5 , but may impact other S3 API implementations. When a broken
|
||||||
|
server implementation is used, restic prints errors similar to the following:
|
||||||
|
|
||||||
Restic now allows selection of the older ListObjectsV1 endpoint by using
|
List() returned error: Truncated response should have continuation token set
|
||||||
the 's3.list-objects-v1' extended option, for instance:
|
|
||||||
|
|
||||||
`restic -o s3.list-objects-v1=true snapshots`
|
As a temporary workaround, restic now allows selection of the older
|
||||||
|
`ListObjects` endpoint by using the `s3.list-objects-v1` extended option, for
|
||||||
|
instance:
|
||||||
|
|
||||||
|
restic -o s3.list-objects-v1=true snapshots
|
||||||
|
|
||||||
|
This option may be removed in future versions of restic.
|
||||||
|
|
||||||
https://github.com/restic/restic/issues/3083
|
https://github.com/restic/restic/issues/3083
|
||||||
https://github.com/restic/restic/pull/3085
|
https://github.com/restic/restic/pull/3085
|
@ -240,9 +240,12 @@ or is only available via HTTP, you can specify the URL to the server
|
|||||||
like this: ``s3:http://server:port/bucket_name``.
|
like this: ``s3:http://server:port/bucket_name``.
|
||||||
|
|
||||||
|
|
||||||
.. note:: Certain S3-compatible servers do not properly implement the ListObjectsV2 API,
|
.. note:: Certain S3-compatible servers do not properly implement the
|
||||||
most notably Ceph versions before v14.2.5. On these backends you need to
|
``ListObjectsV2`` API, most notably Ceph versions before v14.2.5. On these
|
||||||
provide the ``-o s3.list-objects-v1=true`` option to use the ListObjects API instead.
|
backends, as a temporary workaround, you can provide the
|
||||||
|
``-o s3.list-objects-v1=true`` option to use the older
|
||||||
|
``ListObjects`` API instead. This option may be removed in future
|
||||||
|
versions of restic.
|
||||||
|
|
||||||
|
|
||||||
Minio Server
|
Minio Server
|
||||||
|
Loading…
Reference in New Issue
Block a user