From 775e567a7b5ecfe9bf6e6d7bc08a99fcda20e781 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 23 May 2024 16:23:57 +0100 Subject: [PATCH] b2: update URLs to new home --- backend/b2/b2.go | 6 +++--- backend/b2/b2_internal_test.go | 2 +- backend/b2/upload.go | 2 +- docs/content/_index.md | 2 +- docs/content/b2.md | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/backend/b2/b2.go b/backend/b2/b2.go index b019412df..9d6eea937 100644 --- a/backend/b2/b2.go +++ b/backend/b2/b2.go @@ -102,7 +102,7 @@ below will cause b2 to return specific errors: * "force_cap_exceeded" These will be set in the "X-Bz-Test-Mode" header which is documented -in the [b2 integrations checklist](https://www.backblaze.com/b2/docs/integration_checklist.html).`, +in the [b2 integrations checklist](https://www.backblaze.com/docs/cloud-storage-integration-checklist).`, Default: "", Hide: fs.OptionHideConfigurator, Advanced: true, @@ -244,7 +244,7 @@ See: [rclone backend lifecycle](#lifecycle) for setting lifecycles after bucket Name: config.ConfigEncoding, Help: config.ConfigEncodingHelp, Advanced: true, - // See: https://www.backblaze.com/b2/docs/files.html + // See: https://www.backblaze.com/docs/cloud-storage-files // Encode invalid UTF-8 bytes as json doesn't handle them properly. // FIXME: allow /, but not leading, trailing or double Default: (encoder.Display | @@ -1566,7 +1566,7 @@ func (o *Object) Size() int64 { // // Make sure it is lower case. // -// Remove unverified prefix - see https://www.backblaze.com/b2/docs/uploading.html +// Remove unverified prefix - see https://www.backblaze.com/docs/cloud-storage-upload-files-with-the-native-api // Some tools (e.g. Cyberduck) use this func cleanSHA1(sha1 string) string { const unverified = "unverified:" diff --git a/backend/b2/b2_internal_test.go b/backend/b2/b2_internal_test.go index b922301b1..25b2b67e6 100644 --- a/backend/b2/b2_internal_test.go +++ b/backend/b2/b2_internal_test.go @@ -23,7 +23,7 @@ import ( ) // Test b2 string encoding -// https://www.backblaze.com/b2/docs/string_encoding.html +// https://www.backblaze.com/docs/cloud-storage-native-api-string-encoding var encodeTest = []struct { fullyEncoded string diff --git a/backend/b2/upload.go b/backend/b2/upload.go index 777852b1a..b47ae69dc 100644 --- a/backend/b2/upload.go +++ b/backend/b2/upload.go @@ -1,6 +1,6 @@ // Upload large files for b2 // -// Docs - https://www.backblaze.com/b2/docs/large_files.html +// Docs - https://www.backblaze.com/docs/cloud-storage-large-files package b2 diff --git a/docs/content/_index.md b/docs/content/_index.md index 0d2b1afd2..4b6af4663 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -109,7 +109,7 @@ WebDAV or S3, that work out of the box.) {{< provider name="Akamai Netstorage" home="https://www.akamai.com/us/en/products/media-delivery/netstorage.jsp" config="/netstorage/" >}} {{< provider name="Alibaba Cloud (Aliyun) Object Storage System (OSS)" home="https://www.alibabacloud.com/product/oss/" config="/s3/#alibaba-oss" >}} {{< provider name="Amazon S3" home="https://aws.amazon.com/s3/" config="/s3/" >}} -{{< provider name="Backblaze B2" home="https://www.backblaze.com/b2/cloud-storage.html" config="/b2/" >}} +{{< provider name="Backblaze B2" home="https://www.backblaze.com/cloud-storage" config="/b2/" >}} {{< provider name="Box" home="https://www.box.com/" config="/box/" >}} {{< provider name="Ceph" home="http://ceph.com/" config="/s3/#ceph" >}} {{< provider name="China Mobile Ecloud Elastic Object Storage (EOS)" home="https://ecloud.10086.cn/home/product-introduction/eos/" config="/s3/#china-mobile-ecloud-eos" >}} diff --git a/docs/content/b2.md b/docs/content/b2.md index 695dd1ad2..51d816ed4 100644 --- a/docs/content/b2.md +++ b/docs/content/b2.md @@ -6,7 +6,7 @@ versionIntroduced: "v1.26" # {{< icon "fa fa-fire" >}} Backblaze B2 -B2 is [Backblaze's cloud storage system](https://www.backblaze.com/b2/). +B2 is [Backblaze's cloud storage system](https://www.backblaze.com/cloud-storage). Paths are specified as `remote:bucket` (or `remote:` for the `lsd` command.) You may put subdirectories in too, e.g. `remote:bucket/path/to/dir`. @@ -77,7 +77,7 @@ excess files in the bucket. ### Application Keys B2 supports multiple [Application Keys for different access permission -to B2 Buckets](https://www.backblaze.com/b2/docs/application_keys.html). +to B2 Buckets](https://www.backblaze.com/docs/cloud-storage-application-keys). You can use these with rclone too; you will need to use rclone version 1.43 or later. @@ -165,7 +165,7 @@ used. ### Versions When rclone uploads a new version of a file it creates a [new version -of it](https://www.backblaze.com/b2/docs/file_versions.html). +of it](https://www.backblaze.com/docs/cloud-storage-file-versions). Likewise when you delete a file, the old version will be marked hidden and still be available. Conversely, you may opt in to a "hard delete" of files with the `--b2-hard-delete` flag which would permanently remove @@ -416,7 +416,7 @@ below will cause b2 to return specific errors: * "force_cap_exceeded" These will be set in the "X-Bz-Test-Mode" header which is documented -in the [b2 integrations checklist](https://www.backblaze.com/b2/docs/integration_checklist.html). +in the [b2 integrations checklist](https://www.backblaze.com/docs/cloud-storage-integration-checklist). Properties: