What is the problem you are having with rclone?
When I use rclone copy
to transfer between two buckets on B2 cloud storage, massive amounts of our bandwidth seem to be used. Stopping my copy script correlates with me being able to browse the web smoothly, and one of our IT specialists complained about not being able to download an Ubuntu image (and those complaints went away when I stopped copying). This article (B2 Copy File: Enabling Synthetic Backup and Bucket to Bucket Copies) lists rclone as one of the third party integrations with a server-side copy API that B2's team claims to have worked with. I had to set the --bwlimit
option in order to prevent our data center from slowing to a crawl.
Run the command 'rclone version' and share the full output of the command.
rclone v1.69.0
- os/version: ubuntu 24.04 (64 bit)
- os/kernel: 6.8.0-51-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.4
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Backblaze B2
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy "ManagedFile:ManagedFile/ABC" "ManagedFileS3:ManagedFileS3/ABC" \
--config /path/to/rclone.conf \
--transfers 128 \
--bwlimit 15M \
--progress
Where "ABC" is an account-based directory that changes with each account. The copying itself works fine, it just eats all of our bandwidth.
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[ManagedFile]
type = b2
account = XXX
key = XXX
[ManagedFileS3]
type = b2
account = XXX
key = XXX
A log from the command that you were trying to run with the -vv
flag
2025/01/25 16:48:15 INFO : Starting bandwidth limiter at 15Mi Byte/s
2025/01/25 16:48:15 DEBUG : rclone: Version "v1.69.0" starting with parameters ["rclone" "copy" "ManagedFile:ManagedFile/ABC" "ManagedFileS3:ManagedFileS3/ABC" "--config" "/path/to/rclone.conf" "--transfers" "128" "--bwlimit" "15M" "--progress" "-vv"]
2025/01/25 16:48:15 DEBUG : Creating backend with remote "ManagedFile:ManagedFile/ABC"
2025/01/25 16:48:15 DEBUG : Using config file from "/path/to/rclone.conf"
2025/01/25 16:48:15 DEBUG : Creating backend with remote "ManagedFileS3:ManagedFileS3/ABC"
I can see that it is using b2_upload_file
from the log here, instead of the correct API, b2_copy_file
:
2025/01/25 16:50:24 DEBUG : pacer: low level retry 1/1 (error Post "https://pod-020-3012-06.backblaze.com/b2api/v1/b2_upload_file/d847642d7cc4969a92470a1a/c002_v0203012_t0047"