2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 10:58:55 +00:00

Merge pull request #3928 from restic/rawtaz-doc-b2-s3

doc: Clarify S3 recommendation for B2 slightly
This commit is contained in:
Michael Eischer 2022-09-13 20:59:50 +02:00 committed by GitHub
commit b48766d7b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -466,13 +466,16 @@ Backblaze B2
.. warning::
The recommended way to setup Backblaze B2 is by using its S3-compatible API.
Due to issues with error handling in the current B2 library that restic uses,
the recommended way to utilize Backblaze B2 is by using its S3-compatible API.
Follow the documentation to `generate S3-compatible access keys`_ and then
setup restic as described at :ref:`Amazon S3`.
setup restic as described at :ref:`Amazon S3`. This is expected to work better
than using the Backblaze B2 backend directly.
Different from the B2 backend, restic's S3 backend will only hide no longer
necessary files. Thus, make sure to setup lifecycle rules to eventually
delete hidden files.
Different from the B2 backend, restic's S3 backend will only hide no longer
necessary files. Thus, make sure to setup lifecycle rules to eventually
delete hidden files.
Restic can backup data to any Backblaze B2 bucket. You need to first setup the
following environment variables with the credentials you can find in the