add b2
This commit is contained in:
parent
81eb45d32c
commit
afc5670313
@ -17,7 +17,7 @@ This is yet another unofficial sync plugin for Obsidian. If you like it or find
|
|||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Supports:
|
- Supports:
|
||||||
- Amazon S3 or S3-compatible
|
- Amazon S3 or S3-compatible (Cloudflare R2 / BackBlaze B2 / MinIO / ...)
|
||||||
- Dropbox
|
- Dropbox
|
||||||
- OneDrive for personal
|
- OneDrive for personal
|
||||||
- Webdav
|
- Webdav
|
||||||
@ -63,6 +63,7 @@ Additionally, the plugin author may occasionally visit Obsidian official forum a
|
|||||||
|
|
||||||
- Tutorials / Examples:
|
- Tutorials / Examples:
|
||||||
- [Cloudflare R2](./docs/remote_services/s3_cloudflare_r2/README.md)
|
- [Cloudflare R2](./docs/remote_services/s3_cloudflare_r2/README.md)
|
||||||
|
- [BackBlaze B2](./docs/remote_services/s3_backblaze_b2/README.md)
|
||||||
- [MinIO](./docs/remote_services/s3_minio/README.md)
|
- [MinIO](./docs/remote_services/s3_minio/README.md)
|
||||||
- Prepare your S3 (-compatible) service information: [endpoint, region](https://docs.aws.amazon.com/general/latest/gr/s3.html), [access key id, secret access key](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/getting-your-credentials.html), bucket name. The bucket should be empty and solely for syncing a vault.
|
- Prepare your S3 (-compatible) service information: [endpoint, region](https://docs.aws.amazon.com/general/latest/gr/s3.html), [access key id, secret access key](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/getting-your-credentials.html), bucket name. The bucket should be empty and solely for syncing a vault.
|
||||||
- If you are using AWS S3, create [policy and user](./docs/remote_services/s3_general/s3_user_policy.md).
|
- If you are using AWS S3, create [policy and user](./docs/remote_services/s3_general/s3_user_policy.md).
|
||||||
|
|||||||
@ -6,22 +6,34 @@ https://www.backblaze.com/cloud-storage
|
|||||||
|
|
||||||
## Steps
|
## Steps
|
||||||
|
|
||||||
1. Create a Backblaze account [on this page](https://www.backblaze.com/cloud-storage). Credit card info *is not* required. Backblaze B2 offers 10 GB of free storage.
|
1. Create a Backblaze account [on this page](https://www.backblaze.com/cloud-storage). Credit card info _is not_ required. Backblaze B2 offers 10 GB of free storage.
|
||||||
2. Create a **bucket**, you can leave the default settings:
|
|
||||||
|
2. Please be aware that, though B2 provides some free quota, **it may still cost you money if the usage of storage or api requests exceed a certain value!!!** Especially pay attention to the api requests!!!
|
||||||
|
|
||||||
|
3. Create a **bucket**, you can leave the default settings, or you can enable the encryption (which is different from what you can set in Remotely Save):
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
4. Copy `Endpoint`, eg. `s3.us-east-005.backblazeb2.com` — it'll be used later.
|
4. Copy `Endpoint`, eg. `s3.us-east-005.backblazeb2.com` — it'll be used later.
|
||||||
5. Copy `bucketname` near the 🪣 icon — it'll be used later.
|
|
||||||
|
5. Copy `bucketname` near the 🪣 icon (the "bucket icon") — it'll be used later.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
6. Go to **Application Keys**:
|
6. Go to **Application Keys**:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
8. **Add a new key**:
|
7. **Add a new key**:
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
9. Save `keyID` and `applicationKey` — they will be used later.
|
|
||||||
10. Go to Remotely Save settings in Obsidian and:
|
8. Save `keyID` and `applicationKey` — they will be used later.
|
||||||
|
|
||||||
|
9. Go to Remotely Save settings in Obsidian and:
|
||||||
|
|
||||||
- Choose `S3 or compatibile` in **Remote Service**:
|
- Choose `S3 or compatibile` in **Remote Service**:
|
||||||
- Copy `Endpoint` from Backblaze (see 3. above) to `Endpoint` in Remotely Save
|
- Copy `Endpoint` from Backblaze (see 3. above) to `Endpoint` in Remotely Save
|
||||||
- From `endpoint` take `region` (eg. `us-east-005`) and paste it in `endpoint` in Remotely Save
|
- From `endpoint` take `region` (eg. `us-east-005`) and paste it in `endpoint` in Remotely Save
|
||||||
@ -30,12 +42,12 @@ https://www.backblaze.com/cloud-storage
|
|||||||
- Copy `bucketname` (see 4. above) to `Bucket Name` in Remotely Save
|
- Copy `bucketname` (see 4. above) to `Bucket Name` in Remotely Save
|
||||||

|

|
||||||
|
|
||||||
11. **Enable CORS**:
|
10. **Enable Bypass CORS**:
|
||||||

|

|
||||||
|
|
||||||
12. Click **Check** in _Check Connectivity_ to see if you can connect to B2 bucket:
|
11. Click **Check** in _Check Connectivity_ to see if you can connect to B2 bucket:
|
||||||

|

|
||||||
|
|
||||||
13. Sync!
|
12. Sync!
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user