mirror of
https://github.com/restic/restic.git
synced 2025-01-03 05:35:43 +00:00
docs: Recommend to setup B2 versions lifecycle rules
This commit is contained in:
parent
76a647febf
commit
8056181301
1 changed files with 5 additions and 3 deletions
|
@ -455,9 +455,11 @@ Backblaze B2
|
||||||
than using the Backblaze B2 backend directly.
|
than using the Backblaze B2 backend directly.
|
||||||
|
|
||||||
Different from the B2 backend, restic's S3 backend will only hide no longer
|
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
|
necessary files. By default, Backblaze B2 retains all of the different versions of the
|
||||||
delete hidden files. The lifecycle setting "Keep only the last version of the file"
|
files and "hides" the older versions. Thus, to make sure to setup B2 lifecycle rules to
|
||||||
will keep only the most current version of a file. Read the [Backblaze documentation](https://www.backblaze.com/docs/cloud-storage-lifecycle-rules).
|
delete hidden files, the B2 lifecycle setting "Keep only the last version of the file"
|
||||||
|
is **recommended**. The previous version of the file is "hidden" for one day and then
|
||||||
|
deleted automatically by B2. More details at the [Backblaze documentation](https://www.backblaze.com/docs/cloud-storage-lifecycle-rules).
|
||||||
|
|
||||||
Restic can backup data to any Backblaze B2 bucket. You need to first setup the
|
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
|
following environment variables with the credentials you can find in the
|
||||||
|
|
Loading…
Reference in a new issue