What is the problem you are having with rclone?
I'm trying to set how much concurrent files can be uploaded for specific remote. Remote is S3 Compatible - Wasabi. First part was Using backend flags in remote's configuration in config file .
What is your rclone version (output from rclone version
)
Latest for now
root@server~ # rclone --version
rclone v1.57.0
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-91-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Wasabi S3 compatible
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
(values was reducted)
rclone --progress copy /data/sites/somesite1 wasabis3-sites-backup:data-sites-backup/tests/data-sites
The rclone config contents with secrets removed.
root@server:/root/tmp# cat /root/.config/rclone/rclone.conf
[wasabis3-sites-backup]
type = s3
provider = Wasabi
env_auth = false
access_key_id = FZZZZZZZZZZZz
secret_access_key = HZYYYYYYYYYYYY
endpoint = s3.eu-central-1.wasabisys.com
#chunk_size = 24M
no_check_bucket = true
#upload_concurrency = 1
upload_concurrency = 5
s3_upload_concurrency = 7
transfers = 9
A log from the command with the -vv
flag
env vars dump:
root@server ~ # env|fgrep -i RCLONE_|wc -l
0
Beginning of the log to show no env vars set
root@server ~ # rclone -vv --progress copy /data/sites/somesite1 wasabis3-sites-backup:data-sites-backup/tests/data-sites|head -n 15
2021/12/15 22:23:13 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rclone" "-vv" "--progress" "copy" "/data/sites/somesite1" "wasabis3-sites-backup:data-sites-backup/tests/data-sites"]
2021/12/15 22:23:13 DEBUG : Creating backend with remote "/data/sites/somesite1"
2021/12/15 22:23:13 DEBUG : Using config file from "/root/.config/rclone/rclone.conf" 2021/12/15 22:23:13 DEBUG : Creating backend with remote "wasabis3-sites-backup:data-sites-backup/tests/data-sites"
Transferred: 0 B / 0 B, -, 0 B/s, ETA - Elapsed time: 1.9sTransferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 0 / 18, 0% Elapsed time: 2.4s
Then I do Ctrl+C (note ^C on the last line)
Checking:
* wordpress/wp-admin/async-upload.php: checking
* wordpress/wp-admin/credits.php: checking
* wordpress/wp-admin/custom-background.php: checking
* wordpress/wp-admin/custom-header.php: checking
* wordpress/wp-admin/customize.php: checking
* wordpress/wp-admin/edit-comments.php: checking
* wordpress/wp-admin/edit-form-advanced.php: checking
* wordpress/wp-admin/edit-form-blocks.php: checking
Transferring:
* wordpress/wp-content/languages/admin-ru_RU.po: 29% /855.394Ki, 127.958Ki/s, 4s
* wordpress/wp-admin/inc…des/plugin-install.php:100% /33.741Ki, 16.859Ki/s, 0s
* wordpress/wp-admin/includes/plugin.php:100% /86.313Ki, 43.128Ki/s, 0s
* wordpress/wp-admin/includes/post.php:100% /73.129Ki, 36.542Ki/s, 0s^C
so it uses default 4 transfers. I couldn't find "config option name" for transfers
though - Documentation mentions nothing. Sample with config option name - Amazon S3 , which are --s3-chunk-size
and chunk-size
accordingly.
What else I've tested:
- setting
export RCLONE_TRANSFERS=10
- is detected on startup with-vv
and shown/used correctly if set.
expected results
- config options except auth settings are shown on
-vv
, if option uknown then at least warning should be shown - setting
transfers
per remote should work