ale82x
(Ale82x)
June 6, 2023, 8:11pm
1
STOP and READ USE THIS TEMPLATE NO EXCEPTIONS -
What is the problem you are having with rclone?
same config on two vps , one i have normal speed and one have bad performance
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2
os/version: centos 7.9.2009 (64 bit)
os/kernel: 3.10.0-1160.90.1.el7.x86_64 (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.20.2
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Dropbox
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
/usr/bin/rclone mount \
--config=/root/.config/rclone/rclone.conf \
--allow-other \
--cache-tmp-upload-path=/tmp/rclone/upload \
--cache-chunk-path=/tmp/rclone/chunks \
--cache-dir=/tmp/rclone/vfs \
--cache-db-path=/tmp/rclone/db \
--no-modtime \
--stats=0 \
--tpslimit 5 \
--vfs-cache-mode=minimal \
--dir-cache-time=60m \
--cache-info-age=60m dropbox-vm40:bck /mnt/dropbox-vm40
The rclone config contents with secrets removed.
[dropbox-vm40]
type = dropbox
client_id = my_client_id
client_secret = my_secret
token = m_token
i create client id and client secret on dropbox api
A log from the command with the -vv
flag
nothing log , all works fine.
i upload every night backup of VPS (large files)
but same exactly config on two VPS and i have 2 different performance
1 . (netcup) and i can upload 10/12 mb/s (100mbps)
2. (hetzner) and i can upload 120/140kb/s (1mbps)
i think hetzner is better than netcup so i can't explain how this happen
i search on forum and try add on rclone mount
--dropbox-chunk-size=128M
and try to delete
--tpslimit 5
but nothing change...
Where am I doing wrong?
thank you in advance
asdffdsa
(jojothehumanmonkey)
June 6, 2023, 8:18pm
2
hi,
it is recommended to create a dropbox app per rclone remote.
to create a remote for each vps, not share.
check out https://github.com/animosity22/homescripts#dropbox
and for a well tested mount command
https://github.com/animosity22/homescripts/blob/master/systemd/rclone-tv.service
remove these flags, as they are for the deprecated cache remote, which you are not using.
--cache-tmp-upload-path=/tmp/rclone/upload \
--cache-chunk-path=/tmp/rclone/chunks \
--cache-db-path=/tmp/rclone/db \
--cache-info-age=60m
and need to use a rclone debug log file, to looks for errors and problems.
ale82x
(Ale82x)
June 7, 2023, 5:10am
4
sorry for asking...
but i never imagined it was a bandwidth issue (hetzner or dropbox limitation)...
yesterday i try with (thanks @asdffdsa )
/usr/bin/rclone mount \
--config=/root/.config/rclone/rclone.conf \
--allow-other \
--cache-dir=/tmp/rclone/vfs \
--no-modtime \
--stats=0 \
--dropbox-chunk-size=128M \
--vfs-cache-mode=full \
--vfs-cache-max-size 10G \
--vfs-write-back 1h \
--dir-cache-time=60m \
--log-level INFO --log-file /tmp/rclone/logs/dropbox-rclone.log \
--dir-cache-time 9999h \
--vfs-cache-max-age 9999h \
--tpslimit 12 --tpslimit-burst 0 \
dropbox:bck /mnt/dropbox
i limit cache max size because m server have a small disk
but without success...
now try suggestion from other tthread
thank you
ale82x
(Ale82x)
June 8, 2023, 8:29am
5
i read other thread and suppose is ipv6 related, because now seems working with this config
/usr/bin/rclone mount \
--config=/root/.config/rclone/rclone.conf \
--allow-other \
--cache-dir=/tmp/rclone/vfs \
--no-modtime \
--stats=0 \
--dropbox-chunk-size=128M \
--vfs-cache-mode=minimal \
--vfs-cache-max-size 10G \
--vfs-write-back 1h \
--dir-cache-time=60m \
--log-level INFO --log-file /tmp/rclone/logs/dropbox-rclone.log \
--dir-cache-time 9999h \
--vfs-cache-max-age 9999h \
--bind xx.xx.xx.xx \
--tpslimit 12 --tpslimit-burst 0 \
dropbox:bck /mnt/dropbox
now i can upload at 100mbit
thank you
system
(system)
Closed
June 11, 2023, 8:29am
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.