diff --git a/doc/Manual.md b/doc/Manual.md index 2a16a90ff..41e6ac48d 100644 --- a/doc/Manual.md +++ b/doc/Manual.md @@ -501,6 +501,29 @@ Please note that knowledge of your password is required to access the repository. Losing your password means that your data is irrecoverably lost. ``` +# Create a Backblaze B2 repository + +Restic can backup data to any Backblaze B2 bucket. You must first setup the +following environment variables with the credentials you obtained when signed +into your B2 account: + +```console +$ export B2_ACCOUNT_ID= +$ export B2_ACCOUNT_KEY= +``` + +You can then easily initialize a repository that uses your Backblaze B2 as a +backend. If the bucket does not exist yet, it will be created: + +```console +$ restic -r b2:bucket_name init +enter password for new backend: +enter password again: +created restic backend eefee03bbd at b2:bucket_name +Please note that knowledge of your password is required to access the repository. +Losing your password means that your data is irrecoverably lost. +``` + # Removing old snapshots All backup space is finite, so restic allows removing old snapshots. This can diff --git a/src/restic/backend/b2/README.md b/src/restic/backend/b2/README.md index 5531b592f..c8fae4bc2 100644 --- a/src/restic/backend/b2/README.md +++ b/src/restic/backend/b2/README.md @@ -1,7 +1,7 @@ -BackBlaze B2 backend support for restic +Backblaze B2 backend support for restic ======================================= -This package allows using BackBlaze's B2 object storage service as a backend for +This package allows using Backblaze's B2 object storage service as a backend for restic. It implements kurin's [blazer](https://github.com/kurin/blazer) client library for integration with the B2 service.